Comparing version 2.1.0 to 2.1.1
@@ -20,3 +20,3 @@ export interface TokenOptions { | ||
tokenExpires: number | null; | ||
email: string; | ||
email?: string; | ||
additionalClaims?: {}; | ||
@@ -23,0 +23,0 @@ /** |
@@ -74,2 +74,6 @@ "use strict"; | ||
function GoogleToken(options) { | ||
this.token = null; | ||
this.expiresAt = null; | ||
this.rawToken = null; | ||
this.tokenExpires = null; | ||
this.configure(options); | ||
@@ -76,0 +80,0 @@ } |
{ | ||
"name": "gtoken", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Node.js Google Authentication Service Account Tokens", | ||
@@ -37,6 +37,6 @@ "main": "./build/src/index.js", | ||
"dependencies": { | ||
"axios": "^0.17.0", | ||
"axios": "^0.18.0", | ||
"google-p12-pem": "^1.0.0", | ||
"jws": "^3.0.0", | ||
"mime": "^2.0.3", | ||
"jws": "^3.1.4", | ||
"mime": "^2.2.0", | ||
"pify": "^3.0.0" | ||
@@ -47,14 +47,14 @@ }, | ||
"@types/mime": "^2.0.0", | ||
"@types/mocha": "^2.2.43", | ||
"@types/nock": "^9.1.0", | ||
"@types/node": "^9.3.0", | ||
"@types/mocha": "^2.2.48", | ||
"@types/nock": "^9.1.2", | ||
"@types/node": "^9.4.6", | ||
"@types/pify": "^3.0.0", | ||
"codecov": "^3.0.0", | ||
"gts": "^0.5.1", | ||
"mocha": "^5.0.0", | ||
"gts": "^0.5.3", | ||
"mocha": "^5.0.1", | ||
"js-green-licenses": "^0.4.0", | ||
"nock": "^9.0.27", | ||
"nyc": "^11.2.1", | ||
"source-map-support": "^0.5.0", | ||
"typescript": "~2.6.0" | ||
"nock": "^9.1.6", | ||
"nyc": "^11.4.1", | ||
"source-map-support": "^0.5.3", | ||
"typescript": "~2.7.2" | ||
}, | ||
@@ -61,0 +61,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
27271
320
0
+ Addedaxios@0.18.1(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
+ Addedis-buffer@2.0.5(transitive)
- Removedaxios@0.17.1(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedis-buffer@1.1.6(transitive)
Updatedaxios@^0.18.0
Updatedjws@^3.1.4
Updatedmime@^2.2.0