@web3auth/modal 8.0.0-alpha.9 → 8.0.0
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/dist/modal.cjs.js +1 -1
- package/dist/modal.cjs.js.map +1 -1
- package/dist/modal.esm.js +1 -1
- package/dist/modal.esm.js.map +1 -1
- package/dist/modal.umd.min.js +1 -1
- package/dist/modal.umd.min.js.map +1 -1
- package/package.json +9 -10
- package/src/modalManager.ts +1 -1
package/package.json
CHANGED
|
@@ -4,21 +4,20 @@
|
|
|
4
4
|
"url": "https://github.com/Web3Auth/Web3Auth/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@web3auth/base": "^8.0.0
|
|
8
|
-
"@web3auth/base-provider": "^8.0.0
|
|
9
|
-
"@web3auth/no-modal": "^8.0.0
|
|
10
|
-
"@web3auth/openlogin-adapter": "^8.0.0
|
|
11
|
-
"@web3auth/ui": "^8.0.0
|
|
7
|
+
"@web3auth/base": "^8.0.0",
|
|
8
|
+
"@web3auth/base-provider": "^8.0.0",
|
|
9
|
+
"@web3auth/no-modal": "^8.0.0",
|
|
10
|
+
"@web3auth/openlogin-adapter": "^8.0.0",
|
|
11
|
+
"@web3auth/ui": "^8.0.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@svgr/webpack": "^8.1.0",
|
|
15
15
|
"@toruslabs/isomorphic-style-loader": "^5.3.3",
|
|
16
|
-
"@toruslabs/openlogin-utils": "^
|
|
17
|
-
"@web3auth/wallet-connect-v2-adapter": "^8.0.0
|
|
16
|
+
"@toruslabs/openlogin-utils": "^7.0.4",
|
|
17
|
+
"@web3auth/wallet-connect-v2-adapter": "^8.0.0",
|
|
18
18
|
"css-loader": "^6.10.0",
|
|
19
19
|
"postcss-prefix-selector": "^1.16.0",
|
|
20
20
|
"style-loader": "^3.3.4",
|
|
21
|
-
"tailwindcss": "^3.4.1",
|
|
22
21
|
"url-loader": "^4.1.1"
|
|
23
22
|
},
|
|
24
23
|
"engines": {
|
|
@@ -69,6 +68,6 @@
|
|
|
69
68
|
},
|
|
70
69
|
"types": "dist/types/index.d.ts",
|
|
71
70
|
"unpkg": "dist/modal.umd.min.js",
|
|
72
|
-
"version": "8.0.0
|
|
73
|
-
"gitHead": "
|
|
71
|
+
"version": "8.0.0",
|
|
72
|
+
"gitHead": "0428ae575ef36e3ad783f37d14a10a78e66e2909"
|
|
74
73
|
}
|
package/src/modalManager.ts
CHANGED
|
@@ -205,7 +205,7 @@ export class Web3Auth extends Web3AuthNoModal implements IWeb3AuthModal {
|
|
|
205
205
|
return;
|
|
206
206
|
}
|
|
207
207
|
// in-app wallets or cached wallet (being connected or already connected) are initialized first.
|
|
208
|
-
// if adapter is configured
|
|
208
|
+
// if adapter is configured then only initialize in app or cached adapter.
|
|
209
209
|
// external wallets are initialized on INIT_EXTERNAL_WALLET event.
|
|
210
210
|
this.subscribeToAdapterEvents(adapter);
|
|
211
211
|
if (adapter.status === ADAPTER_STATUS.NOT_READY) await adapter.init({ autoConnect: this.cachedAdapter === adapterName });
|