@iobroker/socket-classes 0.2.0 → 0.2.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.
- package/README.md +3 -0
- package/lib/socketCommandsAdmin.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1111,9 +1111,10 @@ class SocketCommandsAdmin extends SocketCommands {
|
|
|
1111
1111
|
__initCommandsObjects() {
|
|
1112
1112
|
super.__initCommandsObjects();
|
|
1113
1113
|
|
|
1114
|
-
this.commands['getAllObjects'] = (socket, callback) =>
|
|
1115
|
-
|
|
1116
|
-
|
|
1114
|
+
this.commands['getAllObjects'] = (socket, callback) => this._getAllObjects(socket, callback);
|
|
1115
|
+
|
|
1116
|
+
// Identical to getAllObjects
|
|
1117
|
+
this.commands['getObjects'] = (socket, callback) => this._getAllObjects(socket, callback);
|
|
1117
1118
|
|
|
1118
1119
|
this.commands['extendObject'] = (socket, id, obj, callback) => {
|
|
1119
1120
|
if (this._checkPermissions(socket, 'extendObject', callback, id)) {
|