@frontegg/react-hooks 7.31.0-alpha.5 → 7.31.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.
@@ -33,7 +33,7 @@ export const usePublicAuthStrategiesPolicySettings = (loadOnMount = false) => {
33
33
  loadPublicAuthStrategiesPolicy
34
34
  } = useSecurityPolicyActions();
35
35
  useEffect(() => {
36
- (loadOnMount || !publicAuthStrategyPolicy.policy) && !publicAuthStrategyPolicy.error && loadPublicAuthStrategiesPolicy();
36
+ (loadOnMount || !publicAuthStrategyPolicy.policy) && loadPublicAuthStrategiesPolicy();
37
37
  }, [loadOnMount, loadPublicAuthStrategiesPolicy]);
38
38
  return publicAuthStrategyPolicy;
39
39
  };
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.31.0-alpha.5
1
+ /** @license Frontegg v7.31.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.
@@ -39,7 +39,7 @@ const usePublicAuthStrategiesPolicySettings = (loadOnMount = false) => {
39
39
  loadPublicAuthStrategiesPolicy
40
40
  } = useSecurityPolicyActions();
41
41
  (0, _react.useEffect)(() => {
42
- (loadOnMount || !publicAuthStrategyPolicy.policy) && !publicAuthStrategyPolicy.error && loadPublicAuthStrategiesPolicy();
42
+ (loadOnMount || !publicAuthStrategyPolicy.policy) && loadPublicAuthStrategiesPolicy();
43
43
  }, [loadOnMount, loadPublicAuthStrategiesPolicy]);
44
44
  return publicAuthStrategyPolicy;
45
45
  };
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.31.0-alpha.5
1
+ /** @license Frontegg v7.31.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,13 +1,13 @@
1
1
  {
2
2
  "name": "@frontegg/react-hooks",
3
- "version": "7.31.0-alpha.5",
3
+ "version": "7.31.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
- "@frontegg/redux-store": "7.31.0-alpha.5",
10
- "@frontegg/types": "7.31.0-alpha.5",
9
+ "@frontegg/redux-store": "7.31.0",
10
+ "@frontegg/types": "7.31.0",
11
11
  "@types/react": "*",
12
12
  "@types/react-is": "^17.0.7",
13
13
  "get-value": "^3.0.1",