Skip to content

Commit

Permalink
fix: walletconnect options: move methods to optionalMethods (#4903)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Oct 2, 2024
1 parent bbe911b commit 15de403
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

1 comment on commit 15de403

@Maxim17081983
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.