Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "fast-jwt", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Fast JSON Web Token implementation", | ||
@@ -5,0 +5,0 @@ "author": "NearForm Ltd", |
@@ -68,3 +68,4 @@ export type Algorithm = | ||
payload: any | ||
signature: string | ||
signature: string, | ||
input: string | ||
} | ||
@@ -71,0 +72,0 @@ |
@@ -291,3 +291,3 @@ 'use strict' | ||
const { header, payload, signature } = decoded | ||
const { header, payload, signature, input } = decoded | ||
const cacheContext = { | ||
@@ -313,3 +313,3 @@ cache, | ||
return cacheSet(cacheContext, complete ? { header, payload, signature, input: token } : payload) | ||
return cacheSet(cacheContext, complete ? { header, payload, signature, input } : payload) | ||
} catch (e) { | ||
@@ -316,0 +316,0 @@ throw cacheSet(cacheContext, e) |
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
91210
1287