Integration builder - "Module '"@web3auth/base"' has no exported member 'IProvider'."

I was following the integration builder and I encoutered the following problem in the ethersRPC.ts script (is the same for web3RPC.ts)

"Module '"@web3auth/base"' has no exported member 'IProvider'."

Also there is a small typo in the App.tsx file for some of the options:
useState<IProvider should be → useState<IProvider | null>(null);

@jortin Welcome Aboard!

What SDK version are you using?
What is the web3.js lib version?

With V7, the connect() method returns a provider of type IProvider which is a hard-coded provider, ensuring compatibility with the latest version of web3.js.

I had written a post the same day, but it seems it didn’t published and stayed as a draft.

Figured it out: update @web3auth libraries versions to 7.2.0

The package.json file provided in the integration builder has incompatible versions with the scripts. It installs version 5.2.0 when the used IProvider is implemented in version 7.

I hope the Web3Auth team can fix that. You have very good docs but those things are very annoying.

Thanks for your feedback. We will look into it.