@frontegg/redux-store 7.76.0-alpha.1 → 7.76.0-alpha.2

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.
@@ -1,5 +1,7 @@
1
1
  import type { FronteggState, RestApi, SharedActions } from '../../interfaces';
2
+ import { UserEmailPolicyState } from './interfaces';
2
3
  declare const _default: (store: FronteggState, api: RestApi, sharedActions: SharedActions) => {
3
4
  loadUserEmailPolicyState: () => Promise<void>;
5
+ setUserEmailPolicyState: (payload: Partial<UserEmailPolicyState>) => void;
4
6
  };
5
7
  export default _default;
@@ -21,6 +21,7 @@ export default ((store, api, sharedActions) => {
21
21
  }
22
22
  };
23
23
  return {
24
- loadUserEmailPolicyState
24
+ loadUserEmailPolicyState,
25
+ setUserEmailPolicyState
25
26
  };
26
27
  });
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.76.0-alpha.1
1
+ /** @license Frontegg v7.76.0-alpha.2
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.
@@ -1,5 +1,6 @@
1
1
  import { FronteggState, RestApi, SharedActions } from '../../interfaces';
2
2
  declare const _default: (store: FronteggState, api: RestApi, sharedActions: SharedActions) => {
3
3
  loadUserEmailPolicyState: () => Promise<void>;
4
+ setUserEmailPolicyState: (payload: Partial<import("../..").UserEmailPolicyState>) => void;
4
5
  };
5
6
  export default _default;
@@ -27,7 +27,8 @@ var _default = (store, api, sharedActions) => {
27
27
  }
28
28
  };
29
29
  return {
30
- loadUserEmailPolicyState
30
+ loadUserEmailPolicyState,
31
+ setUserEmailPolicyState
31
32
  };
32
33
  };
33
34
  exports.default = _default;
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.76.0-alpha.1
1
+ /** @license Frontegg v7.76.0-alpha.2
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.76.0-alpha.1",
3
+ "version": "7.76.0-alpha.2",
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.76.0-alpha.1",
10
+ "@frontegg/rest-api": "7.76.0-alpha.2",
11
11
  "fast-deep-equal": "3.1.3",
12
12
  "get-value": "^3.0.1",
13
13
  "proxy-compare": "^3.0.0",