matterbridge 2.2.0-dev.4 → 2.2.0-dev.5

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/cli.d.ts +28 -0
  3. package/dist/cli.d.ts.map +1 -0
  4. package/dist/cli.js +37 -2
  5. package/dist/cli.js.map +1 -0
  6. package/dist/cluster/export.d.ts.map +1 -0
  7. package/dist/cluster/export.js +2 -0
  8. package/dist/cluster/export.js.map +1 -0
  9. package/dist/defaultConfigSchema.d.ts.map +1 -0
  10. package/dist/defaultConfigSchema.js +23 -0
  11. package/dist/defaultConfigSchema.js.map +1 -0
  12. package/dist/deviceManager.d.ts +109 -0
  13. package/dist/deviceManager.d.ts.map +1 -0
  14. package/dist/deviceManager.js +94 -1
  15. package/dist/deviceManager.js.map +1 -0
  16. package/dist/frontend.d.ts +172 -0
  17. package/dist/frontend.d.ts.map +1 -0
  18. package/dist/frontend.js +265 -22
  19. package/dist/frontend.js.map +1 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +29 -2
  22. package/dist/index.js.map +1 -0
  23. package/dist/logger/export.d.ts.map +1 -0
  24. package/dist/logger/export.js +1 -0
  25. package/dist/logger/export.js.map +1 -0
  26. package/dist/matter/behaviors.d.ts.map +1 -0
  27. package/dist/matter/behaviors.js +2 -0
  28. package/dist/matter/behaviors.js.map +1 -0
  29. package/dist/matter/clusters.d.ts.map +1 -0
  30. package/dist/matter/clusters.js +2 -0
  31. package/dist/matter/clusters.js.map +1 -0
  32. package/dist/matter/devices.d.ts.map +1 -0
  33. package/dist/matter/devices.js +2 -0
  34. package/dist/matter/devices.js.map +1 -0
  35. package/dist/matter/endpoints.d.ts.map +1 -0
  36. package/dist/matter/endpoints.js +2 -0
  37. package/dist/matter/endpoints.js.map +1 -0
  38. package/dist/matter/export.d.ts.map +1 -0
  39. package/dist/matter/export.js +2 -0
  40. package/dist/matter/export.js.map +1 -0
  41. package/dist/matter/types.d.ts.map +1 -0
  42. package/dist/matter/types.js +3 -1
  43. package/dist/matter/types.js.map +1 -0
  44. package/dist/matterbridge.d.ts +410 -0
  45. package/dist/matterbridge.d.ts.map +1 -0
  46. package/dist/matterbridge.js +718 -47
  47. package/dist/matterbridge.js.map +1 -0
  48. package/dist/matterbridgeAccessoryPlatform.d.ts.map +1 -0
  49. package/dist/matterbridgeAccessoryPlatform.js +33 -0
  50. package/dist/matterbridgeAccessoryPlatform.js.map +1 -0
  51. package/dist/matterbridgeBehaviors.d.ts +148 -0
  52. package/dist/matterbridgeBehaviors.d.ts.map +1 -0
  53. package/dist/matterbridgeBehaviors.js +32 -1
  54. package/dist/matterbridgeBehaviors.js.map +1 -0
  55. package/dist/matterbridgeDeviceTypes.d.ts.map +1 -0
  56. package/dist/matterbridgeDeviceTypes.js +112 -11
  57. package/dist/matterbridgeDeviceTypes.js.map +1 -0
  58. package/dist/matterbridgeDynamicPlatform.d.ts.map +1 -0
  59. package/dist/matterbridgeDynamicPlatform.js +33 -0
  60. package/dist/matterbridgeDynamicPlatform.js.map +1 -0
  61. package/dist/matterbridgeEndpoint.d.ts +827 -0
  62. package/dist/matterbridgeEndpoint.d.ts.map +1 -0
  63. package/dist/matterbridgeEndpoint.js +690 -6
  64. package/dist/matterbridgeEndpoint.js.map +1 -0
  65. package/dist/matterbridgeEndpointHelpers.d.ts +123 -0
  66. package/dist/matterbridgeEndpointHelpers.d.ts.map +1 -0
  67. package/dist/matterbridgeEndpointHelpers.js +118 -9
  68. package/dist/matterbridgeEndpointHelpers.js.map +1 -0
  69. package/dist/matterbridgePlatform.d.ts +159 -0
  70. package/dist/matterbridgePlatform.d.ts.map +1 -0
  71. package/dist/matterbridgePlatform.js +162 -23
  72. package/dist/matterbridgePlatform.js.map +1 -0
  73. package/dist/matterbridgeTypes.d.ts.map +1 -0
  74. package/dist/matterbridgeTypes.js +24 -0
  75. package/dist/matterbridgeTypes.js.map +1 -0
  76. package/dist/pluginManager.d.ts +236 -0
  77. package/dist/pluginManager.d.ts.map +1 -0
  78. package/dist/pluginManager.js +229 -3
  79. package/dist/pluginManager.js.map +1 -0
  80. package/dist/shelly.d.ts.map +1 -0
  81. package/dist/shelly.js +131 -4
  82. package/dist/shelly.js.map +1 -0
  83. package/dist/storage/export.d.ts.map +1 -0
  84. package/dist/storage/export.js +1 -0
  85. package/dist/storage/export.js.map +1 -0
  86. package/dist/update.d.ts.map +1 -0
  87. package/dist/update.js +45 -0
  88. package/dist/update.js.map +1 -0
  89. package/dist/utils/colorUtils.d.ts.map +1 -0
  90. package/dist/utils/colorUtils.js +205 -2
  91. package/dist/utils/colorUtils.js.map +1 -0
  92. package/dist/utils/copyDirectory.d.ts.map +1 -0
  93. package/dist/utils/copyDirectory.js +37 -1
  94. package/dist/utils/copyDirectory.js.map +1 -0
  95. package/dist/utils/createZip.d.ts.map +1 -0
  96. package/dist/utils/createZip.js +42 -2
  97. package/dist/utils/createZip.js.map +1 -0
  98. package/dist/utils/deepCopy.d.ts.map +1 -0
  99. package/dist/utils/deepCopy.js +40 -0
  100. package/dist/utils/deepCopy.js.map +1 -0
  101. package/dist/utils/deepEqual.d.ts.map +1 -0
  102. package/dist/utils/deepEqual.js +65 -1
  103. package/dist/utils/deepEqual.js.map +1 -0
  104. package/dist/utils/export.d.ts.map +1 -0
  105. package/dist/utils/export.js +1 -0
  106. package/dist/utils/export.js.map +1 -0
  107. package/dist/utils/isvalid.d.ts.map +1 -0
  108. package/dist/utils/isvalid.js +86 -0
  109. package/dist/utils/isvalid.js.map +1 -0
  110. package/dist/utils/network.d.ts.map +1 -0
  111. package/dist/utils/network.js +77 -5
  112. package/dist/utils/network.js.map +1 -0
  113. package/dist/utils/parameter.d.ts.map +1 -0
  114. package/dist/utils/parameter.js +41 -0
  115. package/dist/utils/parameter.js.map +1 -0
  116. package/dist/utils/wait.d.ts +43 -0
  117. package/dist/utils/wait.d.ts.map +1 -0
  118. package/dist/utils/wait.js +48 -5
  119. package/dist/utils/wait.js.map +1 -0
  120. package/frontend/build/asset-manifest.json +3 -3
  121. package/frontend/build/index.html +1 -1
  122. package/frontend/build/static/js/{main.f87f07b6.js → main.f60aae10.js} +8 -8
  123. package/frontend/build/static/js/main.f60aae10.js.map +1 -0
  124. package/npm-shrinkwrap.json +44 -44
  125. package/package.json +2 -2
  126. package/frontend/build/static/js/main.f87f07b6.js.map +0 -1
  127. /package/frontend/build/static/js/{main.f87f07b6.js.LICENSE.txt → main.f60aae10.js.LICENSE.txt} +0 -0
@@ -1,8 +1,37 @@
1
+ /**
2
+ * This file contains the network function.
3
+ *
4
+ * @file network.ts
5
+ * @author Luca Liguori
6
+ * @date 2024-02-17
7
+ * @version 1.0.0
8
+ *
9
+ * Copyright 2024, 2025, 2026 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License. *
22
+ */
23
+ // Node.js modules
1
24
  import os from 'node:os';
25
+ // AnsiLogger module
2
26
  import { AnsiLogger, idn, rs } from '../logger/export.js';
27
+ /**
28
+ * Retrieves the IPv4 address of the first non-internal network interface.
29
+ * @returns {string | undefined} The IPv4 address of the selected network interface, or undefined if not found.
30
+ */
3
31
  export function getIpv4InterfaceAddress() {
4
32
  let ipv4Address;
5
33
  const networkInterfaces = os.networkInterfaces();
34
+ // console.log('Available Network Interfaces:', networkInterfaces);
6
35
  for (const interfaceDetails of Object.values(networkInterfaces)) {
7
36
  if (!interfaceDetails) {
8
37
  break;
@@ -16,11 +45,17 @@ export function getIpv4InterfaceAddress() {
16
45
  break;
17
46
  }
18
47
  }
48
+ // console.log('Selected Network Interfaces:', ipv4Address);
19
49
  return ipv4Address;
20
50
  }
51
+ /**
52
+ * Retrieves the IPv6 address of the first non-internal network interface.
53
+ * @returns {string | undefined} The IPv4 address of the selected network interface, or undefined if not found.
54
+ */
21
55
  export function getIpv6InterfaceAddress() {
22
56
  let ipv6Address;
23
57
  const networkInterfaces = os.networkInterfaces();
58
+ // console.log('Available Network Interfaces:', networkInterfaces);
24
59
  for (const interfaceDetails of Object.values(networkInterfaces)) {
25
60
  if (!interfaceDetails) {
26
61
  break;
@@ -34,11 +69,17 @@ export function getIpv6InterfaceAddress() {
34
69
  break;
35
70
  }
36
71
  }
72
+ // console.log('Selected Network Interfaces:', ipv6Address);
37
73
  return ipv6Address;
38
74
  }
75
+ /**
76
+ * Retrieves the mac address of the first non-internal network interface.
77
+ * @returns {string | undefined} The IPv4 address of the selected network interface, or undefined if not found.
78
+ */
39
79
  export function getMacAddress() {
40
80
  let macAddress;
41
81
  const networkInterfaces = os.networkInterfaces();
82
+ // console.log('Available Network Interfaces:', networkInterfaces);
42
83
  for (const interfaceDetails of Object.values(networkInterfaces)) {
43
84
  if (!interfaceDetails) {
44
85
  break;
@@ -54,9 +95,14 @@ export function getMacAddress() {
54
95
  }
55
96
  return macAddress;
56
97
  }
98
+ /**
99
+ * Logs the available network interfaces and their details.
100
+ * @param {boolean} log - Whether to enable logging of network interface details.
101
+ * @returns {string | undefined} The IPv6 address of the network interface, if available.
102
+ */
57
103
  export function logInterfaces(debug = true) {
58
- const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4, logLevel: "info" });
59
- log.logLevel = "info";
104
+ const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4 /* TimestampFormat.TIME_MILLIS */, logLevel: "info" /* LogLevel.INFO */ });
105
+ log.logLevel = "info" /* LogLevel.INFO */;
60
106
  log.logName = 'LogInterfaces';
61
107
  let ipv6Address;
62
108
  const networkInterfaces = os.networkInterfaces();
@@ -74,16 +120,36 @@ export function logInterfaces(debug = true) {
74
120
  }
75
121
  return ipv6Address;
76
122
  }
123
+ /**
124
+ * Resolves the given hostname to an IP address.
125
+ *
126
+ * @param {string} hostname - The hostname to resolve.
127
+ * @param {0 | 4 | 6} [family=4] - The address family to use (0 for any, 4 for IPv4, 6 for IPv6). Default is 4.
128
+ * @returns {Promise<string | null>} - A promise that resolves to the IP address or null if not found.
129
+ *
130
+ * @remarks
131
+ * This function uses DNS lookup to resolve the hostname, which can take some time to complete.
132
+ */
77
133
  export async function resolveHostname(hostname, family = 4) {
78
134
  const dns = await import('node:dns');
79
135
  try {
80
- const addresses = await dns.promises.lookup(hostname.toLowerCase(), { family });
136
+ const addresses = await dns.promises.lookup(hostname.toLowerCase() /* + '.local'*/, { family });
81
137
  return addresses.address;
138
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
82
139
  }
83
140
  catch (error) {
84
141
  return null;
85
142
  }
86
143
  }
144
+ /**
145
+ * Retrieves the version of an npm package from the npm registry.
146
+ *
147
+ * @param {string} packageName - The name of the npm package.
148
+ * @param {string} [tag='latest'] - The tag of the package version to retrieve (default is 'latest').
149
+ * @param {number} [timeout=5000] - The timeout duration in milliseconds (default is 5000ms).
150
+ * @returns {Promise<string>} A promise that resolves to the version string of the package.
151
+ * @throws {Error} If the request fails or the tag is not found.
152
+ */
87
153
  export async function getNpmPackageVersion(packageName, tag = 'latest', timeout = 5000) {
88
154
  const https = await import('https');
89
155
  return new Promise((resolve, reject) => {
@@ -97,8 +163,8 @@ export async function getNpmPackageVersion(packageName, tag = 'latest', timeout
97
163
  let data = '';
98
164
  if (res.statusCode !== 200) {
99
165
  clearTimeout(timeoutId);
100
- res.resume();
101
- req.destroy();
166
+ res.resume(); // Discard response data to close the socket properly
167
+ req.destroy(); // Forcefully close the request
102
168
  reject(new Error(`Failed to fetch data. Status code: ${res.statusCode}`));
103
169
  return;
104
170
  }
@@ -109,6 +175,7 @@ export async function getNpmPackageVersion(packageName, tag = 'latest', timeout
109
175
  clearTimeout(timeoutId);
110
176
  try {
111
177
  const jsonData = JSON.parse(data);
178
+ // console.log(`Package ${packageName} tag ${tag}`, jsonData);
112
179
  const version = jsonData['dist-tags']?.[tag];
113
180
  if (version) {
114
181
  resolve(version);
@@ -128,6 +195,10 @@ export async function getNpmPackageVersion(packageName, tag = 'latest', timeout
128
195
  });
129
196
  });
130
197
  }
198
+ /**
199
+ * Retrieves the path to the global Node.js modules directory.
200
+ * @returns A promise that resolves to the path of the global Node.js modules directory.
201
+ */
131
202
  export async function getGlobalNodeModules() {
132
203
  const { exec } = await import('node:child_process');
133
204
  return new Promise((resolve, reject) => {
@@ -141,3 +212,4 @@ export async function getGlobalNodeModules() {
141
212
  });
142
213
  });
143
214
  }
215
+ //# sourceMappingURL=network.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network.js","sourceRoot":"","sources":["../../src/utils/network.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,kBAAkB;AAClB,OAAO,EAAE,MAAM,SAAS,CAAC;AAKzB,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,GAAG,EAAY,EAAE,EAAmB,MAAM,qBAAqB,CAAC;AAErF;;;GAGG;AACH,MAAM,UAAU,uBAAuB;IACrC,IAAI,WAA+B,CAAC;IACpC,MAAM,iBAAiB,GAAG,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACjD,mEAAmE;IACnE,KAAK,MAAM,gBAAgB,IAAI,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,CAAC;QAChE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,MAAM;QACR,CAAC;QACD,KAAK,MAAM,MAAM,IAAI,gBAAgB,EAAE,CAAC;YACtC,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;gBAC9E,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;YAC/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K,UAAU,oBAAoB;IACxC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACpD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,IAAI,CAAC,aAAa,EAAE,CAAC,KAA2B,EAAE,MAAc,EAAE,EAAE;YAClE,IAAI,KAAK,EAAE,CAAC;gBACV,MAAM,CAAC,KAAK,CAAC,CAAC;YAChB,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;YACzB,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameter.d.ts","sourceRoot":"","sources":["../../src/utils/parameter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAIH;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM7D;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAKlD;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAMhE"}
@@ -1,4 +1,32 @@
1
+ /**
2
+ * This file contains the deepEqual function.
3
+ *
4
+ * @file parameter.ts
5
+ * @author Luca Liguori
6
+ * @date 2025-02-16
7
+ * @version 1.0.0
8
+ *
9
+ * Copyright 2025, 2026, 2027 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License. *
22
+ */
1
23
  import { isValidNumber } from './export.js';
24
+ /**
25
+ * Retrieves the value of a command-line parameter.
26
+ *
27
+ * @param {string} name - The name of the parameter to retrieve.
28
+ * @returns {string | undefined} The value of the parameter, or undefined if not found.
29
+ */
2
30
  export function getParameter(name) {
3
31
  const commandArguments = process.argv.slice(2);
4
32
  let markerIndex = commandArguments.indexOf(`-${name}`);
@@ -8,6 +36,12 @@ export function getParameter(name) {
8
36
  return undefined;
9
37
  return commandArguments[markerIndex + 1];
10
38
  }
39
+ /**
40
+ * Checks if a command-line parameter is present.
41
+ *
42
+ * @param {string} name - The name of the parameter to check.
43
+ * @returns {boolean} True if the parameter is present, otherwise false.
44
+ */
11
45
  export function hasParameter(name) {
12
46
  const commandArguments = process.argv.slice(2);
13
47
  let markerIncluded = commandArguments.includes(`-${name}`);
@@ -15,6 +49,12 @@ export function hasParameter(name) {
15
49
  markerIncluded = commandArguments.includes(`--${name}`);
16
50
  return markerIncluded;
17
51
  }
52
+ /**
53
+ * Retrieves the value of a command-line parameter as an integer.
54
+ *
55
+ * @param {string} name - The name of the parameter to retrieve.
56
+ * @returns {number | undefined} The integer value of the parameter, or undefined if not found or invalid.
57
+ */
18
58
  export function getIntParameter(name) {
19
59
  const value = getParameter(name);
20
60
  if (value === undefined)
@@ -24,3 +64,4 @@ export function getIntParameter(name) {
24
64
  return undefined;
25
65
  return intValue;
26
66
  }
67
+ //# sourceMappingURL=parameter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameter.js","sourceRoot":"","sources":["../../src/utils/parameter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,MAAM,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,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+ *
9
+ * Copyright 2025, 2026, 2027 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License. *
22
+ */
23
+ /**
24
+ * Asynchronous waiter function that resolves when the provided condition is met or rejects on timeout.
25
+ * @param {string} name - The name of the waiter.
26
+ * @param {() => boolean} check - A function that checks the condition. Should return a boolean.
27
+ * @param {boolean} [exitWithReject=false] - Optional. If true, the promise will be rejected on timeout. Default is false.
28
+ * @param {number} [resolveTimeout=5000] - Optional. The timeout duration in milliseconds. Default is 5000ms.
29
+ * @param {number} [resolveInterval=500] - Optional. The interval duration in milliseconds between condition checks. Default is 500ms.
30
+ * @param {boolean} [debug=false] - Optional. If true, debug messages will be logged to the console. Default is false.
31
+ * @returns {Promise<boolean>} A promise that resolves to true when the condition is met, or false if the timeout occurs.
32
+ */
33
+ export declare function waiter(name: string, check: () => boolean, exitWithReject?: boolean, resolveTimeout?: number, resolveInterval?: number, debug?: boolean): unknown;
34
+ /**
35
+ * Asynchronously waits for a specified amount of time.
36
+ * @param {number} timeout - The duration to wait in milliseconds. Default is 1000ms.
37
+ * @param {string} name - The name of the wait operation. Default is undefined.
38
+ * @param {boolean} debug - Whether to enable debug logging. Default is false.
39
+ * @returns {Promise<void>} A Promise that resolves after the specified timeout.
40
+ */
41
+ export declare function wait(timeout?: number, name?: string, debug?: boolean): Promise<void>;
42
+ export declare function withTimeout<T>(promise: Promise<T>, ms: number): Promise<T>;
43
+ //# sourceMappingURL=wait.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../src/utils/wait.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAOH;;;;;;;;;GASG;AACH,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,OAAO,EAAE,cAAc,UAAQ,EAAE,cAAc,SAAO,EAAE,eAAe,SAAM,EAAE,KAAK,UAAQ,WAsBnJ;AAED;;;;;;GAMG;AACH,wBAAsB,IAAI,CAAC,OAAO,SAAO,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAYtF;AAGD,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAa1E"}
@@ -1,7 +1,40 @@
1
+ /**
2
+ * This file contains the wait, waiter and withTimeout functions.
3
+ *
4
+ * @file wait.ts
5
+ * @author Luca Liguori
6
+ * @date 2025-02-16
7
+ * @version 1.0.0
8
+ *
9
+ * Copyright 2025, 2026, 2027 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License. *
22
+ */
23
+ // AnsiLogger module
1
24
  import { AnsiLogger } from '../logger/export.js';
2
- const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4, logLevel: "info" });
25
+ const log = new AnsiLogger({ logName: 'MatterbridgeUtils', logTimestampFormat: 4 /* TimestampFormat.TIME_MILLIS */, logLevel: "info" /* LogLevel.INFO */ });
26
+ /**
27
+ * Asynchronous waiter function that resolves when the provided condition is met or rejects on timeout.
28
+ * @param {string} name - The name of the waiter.
29
+ * @param {() => boolean} check - A function that checks the condition. Should return a boolean.
30
+ * @param {boolean} [exitWithReject=false] - Optional. If true, the promise will be rejected on timeout. Default is false.
31
+ * @param {number} [resolveTimeout=5000] - Optional. The timeout duration in milliseconds. Default is 5000ms.
32
+ * @param {number} [resolveInterval=500] - Optional. The interval duration in milliseconds between condition checks. Default is 500ms.
33
+ * @param {boolean} [debug=false] - Optional. If true, debug messages will be logged to the console. Default is false.
34
+ * @returns {Promise<boolean>} A promise that resolves to true when the condition is met, or false if the timeout occurs.
35
+ */
3
36
  export async function waiter(name, check, exitWithReject = false, resolveTimeout = 5000, resolveInterval = 500, debug = false) {
4
- log.logLevel = "debug";
37
+ log.logLevel = "debug" /* LogLevel.DEBUG */;
5
38
  log.logName = 'Waiter';
6
39
  if (debug)
7
40
  log.debug(`Waiter "${name}" started...`);
@@ -27,11 +60,19 @@ export async function waiter(name, check, exitWithReject = false, resolveTimeout
27
60
  }, resolveInterval);
28
61
  });
29
62
  }
63
+ /**
64
+ * Asynchronously waits for a specified amount of time.
65
+ * @param {number} timeout - The duration to wait in milliseconds. Default is 1000ms.
66
+ * @param {string} name - The name of the wait operation. Default is undefined.
67
+ * @param {boolean} debug - Whether to enable debug logging. Default is false.
68
+ * @returns {Promise<void>} A Promise that resolves after the specified timeout.
69
+ */
30
70
  export async function wait(timeout = 1000, name, debug = false) {
31
- log.logLevel = "debug";
71
+ log.logLevel = "debug" /* LogLevel.DEBUG */;
32
72
  log.logName = 'Wait';
33
73
  if (debug)
34
74
  log.debug(`Wait "${name}" started...`);
75
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
35
76
  return new Promise((resolve, reject) => {
36
77
  const timeoutId = setTimeout(() => {
37
78
  if (debug)
@@ -41,17 +82,19 @@ export async function wait(timeout = 1000, name, debug = false) {
41
82
  }, timeout);
42
83
  });
43
84
  }
85
+ // Helper function to add a timeout to a promise
44
86
  export function withTimeout(promise, ms) {
45
87
  return new Promise((resolve, reject) => {
46
88
  const timer = setTimeout(() => reject(new Error('Operation timed out')), ms);
47
89
  promise
48
90
  .then((result) => {
49
- clearTimeout(timer);
91
+ clearTimeout(timer); // Prevent memory leak
50
92
  resolve(result);
51
93
  })
52
94
  .catch((error) => {
53
- clearTimeout(timer);
95
+ clearTimeout(timer); // Ensure timeout does not fire if promise rejects first
54
96
  reject(error);
55
97
  });
56
98
  });
57
99
  }
100
+ //# sourceMappingURL=wait.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.js","sourceRoot":"","sources":["../../src/utils/wait.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAA6B,MAAM,qBAAqB,CAAC;AAE5E,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,qCAA6B,EAAE,QAAQ,4BAAe,EAAE,CAAC,CAAC;AAEvI;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAAC,IAAY,EAAE,KAAoB,EAAE,cAAc,GAAG,KAAK,EAAE,cAAc,GAAG,IAAI,EAAE,eAAe,GAAG,GAAG,EAAE,KAAK,GAAG,KAAK;IAClJ,GAAG,CAAC,QAAQ,+BAAiB,CAAC;IAC9B,GAAG,CAAC,OAAO,GAAG,QAAQ,CAAC;IACvB,IAAI,KAAK;QAAE,GAAG,CAAC,KAAK,CAAC,WAAW,IAAI,cAAc,CAAC,CAAC;IACpD,OAAO,IAAI,OAAO,CAAU,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC9C,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;YAChC,IAAI,KAAK;gBAAE,GAAG,CAAC,KAAK,CAAC,WAAW,IAAI,2BAA2B,CAAC,CAAC;YACjE,YAAY,CAAC,SAAS,CAAC,CAAC;YACxB,a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,EAAU;IAC5D,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACxC,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC7E,OAAO;aACJ,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;YACf,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,sBAAsB;YAC3C,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;YACf,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,wDAAwD;YAC7E,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "./static/css/main.cf25d33e.css",
4
- "main.js": "./static/js/main.f87f07b6.js",
4
+ "main.js": "./static/js/main.f60aae10.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.f87f07b6.js.map": "./static/js/main.f87f07b6.js.map",
64
+ "main.f60aae10.js.map": "./static/js/main.f60aae10.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.f87f07b6.js"
69
+ "static/js/main.f60aae10.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.f87f07b6.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.f60aae10.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>