Getting 'providerFromEngine is not a function' error

Hi there,

I wanted to give the new v6 a try and implement it in our project, sadly we’ve encountered this error immediately when calling web3AuthInstance.init():

TypeError: (0 , _toruslabs_base_controllers__WEBPACK_IMPORTED_MODULE_1__.providerFromEngine) is not a function

When debugging I saw there is an import of createProviderFromEngine from @toruslabs/base-controllers, we have the latest version installed (3.1.0).

    "@web3auth/base": "^6.0.1",
    "@web3auth/ethereum-provider": "^6.1.0",
    "@web3auth/metamask-adapter": "^6.0.1",
    "@web3auth/no-modal": "^6.1.0",
    "@web3auth/openlogin-adapter": "^6.1.0",

We are using a v12 NextJS

Hey @shayg

The issue is fixed. Please update to the latest version, v6.1.1.