@frontegg/redux-store 6.178.0-alpha.0 → 6.178.0-alpha.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/auth/index.js +1 -1
- package/index.js +1 -1
- package/node/auth/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/index.js
CHANGED
|
@@ -112,7 +112,7 @@ export const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
112
112
|
Object.assign(store.auth, state);
|
|
113
113
|
};
|
|
114
114
|
const resetAuthState = () => {
|
|
115
|
-
store.auth
|
|
115
|
+
Object.assign(store.auth, deepClone(snapshotAuthState));
|
|
116
116
|
};
|
|
117
117
|
const setUser = user => {
|
|
118
118
|
setAuthState({
|
package/index.js
CHANGED
package/node/auth/index.js
CHANGED
|
@@ -471,7 +471,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
471
471
|
Object.assign(store.auth, state);
|
|
472
472
|
};
|
|
473
473
|
const resetAuthState = () => {
|
|
474
|
-
store.auth
|
|
474
|
+
Object.assign(store.auth, (0, _helpers2.deepClone)(snapshotAuthState));
|
|
475
475
|
};
|
|
476
476
|
const setUser = user => {
|
|
477
477
|
setAuthState({
|
package/node/index.js
CHANGED