anza-xyz/wallet-adapter

No way to filter out wallet-standard wallets or the mobile wallet adapter on `<WalletProvider>`

billythedummy opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
<WalletProvider> currently does not provide a way to filter out wallet-standard wallets or the mobile wallet adapter. This can be useful if the wallet suddenly stopped working with the dapp for some reason, so that users don't get a broken experience.

Describe the solution you'd like
Provide a prop that enables filtering out of wallets. Perhaps a predicate function prop that returns if the wallet should be included or not is most general.

Describe alternatives you've considered
None

Additional context
Backpack suddenly started returning 403 forbidden for calls to wallet.sendTransaction(). We wish to disable it temporarily while we work on a fix but we can't because it's a standard wallet.