@iobroker/db-states-redis
Advanced tools
Comparing version 5.0.20-alpha.0-20240420-30d8305f to 5.0.20-alpha.0-20240421-2e8a4aa0
@@ -84,6 +84,3 @@ /** | ||
setRawState(id: string, state: ioBroker.SettableState): Promise<string>; | ||
/** | ||
* @param id | ||
* @param callback | ||
*/ | ||
getState(id: string): ioBroker.GetStatePromise; | ||
getState(id: string, callback?: (err: Error | null | undefined, state?: ioBroker.State | null) => void): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetStateCallback> | void>; | ||
@@ -90,0 +87,0 @@ /** |
@@ -84,6 +84,3 @@ /** | ||
setRawState(id: string, state: ioBroker.SettableState): Promise<string>; | ||
/** | ||
* @param id | ||
* @param callback | ||
*/ | ||
getState(id: string): ioBroker.GetStatePromise; | ||
getState(id: string, callback?: (err: Error | null | undefined, state?: ioBroker.State | null) => void): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetStateCallback> | void>; | ||
@@ -90,0 +87,0 @@ /** |
@@ -665,4 +665,6 @@ /** | ||
/** | ||
* @param id | ||
* @param callback | ||
* Get state from database | ||
* | ||
* @param id id of the state | ||
* @param callback optional callback, leave out and use promise return type | ||
*/ | ||
@@ -669,0 +671,0 @@ async getState(id, callback) { |
{ | ||
"name": "@iobroker/db-states-redis", | ||
"type": "module", | ||
"version": "5.0.20-alpha.0-20240420-30d8305f", | ||
"version": "5.0.20-alpha.0-20240421-2e8a4aa0", | ||
"engines": { | ||
@@ -9,3 +9,3 @@ "node": ">=12.0.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240420-30d8305f", | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240421-2e8a4aa0", | ||
"ioredis": "^4.28.2" | ||
@@ -49,3 +49,3 @@ }, | ||
], | ||
"gitHead": "0c715799c94d47ac6f2be8edffb0013a1fa0e652" | ||
"gitHead": "428be094f37f4935d3c963431ec83069a44b7821" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
284693
2414
+ Added@iobroker/db-base@5.0.20-alpha.0-20240421-2e8a4aa0(transitive)
+ Added@iobroker/js-controller-common@5.0.20-alpha.0-20240421-2e8a4aa0(transitive)
- Removed@iobroker/db-base@5.0.20-alpha.0-20240420-30d8305f(transitive)
- Removed@iobroker/js-controller-common@5.0.20-alpha.0-20240420-30d8305f(transitive)