@iobroker/socket-classes 1.5.4 → 1.5.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 +6 -0
- package/lib/socketCommands.js +1 -1
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -979,6 +979,12 @@ Read all instances of the given adapter, or all instances of all adapters if ada
|
|
|
979
979
|
-->
|
|
980
980
|
|
|
981
981
|
## Changelog
|
|
982
|
+
### 1.5.6 (2024-06-26)
|
|
983
|
+
* (bluefox) Corrected call of getObjectView with null parameter
|
|
984
|
+
|
|
985
|
+
### 1.5.5 (2024-06-26)
|
|
986
|
+
* (bluefox) updated packages
|
|
987
|
+
|
|
982
988
|
### 1.5.4 (2024-06-02)
|
|
983
989
|
* (bluefox) extend `getCompactInstances`method with version information
|
|
984
990
|
|
package/lib/socketCommands.js
CHANGED
|
@@ -1679,7 +1679,7 @@ class SocketCommands {
|
|
|
1679
1679
|
if (typeof callback === 'function') {
|
|
1680
1680
|
if (this._checkPermissions(socket, 'getObjectView', callback, search)) {
|
|
1681
1681
|
try {
|
|
1682
|
-
if (params.root || params.depth) {
|
|
1682
|
+
if (params && (params.root || params.depth)) {
|
|
1683
1683
|
// To save the bandwidth, the request can define root and depth. Default is depth 1.
|
|
1684
1684
|
this.adapter.getObjectView(
|
|
1685
1685
|
design,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/socket-classes",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "ioBroker server-side web sockets",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/ioBroker/ioBroker.socket-classes"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@iobroker/adapter-core": "^3.1.
|
|
24
|
+
"@iobroker/adapter-core": "^3.1.6",
|
|
25
25
|
"axios": "^1.7.2",
|
|
26
26
|
"cookie-parser": "^1.4.6",
|
|
27
27
|
"passport": "^0.7.0"
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@foxriver76/eslint-config": "^1.0.4",
|
|
33
33
|
"chai": "^4.4.1",
|
|
34
34
|
"gulp": "^4.0.2",
|
|
35
|
-
"iobroker.js-controller": "^6.0.
|
|
36
|
-
"mocha": "^10.
|
|
35
|
+
"iobroker.js-controller": "^6.0.6-alpha.0-20240624-92c3310c8",
|
|
36
|
+
"mocha": "^10.5.2"
|
|
37
37
|
},
|
|
38
38
|
"bugs": {
|
|
39
39
|
"url": "https://github.com/ioBroker/ioBroker.web/issues"
|
|
@@ -62,5 +62,8 @@
|
|
|
62
62
|
"name": "bluefox",
|
|
63
63
|
"email": "dogafox@gmail.com"
|
|
64
64
|
}
|
|
65
|
-
]
|
|
65
|
+
],
|
|
66
|
+
"overrides": {
|
|
67
|
+
"@iobroker/adapter-core": "^3.1.6"
|
|
68
|
+
}
|
|
66
69
|
}
|