@looker/sdk
Advanced tools
Comparing version 0.1.3-beta.11 to 0.1.3-beta.12
@@ -47,3 +47,3 @@ import { IRequestInit, ITransport, IAuthorizer } from './transport'; | ||
* | ||
* @returns the updated request properties | ||
* @returns the updated request properties" | ||
*/ | ||
@@ -50,0 +50,0 @@ authenticate(init: IRequestInit): Promise<IRequestInit>; |
@@ -93,2 +93,3 @@ "use strict"; | ||
NodeSession.prototype.isAuthenticated = function () { | ||
// TODO I think this can be simplified | ||
var token = this.activeToken; | ||
@@ -103,3 +104,3 @@ if (!(token && token.access_token)) | ||
* | ||
* @returns the updated request properties | ||
* @returns the updated request properties" | ||
*/ | ||
@@ -115,3 +116,3 @@ NodeSession.prototype.authenticate = function (init) { | ||
if (token && token.access_token) | ||
init.headers.Authorization = "token " + token.access_token; | ||
init.headers.Authorization = "Bearer " + token.access_token; | ||
return [2 /*return*/, init]; | ||
@@ -273,3 +274,3 @@ } | ||
if (token_1.access_token) { | ||
init.headers.Authorization = "token " + token_1.access_token; | ||
init.headers.Authorization = "Bearer " + token_1.access_token; | ||
} | ||
@@ -299,3 +300,3 @@ return init; | ||
if (token.access_token) { | ||
init.headers.Authorization = "token " + token.access_token; | ||
init.headers.Authorization = "Bearer " + token.access_token; | ||
} | ||
@@ -302,0 +303,0 @@ return init; |
"use strict"; | ||
// 265 API models: 169 Spec, 39 Request, 57 Write | ||
// 270 API models: 172 Spec, 40 Request, 58 Write | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@looker/sdk", | ||
"version": "0.1.3-beta.11", | ||
"version": "0.1.3-beta.12", | ||
"description": "Looker SDK", | ||
@@ -63,2 +63,2 @@ "main": "dist/index.js", | ||
] | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1057113
30578