@darkauth/client
Advanced tools
+4
-1
@@ -237,3 +237,6 @@ import { compactDecrypt } from "jose"; | ||
| if (response.status === 401) { | ||
| localStorage.removeItem("refresh_token"); | ||
| const latestRefreshToken = localStorage.getItem("refresh_token"); | ||
| if (latestRefreshToken === refreshToken) { | ||
| localStorage.removeItem("refresh_token"); | ||
| } | ||
| } | ||
@@ -240,0 +243,0 @@ return null; |
+1
-1
| { | ||
| "name": "@darkauth/client", | ||
| "version": "1.4.3", | ||
| "version": "1.4.4", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
28219
0.54%483
0.63%