@frontegg/redux-store 6.66.0-alpha.1 → 6.66.0-alpha.3
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.
|
@@ -68,7 +68,7 @@ const actions = {
|
|
|
68
68
|
})),
|
|
69
69
|
loadSecurityPolicyCaptcha: createAction(`${authStoreName}/loadSecurityPolicyCaptcha`),
|
|
70
70
|
loadSecurityPolicyPasswordHistory: createAction(`${authStoreName}/loadSecurityPolicyPasswordHistory`),
|
|
71
|
-
loadSecurityPolicyVendorPasswordHistory: createAction(`${authStoreName}/
|
|
71
|
+
loadSecurityPolicyVendorPasswordHistory: createAction(`${authStoreName}/loadSecurityPolicyVendorPasswordHistory`),
|
|
72
72
|
saveSecurityPolicyPasswordHistory: createAction(`${authStoreName}/saveSecurityPolicyPasswordHistory`, payload => ({
|
|
73
73
|
payload
|
|
74
74
|
})),
|
|
@@ -379,6 +379,7 @@ function* loadSecurityPolicyMock() {
|
|
|
379
379
|
yield put(actions.loadSecurityPolicyVendorMfa());
|
|
380
380
|
yield put(actions.loadSecurityPolicyLockout());
|
|
381
381
|
yield put(actions.loadSecurityPolicyVendorLockout());
|
|
382
|
+
yield put(actions.loadSecurityPolicyPasswordHistory());
|
|
382
383
|
yield put(actions.loadSecurityPolicyVendorPasswordHistory());
|
|
383
384
|
yield put(actions.loadSecurityPolicyCaptcha());
|
|
384
385
|
}
|
|
@@ -473,7 +474,7 @@ function* saveSecurityPolicyLockoutMock(_ref5) {
|
|
|
473
474
|
}));
|
|
474
475
|
yield delay();
|
|
475
476
|
|
|
476
|
-
const policy = _extends({},
|
|
477
|
+
const policy = _extends({}, policyLockoutDemo, newSecurityPolicy, {
|
|
477
478
|
id: newSecurityPolicy.id ? newSecurityPolicy.id : policyLockoutDemo.id
|
|
478
479
|
});
|
|
479
480
|
|
|
@@ -534,7 +535,7 @@ function* saveSecurityPolicyPasswordHistoryMock(_ref6) {
|
|
|
534
535
|
}));
|
|
535
536
|
yield delay();
|
|
536
537
|
|
|
537
|
-
const policy = _extends({},
|
|
538
|
+
const policy = _extends({}, policyPasswordHistoryDemo, newSecurityPolicy, {
|
|
538
539
|
id: newSecurityPolicy.id ? newSecurityPolicy.id : policyPasswordHistoryDemo.id
|
|
539
540
|
});
|
|
540
541
|
|
package/index.js
CHANGED
|
@@ -80,7 +80,7 @@ const actions = {
|
|
|
80
80
|
})),
|
|
81
81
|
loadSecurityPolicyCaptcha: (0, _toolkit.createAction)(`${_constants.authStoreName}/loadSecurityPolicyCaptcha`),
|
|
82
82
|
loadSecurityPolicyPasswordHistory: (0, _toolkit.createAction)(`${_constants.authStoreName}/loadSecurityPolicyPasswordHistory`),
|
|
83
|
-
loadSecurityPolicyVendorPasswordHistory: (0, _toolkit.createAction)(`${_constants.authStoreName}/
|
|
83
|
+
loadSecurityPolicyVendorPasswordHistory: (0, _toolkit.createAction)(`${_constants.authStoreName}/loadSecurityPolicyVendorPasswordHistory`),
|
|
84
84
|
saveSecurityPolicyPasswordHistory: (0, _toolkit.createAction)(`${_constants.authStoreName}/saveSecurityPolicyPasswordHistory`, payload => ({
|
|
85
85
|
payload
|
|
86
86
|
})),
|
|
@@ -398,6 +398,7 @@ function* loadSecurityPolicyMock() {
|
|
|
398
398
|
yield (0, _effects.put)(_reducer.actions.loadSecurityPolicyVendorMfa());
|
|
399
399
|
yield (0, _effects.put)(_reducer.actions.loadSecurityPolicyLockout());
|
|
400
400
|
yield (0, _effects.put)(_reducer.actions.loadSecurityPolicyVendorLockout());
|
|
401
|
+
yield (0, _effects.put)(_reducer.actions.loadSecurityPolicyPasswordHistory());
|
|
401
402
|
yield (0, _effects.put)(_reducer.actions.loadSecurityPolicyVendorPasswordHistory());
|
|
402
403
|
yield (0, _effects.put)(_reducer.actions.loadSecurityPolicyCaptcha());
|
|
403
404
|
}
|
|
@@ -487,7 +488,7 @@ function* saveSecurityPolicyLockoutMock(_ref5) {
|
|
|
487
488
|
error: null
|
|
488
489
|
}));
|
|
489
490
|
yield (0, _utils.delay)();
|
|
490
|
-
const policy = (0, _extends2.default)({},
|
|
491
|
+
const policy = (0, _extends2.default)({}, _dummy.policyLockoutDemo, newSecurityPolicy, {
|
|
491
492
|
id: newSecurityPolicy.id ? newSecurityPolicy.id : _dummy.policyLockoutDemo.id
|
|
492
493
|
});
|
|
493
494
|
callback == null ? void 0 : callback(policy);
|
|
@@ -545,7 +546,7 @@ function* saveSecurityPolicyPasswordHistoryMock(_ref6) {
|
|
|
545
546
|
error: null
|
|
546
547
|
}));
|
|
547
548
|
yield (0, _utils.delay)();
|
|
548
|
-
const policy = (0, _extends2.default)({},
|
|
549
|
+
const policy = (0, _extends2.default)({}, _dummy.policyPasswordHistoryDemo, newSecurityPolicy, {
|
|
549
550
|
id: newSecurityPolicy.id ? newSecurityPolicy.id : _dummy.policyPasswordHistoryDemo.id
|
|
550
551
|
});
|
|
551
552
|
callback == null ? void 0 : callback(policy);
|
package/node/index.js
CHANGED