@web3auth/modal 10.0.6 → 10.0.7
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.
|
@@ -338,9 +338,8 @@ class Web3Auth extends noModal.Web3AuthNoModal {
|
|
|
338
338
|
hasExternalConnectors
|
|
339
339
|
} = await this.checkConnectorAvailability(filteredConnectorNames);
|
|
340
340
|
const filteredConnectors = connectors.filter(x => filteredConnectorNames.includes(x.name));
|
|
341
|
-
if
|
|
342
|
-
|
|
343
|
-
}
|
|
341
|
+
// initialize in-app and cached connector (if there are only external connectors enabled)
|
|
342
|
+
await this.initInAppAndCachedConnectors(filteredConnectors);
|
|
344
343
|
if (hasExternalConnectors) {
|
|
345
344
|
if (hasInAppConnectors) {
|
|
346
345
|
// show connect button if both in-app and external wallets are available
|
|
@@ -351,9 +351,9 @@ class Web3Auth extends Web3AuthNoModal {
|
|
|
351
351
|
hasExternalConnectors
|
|
352
352
|
} = await this.checkConnectorAvailability(filteredConnectorNames);
|
|
353
353
|
const filteredConnectors = connectors.filter(x => filteredConnectorNames.includes(x.name));
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
|
|
355
|
+
// initialize in-app and cached connector (if there are only external connectors enabled)
|
|
356
|
+
await this.initInAppAndCachedConnectors(filteredConnectors);
|
|
357
357
|
if (hasExternalConnectors) {
|
|
358
358
|
if (hasInAppConnectors) {
|
|
359
359
|
// show connect button if both in-app and external wallets are available
|