@edgedb/auth-core
Advanced tools
Comparing version 0.3.0-canary.20240530T182956 to 0.3.0-canary.20240530T194023
@@ -25,8 +25,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AuthPCKESession = exports.Auth = void 0; | ||
const jwt_decode_1 = __importDefault(require("jwt-decode")); | ||
const jwt_decode_1 = require("jwt-decode"); | ||
const edgedb = __importStar(require("edgedb")); | ||
@@ -203,3 +200,3 @@ const pkce = __importStar(require("./pkce")); | ||
try { | ||
const payload = (0, jwt_decode_1.default)(token); | ||
const payload = (0, jwt_decode_1.jwtDecode)(token); | ||
if (typeof payload !== "object" || | ||
@@ -206,0 +203,0 @@ payload == null || |
{ | ||
"name": "@edgedb/auth-core", | ||
"description": "Core helper library for the EdgeDB Auth extension", | ||
"version": "0.3.0-canary.20240530T182956", | ||
"version": "0.3.0-canary.20240530T194023", | ||
"author": "EdgeDB <info@edgedb.com>", | ||
@@ -35,7 +35,7 @@ "repository": { | ||
"devDependencies": { | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^20.8.4", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.12.13", | ||
"edgedb": "^1.5.0", | ||
"jest": "29.5.0", | ||
"ts-jest": "29.1.0", | ||
"jest": "29.7.0", | ||
"ts-jest": "29.1.4", | ||
"typescript": "^5.4.5" | ||
@@ -47,4 +47,4 @@ }, | ||
"dependencies": { | ||
"jwt-decode": "^3.1.2" | ||
"jwt-decode": "^4.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42855
1065
+ Addedjwt-decode@4.0.0(transitive)
- Removedjwt-decode@3.1.2(transitive)
Updatedjwt-decode@^4.0.0