@iobroker/adapter-react-v5 7.4.3 → 7.4.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.
- package/README.md +2 -2
- package/build/Components/IconDeviceType.d.ts +1 -1
- package/build/Components/IconDeviceType.js +5 -1
- package/build/Components/IconDeviceType.js.map +1 -1
- package/build/Components/ObjectBrowser.js +1 -1
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/Utils.js +4 -3
- package/build/Components/Utils.js.map +1 -1
- package/build/LegacyConnection.d.ts +1 -1
- package/build/LegacyConnection.js +1 -2
- package/build/LegacyConnection.js.map +1 -1
- package/build/i18n/de.json +1 -1
- package/build/i18n/en.json +1 -0
- package/i18n/de.json +2 -2
- package/i18n/en.json +2 -1
- package/package.json +7 -7
|
@@ -761,7 +761,7 @@ export declare class LegacyConnection {
|
|
|
761
761
|
getHistoryEx(id: string, options: ioBroker.GetHistoryOptions): Promise<{
|
|
762
762
|
values: ioBroker.GetHistoryResult;
|
|
763
763
|
sessionId: string;
|
|
764
|
-
|
|
764
|
+
step: number;
|
|
765
765
|
}>;
|
|
766
766
|
/**
|
|
767
767
|
* Change the password of the given user.
|
|
@@ -1205,7 +1205,6 @@ export class LegacyConnection {
|
|
|
1205
1205
|
obj._id = newId;
|
|
1206
1206
|
if (newName !== undefined) {
|
|
1207
1207
|
obj.common = obj.common || {};
|
|
1208
|
-
// @ts-expect-error will be corrected in the next js-controller release
|
|
1209
1208
|
obj.common.name = newName;
|
|
1210
1209
|
}
|
|
1211
1210
|
return this.setObject(obj._id, obj).then(() => this.delObject(id));
|
|
@@ -2165,7 +2164,7 @@ export class LegacyConnection {
|
|
|
2165
2164
|
return Promise.reject(new Error(NOT_CONNECTED));
|
|
2166
2165
|
}
|
|
2167
2166
|
return new Promise((resolve, reject) => {
|
|
2168
|
-
this._socket.emit('getHistory', id, options, (err, values,
|
|
2167
|
+
this._socket.emit('getHistory', id, options, (err, values, step, sessionId) => err ? reject(new Error(err)) : resolve({ values, sessionId, step }));
|
|
2169
2168
|
});
|
|
2170
2169
|
}
|
|
2171
2170
|
/**
|