@matter/create 0.16.0-alpha.0-20251004-92135c7df → 0.16.0-alpha.0-20251006-3fe1e7c57

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.
@@ -11,7 +11,7 @@
11
11
  * because you need to adjust the code in any way depending on your use case.
12
12
  */
13
13
 
14
- import { Diagnostic, Environment, Logger, StorageService, Time } from "@matter/main";
14
+ import { Diagnostic, Environment, Logger, serialize, StorageService, Time } from "@matter/main";
15
15
  import { DescriptorClient } from "@matter/main/behaviors/descriptor";
16
16
  import { OnOffClient } from "@matter/main/behaviors/on-off";
17
17
  import { BasicInformationCluster, Descriptor, GeneralCommissioning } from "@matter/main/clusters";
@@ -173,14 +173,14 @@ class ControllerNode {
173
173
  // Subscribe to events of the node
174
174
  node.events.attributeChanged.on(({ path: { nodeId, clusterId, endpointId, attributeName }, value }) =>
175
175
  console.log(
176
- `attributeChangedCallback ${nodeId}: Attribute ${endpointId}/${clusterId}/${attributeName} changed to ${Diagnostic.json(
176
+ `attributeChangedCallback ${nodeId}: Attribute ${endpointId}/${clusterId}/${attributeName} changed to ${serialize(
177
177
  value,
178
178
  )}`,
179
179
  ),
180
180
  );
181
181
  node.events.eventTriggered.on(({ path: { nodeId, clusterId, endpointId, eventName }, events }) =>
182
182
  console.log(
183
- `eventTriggeredCallback ${nodeId}: Event ${endpointId}/${clusterId}/${eventName} triggered with ${Diagnostic.json(
183
+ `eventTriggeredCallback ${nodeId}: Event ${endpointId}/${clusterId}/${eventName} triggered with ${serialize(
184
184
  events,
185
185
  )}`,
186
186
  ),
@@ -1,11 +1,11 @@
1
1
  {
2
- "typescriptVersion": "~5.9.2",
3
- "nodeTypesVersion": "^24.4.0",
2
+ "typescriptVersion": "~5.9.3",
3
+ "nodeTypesVersion": "^24.6.2",
4
4
  "templates": [
5
5
  {
6
6
  "name": "control-onoff",
7
7
  "dependencies": {
8
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
8
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
9
9
  },
10
10
  "description": "Simple light controller",
11
11
  "entrypoint": "OnOffController.ts"
@@ -13,8 +13,8 @@
13
13
  {
14
14
  "name": "controller",
15
15
  "dependencies": {
16
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df",
17
- "@project-chip/matter.js": "~0.16.0-alpha.0-20251004-92135c7df"
16
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57",
17
+ "@project-chip/matter.js": "~0.16.0-alpha.0-20251006-3fe1e7c57"
18
18
  },
19
19
  "description": "Controller example to commission and connect devices",
20
20
  "entrypoint": "ControllerNode.ts"
@@ -22,7 +22,7 @@
22
22
  {
23
23
  "name": "device-air-quality-sensor",
24
24
  "dependencies": {
25
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
25
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
26
26
  },
27
27
  "description": "Air quality sensor example",
28
28
  "entrypoint": "AirQualitySensorDeviceNode.ts"
@@ -30,7 +30,7 @@
30
30
  {
31
31
  "name": "device-bridge-onoff",
32
32
  "dependencies": {
33
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
33
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
34
34
  },
35
35
  "description": "Bridge for multiple OnOff light/sockets with a CLI command execution interface",
36
36
  "entrypoint": "BridgedDevicesNode.ts"
@@ -38,7 +38,7 @@
38
38
  {
39
39
  "name": "device-composed-onoff",
40
40
  "dependencies": {
41
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
41
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
42
42
  },
43
43
  "description": "Composed device for multiple OnOff light/sockets with a CLI command execution interface",
44
44
  "entrypoint": "ComposedDeviceNode.ts"
@@ -46,7 +46,7 @@
46
46
  {
47
47
  "name": "device-composed-wc-light",
48
48
  "dependencies": {
49
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
49
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
50
50
  },
51
51
  "description": "Composed device with Window covering and a light endpoint that logs changes",
52
52
  "entrypoint": "IlluminatedRollerShade.ts"
@@ -54,7 +54,7 @@
54
54
  {
55
55
  "name": "device-measuring-socket",
56
56
  "dependencies": {
57
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
57
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
58
58
  },
59
59
  "description": "Socket device that reports random Energy and Power measurements",
60
60
  "entrypoint": "MeasuredSocketDevice.ts"
@@ -62,7 +62,7 @@
62
62
  {
63
63
  "name": "device-multiple-onoff",
64
64
  "dependencies": {
65
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
65
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
66
66
  },
67
67
  "description": "Multiple OnOff light/socket nodes in one process with a CLI command execution interface",
68
68
  "entrypoint": "MultiDeviceNode.ts"
@@ -70,7 +70,7 @@
70
70
  {
71
71
  "name": "device-onoff",
72
72
  "dependencies": {
73
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
73
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
74
74
  },
75
75
  "description": "OnOff light/socket device with a CLI command execution interface",
76
76
  "entrypoint": "DeviceNode.ts"
@@ -78,8 +78,8 @@
78
78
  {
79
79
  "name": "device-onoff-advanced",
80
80
  "dependencies": {
81
- "@matter/nodejs": "~0.16.0-alpha.0-20251004-92135c7df",
82
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
81
+ "@matter/nodejs": "~0.16.0-alpha.0-20251006-3fe1e7c57",
82
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
83
83
  },
84
84
  "description": "OnOff light/socket device with BLE support and advanced API usage",
85
85
  "entrypoint": "DeviceNodeFull.ts"
@@ -87,7 +87,7 @@
87
87
  {
88
88
  "name": "device-onoff-light",
89
89
  "dependencies": {
90
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
90
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
91
91
  },
92
92
  "description": "OnOff light example which logs the state changes to the console",
93
93
  "entrypoint": "LightDevice.ts"
@@ -95,7 +95,7 @@
95
95
  {
96
96
  "name": "device-robotic-vacuum-cleaner",
97
97
  "dependencies": {
98
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
98
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
99
99
  },
100
100
  "description": "Robotic Vacuum Cleaner Example",
101
101
  "entrypoint": "RoboticVacuumCleanerDevice.ts"
@@ -103,7 +103,7 @@
103
103
  {
104
104
  "name": "device-sensor",
105
105
  "dependencies": {
106
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
106
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
107
107
  },
108
108
  "description": "Temperature/Humidity sensor with a CLI command interface to get the value",
109
109
  "entrypoint": "SensorDeviceNode.ts"
@@ -111,7 +111,7 @@
111
111
  {
112
112
  "name": "device-simple",
113
113
  "dependencies": {
114
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
114
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
115
115
  },
116
116
  "description": "A simple on/off device",
117
117
  "entrypoint": "main.ts"
@@ -119,7 +119,7 @@
119
119
  {
120
120
  "name": "device-smoke-co-alarm",
121
121
  "dependencies": {
122
- "@matter/main": "~0.16.0-alpha.0-20251004-92135c7df"
122
+ "@matter/main": "~0.16.0-alpha.0-20251006-3fe1e7c57"
123
123
  },
124
124
  "description": "Smoke CO Alarm Example",
125
125
  "entrypoint": "SmokeCOAlarmDeviceNode.ts"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter/create",
3
- "version": "0.16.0-alpha.0-20251004-92135c7df",
3
+ "version": "0.16.0-alpha.0-20251006-3fe1e7c57",
4
4
  "description": "Matter.js skeleton project generator",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "homepage": "https://github.com/matter-js/matter.js#readme",
34
34
  "devDependencies": {
35
- "@matter/tools": "0.16.0-alpha.0-20251004-92135c7df",
36
- "@types/node": "^24.4.0",
35
+ "@matter/tools": "0.16.0-alpha.0-20251006-3fe1e7c57",
36
+ "@types/node": "^24.6.2",
37
37
  "@types/tar-stream": "^3.1.4"
38
38
  },
39
39
  "publishConfig": {