@iobroker/db-objects-redis 4.0.16-alpha.2-20220302-c5d9b244 → 4.0.16

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.maybeCallbackWithError(callback, utils.ERRORS.ERROR_DB_CLOSED);
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.maybeCallbackWithError(callback, err, obj);
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.16-alpha.2-20220302-c5d9b244",
3
+ "version": "4.0.16",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
7
7
  "dependencies": {
8
- "@iobroker/db-base": "4.0.16-alpha.2-20220302-c5d9b244",
8
+ "@iobroker/db-base": "4.0.16",
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": "ffb137f6b5909e784a5a41f0a96028645da5f092"
39
+ "gitHead": "7d08edcb1e8addc862ddacc15995cc952c06c53b"
40
40
  }