You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the Magic SDK is passed to the useInitializeProviders configuration object via the clientStatic or getDynamicClient properties, the Algorand extension is directly imported by the Magic provider client, making it a required dependency.
It must also be passed to the configuration object:
The library should not import any SDKs/dependencies for wallet providers (besides type imports). This should be handled by the consuming application on an opt-in basis, depending on which wallets it supports.
Apps that support the Magic.link provider are unaffected, since they must install its dependencies for it to work.
The text was updated successfully, but these errors were encountered:
The library should not import any SDKs/dependencies for wallet providers (besides type imports). This should be handled by the consuming application on an opt-in basis, depending on which wallets it supports.
The Magic Algorand extension is now (optionally) passed to the `useInitializeProviders` hook's configuration object.
Closes: Build fails if @magic-ext/algorand is not installed #135
* fix(magic): remove non-type Magic.link imports
The library should not import any SDKs/dependencies for wallet providers (besides type imports). This should be handled by the consuming application on an opt-in basis, depending on which wallets it supports.
The Magic Algorand extension is now (optionally) passed to the `useInitializeProviders` hook's configuration object.
Closes: Build fails if @magic-ext/algorand is not installed #135
* docs: update README full config example
Apps that have installed https://github.com/TxnLab/use-wallet/releases/tag/v2.6.0 or https://github.com/TxnLab/use-wallet/releases/tag/v2.6.1 will encounter build failures if
@magic-ext/algorand
is not installed, even if they are not configured to support the Magic.link provider.Although the Magic SDK is passed to the
useInitializeProviders
configuration object via theclientStatic
orgetDynamicClient
properties, the Algorand extension is directly imported by the Magic provider client, making it a required dependency.It must also be passed to the configuration object:
The library should not import any SDKs/dependencies for wallet providers (besides type imports). This should be handled by the consuming application on an opt-in basis, depending on which wallets it supports.
Apps that support the Magic.link provider are unaffected, since they must install its dependencies for it to work.
The text was updated successfully, but these errors were encountered: