matterbridge 2.1.5-dev.4 → 2.1.5-dev.6

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.
package/CHANGELOG.md CHANGED
@@ -33,7 +33,7 @@ matterbridge-zigbee2mqtt v. 2.4.4
33
33
  matterbridge-somfy-tahoma v. 1.2.3
34
34
  matterbridge-hass v. 0.0.8
35
35
 
36
- ## [2.1.5] - 2025-02-09
36
+ ## [2.1.5] - 2025-02-10
37
37
 
38
38
  ### Added
39
39
 
package/dist/frontend.js CHANGED
@@ -463,6 +463,7 @@ export class Frontend {
463
463
  this.log.notice(`Prepairing the backup...`);
464
464
  await createZip(path.join(os.tmpdir(), `matterbridge.backup.zip`), path.join(this.matterbridge.matterbridgeDirectory), path.join(this.matterbridge.matterbridgePluginDirectory));
465
465
  this.log.notice(`Backup ready to be downloaded.`);
466
+ this.wssSendSnackbarMessage('Backup ready to be downloaded', 10);
466
467
  res.json({ message: 'Command received' });
467
468
  return;
468
469
  }
@@ -1387,7 +1388,7 @@ export class Frontend {
1387
1388
  }
1388
1389
  });
1389
1390
  }
1390
- wssSendSnackbarMessage(message, timeout) {
1391
+ wssSendSnackbarMessage(message, timeout = 5) {
1391
1392
  this.log.debug('Sending a snackbar message to all connected clients');
1392
1393
  this.webSocketServer?.clients.forEach((client) => {
1393
1394
  if (client.readyState === WebSocket.OPEN) {
@@ -1524,7 +1524,7 @@ export class Matterbridge extends EventEmitter {
1524
1524
  });
1525
1525
  };
1526
1526
  try {
1527
- await withTimeout(matterServerNode.close(), 5000);
1527
+ await withTimeout(matterServerNode.close(), 30000);
1528
1528
  this.log.info(`Closed ${matterServerNode.id} server node`);
1529
1529
  }
1530
1530
  catch (error) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "./static/css/main.cf25d33e.css",
4
- "main.js": "./static/js/main.aeec898e.js",
4
+ "main.js": "./static/js/main.cd192588.js",
5
5
  "static/js/453.abd36b29.chunk.js": "./static/js/453.abd36b29.chunk.js",
6
6
  "static/media/roboto-latin-700-normal.woff2": "./static/media/roboto-latin-700-normal.4535474e1cf8598695ad.woff2",
7
7
  "static/media/roboto-latin-500-normal.woff2": "./static/media/roboto-latin-500-normal.7077203b1982951ecf76.woff2",
@@ -61,11 +61,11 @@
61
61
  "static/media/roboto-greek-ext-400-normal.woff": "./static/media/roboto-greek-ext-400-normal.16eb83b4a3b1ea994243.woff",
62
62
  "index.html": "./index.html",
63
63
  "main.cf25d33e.css.map": "./static/css/main.cf25d33e.css.map",
64
- "main.aeec898e.js.map": "./static/js/main.aeec898e.js.map",
64
+ "main.cd192588.js.map": "./static/js/main.cd192588.js.map",
65
65
  "453.abd36b29.chunk.js.map": "./static/js/453.abd36b29.chunk.js.map"
66
66
  },
67
67
  "entrypoints": [
68
68
  "static/css/main.cf25d33e.css",
69
- "static/js/main.aeec898e.js"
69
+ "static/js/main.cd192588.js"
70
70
  ]
71
71
  }
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><link rel="icon" href="./matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="./manifest.json"/><script defer="defer" src="./static/js/main.aeec898e.js"></script><link href="./static/css/main.cf25d33e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><link rel="icon" href="./matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="./manifest.json"/><script defer="defer" src="./static/js/main.cd192588.js"></script><link href="./static/css/main.cf25d33e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>