@iobroker/types 5.0.7-alpha.0-20230706-5fbbccd5 → 5.0.7

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.
Files changed (2) hide show
  1. package/build/types.d.ts +7 -0
  2. package/package.json +2 -2
package/build/types.d.ts CHANGED
@@ -661,6 +661,13 @@ export declare class AdapterClass extends EventEmitter {
661
661
  getStates(pattern: Pattern, callback: ioBroker.GetStatesCallback): void;
662
662
  getStates(pattern: Pattern, options: unknown, callback: ioBroker.GetStatesCallback): void;
663
663
  private _processStatesSecondary;
664
+ /**
665
+ * Ensures, that object information is read, and the alias id is mapped to the source id if an alias is contained in the getStates call
666
+ * The adaption of the actual values is then performed in _processStatesSecondary, to apply alias conversion methods
667
+ *
668
+ * @param keys all ids of the getStates call
669
+ * @param targetObjs the target objects (e.g. alias objects or the actual objects)
670
+ */
664
671
  private _processStates;
665
672
  getForeignStates(pattern: Pattern, callback: ioBroker.GetStatesCallback): void;
666
673
  getForeignStates(pattern: Pattern, options: unknown, callback: ioBroker.GetStatesCallback): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "5.0.7-alpha.0-20230706-5fbbccd5",
3
+ "version": "5.0.7",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "bfdd2053f352e2ab045ff5a4afec55ea80908ffa"
44
+ "gitHead": "81d1395901208d91b67134e5c594f781aa810974"
45
45
  }