@iobroker/adapter-react-v5 4.6.1 → 4.6.3
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.
- package/Components/ObjectBrowser.d.ts +40 -3
- package/Components/ObjectBrowser.js +677 -404
- package/Components/ObjectBrowser.js.map +1 -1
- package/LegacyConnection.js +1 -1
- package/LegacyConnection.js.map +1 -1
- package/README.md +8 -1
- package/i18n/de.json +5 -1
- package/i18n/en.json +5 -1
- package/i18n/es.json +5 -1
- package/i18n/fr.json +5 -1
- package/i18n/it.json +5 -1
- package/i18n/nl.json +5 -1
- package/i18n/pl.json +5 -1
- package/i18n/pt.json +5 -1
- package/i18n/ru.json +5 -1
- package/i18n/uk.json +5 -1
- package/i18n/zh-cn.json +5 -1
- package/index.d.ts +4 -0
- package/index.js +6 -0
- package/package.json +7 -7
package/LegacyConnection.js
CHANGED
|
@@ -1223,7 +1223,7 @@ var Connection = /*#__PURE__*/function () {
|
|
|
1223
1223
|
ids.forEach(function (id) {
|
|
1224
1224
|
return _this14._socket.emit('subscribe', id);
|
|
1225
1225
|
});
|
|
1226
|
-
this._socket.emit(Connection.isWeb() ? 'getStates' : 'getForeignStates', ids, function (err, states) {
|
|
1226
|
+
ids.length && this._socket.emit(Connection.isWeb() ? 'getStates' : 'getForeignStates', ids, function (err, states) {
|
|
1227
1227
|
err && console.error("Cannot getForeignStates: ".concat(JSON.stringify(err)));
|
|
1228
1228
|
// inform about states
|
|
1229
1229
|
states && Object.keys(states).forEach(function (id) {
|