@droz-js/sdk 0.7.7 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.7.7",
4
+ "version": "0.8.1",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
@@ -79,7 +79,7 @@ class HttpRequester {
79
79
  const tenant = config_1.DrozSdk.getTenantConfig(this.tenant);
80
80
  const endpoint = tenant.getEndpoint(this.serviceName);
81
81
  const authorization = await config_1.DrozSdk.getAuthorization(this.authorization);
82
- const heads = new Headers();
82
+ const heads = new Map();
83
83
  if (authorization)
84
84
  heads.set('Authorization', authorization);
85
85
  heads.set('Content-Type', 'application/json');