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 https://github.com/wallet-standard/wallet-standard/pull/101, instead of reference equality checks
This PR is sequenced after https://github.com/wallet-standard/wallet-standard/pull/101
SolanaWalletAdapterWallet
was missingsignInFeature
, so anything wrapped it in would be missing thesignIn
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 inSolanaWalletAdapterWallet
. This then causes issues when there's an equality check of the accounts when theSolanaWalletAdapterWallet
sets it to be something custom here. Hence, updating the equality checks to use the deep equality checks from https://github.com/wallet-standard/wallet-standard/pull/101, instead of reference equality checks