Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(magic): remove non-type Magic.link imports #136

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

drichar
Copy link
Collaborator

@drichar drichar commented Jan 31, 2024

Description

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 #135

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

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
@drichar drichar merged commit a5ee9af into main Jan 31, 2024
1 check passed
@drichar drichar deleted the fix-magic-import-algorand-extension branch January 31, 2024 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails if @magic-ext/algorand is not installed
1 participant