Skip to content

Commit

Permalink
fix: walletconnect options: move methods to optionalMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Oct 2, 2024
1 parent bbe911b commit bc1a359
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/helpers/connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ const connectors = {
optionalChains: [
1, 4, 5, 10, 42, 56, 100, 137, 246, 1088, 42161, 73799, 11155111
],
methods: ['eth_sendTransaction', 'personal_sign'],
optionalMethods: ['eth_accounts', 'eth_signTypedData_v4'],
optionalMethods: [
'eth_sendTransaction',
'personal_sign',
'eth_accounts',
'eth_signTypedData_v4'
],
rpcMap: {
'1': `${import.meta.env.VITE_BROVIDER_URL}/1`,
'4': `${import.meta.env.VITE_BROVIDER_URL}/4`,
Expand Down

0 comments on commit bc1a359

Please sign in to comment.