angular-apollo
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,2 +6,5 @@ # Change Log | ||
## [1.0.1] - 2016-08-11 | ||
- fix refresh token field name in refresh auth token api call | ||
## [1.0.0] - 2016-08-10 | ||
@@ -8,0 +11,0 @@ - `auth-tokens-validator` directory renamed to `token-management` |
@@ -21,3 +21,3 @@ "use strict"; | ||
testing_1.expect(JSON.parse(connection.request.getBody())) | ||
.toEqual({ refreshToken: expiredTokens.refreshToken }); | ||
.toEqual({ refresh_token: expiredTokens.refreshToken }); | ||
testing_1.expect(connection.request.headers.getAll('Authorization')) | ||
@@ -24,0 +24,0 @@ .toEqual([("bearer " + expiredTokens.authToken)]); |
@@ -21,3 +21,3 @@ "use strict"; | ||
RefreshAuthTokenService.prototype.refresh = function (authToken, refreshToken) { | ||
var body = JSON.stringify({ refreshToken: refreshToken }); | ||
var body = JSON.stringify({ refresh_token: refreshToken }); | ||
var options = this.getRequestOptions(authToken); | ||
@@ -24,0 +24,0 @@ return this.http.post(this.refreshUrl, body, options) |
@@ -48,3 +48,3 @@ "use strict"; | ||
testing_1.expect(JSON.parse(request.getBody())) | ||
.toEqual({ refreshToken: refreshToken }); | ||
.toEqual({ refresh_token: refreshToken }); | ||
testing_1.expect(request.headers.getAll('Authorization')) | ||
@@ -51,0 +51,0 @@ .toEqual([("bearer " + authToken)]); |
{ | ||
"name": "angular-apollo", | ||
"description": "An API client for the 7digital Apollo platform built for Angular 2 projects.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/7digital/angular-apollo.git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
105652
0