matterbridge 3.2.0-dev-20250801-f7eb2a2 → 3.2.0-dev-20250801-e5ebd91
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.
|
@@ -464,10 +464,13 @@ export class MatterbridgeEndpoint extends Endpoint {
|
|
|
464
464
|
this.hardwareVersion = hardwareVersion;
|
|
465
465
|
this.hardwareVersionString = hardwareVersionString;
|
|
466
466
|
if (MatterbridgeEndpoint.bridgeMode === 'bridge' && this.mode === undefined) {
|
|
467
|
+
this.deviceTypes.set(bridgedNode.code, bridgedNode);
|
|
467
468
|
const options = this.getClusterServerOptions(Descriptor.Cluster.id);
|
|
468
469
|
if (options) {
|
|
469
470
|
const deviceTypeList = options.deviceTypeList;
|
|
470
|
-
deviceTypeList.
|
|
471
|
+
if (!deviceTypeList.find((dt) => dt.deviceType === bridgedNode.code)) {
|
|
472
|
+
deviceTypeList.push({ deviceType: bridgedNode.code, revision: bridgedNode.revision });
|
|
473
|
+
}
|
|
471
474
|
}
|
|
472
475
|
this.createDefaultBridgedDeviceBasicInformationClusterServer(deviceName, serialNumber, vendorId, vendorName, productName, softwareVersion, softwareVersionString, hardwareVersion, hardwareVersionString);
|
|
473
476
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge",
|
|
3
|
-
"version": "3.2.0-dev-20250801-
|
|
3
|
+
"version": "3.2.0-dev-20250801-e5ebd91",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge",
|
|
9
|
-
"version": "3.2.0-dev-20250801-
|
|
9
|
+
"version": "3.2.0-dev-20250801-e5ebd91",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@matter/main": "0.15.2",
|
package/package.json
CHANGED