@matterbridge/core 3.7.8-dev-20260505-67d863f → 3.7.8-dev-20260505-8558313

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.
@@ -342,17 +342,21 @@ export class Matterbridge extends EventEmitter {
342
342
  try {
343
343
  this.log.debug(`Creating node storage manager: ${CYAN}${NODE_STORAGE_DIR}${db}`);
344
344
  this.nodeStorage = new NodeStorageManager({ dir: path.join(this.matterbridgeDirectory, NODE_STORAGE_DIR), writeQueue: false, expiredInterval: undefined, logging: false });
345
+ if (!(await this.nodeStorage.healthCheck()))
346
+ this.log.error('Node storage manager health check failed');
345
347
  this.log.debug('Creating node storage context for matterbridge');
346
348
  this.nodeContext = await this.nodeStorage.createStorage('matterbridge');
347
- const keys = (await this.nodeStorage?.storage.keys());
349
+ const keys = (await this.nodeStorage.keys());
348
350
  for (const key of keys) {
349
351
  this.log.debug(`Checking node storage manager key: ${CYAN}${key}${db}`);
350
- await this.nodeStorage?.storage.get(key);
352
+ await this.nodeStorage.get(key);
351
353
  }
352
354
  const storages = await this.nodeStorage.getStorageNames();
353
355
  for (const storage of storages) {
354
356
  this.log.debug(`Checking storage: ${CYAN}${storage}${db}`);
355
357
  const nodeContext = await this.nodeStorage?.createStorage(storage);
358
+ if (!(await nodeContext.healthCheck()))
359
+ this.log.error(`Node storage ${CYAN}${storage}${er} health check failed`);
356
360
  const keys = await nodeContext.keys();
357
361
  for (const key of keys) {
358
362
  this.log.debug(`Checking key: ${CYAN}${storage}:${key}${db}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/core",
3
- "version": "3.7.8-dev-20260505-67d863f",
3
+ "version": "3.7.8-dev-20260505-8558313",
4
4
  "description": "Matterbridge core library",
5
5
  "author": "https://github.com/Luligu",
6
6
  "homepage": "https://matterbridge.io/",
@@ -130,16 +130,16 @@
130
130
  ],
131
131
  "dependencies": {
132
132
  "@matter/main": "0.16.11",
133
- "@matterbridge/dgram": "3.7.8-dev-20260505-67d863f",
134
- "@matterbridge/thread": "3.7.8-dev-20260505-67d863f",
135
- "@matterbridge/types": "3.7.8-dev-20260505-67d863f",
136
- "@matterbridge/utils": "3.7.8-dev-20260505-67d863f",
133
+ "@matterbridge/dgram": "3.7.8-dev-20260505-8558313",
134
+ "@matterbridge/thread": "3.7.8-dev-20260505-8558313",
135
+ "@matterbridge/types": "3.7.8-dev-20260505-8558313",
136
+ "@matterbridge/utils": "3.7.8-dev-20260505-8558313",
137
137
  "escape-html": "1.0.3",
138
138
  "express": "5.2.1",
139
139
  "express-rate-limit": "8.5.0",
140
140
  "multer": "2.1.1",
141
- "node-ansi-logger": "3.2.1",
142
- "node-persist-manager": "2.0.2",
141
+ "node-ansi-logger": "3.2.2-dev-20260505-d01e13b",
142
+ "node-persist-manager": "2.1.0-dev-20260505-762a5db",
143
143
  "ws": "8.20.0"
144
144
  }
145
145
  }