From bc1a3591563230620669d4500c6f1ab5d5b3713e Mon Sep 17 00:00:00 2001 From: ChaituVR Date: Wed, 2 Oct 2024 09:19:54 +0530 Subject: [PATCH] fix: walletconnect options: move methods to optionalMethods --- src/helpers/connectors.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/helpers/connectors.ts b/src/helpers/connectors.ts index f8a587c813af..925cdae7f23f 100644 --- a/src/helpers/connectors.ts +++ b/src/helpers/connectors.ts @@ -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`,