attlaz-client 1.13.1 → 1.13.2

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.
@@ -10,6 +10,9 @@ export class DataValueCollection extends JsonSerializable {
10
10
  if (Utils.isNullOrUndefined(rawValues)) {
11
11
  return new DataValueCollection();
12
12
  }
13
+ if (!Utils.isIterable(rawValues)) {
14
+ throw new Error('Raw values is not iterable: ' + JSON.stringify(rawValues));
15
+ }
13
16
  const result = new DataValueCollection();
14
17
  for (const rawValue of rawValues) {
15
18
  // TODO: validate rawTag
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",