From 4a3d77ec10cfae15ccd388f98ee21658d9762f31 Mon Sep 17 00:00:00 2001 From: Gavrila Andrei Date: Tue, 10 Dec 2024 17:26:25 +0200 Subject: [PATCH] Remove logs --- .../walletConnect/helpers/getWalletConnectProvider.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/core/providers/helpers/walletConnect/helpers/getWalletConnectProvider.ts b/src/core/providers/helpers/walletConnect/helpers/getWalletConnectProvider.ts index 78e5796..e3095d7 100644 --- a/src/core/providers/helpers/walletConnect/helpers/getWalletConnectProvider.ts +++ b/src/core/providers/helpers/walletConnect/helpers/getWalletConnectProvider.ts @@ -33,12 +33,9 @@ export async function getWalletConnectProvider( throw new Error(WalletConnectV2Error.invalidConfig); } - const handleOnLogin = () => { - console.log('WalletConnect Login Event: Logged In'); - }; + const handleOnLogin = () => {}; const handleOnLogout = async () => { - console.log('Logging out..'); if (config.onLogout) { await config.onLogout(); } @@ -46,9 +43,8 @@ export async function getWalletConnectProvider( logoutAction(); }; - const handleOnEvent = (event: SessionEventTypes['event']) => { - console.log('WalletConnect Session Event: ', event); - }; + const handleOnEvent = (_event: SessionEventTypes['event']) => {}; + const providerHandlers = { onClientLogin: handleOnLogin, onClientLogout: handleOnLogout,