@frontegg/redux-store 6.114.0 → 6.115.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.
@@ -420,6 +420,7 @@ function* refreshTokenEmbeddedSocialLogins() {
420
420
  const shouldNavigateToRegisterQuickLogin = yield shouldNevigateToRegisterQuickLogin(user);
421
421
  yield put(actions.setTenantsState({
422
422
  tenants,
423
+ activeTenant,
423
424
  loading: false
424
425
  }));
425
426
  yield put(actions.setState({
@@ -1533,7 +1534,8 @@ function* handleEnrollMFAResponse({
1533
1534
  }
1534
1535
  function* handleVerifyMFAResponse({
1535
1536
  user,
1536
- tenants
1537
+ tenants,
1538
+ activeTenant
1537
1539
  }) {
1538
1540
  const {
1539
1541
  loginState
@@ -1541,6 +1543,7 @@ function* handleVerifyMFAResponse({
1541
1543
  yield put(actions.setUser(user));
1542
1544
  yield put(actions.setTenantsState({
1543
1545
  tenants,
1546
+ activeTenant,
1544
1547
  loading: false
1545
1548
  }));
1546
1549
  if (user.id) {
@@ -116,6 +116,7 @@ function* loadTenantsMock() {
116
116
  yield delay();
117
117
  yield put(actions.setTenantsState({
118
118
  tenants: tenantsDemo,
119
+ activeTenant: tenantsDemo[0],
119
120
  loading: false
120
121
  }));
121
122
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.114.0
1
+ /** @license Frontegg v6.115.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -437,6 +437,7 @@ function* refreshTokenEmbeddedSocialLogins() {
437
437
  const shouldNavigateToRegisterQuickLogin = yield shouldNevigateToRegisterQuickLogin(user);
438
438
  yield (0, _effects.put)(_reducer.actions.setTenantsState({
439
439
  tenants,
440
+ activeTenant,
440
441
  loading: false
441
442
  }));
442
443
  yield (0, _effects.put)(_reducer.actions.setState({
@@ -1550,7 +1551,8 @@ function* handleEnrollMFAResponse({
1550
1551
  }
1551
1552
  function* handleVerifyMFAResponse({
1552
1553
  user,
1553
- tenants
1554
+ tenants,
1555
+ activeTenant
1554
1556
  }) {
1555
1557
  const {
1556
1558
  loginState
@@ -1558,6 +1560,7 @@ function* handleVerifyMFAResponse({
1558
1560
  yield (0, _effects.put)(_reducer.actions.setUser(user));
1559
1561
  yield (0, _effects.put)(_reducer.actions.setTenantsState({
1560
1562
  tenants,
1563
+ activeTenant,
1561
1564
  loading: false
1562
1565
  }));
1563
1566
  if (user.id) {
@@ -123,6 +123,7 @@ function* loadTenantsMock() {
123
123
  yield (0, _utils.delay)();
124
124
  yield (0, _effects.put)(_reducer.actions.setTenantsState({
125
125
  tenants: _dummy.tenantsDemo,
126
+ activeTenant: _dummy.tenantsDemo[0],
126
127
  loading: false
127
128
  }));
128
129
  }
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.114.0
1
+ /** @license Frontegg v6.115.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
- "version": "6.114.0",
3
+ "version": "6.115.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",