@matter/node 0.15.2-alpha.0-20250722-a45cf6d45 → 0.15.2
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/behaviors/mode-select/ModeSelectServer.d.ts +1 -1
- package/dist/cjs/endpoint/type/SemanticNamespace.d.ts +2 -2
- package/dist/cjs/endpoint/type/SemanticNamespace.d.ts.map +1 -1
- package/dist/cjs/endpoint/type/SemanticNamespace.js.map +1 -1
- package/dist/esm/behaviors/mode-select/ModeSelectServer.d.ts +1 -1
- package/dist/esm/endpoint/type/SemanticNamespace.d.ts +2 -2
- package/dist/esm/endpoint/type/SemanticNamespace.d.ts.map +1 -1
- package/dist/esm/endpoint/type/SemanticNamespace.js.map +1 -1
- package/package.json +7 -7
- package/src/endpoint/type/SemanticNamespace.ts +2 -2
|
@@ -30,7 +30,7 @@ declare const ModeSelectServer_base: import("../../index.js").ClusterBehavior.Ty
|
|
|
30
30
|
};
|
|
31
31
|
readonly attributes: {
|
|
32
32
|
readonly description: import("#types").FixedAttribute<string, any>;
|
|
33
|
-
readonly standardNamespace: import("#types").FixedAttribute<
|
|
33
|
+
readonly standardNamespace: import("#types").FixedAttribute<import("#types").Namespace | null, any>;
|
|
34
34
|
readonly supportedModes: import("#types").FixedAttribute<import("#types").TypeFromFields<{
|
|
35
35
|
label: import("#types").FieldType<string>;
|
|
36
36
|
mode: import("#types").FieldType<number>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2022-2025 Matter.js Authors
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { Semtag } from "#types";
|
|
6
|
+
import { Namespace, Semtag } from "#types";
|
|
7
7
|
/**
|
|
8
8
|
* A Matter "semantic namespace" is a discrete set of {@link Semtag} definitions.
|
|
9
9
|
*/
|
|
@@ -14,7 +14,7 @@ export type SemanticNamespace = Record<string, Semtag>;
|
|
|
14
14
|
export declare function SemanticNamespace<const T extends SemanticNamespace.Definition>(definition: T): SemanticNamespace.Of<T>;
|
|
15
15
|
export declare namespace SemanticNamespace {
|
|
16
16
|
interface Definition {
|
|
17
|
-
id:
|
|
17
|
+
id: Namespace;
|
|
18
18
|
mfgCode?: number;
|
|
19
19
|
tags: {
|
|
20
20
|
[name: string]: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemanticNamespace.d.ts","sourceRoot":"","sources":["../../../../src/endpoint/type/SemanticNamespace.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAY,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"SemanticNamespace.d.ts","sourceRoot":"","sources":["../../../../src/endpoint/type/SemanticNamespace.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAY,MAAM,QAAQ,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEvD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,CAAC,SAAS,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC,GAkBxE,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC,CAC3C;AAED,yBAAiB,iBAAiB,CAAC;IAC/B,UAAiB,UAAU;QACvB,EAAE,EAAE,SAAS,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE;YACF,CAAC,IAAI,EAAE,MAAM,GAAG;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,KAAK,EAAE,MAAM,CAAA;aAAE,CAAC;SACjD,CAAC;KACL;IAED,KAAY,EAAE,CAAC,CAAC,SAAS,UAAU,IAAI;SAClC,IAAI,IAAI,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,MAAM;KACpC,CAAC;CACL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/endpoint/type/SemanticNamespace.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,mBAA4C;AAN5C;AAAA;AAAA;AAAA;AAAA;AAgBO,SAAS,kBAAgE,YAAe;AAC3F,QAAM,SAAS,CAAC;AAEhB,QAAM,EAAE,KAAK,IAAI;AACjB,QAAM,cAAc,WAAW;AAC/B,QAAM,UAAU,WAAW,cAAU,uBAAS,WAAW,OAAO,IAAI;AAEpE,aAAW,OAAO,MAAM;AACpB,UAAM,EAAE,IAAI,KAAK,MAAM,IAAI,WAAW,KAAK,GAAG;AAE9C,WAAO,GAAG,IAAI;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAEA,SAAO;AACX;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -30,7 +30,7 @@ declare const ModeSelectServer_base: import("../../index.js").ClusterBehavior.Ty
|
|
|
30
30
|
};
|
|
31
31
|
readonly attributes: {
|
|
32
32
|
readonly description: import("#types").FixedAttribute<string, any>;
|
|
33
|
-
readonly standardNamespace: import("#types").FixedAttribute<
|
|
33
|
+
readonly standardNamespace: import("#types").FixedAttribute<import("#types").Namespace | null, any>;
|
|
34
34
|
readonly supportedModes: import("#types").FixedAttribute<import("#types").TypeFromFields<{
|
|
35
35
|
label: import("#types").FieldType<string>;
|
|
36
36
|
mode: import("#types").FieldType<number>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2022-2025 Matter.js Authors
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { Semtag } from "#types";
|
|
6
|
+
import { Namespace, Semtag } from "#types";
|
|
7
7
|
/**
|
|
8
8
|
* A Matter "semantic namespace" is a discrete set of {@link Semtag} definitions.
|
|
9
9
|
*/
|
|
@@ -14,7 +14,7 @@ export type SemanticNamespace = Record<string, Semtag>;
|
|
|
14
14
|
export declare function SemanticNamespace<const T extends SemanticNamespace.Definition>(definition: T): SemanticNamespace.Of<T>;
|
|
15
15
|
export declare namespace SemanticNamespace {
|
|
16
16
|
interface Definition {
|
|
17
|
-
id:
|
|
17
|
+
id: Namespace;
|
|
18
18
|
mfgCode?: number;
|
|
19
19
|
tags: {
|
|
20
20
|
[name: string]: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemanticNamespace.d.ts","sourceRoot":"","sources":["../../../../src/endpoint/type/SemanticNamespace.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAY,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"SemanticNamespace.d.ts","sourceRoot":"","sources":["../../../../src/endpoint/type/SemanticNamespace.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAY,MAAM,QAAQ,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEvD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,CAAC,SAAS,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC,GAkBxE,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC,CAC3C;AAED,yBAAiB,iBAAiB,CAAC;IAC/B,UAAiB,UAAU;QACvB,EAAE,EAAE,SAAS,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE;YACF,CAAC,IAAI,EAAE,MAAM,GAAG;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,KAAK,EAAE,MAAM,CAAA;aAAE,CAAC;SACjD,CAAC;KACL;IAED,KAAY,EAAE,CAAC,CAAC,SAAS,UAAU,IAAI;SAClC,IAAI,IAAI,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,MAAM;KACpC,CAAC;CACL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/endpoint/type/SemanticNamespace.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAA4B,gBAAgB;AAUrC,SAAS,kBAAgE,YAAe;AAC3F,QAAM,SAAS,CAAC;AAEhB,QAAM,EAAE,KAAK,IAAI;AACjB,QAAM,cAAc,WAAW;AAC/B,QAAM,UAAU,WAAW,UAAU,SAAS,WAAW,OAAO,IAAI;AAEpE,aAAW,OAAO,MAAM;AACpB,UAAM,EAAE,IAAI,KAAK,MAAM,IAAI,WAAW,KAAK,GAAG;AAE9C,WAAO,GAAG,IAAI;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAEA,SAAO;AACX;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/node",
|
|
3
|
-
"version": "0.15.2
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "API for building Matter nodes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"#*": "./src/*"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@matter/general": "0.15.2
|
|
46
|
-
"@matter/model": "0.15.2
|
|
47
|
-
"@matter/types": "0.15.2
|
|
48
|
-
"@matter/protocol": "0.15.2
|
|
45
|
+
"@matter/general": "0.15.2",
|
|
46
|
+
"@matter/model": "0.15.2",
|
|
47
|
+
"@matter/types": "0.15.2",
|
|
48
|
+
"@matter/protocol": "0.15.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@matter/tools": "0.15.2
|
|
52
|
-
"@matter/testing": "0.15.2
|
|
51
|
+
"@matter/tools": "0.15.2",
|
|
52
|
+
"@matter/testing": "0.15.2"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
55
55
|
"dist/**/*",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { Semtag, VendorId } from "#types";
|
|
7
|
+
import { Namespace, Semtag, VendorId } from "#types";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A Matter "semantic namespace" is a discrete set of {@link Semtag} definitions.
|
|
@@ -37,7 +37,7 @@ export function SemanticNamespace<const T extends SemanticNamespace.Definition>(
|
|
|
37
37
|
|
|
38
38
|
export namespace SemanticNamespace {
|
|
39
39
|
export interface Definition {
|
|
40
|
-
id:
|
|
40
|
+
id: Namespace;
|
|
41
41
|
mfgCode?: number;
|
|
42
42
|
tags: {
|
|
43
43
|
[name: string]: { id: number; label: string };
|