@iobroker/adapter-react-v5 4.13.0 → 4.13.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.
@@ -200,7 +200,7 @@ declare class Connection {
200
200
  /** The ioBroker object ID. */
201
201
  id: string | string[],
202
202
  /** The callback. */
203
- cb: ioBroker.ObjectChangeHandler): void;
203
+ cb: ioBroker.ObjectChangeHandler): Promise<void>;
204
204
  /**
205
205
  * Unsubscribes all or the given callback from changes of the given object.
206
206
  */
@@ -630,6 +630,7 @@ class Connection {
630
630
  if (this.connected && toSubscribe.length) {
631
631
  this._socket.emit('subscribeObjects', toSubscribe);
632
632
  }
633
+ return Promise.resolve();
633
634
  }
634
635
  /**
635
636
  * Unsubscribes all or the given callback from changes of the given object.
package/README.md CHANGED
@@ -670,7 +670,7 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
670
670
  -->
671
671
 
672
672
  ## Changelog
673
- ### 4.13.0 (2024-03-30)
673
+ ### 4.13.1 (2024-03-30)
674
674
  * (bluefox) used new connection classes
675
675
 
676
676
  ### 4.12.3 (2024-03-30)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "4.13.0",
3
+ "version": "4.13.1",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "Denis Haev (bluefox)",