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

@vyro-x/react-auth

Package Overview
Dependencies
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vyro-x/react-auth - npm Package Compare versions

Comparing version 1.5.10 to 1.5.11

6

lib/AuthProvider.js

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

await (0, refresh_1.refresh)();
checkIsAuthenticated();
}

@@ -60,4 +59,3 @@ catch (err) {

handleRefresh();
}, 1000 * 30); // 0.5 minutes
// }, 1000 * 60 * 5); // 5 minutes
}, 1000 * 60 * 5); // 5 minutes
return () => clearInterval(timer);

@@ -67,3 +65,3 @@ }, [isAuthenticated]);

(0, react_1.useEffect)(() => {
if (!!(0, tokens_1.getAccessToken)()) {
if (checkIsAuthenticated()) {
handleRefresh();

@@ -70,0 +68,0 @@ }

{
"name": "@vyro-x/react-auth",
"description": "Client authentication",
"version": "1.5.10",
"version": "1.5.11",
"private": false,

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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