@web3auth/modal 10.5.3 → 10.5.5
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/lib.cjs/packages/modal/src/config.js +1 -1
- package/dist/lib.cjs/packages/modal/src/ui/loginModal.js +2 -1
- package/dist/lib.esm/packages/modal/src/config.js +1 -1
- package/dist/lib.esm/packages/modal/src/ui/loginModal.js +3 -2
- package/dist/modal.umd.min.js +1 -1
- package/package.json +3 -3
|
@@ -317,7 +317,8 @@ class LoginModal {
|
|
|
317
317
|
this.setState({
|
|
318
318
|
status: interfaces.MODAL_STATUS.CONNECTED,
|
|
319
319
|
modalVisibility: true,
|
|
320
|
-
postLoadingMessage: "modal.post-loading.connected"
|
|
320
|
+
postLoadingMessage: "modal.post-loading.connected",
|
|
321
|
+
currentPage: constants.PAGES.LOGIN
|
|
321
322
|
});
|
|
322
323
|
} else {
|
|
323
324
|
this.setState({
|
|
@@ -8,7 +8,7 @@ import Bowser from 'bowser';
|
|
|
8
8
|
import { createRoot } from 'react-dom/client';
|
|
9
9
|
import { getLoginModalAnalyticsProperties } from '../utils.js';
|
|
10
10
|
import Widget from './components/Widget/Widget.js';
|
|
11
|
-
import { DEFAULT_PRIMARY_COLOR, DEFAULT_ON_PRIMARY_COLOR, DEFAULT_LOGO_DARK, DEFAULT_LOGO_LIGHT } from './constants.js';
|
|
11
|
+
import { DEFAULT_PRIMARY_COLOR, DEFAULT_ON_PRIMARY_COLOR, PAGES, DEFAULT_LOGO_DARK, DEFAULT_LOGO_LIGHT } from './constants.js';
|
|
12
12
|
import { AnalyticsContext } from './context/AnalyticsContext.js';
|
|
13
13
|
import { ThemedContext } from './context/ThemeContext.js';
|
|
14
14
|
import { MODAL_STATUS } from './interfaces.js';
|
|
@@ -318,7 +318,8 @@ class LoginModal {
|
|
|
318
318
|
this.setState({
|
|
319
319
|
status: MODAL_STATUS.CONNECTED,
|
|
320
320
|
modalVisibility: true,
|
|
321
|
-
postLoadingMessage: "modal.post-loading.connected"
|
|
321
|
+
postLoadingMessage: "modal.post-loading.connected",
|
|
322
|
+
currentPage: PAGES.LOGIN
|
|
322
323
|
});
|
|
323
324
|
} else {
|
|
324
325
|
this.setState({
|