attlaz-client 1.4.23 → 1.4.24

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.
@@ -1,5 +1,5 @@
1
- import { DataValueValue } from './DataValue';
2
- export declare class DataValueCollection {
1
+ import { DataValue, DataValueValue } from './DataValue';
2
+ export declare class DataValueCollection implements Iterable<DataValue> {
3
3
  private values;
4
4
  get length(): number;
5
5
  static fromObject(rawTags: {
@@ -10,4 +10,5 @@ export declare class DataValueCollection {
10
10
  get(key: string): DataValueValue | null;
11
11
  unset(key: string): void;
12
12
  serialize(): string | null;
13
+ [Symbol.iterator](): Iterator<DataValue>;
13
14
  }
@@ -49,5 +49,8 @@ class DataValueCollection {
49
49
  }
50
50
  return JSON.stringify(this.values);
51
51
  }
52
+ [Symbol.iterator]() {
53
+ return this.values.values();
54
+ }
52
55
  }
53
56
  exports.DataValueCollection = DataValueCollection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.4.23",
3
+ "version": "1.4.24",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",