@web3auth/modal 7.2.0 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,18 +4,18 @@
4
4
  "url": "https://github.com/Web3Auth/Web3Auth/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@web3auth/base": "^7.2.0",
8
- "@web3auth/base-provider": "^7.2.0",
9
- "@web3auth/ethereum-provider": "^7.2.0",
10
- "@web3auth/metamask-adapter": "^7.2.0",
11
- "@web3auth/no-modal": "^7.2.0",
12
- "@web3auth/openlogin-adapter": "^7.2.0",
13
- "@web3auth/phantom-adapter": "^7.2.0",
14
- "@web3auth/solana-provider": "^7.2.0",
15
- "@web3auth/torus-evm-adapter": "^7.2.0",
16
- "@web3auth/torus-solana-adapter": "^7.2.0",
17
- "@web3auth/ui": "^7.2.0",
18
- "@web3auth/wallet-connect-v2-adapter": "^7.2.0"
7
+ "@web3auth/base": "^7.2.1",
8
+ "@web3auth/base-provider": "^7.2.1",
9
+ "@web3auth/ethereum-provider": "^7.2.1",
10
+ "@web3auth/metamask-adapter": "^7.2.1",
11
+ "@web3auth/no-modal": "^7.2.1",
12
+ "@web3auth/openlogin-adapter": "^7.2.1",
13
+ "@web3auth/phantom-adapter": "^7.2.1",
14
+ "@web3auth/solana-provider": "^7.2.1",
15
+ "@web3auth/torus-evm-adapter": "^7.2.1",
16
+ "@web3auth/torus-solana-adapter": "^7.2.1",
17
+ "@web3auth/ui": "^7.2.1",
18
+ "@web3auth/wallet-connect-v2-adapter": "^7.2.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@svgr/webpack": "^8.1.0",
@@ -24,7 +24,7 @@
24
24
  "css-loader": "^6.8.1",
25
25
  "postcss-prefix-selector": "^1.16.0",
26
26
  "style-loader": "^3.3.3",
27
- "tailwindcss": "^3.3.5",
27
+ "tailwindcss": "^3.4.0",
28
28
  "url-loader": "^4.1.1"
29
29
  },
30
30
  "engines": {
@@ -70,6 +70,6 @@
70
70
  },
71
71
  "types": "dist/types/index.d.ts",
72
72
  "unpkg": "dist/modal.umd.min.js",
73
- "version": "7.2.0",
74
- "gitHead": "a62c8515eeff43cd0ee26bd5d20e1945a96395bf"
73
+ "version": "7.2.1",
74
+ "gitHead": "fd62ba4aeb83a4bf4c9b0fcd3f942db742d5751f"
75
75
  }
@@ -314,6 +314,14 @@ export class Web3Auth extends Web3AuthNoModal implements IWeb3AuthModal {
314
314
  log.error(`Error while disconnecting to wallet connect in core`, error);
315
315
  }
316
316
  }
317
+ if (
318
+ !visibility &&
319
+ this.status === ADAPTER_STATUS.CONNECTED &&
320
+ (walletConnectStatus === ADAPTER_STATUS.READY || walletConnectStatus === ADAPTER_STATUS.CONNECTING)
321
+ ) {
322
+ log.debug("this stops wc adapter from trying to reconnect once proposal expires");
323
+ adapter.status = ADAPTER_STATUS.READY;
324
+ }
317
325
  }
318
326
  });
319
327
  }