Skip to content

core: 2.0.11

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

Handling of the new instance prop in the walletInterface type to allow for passing of a wallet instance with the provider in certain wallet.
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/core:v2.0.11: [feature] - Magic wallet module addition #879