Socket
Socket
Sign inDemoInstall

oidc-react

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-react - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

8

build/src/AuthContext.js

@@ -102,2 +102,10 @@ "use strict";

}, [location]);
react_1.useEffect(() => {
const updateUserData = () => __awaiter(void 0, void 0, void 0, function* () {
const user = yield userManager.getUser();
setUserData(user);
});
userManager.events.addUserLoaded(updateUserData);
return () => userManager.events.removeUserLoaded(updateUserData);
}, []);
return (react_1.default.createElement(exports.AuthContext.Provider, { value: {

@@ -104,0 +112,0 @@ signIn: (args) => __awaiter(void 0, void 0, void 0, function* () {

@@ -6,2 +6,9 @@ # Changelog

## [1.1.5](https://github.com/bjerkio/oidc-react/compare/v1.1.4...v1.1.5) (2020-12-22)
### Bug Fixes
* Load new state from session/local storage when available after a silent renew ([#363](https://github.com/bjerkio/oidc-react/issues/363)) ([319d0e3](https://github.com/bjerkio/oidc-react/commit/319d0e34d3f890a4838f436af6b4cb3859a0ad85))
## [1.1.4](https://github.com/bjerkio/oidc-react/compare/v1.1.3...v1.1.4) (2020-12-19)

@@ -8,0 +15,0 @@

4

package.json
{
"name": "oidc-react",
"version": "1.1.4",
"version": "1.1.5",
"private": false,

@@ -38,3 +38,3 @@ "description": "",

"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.18.0",

@@ -41,0 +41,0 @@ "eslint-plugin-jest": "^24.0.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc