attlaz-client 1.13.7 → 1.13.9

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.
@@ -12,9 +12,8 @@ export class HttpClientResponse {
12
12
  if (contentType === null || contentType === undefined) {
13
13
  return null;
14
14
  }
15
- if (Symbol.iterator in Object(contentType)) {
16
- // eslint-disable-next-line prefer-destructuring
17
- contentType = contentType[0];
15
+ if (Array.isArray(contentType)) {
16
+ [contentType] = contentType;
18
17
  }
19
18
  if (contentType === null || contentType === undefined) {
20
19
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.13.7",
3
+ "version": "1.13.9",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",