Skip to content

Commit 8d32be4

Browse files
authored
2.0.3-alpha.2: [fix] - MEW Set Chain (#1102)
* Disable switch chain methods * Increment version
1 parent 631d34d commit 8d32be4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/mew/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/mew",
3-
"version": "2.0.4-alpha.1",
3+
"version": "2.0.3-alpha.2",
44
"description": "MEW module for web3-onboard",
55
"repository": "blocknative/web3-onboard",
66
"module": "dist/index.js",

packages/mew/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ function mew(): WalletInit {
4646
firstValueFrom(closed$)
4747
])
4848
},
49-
eth_selectAccounts: null
49+
eth_selectAccounts: null,
50+
wallet_addEthereumChain: null,
51+
wallet_switchEthereumChain: null
5052
})
5153

5254
const events = new EventEmitter()

0 commit comments

Comments
 (0)