@frontegg/redux-store 7.67.0 → 7.68.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.
@@ -15,7 +15,9 @@ declare const _default: (store: FronteggState, api: RestApi, sharedActions: Shar
15
15
  }>;
16
16
  loadProvisionConnections: (payload?: WithRetryConfig<{}>) => Promise<void>;
17
17
  createProvisionConnection: (payload: WithCallback<Scim2CreateConnectionConfigRequest, Scim2CreateConnectionConfigResponse>) => Promise<void>;
18
- deleteProvisionConnection: (payload: WithCallback<WithId>) => Promise<void>;
18
+ deleteProvisionConnection: (payload: WithCallback<WithId & {
19
+ deleteAll: boolean;
20
+ }>) => Promise<void>;
19
21
  updateProvisionConnection: (payload: WithId<Scim2PatchConnectionConfigRequest>) => Promise<void>;
20
22
  };
21
23
  export default _default;
@@ -79,7 +79,7 @@ export default ((store, api, sharedActions) => {
79
79
  error: null
80
80
  });
81
81
  try {
82
- await api.directory.deleteConfiguration(id);
82
+ await api.directory.deleteConfiguration(id, payload.deleteAll);
83
83
  const connections = await api.directory.getConfigs();
84
84
  const connectionsWithCount = await Promise.all(connections.map(connection => __loadCountForConnection(connection)));
85
85
  setProvisioningState({
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.67.0
1
+ /** @license Frontegg v7.68.0-alpha.1
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.
@@ -13,7 +13,9 @@ declare const _default: (store: FronteggState, api: RestApi, actions: SharedActi
13
13
  }>;
14
14
  loadProvisionConnections: (payload?: import("../../interfaces").WithRetryConfig<{}>) => Promise<void>;
15
15
  createProvisionConnection: (payload: import("../../interfaces").WithCallback<import("dist/@frontegg/rest-api").Scim2CreateConnectionConfigRequest, import("dist/@frontegg/rest-api").Scim2CreateConnectionConfigResponse>) => Promise<void>;
16
- deleteProvisionConnection: (payload: import("../../interfaces").WithCallback<import("../../interfaces").WithId>) => Promise<void>;
16
+ deleteProvisionConnection: (payload: import("../../interfaces").WithCallback<import("../../interfaces").WithId & {
17
+ deleteAll: boolean;
18
+ }>) => Promise<void>;
17
19
  updateProvisionConnection: (payload: import("../../interfaces").WithId<import("dist/@frontegg/rest-api").Scim2PatchConnectionConfigRequest>) => Promise<void>;
18
20
  };
19
21
  export default _default;
@@ -86,7 +86,7 @@ var _default = (store, api, sharedActions) => {
86
86
  error: null
87
87
  });
88
88
  try {
89
- await api.directory.deleteConfiguration(id);
89
+ await api.directory.deleteConfiguration(id, payload.deleteAll);
90
90
  const connections = await api.directory.getConfigs();
91
91
  const connectionsWithCount = await Promise.all(connections.map(connection => __loadCountForConnection(connection)));
92
92
  setProvisioningState({
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.67.0
1
+ /** @license Frontegg v7.68.0-alpha.1
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,13 +1,13 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
- "version": "7.67.0",
3
+ "version": "7.68.0-alpha.1",
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.67.0",
10
+ "@frontegg/rest-api": "7.68.0-alpha.1",
11
11
  "fast-deep-equal": "3.1.3",
12
12
  "get-value": "^3.0.1",
13
13
  "proxy-compare": "^3.0.0",