@frontegg/redux-store 7.48.0 → 7.49.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.
- package/auth/Security/SecurityCenterState/actions.d.ts +1 -0
- package/auth/Security/SecurityCenterState/actions.js +7 -1
- package/auth/Security/SecurityCenterState/interfaces.d.ts +1 -0
- package/auth/Security/SecurityCenterState/state.js +1 -0
- package/index.js +1 -1
- package/mocks/auth-mocks/security/securityCenterActions.mocks.d.ts +1 -0
- package/node/auth/Security/SecurityCenterState/actions.js +7 -1
- package/node/auth/Security/SecurityCenterState/state.js +1 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -13,5 +13,6 @@ declare const _default: (store: FronteggState, api: RestApi, sharedActions: Shar
|
|
|
13
13
|
loadBreachedPasswordUsers: (payload: ISearchUserQueryParamsV3) => Promise<void>;
|
|
14
14
|
loadUnenrolledMfaUsers: (payload: ISearchUserQueryParamsV3) => Promise<void>;
|
|
15
15
|
loadInactiveUsers: (payload: ISearchUserQueryParamsV3) => Promise<void>;
|
|
16
|
+
markSecurityCenterStateAsChanged: (changed?: boolean) => void;
|
|
16
17
|
};
|
|
17
18
|
export default _default;
|
|
@@ -292,6 +292,11 @@ export default ((store, api, sharedActions) => {
|
|
|
292
292
|
tableState: inactiveUsersTable
|
|
293
293
|
}, payload));
|
|
294
294
|
};
|
|
295
|
+
const markSecurityCenterStateAsChanged = (changed = true) => {
|
|
296
|
+
setSecurityCenterState({
|
|
297
|
+
hasSecurityChanges: changed
|
|
298
|
+
});
|
|
299
|
+
};
|
|
295
300
|
return {
|
|
296
301
|
setSecurityCenterState,
|
|
297
302
|
resetSecurityCenterState,
|
|
@@ -303,6 +308,7 @@ export default ((store, api, sharedActions) => {
|
|
|
303
308
|
sendBulkResetBreachedPasswordEmails,
|
|
304
309
|
loadBreachedPasswordUsers,
|
|
305
310
|
loadUnenrolledMfaUsers,
|
|
306
|
-
loadInactiveUsers
|
|
311
|
+
loadInactiveUsers,
|
|
312
|
+
markSecurityCenterStateAsChanged
|
|
307
313
|
};
|
|
308
314
|
});
|
|
@@ -8,6 +8,7 @@ export interface SecurityCenterState {
|
|
|
8
8
|
recommendations?: Recommendation[];
|
|
9
9
|
insights?: Insight[];
|
|
10
10
|
score: number;
|
|
11
|
+
hasSecurityChanges: boolean;
|
|
11
12
|
breachedPasswordUsersTable: ISecurityCenterTable;
|
|
12
13
|
unenrolledMfaUsersTable: ISecurityCenterTable;
|
|
13
14
|
inactiveUsersTable: ISecurityCenterTable;
|
package/index.js
CHANGED
|
@@ -12,5 +12,6 @@ declare const _default: (store: FronteggState, api: RestApi, actions: SharedActi
|
|
|
12
12
|
loadBreachedPasswordUsers: (payload: import("@frontegg/rest-api").ISearchUserQueryParamsV3) => Promise<void>;
|
|
13
13
|
loadUnenrolledMfaUsers: (payload: import("@frontegg/rest-api").ISearchUserQueryParamsV3) => Promise<void>;
|
|
14
14
|
loadInactiveUsers: (payload: import("@frontegg/rest-api").ISearchUserQueryParamsV3) => Promise<void>;
|
|
15
|
+
markSecurityCenterStateAsChanged: (changed?: boolean) => void;
|
|
15
16
|
};
|
|
16
17
|
export default _default;
|
|
@@ -299,6 +299,11 @@ var _default = (store, api, sharedActions) => {
|
|
|
299
299
|
tableState: inactiveUsersTable
|
|
300
300
|
}, payload));
|
|
301
301
|
};
|
|
302
|
+
const markSecurityCenterStateAsChanged = (changed = true) => {
|
|
303
|
+
setSecurityCenterState({
|
|
304
|
+
hasSecurityChanges: changed
|
|
305
|
+
});
|
|
306
|
+
};
|
|
302
307
|
return {
|
|
303
308
|
setSecurityCenterState,
|
|
304
309
|
resetSecurityCenterState,
|
|
@@ -310,7 +315,8 @@ var _default = (store, api, sharedActions) => {
|
|
|
310
315
|
sendBulkResetBreachedPasswordEmails,
|
|
311
316
|
loadBreachedPasswordUsers,
|
|
312
317
|
loadUnenrolledMfaUsers,
|
|
313
|
-
loadInactiveUsers
|
|
318
|
+
loadInactiveUsers,
|
|
319
|
+
markSecurityCenterStateAsChanged
|
|
314
320
|
};
|
|
315
321
|
};
|
|
316
322
|
exports.default = _default;
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/redux-store",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.49.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frontegg LTD",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
9
|
"@frontegg/entitlements-javascript-commons": "1.1.2",
|
|
10
|
-
"@frontegg/rest-api": "7.
|
|
10
|
+
"@frontegg/rest-api": "7.49.0",
|
|
11
11
|
"fast-deep-equal": "3.1.3",
|
|
12
12
|
"get-value": "^3.0.1",
|
|
13
13
|
"proxy-compare": "^3.0.0",
|