Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@affinidi/affinidi-react-auth

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@affinidi/affinidi-react-auth - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

dist/hooks/useAffinidiProfile.js

@@ -21,3 +21,2 @@ "use strict";

const [state, setState] = (0, react_1.useState)(null);
const [error, setError] = (0, react_1.useState)();
(0, react_1.useEffect)(() => {

@@ -34,4 +33,6 @@ const urlObject = new URL(window.location.href);

const errorDescription = params.get('error_description') || '';
setError(`${types_1.errorMessageMap[perror] || 'Unexpected error'} - ${(errorDescription && types_1.errorDescriptionMessageMap[errorDescription]) || undefined}`);
setStorgageData({ error });
setStorgageData({
error: `${types_1.errorMessageMap[perror] || 'Unexpected error'} - ${(errorDescription && types_1.errorDescriptionMessageMap[errorDescription]) || undefined}`,
});
window.location.href = redirectTo;
}

@@ -38,0 +39,0 @@ }, []);

{
"name": "@affinidi/affinidi-react-auth",
"version": "1.0.3",
"version": "1.0.4",
"description": "Affinidi react auth library for creating Affinidi Login Button",

@@ -5,0 +5,0 @@ "author": "affinidi.com",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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