@matter/create
Advanced tools
Comparing version 0.12.0-alpha.0-20250121-0ab1b29a1 to 0.12.0-alpha.0-20250123-d77c02993
@@ -318,3 +318,6 @@ #!/usr/bin/env node | ||
/** This event is triggered when the device went online. This means that it is discoverable in the network. */ | ||
server.lifecycle.online.on(() => console.log("Server is online")); | ||
server.lifecycle.online.on(() => { | ||
console.log("Server is online"); | ||
console.log("Initial Fabrics when coming online", server.state.commissioning.fabrics); | ||
}); | ||
@@ -385,4 +388,2 @@ /** This event is triggered when the device went offline. It is no longer discoverable or connectable in the network. */ | ||
console.log("Initial Fabrics", server.state.operationalCredentials.fabrics); | ||
/** | ||
@@ -389,0 +390,0 @@ * If the node is not commissioned already we display the QR code on console. The QR code is also logged |
@@ -8,5 +8,5 @@ { | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1", | ||
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250121-0ab1b29a1", | ||
"@project-chip/matter.js": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993", | ||
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250123-d77c02993", | ||
"@project-chip/matter.js": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -19,3 +19,3 @@ "description": "Controller example to commission and connect devices", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -28,3 +28,3 @@ "description": "Bridge for multiple OnOff light/sockets with a CLI command execution interface", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -37,3 +37,3 @@ "description": "Composed device for multiple OnOff light/sockets with a CLI command execution interface", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -46,3 +46,3 @@ "description": "Composed device with Window covering and a light endpoint that logs changes", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -55,3 +55,3 @@ "description": "Socket device that reports random Energy and Power measurements", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -64,3 +64,3 @@ "description": "Multiple OnOff light/socket nodes in one process with a CLI command execution interface", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -73,5 +73,5 @@ "description": "OnOff light/socket device with a CLI command execution interface", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1", | ||
"@matter/nodejs": "~0.12.0-alpha.0-20250121-0ab1b29a1", | ||
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993", | ||
"@matter/nodejs": "~0.12.0-alpha.0-20250123-d77c02993", | ||
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -84,3 +84,3 @@ "description": "OnOff light/socket device with BLE support and advanced API usage", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -93,3 +93,3 @@ "description": "OnOff light example which logs the state changes to the console", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -102,3 +102,3 @@ "description": "Temperature/Humidity sensor with a CLI command interface to get the value", | ||
"dependencies": { | ||
"@matter/main": "~0.12.0-alpha.0-20250121-0ab1b29a1" | ||
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993" | ||
}, | ||
@@ -105,0 +105,0 @@ "description": "A simple on/off device", |
{ | ||
"name": "@matter/create", | ||
"version": "0.12.0-alpha.0-20250121-0ab1b29a1", | ||
"version": "0.12.0-alpha.0-20250123-d77c02993", | ||
"description": "Matter.js skeleton project generator", | ||
@@ -35,3 +35,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@matter/tools": "0.12.0-alpha.0-20250121-0ab1b29a1", | ||
"@matter/tools": "0.12.0-alpha.0-20250123-d77c02993", | ||
"@types/node": "^22.10.1", | ||
@@ -38,0 +38,0 @@ "@types/tar-stream": "^3.1.3" |
201415
4131