@iobroker/socket-classes 0.1.5 → 0.1.6

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 CHANGED
@@ -69,6 +69,9 @@ io.close();
69
69
  -->
70
70
 
71
71
  ## Changelog
72
+ ### 0.1.6 (2022-05-05)
73
+ * (bluefox) fixed `delObject` command
74
+
72
75
  ### 0.1.5 (2022-04-25)
73
76
  * (bluefox) added updateRatings
74
77
 
@@ -709,7 +709,7 @@ class SocketCommandsAdmin extends SocketCommands {
709
709
  this.adapter.log.debug(`cmdExec on ${host}(${id}): ${cmd}`);
710
710
  // remember socket for this ID.
711
711
  this.cmdSessions[id] = {socket};
712
- this.adapter.sendToHost(host, 'cmdExec', {data: cmd, id: id});
712
+ this.adapter.sendToHost(host, 'cmdExec', {data: cmd, id});
713
713
  }
714
714
  };
715
715
 
@@ -1063,7 +1063,7 @@ class SocketCommandsAdmin extends SocketCommands {
1063
1063
  }
1064
1064
  };
1065
1065
 
1066
- this.commands['delObjects'] = (socket, id, options, callback) => {
1066
+ this.commands['delObject'] = (socket, id, options, callback) => {
1067
1067
  if (this._checkPermissions(socket, 'delObject', callback, id)) {
1068
1068
  if (!options || typeof options !== 'object') {
1069
1069
  options = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/socket-classes",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "ioBroker server-side web sockets",
5
5
  "author": {
6
6
  "name": "bluefox",
@@ -23,11 +23,11 @@
23
23
  "dependencies": {
24
24
  "passport": "^0.5.2",
25
25
  "cookie-parser": "^1.4.6",
26
- "axios": "^0.26.1"
26
+ "axios": "^0.27.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@alcalzone/release-script": "^3.5.6",
30
- "@alcalzone/release-script-plugin-license": "^3.5.3",
29
+ "@alcalzone/release-script": "^3.5.9",
30
+ "@alcalzone/release-script-plugin-license": "^3.5.9",
31
31
  "chai": "^4.3.6",
32
32
  "mocha": "^9.2.2"
33
33
  },