@digilabs/ngest-ig
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -37,3 +37,3 @@ 'use strict' | ||
this.ticker_symbol = [this.instrument] | ||
this.apiVersion = 'v3'; | ||
this.apiVersion = '3'; | ||
this.base = this.config_env.api[this.type].url; | ||
@@ -183,2 +183,3 @@ | ||
// console.log('The options to pass to axios', options) | ||
return axios(options) | ||
@@ -189,6 +190,8 @@ .then(res => { | ||
.catch(err => { | ||
// console.log(err) | ||
return Promise.reject({ | ||
status:err.response.status, | ||
statusText: err.response.statusText, | ||
method: 'ClientAuthenticated::getData' | ||
method: 'ClientAuthenticated::getData', | ||
url: err.response.config.url | ||
}) | ||
@@ -195,0 +198,0 @@ }) |
{ | ||
"name": "@digilabs/ngest-ig", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "IG API nodejs client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
38632
172