@matter/node 0.16.5 → 0.16.6-alpha.0-20260120-1040b4c1e
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/dist/cjs/behavior/system/sessions/SessionsBehavior.js +1 -1
- package/dist/cjs/behavior/system/sessions/SessionsBehavior.js.map +1 -1
- package/dist/cjs/behavior/system/software-update/SoftwareUpdateManager.d.ts +5 -1
- package/dist/cjs/behavior/system/software-update/SoftwareUpdateManager.d.ts.map +1 -1
- package/dist/cjs/behavior/system/software-update/SoftwareUpdateManager.js +31 -16
- package/dist/cjs/behavior/system/software-update/SoftwareUpdateManager.js.map +1 -1
- package/dist/cjs/behaviors/thermostat/ThermostatServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/thermostat/ThermostatServer.js +5 -3
- package/dist/cjs/behaviors/thermostat/ThermostatServer.js.map +1 -1
- package/dist/cjs/endpoint/properties/ClientNodeEndpoints.d.ts.map +1 -1
- package/dist/cjs/endpoint/properties/ClientNodeEndpoints.js +2 -1
- package/dist/cjs/endpoint/properties/ClientNodeEndpoints.js.map +1 -1
- package/dist/cjs/node/client/ClientStructure.d.ts.map +1 -1
- package/dist/cjs/node/client/ClientStructure.js +1 -0
- package/dist/cjs/node/client/ClientStructure.js.map +1 -1
- package/dist/esm/behavior/system/sessions/SessionsBehavior.js +1 -1
- package/dist/esm/behavior/system/sessions/SessionsBehavior.js.map +1 -1
- package/dist/esm/behavior/system/software-update/SoftwareUpdateManager.d.ts +5 -1
- package/dist/esm/behavior/system/software-update/SoftwareUpdateManager.d.ts.map +1 -1
- package/dist/esm/behavior/system/software-update/SoftwareUpdateManager.js +31 -16
- package/dist/esm/behavior/system/software-update/SoftwareUpdateManager.js.map +1 -1
- package/dist/esm/behaviors/thermostat/ThermostatServer.d.ts.map +1 -1
- package/dist/esm/behaviors/thermostat/ThermostatServer.js +5 -3
- package/dist/esm/behaviors/thermostat/ThermostatServer.js.map +1 -1
- package/dist/esm/endpoint/properties/ClientNodeEndpoints.d.ts.map +1 -1
- package/dist/esm/endpoint/properties/ClientNodeEndpoints.js +2 -1
- package/dist/esm/endpoint/properties/ClientNodeEndpoints.js.map +1 -1
- package/dist/esm/node/client/ClientStructure.d.ts.map +1 -1
- package/dist/esm/node/client/ClientStructure.js +2 -1
- package/dist/esm/node/client/ClientStructure.js.map +1 -1
- package/package.json +7 -7
- package/src/behavior/system/sessions/SessionsBehavior.ts +1 -1
- package/src/behavior/system/software-update/SoftwareUpdateManager.ts +40 -20
- package/src/behaviors/thermostat/ThermostatServer.ts +5 -3
- package/src/endpoint/properties/ClientNodeEndpoints.ts +2 -1
- package/src/node/client/ClientStructure.ts +3 -2
|
@@ -11,7 +11,7 @@ import { Descriptor } from "#clusters/descriptor";
|
|
|
11
11
|
import { Endpoint } from "#endpoint/Endpoint.js";
|
|
12
12
|
import { EndpointType } from "#endpoint/type/EndpointType.js";
|
|
13
13
|
import { RootEndpoint } from "#endpoints/root";
|
|
14
|
-
import { Diagnostic, InternalError, isDeepEqual, Logger, Observable } from "#general";
|
|
14
|
+
import { Diagnostic, hex, InternalError, isDeepEqual, Logger, Observable } from "#general";
|
|
15
15
|
import {
|
|
16
16
|
AcceptedCommandList,
|
|
17
17
|
AttributeList,
|
|
@@ -499,8 +499,9 @@ export class ClientStructure {
|
|
|
499
499
|
endpointType.deviceType = dt.deviceType;
|
|
500
500
|
endpointType.deviceRevision = dt.revision;
|
|
501
501
|
endpointType.deviceClass = model?.classification ?? DeviceClassification.Simple;
|
|
502
|
+
endpointType.name = model?.name ?? `Unknown#${hex.word(dt.deviceType)}`;
|
|
502
503
|
|
|
503
|
-
// If we found a known application device type we stop because this is the classification we want to
|
|
504
|
+
// If we found a known application device type, we stop because this is the classification we want to
|
|
504
505
|
// report
|
|
505
506
|
if (isApp) {
|
|
506
507
|
break;
|