Skip to content

Commit 2d33f78

Browse files
fix issue eth_signTypedData_v4 not supported (#1272)
* Update index.ts * Update packages/walletconnect/src/index.ts Co-authored-by: Aaron <abarnard@protonmail.com> * Update package.json Co-authored-by: Aaron <abarnard@protonmail.com>
1 parent 92bda8c commit 2d33f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/walletconnect/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function walletConnect(options?: WalletConnectOptions): WalletInit {
206206
}
207207

208208
// @ts-ignore
209-
if (method === 'eth_signTypedData') {
209+
if (method.includes('eth_signTypedData') {
210210
// @ts-ignore
211211
return this.connector.signTypedData(params)
212212
}

0 commit comments

Comments
 (0)