sencrop-js-api-client
Advanced tools
Comparing version 1.17.1 to 1.18.0
@@ -123,3 +123,3 @@ /* eslint no-console:0 */ | ||
]; | ||
let headers = { | ||
let headers = Object.assign(((options || {}).headers || {}), { | ||
'X-API-Version': '${apiVersion}', | ||
@@ -133,3 +133,3 @@ 'X-SDK-Version': '${buildVersion}',${(parameters || []) | ||
.join('')} | ||
}; | ||
}); | ||
let qs = cleanQuery({${(parameters || []) | ||
@@ -136,0 +136,0 @@ .filter(p => 'query' === p.in) |
@@ -0,1 +1,10 @@ | ||
# [1.18.0](https://github.com/sencrop/sencrop-js-api-client/compare/v1.17.1...v1.18.0) (2019-01-29) | ||
### Features | ||
* **Headers:** allow custom headers ([0d0c781](https://github.com/sencrop/sencrop-js-api-client/commit/0d0c781)) | ||
## [1.17.1](https://github.com/sencrop/sencrop-js-api-client/compare/v1.17.0...v1.17.1) (2019-01-29) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "sencrop-js-api-client", | ||
"version": "1.17.1", | ||
"version": "1.18.0", | ||
"description": "The Sencrop JavaScript API client", | ||
@@ -5,0 +5,0 @@ "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
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
640258