@tryvital/vital-node
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -95,5 +95,6 @@ "use strict"; | ||
headers["Authorization"] = "Bearer " + token; | ||
headers["x-vital-client-id"] = this.config.client_id; | ||
_a.label = 3; | ||
case 3: | ||
config.headers = __assign(__assign({}, headers), { 'x-vital-client-id': this.config.client_id }); | ||
config.headers = __assign({}, headers); | ||
return [2 /*return*/, config]; | ||
@@ -100,0 +101,0 @@ } |
@@ -67,6 +67,6 @@ import axios from 'axios'; | ||
headers["Authorization"] = `Bearer ${token}`; | ||
headers["x-vital-client-id"] = this.config.client_id; | ||
} | ||
config.headers = { | ||
...headers, | ||
'x-vital-client-id': this.config.client_id, | ||
}; | ||
@@ -73,0 +73,0 @@ return config; |
{ | ||
"name": "@tryvital/vital-node", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "Node client for Vital", | ||
@@ -5,0 +5,0 @@ "author": "maitham", |
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
186060
120
5193