@iobroker/db-objects-redis 4.0.16-alpha.1-20220223-27ee5e6d → 4.0.17
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.
|
@@ -2652,7 +2652,7 @@ class ObjectsInRedisClient {
|
|
|
2652
2652
|
|
|
2653
2653
|
async _getObject(id, options, callback) {
|
|
2654
2654
|
if (!this.client) {
|
|
2655
|
-
return tools.
|
|
2655
|
+
return tools.maybeCallbackWithRedisError(callback, utils.ERRORS.ERROR_DB_CLOSED);
|
|
2656
2656
|
}
|
|
2657
2657
|
if (!id || typeof id !== 'string') {
|
|
2658
2658
|
return tools.maybeCallbackWithError(callback, `invalid id ${JSON.stringify(id)}`);
|
|
@@ -2683,7 +2683,7 @@ class ObjectsInRedisClient {
|
|
|
2683
2683
|
return tools.maybeCallbackWithError(callback, utils.ERRORS.ERROR_PERMISSION);
|
|
2684
2684
|
}
|
|
2685
2685
|
} else {
|
|
2686
|
-
return tools.
|
|
2686
|
+
return tools.maybeCallbackWithRedisError(callback, err, obj);
|
|
2687
2687
|
}
|
|
2688
2688
|
}
|
|
2689
2689
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/db-objects-redis",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.17",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@iobroker/db-base": "4.0.
|
|
8
|
+
"@iobroker/db-base": "4.0.17",
|
|
9
9
|
"deep-clone": "^3.0.3",
|
|
10
10
|
"ioredis": "^4.28.2",
|
|
11
11
|
"node.extend": "^2.0.2",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"lib/",
|
|
37
37
|
"index.js"
|
|
38
38
|
],
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "9ab0438a9d732f08525f182bec595740050ee03a"
|
|
40
40
|
}
|