jsonwebtoken
Advanced tools
Comparing version 5.6.0 to 5.6.2
@@ -106,3 +106,3 @@ var jws = require('jws'); | ||
payload.exp = timestamp + expiresInSeconds; | ||
} else if (typeof options.expiresIn !== 'undefined') { | ||
} else if (typeof options.expiresIn !== 'undefined' && typeof payload === 'object') { | ||
payload.exp = timespan(options.expiresIn); | ||
@@ -109,0 +109,0 @@ if (typeof payload.exp === 'undefined') { |
{ | ||
"name": "jsonwebtoken", | ||
"version": "5.6.0", | ||
"version": "5.6.2", | ||
"description": "JSON Web Token implementation (symmetric and asymmetric)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
64382