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

Include signInFeature in the features for SolanaWalletAdapterWallet #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alex-fung
Copy link

@alex-fung alex-fung commented Apr 30, 2024

This PR is sequenced after wallet-standard/wallet-standard#101

SolanaWalletAdapterWallet was missing signInFeature, so anything wrapped it in would be missing the signIn method.

Since the Standard Wallet Adapter will be updating the account upon successful SIWS (here), it's possible that the #account in the StandardWalletAdapter is different from the #account in SolanaWalletAdapterWallet . This then causes issues when there's an equality check of the accounts when the SolanaWalletAdapterWallet sets it to be something custom here. Hence, updating the equality checks to use the deep equality checks from wallet-standard/wallet-standard#101, instead of reference equality checks

alex-fung and others added 2 commits April 29, 2024 21:03
`SolanaWalletAdapterWallet` was missing `signInFeature`, so anything wrapped it in would be missing the `signIn` method
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.

1 participant