diff --git a/package.json b/package.json index 7f14c43..6955e02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xdefi/wallets-connector", - "version": "1.6.2", + "version": "1.6.3", "description": "Cross chain wallets connector with react hooks", "author": "garageinc", "license": "MIT", diff --git a/src/providers/connectors/walletconnect.ts b/src/providers/connectors/walletconnect.ts index 1d27963..49f8c0a 100644 --- a/src/providers/connectors/walletconnect.ts +++ b/src/providers/connectors/walletconnect.ts @@ -14,7 +14,7 @@ const ConnectToWalletConnect = async ( provider.events ) - if (!provider.connected) { + if (!provider.session) { await provider.connect() }