@como/como-client
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -32,3 +32,3 @@ 'use strict'; | ||
exports.getService = function (baseURL, uid, getCredentials, credentialsRefresh, locationId, source) { | ||
exports.getService = function (baseURL, uid, getCredentials, credentialsRefresh, source) { | ||
var httpClient = axios.create({ baseURL: baseURL }); | ||
@@ -48,3 +48,4 @@ | ||
var _getCredentials = getCredentials(), | ||
refreshToken = _getCredentials.refreshToken; | ||
refreshToken = _getCredentials.refreshToken, | ||
locationId = _getCredentials.locationId; | ||
@@ -51,0 +52,0 @@ credentialsRefresh({ accessToken: false }); |
{ | ||
"name": "@como/como-client", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Client module for Como's loaylty API", | ||
@@ -5,0 +5,0 @@ "main": "src/como.js", |
@@ -98,3 +98,3 @@ const moment = require('moment-timezone'); | ||
const { service, refresher, initService } = APIService | ||
.getService(gateway, installationId, getCredentials, updateCredentials, locationId, source); | ||
.getService(gateway, installationId, getCredentials, updateCredentials, source); | ||
this.comoData.api = service; | ||
@@ -101,0 +101,0 @@ this.comoData.initApi = initService; |
Sorry, the diff of this file is too big to display
213103
4592