Skip to content

1.0.0

Compare
Choose a tag to compare
@gabrielkuettel gabrielkuettel released this 07 Dec 19:37
· 350 commits to main since this release

What's Changed

  • The provider clients are now passed to child components using React Context, allowing for more configuration options.
  • Using environment variables to configure the clients has been deprecated.
  • Provider clients provide support for both dynamic and static imports, allowing use-wallet to be used with frameworks that don't support dynamic imports. See Provider Configuration for details.

Breaking Changes

  • To setup the providers, the initializeProviders function should be used, and passed to the WalletProviders context provider in the application root. See the Set up the Wallet Provider section for details on how to setup use-wallet.
  • The provider ID, name, and icon are now part of the metadata property of providers. See Connect for details on how to setup the connect buttons for the providers.
  • Using environment variables to configure the clients is deprecated. See Provider Configuration for details on how to configure the clients.