Skip to content

react: 2.0.4

Compare
Choose a tag to compare
@Adamj1232 Adamj1232 released this 16 Mar 02:45
b191bf9

This release includes incremented version for the web3-onboard core and common packages in the react hook package.

These updates include a new instance prop in the walletInterface type to allow passing of a wallet instance along with the provider in certain wallet modules.
This is beneficial for wallets that have extra methods built in to the walletInstance that is not standard across wallets.

e.g. Magic wallet has methods userMetaData() and resetEmail() that are exposed through the instance property

type WalletInterface = {
  provider: EIP1193Provider,
  instance?: unknown
}

Changelog:

  • web3-onboard/react:v2.0.4: [update] - Update deps for React Package #882