@matterbridge/core 3.7.10-dev-20260521-f4a03b0 → 3.7.10

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.
@@ -214,6 +214,12 @@ export async function stopServerNode(ticks = 1, microTurns = 1, pause = 10) {
214
214
  export async function flushServerNode(ticks = 1, microTurns = 1, pause = 10) {
215
215
  await flushAllEndpointNumberPersistence(server);
216
216
  await assertAllEndpointNumbersPersisted(server);
217
+ expect(server).toBeDefined();
218
+ expect(server.lifecycle.isReady).toBeTruthy();
219
+ expect(server.lifecycle.isOnline).toBeFalsy();
220
+ await server.close();
221
+ expect(server.lifecycle.isReady).toBeFalsy();
222
+ expect(server.lifecycle.isOnline).toBeFalsy();
217
223
  await flushAsync(ticks, microTurns, pause);
218
224
  }
219
225
  export async function addDevice(owner, device, rounds = 3, pause = 10) {
@@ -621,7 +621,7 @@ export class Matterbridge extends EventEmitter {
621
621
  this.devices.logLevel = this.log.logLevel;
622
622
  for (const plugin of this.plugins) {
623
623
  const globalModulesDirectory = await this.nodeContext.get('globalModulesDirectory', '');
624
- const isLocal = globalModulesDirectory && !plugin.path.startsWith(globalModulesDirectory);
624
+ const isLocal = globalModulesDirectory.length > 0 && !plugin.path.startsWith(globalModulesDirectory);
625
625
  this.log.debug(`Parsing plugin ${plg}${plugin.name}${db} from path ${CYAN}${plugin.path}${db} ` +
626
626
  `with version ${CYAN}${plugin.version}${db} type ${CYAN}${plugin.type}${db} local ${CYAN}${isLocal}${db} ` +
627
627
  `private ${CYAN}${plugin.private}${db} tarball ${CYAN}${plugin.tarballPath}${db}.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/core",
3
- "version": "3.7.10-dev-20260521-f4a03b0",
3
+ "version": "3.7.10",
4
4
  "description": "Matterbridge core library",
5
5
  "author": "https://github.com/Luligu",
6
6
  "homepage": "https://matterbridge.io/",
@@ -130,10 +130,10 @@
130
130
  ],
131
131
  "dependencies": {
132
132
  "@matter/main": "0.16.11",
133
- "@matterbridge/dgram": "3.7.10-dev-20260521-f4a03b0",
134
- "@matterbridge/thread": "3.7.10-dev-20260521-f4a03b0",
135
- "@matterbridge/types": "3.7.10-dev-20260521-f4a03b0",
136
- "@matterbridge/utils": "3.7.10-dev-20260521-f4a03b0",
133
+ "@matterbridge/dgram": "3.7.10",
134
+ "@matterbridge/thread": "3.7.10",
135
+ "@matterbridge/types": "3.7.10",
136
+ "@matterbridge/utils": "3.7.10",
137
137
  "escape-html": "1.0.3",
138
138
  "express": "5.2.1",
139
139
  "express-rate-limit": "8.5.2",