@frontegg/react-hooks
Advanced tools
Comparing version 7.30.0 to 7.31.0-alpha.0
@@ -36,5 +36,5 @@ import { useEffect } from 'react'; | ||
useEffect(() => { | ||
(loadOnMount || !publicAuthStrategyPolicy.policy) && loadPublicAuthStrategiesPolicy(); | ||
(loadOnMount || !publicAuthStrategyPolicy.policy) && !publicAuthStrategyPolicy.error && loadPublicAuthStrategiesPolicy(); | ||
}, [loadOnMount, loadPublicAuthStrategiesPolicy]); | ||
return publicAuthStrategyPolicy; | ||
}; |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v7.30.0 | ||
/** @license Frontegg v7.31.0-alpha.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -42,3 +42,3 @@ "use strict"; | ||
(0, _react.useEffect)(() => { | ||
(loadOnMount || !publicAuthStrategyPolicy.policy) && loadPublicAuthStrategiesPolicy(); | ||
(loadOnMount || !publicAuthStrategyPolicy.policy) && !publicAuthStrategyPolicy.error && loadPublicAuthStrategiesPolicy(); | ||
}, [loadOnMount, loadPublicAuthStrategiesPolicy]); | ||
@@ -45,0 +45,0 @@ return publicAuthStrategyPolicy; |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v7.30.0 | ||
/** @license Frontegg v7.31.0-alpha.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "@frontegg/react-hooks", | ||
"version": "7.30.0", | ||
"version": "7.31.0-alpha.0", | ||
"main": "./node/index.js", | ||
@@ -9,4 +9,4 @@ "license": "MIT", | ||
"@babel/runtime": "^7.18.6", | ||
"@frontegg/redux-store": "7.30.0", | ||
"@frontegg/types": "7.30.0", | ||
"@frontegg/redux-store": "7.31.0-alpha.0", | ||
"@frontegg/types": "7.31.0-alpha.0", | ||
"@types/react": "*", | ||
@@ -13,0 +13,0 @@ "@types/react-is": "^17.0.7", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
180148
2
+ Added@frontegg/redux-store@7.31.0-alpha.0(transitive)
+ Added@frontegg/rest-api@7.31.0-alpha.0(transitive)
+ Added@frontegg/types@7.31.0-alpha.0(transitive)
+ Added@types/react@19.0.1(transitive)
- Removed@frontegg/redux-store@7.30.0(transitive)
- Removed@frontegg/rest-api@7.30.0(transitive)
- Removed@frontegg/types@7.30.0(transitive)
- Removed@types/react@19.0.2(transitive)