Comparing version 1.6.1 to 1.7.0
{ | ||
"name": "fast-jwt", | ||
"version": "1.6.1", | ||
"version": "1.7.0", | ||
"description": "Fast JSON Web Token implementation", | ||
@@ -5,0 +5,0 @@ "author": "NearForm Ltd", |
@@ -103,3 +103,3 @@ 'use strict' | ||
iat: noTimestamp ? undefined : Math.floor(iat / 1000), | ||
exp: expiresIn ? Math.floor((iat + expiresIn) / 1000) : payload.exp || undefined, | ||
exp: payload.exp ? payload.exp : expiresIn ? Math.floor((iat + expiresIn) / 1000) : undefined, | ||
nbf: notBefore ? Math.floor((iat + notBefore) / 1000) : undefined | ||
@@ -106,0 +106,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
86317