oidc-react
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -169,2 +169,3 @@ "use strict"; | ||
isMountedRef.current = true; | ||
setIsLoading(true); | ||
(function () { return __awaiter(void 0, void 0, void 0, function () { | ||
@@ -183,3 +184,2 @@ var user, user_1, state; | ||
setUserData(user_1); | ||
setIsLoading(false); | ||
onSignIn && onSignIn(user_1); | ||
@@ -198,6 +198,7 @@ return [3 /*break*/, 5]; | ||
setUserData(user); | ||
setIsLoading(false); | ||
} | ||
_a.label = 7; | ||
case 7: return [2 /*return*/]; | ||
case 7: | ||
setIsLoading(false); | ||
return [2 /*return*/]; | ||
} | ||
@@ -215,3 +216,3 @@ }); | ||
var updateUserData = function (user) { | ||
setUserData(user); | ||
isMountedRef.current && setUserData(user); | ||
}; | ||
@@ -218,0 +219,0 @@ var onSilentRenewError = function () { return __awaiter(void 0, void 0, void 0, function () { |
@@ -6,2 +6,14 @@ # Changelog | ||
## [3.0.4](https://github.com/bjerkio/oidc-react/compare/oidc-react-v3.0.4...oidc-react-v3.0.4) (2023-04-10) | ||
### Bug Fixes | ||
* isLoading has correct status when autoSignIn is disabled and user is signed out ([#982](https://github.com/bjerkio/oidc-react/issues/982)) ([db28cdd](https://github.com/bjerkio/oidc-react/commit/db28cdd6a6368d8d07f01f1827d77afd18d70bf1)) | ||
### Miscellaneous Chores | ||
* **main:** release 3.0.4 ([01051e9](https://github.com/bjerkio/oidc-react/commit/01051e9d8117cba5ca0ddb631a20a5af179214ec)) | ||
## [3.0.3](https://github.com/bjerkio/oidc-react/compare/v3.0.2...v3.0.3) (2023-03-16) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "oidc-react", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"private": false, | ||
@@ -31,11 +31,11 @@ "description": "", | ||
"@types/faker": "6.6.9", | ||
"@types/jest": "29.4.2", | ||
"@types/node": "18.15.3", | ||
"@types/jest": "29.5.0", | ||
"@types/node": "18.15.5", | ||
"@types/react": "18.0.28", | ||
"@typescript-eslint/eslint-plugin": "5.55.0", | ||
"@typescript-eslint/parser": "5.55.0", | ||
"@typescript-eslint/eslint-plugin": "5.56.0", | ||
"@typescript-eslint/parser": "5.56.0", | ||
"bundlewatch": "0.3.3", | ||
"eslint": "8.36.0", | ||
"eslint-config-airbnb-base": "15.0.0", | ||
"eslint-config-prettier": "8.7.0", | ||
"eslint-config-prettier": "8.8.0", | ||
"eslint-plugin-import": "2.27.5", | ||
@@ -48,4 +48,4 @@ "eslint-plugin-jest": "27.2.1", | ||
"jest-environment-jsdom": "29.5.0", | ||
"jest-fail-on-console": "3.0.2", | ||
"prettier": "2.8.4", | ||
"jest-fail-on-console": "3.1.1", | ||
"prettier": "2.8.6", | ||
"react": "18.2.0", | ||
@@ -55,5 +55,5 @@ "react-dom": "18.2.0", | ||
"ts-node-dev": "2.0.0", | ||
"typedoc": "0.23.26", | ||
"typedoc": "0.23.28", | ||
"typedoc-plugin-markdown": "3.14.0", | ||
"typescript": "4.9.5" | ||
"typescript": "5.0.2" | ||
}, | ||
@@ -60,0 +60,0 @@ "peerDependencies": { |
@@ -62,3 +62,3 @@ # OIDC React | ||
- [Guides](guides/) | ||
- [Example repository](https://github.com/cobraz/example-react-oidc) | ||
- [Example repository](https://github.com/simenandre/example-react-oidc) | ||
- [oidc-client-ts Documentation](https://authts.github.io/oidc-client-ts/) | ||
@@ -65,0 +65,0 @@ |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
50348
565
1