@web3auth/modal 8.4.0 → 8.4.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/dist/modal.cjs.js +1 -1
- package/dist/modal.esm.js +1 -1
- package/dist/modal.umd.min.js +1 -1
- package/package.json +8 -8
package/dist/modal.cjs.js
CHANGED
|
@@ -182,7 +182,7 @@ class Web3Auth extends no_modal_namespaceObject.Web3AuthNoModal {
|
|
|
182
182
|
} = projectConfig;
|
|
183
183
|
this.options.uiConfig = external_lodash_merge_default()(external_lodash_clonedeep_default()(whitelabel), this.options.uiConfig);
|
|
184
184
|
if (!this.options.uiConfig.defaultLanguage) this.options.uiConfig.defaultLanguage = (0,ui_namespaceObject.getUserLanguage)(this.options.uiConfig.defaultLanguage);
|
|
185
|
-
if (!this.options.uiConfig.mode) this.options.uiConfig.mode = "
|
|
185
|
+
if (!this.options.uiConfig.mode) this.options.uiConfig.mode = "light";
|
|
186
186
|
this.loginModal = new ui_namespaceObject.LoginModal(objectSpread2_default()(objectSpread2_default()({}, this.options.uiConfig), {}, {
|
|
187
187
|
adapterListener: this
|
|
188
188
|
}));
|
package/dist/modal.esm.js
CHANGED
|
@@ -121,7 +121,7 @@ class Web3Auth extends Web3AuthNoModal {
|
|
|
121
121
|
} = projectConfig;
|
|
122
122
|
this.options.uiConfig = merge(clonedeep(whitelabel), this.options.uiConfig);
|
|
123
123
|
if (!this.options.uiConfig.defaultLanguage) this.options.uiConfig.defaultLanguage = getUserLanguage(this.options.uiConfig.defaultLanguage);
|
|
124
|
-
if (!this.options.uiConfig.mode) this.options.uiConfig.mode = "
|
|
124
|
+
if (!this.options.uiConfig.mode) this.options.uiConfig.mode = "light";
|
|
125
125
|
this.loginModal = new LoginModal(_objectSpread(_objectSpread({}, this.options.uiConfig), {}, {
|
|
126
126
|
adapterListener: this
|
|
127
127
|
}));
|