simple-oauth2
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Changelog | ||
## v1.0.2 | ||
* Parse token payload response `expires_in` property as integer | ||
## v1.0.1 | ||
@@ -4,0 +7,0 @@ * Fixed documentation for **client** option. |
@@ -25,3 +25,6 @@ 'use strict'; | ||
} else { | ||
this.token.expires_at = addSeconds(new Date(), token.expires_in); | ||
this.token.expires_at = addSeconds( | ||
new Date(), | ||
Number.parseInt(token.expires_in, 10) | ||
); | ||
} | ||
@@ -28,0 +31,0 @@ } |
{ | ||
"name": "simple-oauth2", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Node.js client for OAuth2", | ||
@@ -5,0 +5,0 @@ "author": "Andrea Reginato <andrea.reginato@gmail.com>", |
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
28298
397