@digilabs/ngest-ig
Advanced tools
Comparing version 1.0.1 to 1.0.2
'use strict' | ||
module.exports = exports = { | ||
ClientPublic: require("./lib/client/public"), | ||
ClientAuthenticated: require("./lib/client/authenticated"), | ||
TradingPairs: require("./lib/trading_pairs.json") | ||
} |
@@ -7,2 +7,3 @@ 'use strict' | ||
class ClientAuthenticated { | ||
/** | ||
@@ -71,7 +72,5 @@ * Creates an instance of ClientAuthenticated. | ||
.then(response => { | ||
// console.log('response from auth', response) | ||
return this.authenticateAddToken(response) | ||
}) | ||
.catch(error => { | ||
// console.log(error); | ||
return Promise.reject(error) | ||
@@ -98,2 +97,3 @@ }); | ||
} | ||
/** | ||
@@ -128,3 +128,2 @@ * Add the auth headers | ||
console.log('headers set', headers) | ||
return this.httpHeaders = headers; | ||
@@ -131,0 +130,0 @@ } |
{ | ||
"name": "@digilabs/ngest-ig", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "IG API nodejs client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
38505
5
169