We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a2923 commit 9e4afd4Copy full SHA for 9e4afd4
packages/walletconnect/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@bn-onboard/walletconnect",
3
- "version": "2.0.0-alpha.8",
+ "version": "2.0.0-alpha.9",
4
"description": "WalletConnect module for Onboard.js",
5
"module": "dist/index.js",
6
"browser": "dist/index.js",
packages/walletconnect/src/index.ts
@@ -157,7 +157,10 @@ function walletConnect(options?: WalletConnectOptions): WalletInit {
157
})
158
}
159
160
- if (method === 'wallet_switchEthereumChain') {
+ if (
161
+ method === 'wallet_switchEthereumChain' ||
162
+ method === 'eth_selectAccounts'
163
+ ) {
164
throw new ProviderRpcError({
165
code: 4200,
166
message: `The Provider does not support the requested method: ${method}`
0 commit comments