@iobroker/db-base
Advanced tools
Comparing version 5.0.18-alpha.0-20231201-5b321f38 to 5.0.18-alpha.0-20231211-5b429316
@@ -24,2 +24,13 @@ "use strict"; | ||
class InMemoryFileDB { | ||
settings; | ||
change; | ||
dataset; | ||
namespace; | ||
lastSave; | ||
stateTimer; | ||
callbackSubscriptionClient; | ||
dataDir; | ||
datasetName; | ||
log; | ||
backupDir; | ||
constructor(settings) { | ||
@@ -188,4 +199,3 @@ this.settings = settings || {}; | ||
handleUnsubscribe(client, type, pattern, cb) { | ||
var _a; | ||
const s = (_a = client === null || client === void 0 ? void 0 : client._subscribe) === null || _a === void 0 ? void 0 : _a[type]; | ||
const s = client?._subscribe?.[type]; | ||
if (s) { | ||
@@ -192,0 +202,0 @@ const removeEntry = (p) => { |
@@ -16,2 +16,14 @@ "use strict"; | ||
class RedisHandler extends events_1.EventEmitter { | ||
socket; | ||
logScope; | ||
handleBuffers; | ||
options; | ||
log; | ||
socketId; | ||
initialized; | ||
stop; | ||
activeMultiCalls; | ||
writeQueue; | ||
responseId = 0; | ||
resp; | ||
/** | ||
@@ -24,3 +36,2 @@ * Initialize and register all data handlers to send out events on new commands | ||
super(); | ||
this.responseId = 0; | ||
options = options || {}; | ||
@@ -27,0 +38,0 @@ this.options = options; |
{ | ||
"name": "@iobroker/db-base", | ||
"version": "5.0.18-alpha.0-20231201-5b321f38", | ||
"version": "5.0.18-alpha.0-20231211-5b429316", | ||
"engines": { | ||
@@ -8,3 +8,3 @@ "node": ">=12.0.0" | ||
"dependencies": { | ||
"@iobroker/js-controller-common": "5.0.18-alpha.0-20231201-5b321f38", | ||
"@iobroker/js-controller-common": "5.0.18-alpha.0-20231211-5b429316", | ||
"deep-clone": "^3.0.3", | ||
@@ -55,3 +55,3 @@ "fs-extra": "^11.1.0", | ||
], | ||
"gitHead": "782ee1fea84c41cab3b1568bf7d5eaf7e393e899" | ||
"gitHead": "1c3e6fd79e392d6a53dc7443188876e9f59a7d8e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
80414
1173