New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@digigov/auth

Package Overview
Dependencies
Maintainers
3
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digigov/auth - npm Package Compare versions

Comparing version 0.0.1-auth-flow.5 to 0.0.1-auth-flow.6

14

es/hooks.js

@@ -71,10 +71,12 @@ import { useEffect, useMemo } from 'react';

var checkWindowInterval = setInterval(function () {
if (externalWindow === null) {
clearInterval(checkWindowInterval);
window.localStorage.removeItem('popup-login');
try {
if (externalWindow === null || externalWindow.closed) {
clearInterval(checkWindowInterval);
window.localStorage.removeItem('popup-login');
if (readSession().authenticated) {
window.location.href = new URL(nextURL, document.baseURI).href;
if (readSession().authenticated) {
window.location.href = new URL(nextURL, document.baseURI).href;
}
}
}
} catch (err) {}
}, 500);

@@ -81,0 +83,0 @@ }

@@ -71,10 +71,12 @@ import { useEffect, useMemo } from 'react';

var checkWindowInterval = setInterval(function () {
if (externalWindow === null) {
clearInterval(checkWindowInterval);
window.localStorage.removeItem('popup-login');
try {
if (externalWindow === null || externalWindow.closed) {
clearInterval(checkWindowInterval);
window.localStorage.removeItem('popup-login');
if (readSession().authenticated) {
window.location.href = new URL(nextURL, document.baseURI).href;
if (readSession().authenticated) {
window.location.href = new URL(nextURL, document.baseURI).href;
}
}
}
} catch (err) {}
}, 500);

@@ -81,0 +83,0 @@ }

@@ -1,2 +0,2 @@

/** @license Digigov v0.0.1-auth-flow.5+c24db6f
/** @license Digigov v0.0.1-auth-flow.6+e0813e0
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -95,10 +95,12 @@ "use strict";

var checkWindowInterval = setInterval(function () {
if (externalWindow === null) {
clearInterval(checkWindowInterval);
window.localStorage.removeItem('popup-login');
try {
if (externalWindow === null || externalWindow.closed) {
clearInterval(checkWindowInterval);
window.localStorage.removeItem('popup-login');
if ((0, _localSession.readSession)().authenticated) {
window.location.href = new URL(nextURL, document.baseURI).href;
if ((0, _localSession.readSession)().authenticated) {
window.location.href = new URL(nextURL, document.baseURI).href;
}
}
}
} catch (err) {}
}, 500);

@@ -105,0 +107,0 @@ }

@@ -1,2 +0,2 @@

/** @license Digigov v0.0.1-auth-flow.5+c24db6f
/** @license Digigov v0.0.1-auth-flow.6+e0813e0
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

{
"name": "@digigov/auth",
"version": "0.0.1-auth-flow.5+c24db6f",
"version": "0.0.1-auth-flow.6+e0813e0",
"description": "@digigov authentication client",

@@ -20,5 +20,5 @@ "author": "GRNET Developers <devs@lists.grnet.gr>",

},
"gitHead": "c24db6fcf235292ff74e7781ed589466ddb78339",
"gitHead": "e0813e0479fd6f59f81400f716b3187f4a1440c2",
"private": false,
"typings": "./index.d.ts"
}
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