Socket
Socket
Sign inDemoInstall

@iobroker/db-states-redis

Package Overview
Dependencies
Maintainers
6
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iobroker/db-states-redis - npm Package Compare versions

Comparing version 5.0.20-alpha.0-20240420-30d8305f to 5.0.20-alpha.0-20240421-2e8a4aa0

5

build/cjs/lib/states/statesInRedisClient.d.ts

@@ -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 @@ /**

6

build/esm/lib/states/statesInRedisClient.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc