@matter/examples 0.12.4-alpha.0-20250213-1187f81eb → 0.12.4-alpha.0-20250217-b0bba5179

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.
@@ -10,7 +10,7 @@ import { OnOffLightDevice } from "@matter/main/devices/on-off-light";
10
10
  import { OnOffPlugInUnitDevice } from "@matter/main/devices/on-off-plug-in-unit";
11
11
  import { AggregatorEndpoint } from "@matter/main/endpoints/aggregator";
12
12
  import { logEndpoint } from "@matter/main/protocol";
13
- import { execSync } from "child_process";
13
+ import { execSync } from "node:child_process";
14
14
  const { isSocket, deviceName, vendorName, passcode, discriminator, vendorId, productName, productId, port, uniqueId } = await getConfiguration();
15
15
  const server = await ServerNode.create({
16
16
  // Required: Give the Node a unique ID which is used to store the state of this node
@@ -9,7 +9,7 @@ import { OnOffLightDevice } from "@matter/main/devices/on-off-light";
9
9
  import { OnOffPlugInUnitDevice } from "@matter/main/devices/on-off-plug-in-unit";
10
10
  import { logEndpoint } from "@matter/main/protocol";
11
11
  import { DeviceTypeId, VendorId } from "@matter/main/types";
12
- import { execSync } from "child_process";
12
+ import { execSync } from "node:child_process";
13
13
  const { isSocket, deviceName, vendorName, passcode, discriminator, vendorId, productName, productId, port, uniqueId } = await getConfiguration();
14
14
  const server = await ServerNode.create({
15
15
  // Required: Give the Node a unique ID which is used to store the state of this node
@@ -17,7 +17,7 @@ import {
17
17
  import { OnOffLightDevice } from "@matter/main/devices/on-off-light";
18
18
  import { OnOffPlugInUnitDevice } from "@matter/main/devices/on-off-plug-in-unit";
19
19
  import { logEndpoint } from "@matter/main/protocol";
20
- import { execSync } from "child_process";
20
+ import { execSync } from "node:child_process";
21
21
  const devices = await getConfiguration();
22
22
  for (let idx = 1; idx < devices.length; idx++) {
23
23
  const {
@@ -16,7 +16,7 @@ import {
16
16
  } from "@matter/main";
17
17
  import { OnOffLightDevice, OnOffPlugInUnitDevice } from "@matter/main/devices";
18
18
  import { logEndpoint } from "@matter/main/protocol";
19
- import { execSync } from "child_process";
19
+ import { execSync } from "node:child_process";
20
20
  async function main() {
21
21
  const {
22
22
  isSocket,
@@ -27,7 +27,7 @@ import { Ble, FabricAction, logEndpoint } from "@matter/main/protocol";
27
27
  import { QrCode } from "@matter/main/types";
28
28
  import { createFileLogger } from "@matter/nodejs";
29
29
  import { NodeJsBle } from "@matter/nodejs-ble";
30
- import { execSync } from "child_process";
30
+ import { execSync } from "node:child_process";
31
31
  import { DummyThreadNetworkCommissioningServer } from "./cluster/DummyThreadNetworkCommissioningServer.js";
32
32
  import { DummyWifiNetworkCommissioningServer } from "./cluster/DummyWifiNetworkCommissioningServer.js";
33
33
  import {
@@ -9,7 +9,7 @@ import { HumiditySensorDevice } from "@matter/main/devices/humidity-sensor";
9
9
  import { TemperatureSensorDevice } from "@matter/main/devices/temperature-sensor";
10
10
  import { logEndpoint } from "@matter/main/protocol";
11
11
  import { DeviceTypeId, VendorId } from "@matter/main/types";
12
- import { execSync } from "child_process";
12
+ import { execSync } from "node:child_process";
13
13
  async function main() {
14
14
  const {
15
15
  isTemperature,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter/examples",
3
- "version": "0.12.4-alpha.0-20250213-1187f81eb",
3
+ "version": "0.12.4-alpha.0-20250217-b0bba5179",
4
4
  "description": "Matter.js examples and reference implementations",
5
5
  "keywords": [
6
6
  "iot",
@@ -52,13 +52,13 @@
52
52
  "matter-controller": "dist/esm/controller/ControllerNode.js"
53
53
  },
54
54
  "dependencies": {
55
- "@matter/main": "0.12.4-alpha.0-20250213-1187f81eb",
56
- "@matter/nodejs": "0.12.4-alpha.0-20250213-1187f81eb",
57
- "@matter/tools": "0.12.4-alpha.0-20250213-1187f81eb",
55
+ "@matter/main": "0.12.4-alpha.0-20250217-b0bba5179",
56
+ "@matter/nodejs": "0.12.4-alpha.0-20250217-b0bba5179",
57
+ "@matter/tools": "0.12.4-alpha.0-20250217-b0bba5179",
58
58
  "esbuild": "^0.25.0"
59
59
  },
60
60
  "optionalDependencies": {
61
- "@matter/nodejs-ble": "0.12.4-alpha.0-20250213-1187f81eb"
61
+ "@matter/nodejs-ble": "0.12.4-alpha.0-20250217-b0bba5179"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=18.0.0"
@@ -18,7 +18,7 @@ import { OnOffLightDevice } from "@matter/main/devices/on-off-light";
18
18
  import { OnOffPlugInUnitDevice } from "@matter/main/devices/on-off-plug-in-unit";
19
19
  import { AggregatorEndpoint } from "@matter/main/endpoints/aggregator";
20
20
  import { logEndpoint } from "@matter/main/protocol";
21
- import { execSync } from "child_process";
21
+ import { execSync } from "node:child_process";
22
22
 
23
23
  /** Initialize configuration values */
24
24
  const { isSocket, deviceName, vendorName, passcode, discriminator, vendorId, productName, productId, port, uniqueId } =
@@ -17,7 +17,7 @@ import { OnOffLightDevice } from "@matter/main/devices/on-off-light";
17
17
  import { OnOffPlugInUnitDevice } from "@matter/main/devices/on-off-plug-in-unit";
18
18
  import { logEndpoint } from "@matter/main/protocol";
19
19
  import { DeviceTypeId, VendorId } from "@matter/main/types";
20
- import { execSync } from "child_process";
20
+ import { execSync } from "node:child_process";
21
21
 
22
22
  /** Initialize configuration values */
23
23
  const { isSocket, deviceName, vendorName, passcode, discriminator, vendorId, productName, productId, port, uniqueId } =
@@ -25,7 +25,7 @@ import {
25
25
  import { OnOffLightDevice } from "@matter/main/devices/on-off-light";
26
26
  import { OnOffPlugInUnitDevice } from "@matter/main/devices/on-off-plug-in-unit";
27
27
  import { logEndpoint } from "@matter/main/protocol";
28
- import { execSync } from "child_process";
28
+ import { execSync } from "node:child_process";
29
29
 
30
30
  const devices = await getConfiguration();
31
31
  for (let idx = 1; idx < devices.length; idx++) {
@@ -23,7 +23,7 @@ import {
23
23
  } from "@matter/main";
24
24
  import { OnOffLightDevice, OnOffPlugInUnitDevice } from "@matter/main/devices";
25
25
  import { logEndpoint } from "@matter/main/protocol";
26
- import { execSync } from "child_process";
26
+ import { execSync } from "node:child_process";
27
27
 
28
28
  async function main() {
29
29
  /** Initialize configuration values */
@@ -43,7 +43,7 @@ import { Ble, FabricAction, logEndpoint } from "@matter/main/protocol";
43
43
  import { QrCode } from "@matter/main/types";
44
44
  import { createFileLogger } from "@matter/nodejs";
45
45
  import { NodeJsBle } from "@matter/nodejs-ble";
46
- import { execSync } from "child_process";
46
+ import { execSync } from "node:child_process";
47
47
  import { DummyThreadNetworkCommissioningServer } from "./cluster/DummyThreadNetworkCommissioningServer.js";
48
48
  import { DummyWifiNetworkCommissioningServer } from "./cluster/DummyWifiNetworkCommissioningServer.js";
49
49
  import {
@@ -16,7 +16,7 @@ import { HumiditySensorDevice } from "@matter/main/devices/humidity-sensor";
16
16
  import { TemperatureSensorDevice } from "@matter/main/devices/temperature-sensor";
17
17
  import { logEndpoint } from "@matter/main/protocol";
18
18
  import { DeviceTypeId, VendorId } from "@matter/main/types";
19
- import { execSync } from "child_process";
19
+ import { execSync } from "node:child_process";
20
20
 
21
21
  async function main() {
22
22
  /** Initialize configuration values */