@iobroker/db-objects-redis
Advanced tools
Comparing version 5.0.20-alpha.0-20240424-e4f9cfa5 to 5.0.20-alpha.0-20240425-20b08f31
@@ -204,2 +204,8 @@ /// <reference types="@iobroker/types-dev" /> | ||
getObject<T extends string>(id: T, callback: ioBroker.GetObjectCallback<T>): void; | ||
/** | ||
* | ||
* @param id | ||
* @param options | ||
* @deprecated use `getObject` without callback instead | ||
*/ | ||
getObjectAsync<T extends string>(id: T, options?: Record<string, any> | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetObjectCallback<T>>>; | ||
@@ -224,2 +230,9 @@ private _getKeys; | ||
setObject<T extends string>(id: T, obj: ioBroker.SettableObject<ioBroker.ObjectIdToObjectType<T>>, options?: CallOptions | null, callback?: ioBroker.SetObjectCallback): void | Promise<ioBroker.CallbackReturnTypeOf<ioBroker.SetObjectCallback>>; | ||
/** | ||
* | ||
* @param id | ||
* @param obj | ||
* @param options | ||
* @deprecated use `setObject` without callback instead | ||
*/ | ||
setObjectAsync(id: string, obj: ioBroker.SettableObject, options?: CallOptions | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.SetObjectCallback>>; | ||
@@ -226,0 +239,0 @@ private _delObject; |
@@ -204,2 +204,8 @@ /// <reference types="@iobroker/types-dev" /> | ||
getObject<T extends string>(id: T, callback: ioBroker.GetObjectCallback<T>): void; | ||
/** | ||
* | ||
* @param id | ||
* @param options | ||
* @deprecated use `getObject` without callback instead | ||
*/ | ||
getObjectAsync<T extends string>(id: T, options?: Record<string, any> | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetObjectCallback<T>>>; | ||
@@ -224,2 +230,9 @@ private _getKeys; | ||
setObject<T extends string>(id: T, obj: ioBroker.SettableObject<ioBroker.ObjectIdToObjectType<T>>, options?: CallOptions | null, callback?: ioBroker.SetObjectCallback): void | Promise<ioBroker.CallbackReturnTypeOf<ioBroker.SetObjectCallback>>; | ||
/** | ||
* | ||
* @param id | ||
* @param obj | ||
* @param options | ||
* @deprecated use `setObject` without callback instead | ||
*/ | ||
setObjectAsync(id: string, obj: ioBroker.SettableObject, options?: CallOptions | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.SetObjectCallback>>; | ||
@@ -226,0 +239,0 @@ private _delObject; |
{ | ||
"name": "@iobroker/db-objects-redis", | ||
"type": "module", | ||
"version": "5.0.20-alpha.0-20240424-e4f9cfa5", | ||
"version": "5.0.20-alpha.0-20240425-20b08f31", | ||
"engines": { | ||
@@ -9,3 +9,3 @@ "node": ">=16.4.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240424-e4f9cfa5", | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240425-20b08f31", | ||
"deep-clone": "^3.0.3", | ||
@@ -53,3 +53,3 @@ "ioredis": "^4.28.2", | ||
], | ||
"gitHead": "03b03ed5e2168c7088d3a4f87bb9a9efeec455f3" | ||
"gitHead": "969fbeb855ade1901884879d7f4bb2ee4090ab8d" | ||
} |
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 too big to display
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
1039792
10007
+ Added@iobroker/db-base@5.0.20-alpha.0-20240425-20b08f31(transitive)
+ Added@iobroker/js-controller-common@5.0.20-alpha.0-20240425-20b08f31(transitive)
- Removed@iobroker/db-base@5.0.20-alpha.0-20240424-e4f9cfa5(transitive)
- Removed@iobroker/js-controller-common@5.0.20-alpha.0-20240424-e4f9cfa5(transitive)