@frontegg/redux-store 6.138.0-alpha.2 → 7.0.0-alpha.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.
@@ -1358,7 +1358,7 @@ function* login({
1358
1358
  },
1359
1359
  isAuthenticated
1360
1360
  });
1361
- const [securityCenterLoginFlows] = yield call(getFeatureFlags, ['security-center-login-flows']);
1361
+ const [securityCenterLoginFlows] = yield call(getFeatureFlags, ['security-center-show-login-flows']);
1362
1362
  if (loginState.flow === LoginFlow.Login) {
1363
1363
  if (securityCenterLoginFlows && user.isBreachedPassword) {
1364
1364
  yield put(actions.setLoginState({
@@ -1446,7 +1446,7 @@ function* loginWithMfa({
1446
1446
  error: undefined,
1447
1447
  loading: false
1448
1448
  }));
1449
- const [securityCenterLoginFlows] = yield call(getFeatureFlags, ['security-center-login-flows']);
1449
+ const [securityCenterLoginFlows] = yield call(getFeatureFlags, ['security-center-show-login-flows']);
1450
1450
  if (loginState.flow === LoginFlow.Login) {
1451
1451
  if (securityCenterLoginFlows && loginState.isBreachedPassword) {
1452
1452
  yield put(actions.setLoginState({
@@ -1579,7 +1579,7 @@ function* handleVerifyMFAResponse({
1579
1579
  const {
1580
1580
  step: mfaStep
1581
1581
  } = yield select(state => state.auth.mfaState);
1582
- const [securityCenterLoginFlows] = yield call(getFeatureFlags, ['security-center-login-flows']);
1582
+ const [securityCenterLoginFlows] = yield call(getFeatureFlags, ['security-center-show-login-flows']);
1583
1583
  if (loginState.flow === LoginFlow.Login) {
1584
1584
  if (securityCenterLoginFlows && loginState.isBreachedPassword) {
1585
1585
  yield put(actions.setLoginState({
@@ -19,7 +19,7 @@ import { securityCenterBreachedPasswordUsersMock, securityCenterInactivityPasswo
19
19
  */
20
20
  export function securityCenterSagaWrapper(action) {
21
21
  return function* (props) {
22
- const [securityCenterFeatureFlag] = yield call(getFeatureFlags, ['admin-portal-new-security-center-page']);
22
+ const [securityCenterFeatureFlag] = yield call(getFeatureFlags, ['security-center-admin-portal']);
23
23
  yield action(props);
24
24
  if (securityCenterFeatureFlag) {
25
25
  yield loadRecommendations();
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.138.0-alpha.2
1
+ /** @license Frontegg v7.0.0-alpha.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.
@@ -1373,7 +1373,7 @@ function* login({
1373
1373
  },
1374
1374
  isAuthenticated
1375
1375
  });
1376
- const [securityCenterLoginFlows] = yield (0, _effects.call)(_helpers.getFeatureFlags, ['security-center-login-flows']);
1376
+ const [securityCenterLoginFlows] = yield (0, _effects.call)(_helpers.getFeatureFlags, ['security-center-show-login-flows']);
1377
1377
  if (loginState.flow === _interfaces2.LoginFlow.Login) {
1378
1378
  if (securityCenterLoginFlows && user.isBreachedPassword) {
1379
1379
  yield (0, _effects.put)(_reducer.actions.setLoginState({
@@ -1461,7 +1461,7 @@ function* loginWithMfa({
1461
1461
  error: undefined,
1462
1462
  loading: false
1463
1463
  }));
1464
- const [securityCenterLoginFlows] = yield (0, _effects.call)(_helpers.getFeatureFlags, ['security-center-login-flows']);
1464
+ const [securityCenterLoginFlows] = yield (0, _effects.call)(_helpers.getFeatureFlags, ['security-center-show-login-flows']);
1465
1465
  if (loginState.flow === _interfaces2.LoginFlow.Login) {
1466
1466
  if (securityCenterLoginFlows && loginState.isBreachedPassword) {
1467
1467
  yield (0, _effects.put)(_reducer.actions.setLoginState({
@@ -1594,7 +1594,7 @@ function* handleVerifyMFAResponse({
1594
1594
  const {
1595
1595
  step: mfaStep
1596
1596
  } = yield (0, _effects.select)(state => state.auth.mfaState);
1597
- const [securityCenterLoginFlows] = yield (0, _effects.call)(_helpers.getFeatureFlags, ['security-center-login-flows']);
1597
+ const [securityCenterLoginFlows] = yield (0, _effects.call)(_helpers.getFeatureFlags, ['security-center-show-login-flows']);
1598
1598
  if (loginState.flow === _interfaces2.LoginFlow.Login) {
1599
1599
  if (securityCenterLoginFlows && loginState.isBreachedPassword) {
1600
1600
  yield (0, _effects.put)(_reducer.actions.setLoginState({
@@ -41,7 +41,7 @@ const _excluded = ["callback"];
41
41
  */
42
42
  function securityCenterSagaWrapper(action) {
43
43
  return function* (props) {
44
- const [securityCenterFeatureFlag] = yield (0, _effects.call)(_index.getFeatureFlags, ['admin-portal-new-security-center-page']);
44
+ const [securityCenterFeatureFlag] = yield (0, _effects.call)(_index.getFeatureFlags, ['security-center-admin-portal']);
45
45
  yield action(props);
46
46
  if (securityCenterFeatureFlag) {
47
47
  yield loadRecommendations();
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.138.0-alpha.2
1
+ /** @license Frontegg v7.0.0-alpha.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.138.0-alpha.2",
3
+ "version": "7.0.0-alpha.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",