@matter/protocol
Advanced tools
Comparing version 0.12.0-alpha.0-20241211-6d80d8b5c to 0.12.0-alpha.0-20241213-fcd71a96d
@@ -33,2 +33,3 @@ /** | ||
get forUpdateNoc(): boolean | undefined; | ||
get rootCertSet(): boolean; | ||
get hasRootCert(): boolean; | ||
@@ -35,0 +36,0 @@ get rootCert(): Uint8Array<ArrayBufferLike> | undefined; |
@@ -46,2 +46,3 @@ "use strict"; | ||
#fabricBuilder = new import_Fabric.FabricBuilder(); | ||
#rootCertSet = false; | ||
#commissioned = (0, import_general.AsyncObservable)(); | ||
@@ -90,4 +91,7 @@ constructor(options) { | ||
} | ||
get rootCertSet() { | ||
return this.#rootCertSet; | ||
} | ||
get hasRootCert() { | ||
return this.#fabricBuilder.hasRootCert(); | ||
return this.#fabricBuilder.rootCert !== void 0; | ||
} | ||
@@ -160,2 +164,3 @@ get rootCert() { | ||
this.#fabricBuilder.setRootCert(rootCert); | ||
this.#rootCertSet = true; | ||
} | ||
@@ -162,0 +167,0 @@ /** |
@@ -91,3 +91,2 @@ /** | ||
get rootCert(): Uint8Array<ArrayBufferLike> | undefined; | ||
hasRootCert(): boolean; | ||
setOperationalCert(operationalCert: Uint8Array, intermediateCACert?: Uint8Array): this; | ||
@@ -94,0 +93,0 @@ setRootVendorId(rootVendorId: VendorId): this; |
@@ -304,5 +304,2 @@ "use strict"; | ||
} | ||
hasRootCert() { | ||
return this.#rootCert !== void 0; | ||
} | ||
setOperationalCert(operationalCert, intermediateCACert) { | ||
@@ -309,0 +306,0 @@ if (intermediateCACert !== void 0 && intermediateCACert.length === 0) { |
@@ -33,2 +33,3 @@ /** | ||
get forUpdateNoc(): boolean | undefined; | ||
get rootCertSet(): boolean; | ||
get hasRootCert(): boolean; | ||
@@ -35,0 +36,0 @@ get rootCert(): Uint8Array<ArrayBufferLike> | undefined; |
@@ -22,2 +22,3 @@ /** | ||
#fabricBuilder = new FabricBuilder(); | ||
#rootCertSet = false; | ||
#commissioned = AsyncObservable(); | ||
@@ -66,4 +67,7 @@ constructor(options) { | ||
} | ||
get rootCertSet() { | ||
return this.#rootCertSet; | ||
} | ||
get hasRootCert() { | ||
return this.#fabricBuilder.hasRootCert(); | ||
return this.#fabricBuilder.rootCert !== void 0; | ||
} | ||
@@ -136,2 +140,3 @@ get rootCert() { | ||
this.#fabricBuilder.setRootCert(rootCert); | ||
this.#rootCertSet = true; | ||
} | ||
@@ -138,0 +143,0 @@ /** |
@@ -91,3 +91,2 @@ /** | ||
get rootCert(): Uint8Array<ArrayBufferLike> | undefined; | ||
hasRootCert(): boolean; | ||
setOperationalCert(operationalCert: Uint8Array, intermediateCACert?: Uint8Array): this; | ||
@@ -94,0 +93,0 @@ setRootVendorId(rootVendorId: VendorId): this; |
@@ -294,5 +294,2 @@ /** | ||
} | ||
hasRootCert() { | ||
return this.#rootCert !== void 0; | ||
} | ||
setOperationalCert(operationalCert, intermediateCACert) { | ||
@@ -299,0 +296,0 @@ if (intermediateCACert !== void 0 && intermediateCACert.length === 0) { |
{ | ||
"name": "@matter/protocol", | ||
"version": "0.12.0-alpha.0-20241211-6d80d8b5c", | ||
"version": "0.12.0-alpha.0-20241213-fcd71a96d", | ||
"description": "Low-level APIs for Matter interaction", | ||
@@ -43,10 +43,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@matter/general": "0.12.0-alpha.0-20241211-6d80d8b5c", | ||
"@matter/model": "0.12.0-alpha.0-20241211-6d80d8b5c", | ||
"@matter/types": "0.12.0-alpha.0-20241211-6d80d8b5c", | ||
"@matter/general": "0.12.0-alpha.0-20241213-fcd71a96d", | ||
"@matter/model": "0.12.0-alpha.0-20241213-fcd71a96d", | ||
"@matter/types": "0.12.0-alpha.0-20241213-fcd71a96d", | ||
"@noble/curves": "^1.7.0" | ||
}, | ||
"devDependencies": { | ||
"@matter/tools": "0.12.0-alpha.0-20241211-6d80d8b5c", | ||
"@matter/testing": "0.12.0-alpha.0-20241211-6d80d8b5c" | ||
"@matter/tools": "0.12.0-alpha.0-20241213-fcd71a96d", | ||
"@matter/testing": "0.12.0-alpha.0-20241213-fcd71a96d" | ||
}, | ||
@@ -53,0 +53,0 @@ "files": [ |
@@ -36,2 +36,3 @@ /** | ||
#fabricBuilder = new FabricBuilder(); | ||
#rootCertSet = false; | ||
@@ -97,4 +98,8 @@ #commissioned = AsyncObservable<[], void>(); | ||
get rootCertSet() { | ||
return this.#rootCertSet; | ||
} | ||
get hasRootCert() { | ||
return this.#fabricBuilder.hasRootCert(); | ||
return this.#fabricBuilder.rootCert !== undefined; | ||
} | ||
@@ -188,2 +193,3 @@ | ||
this.#fabricBuilder.setRootCert(rootCert); | ||
this.#rootCertSet = true; | ||
} | ||
@@ -190,0 +196,0 @@ |
@@ -371,6 +371,2 @@ /** | ||
hasRootCert() { | ||
return this.#rootCert !== undefined; | ||
} | ||
setOperationalCert(operationalCert: Uint8Array, intermediateCACert?: Uint8Array) { | ||
@@ -377,0 +373,0 @@ if (intermediateCACert !== undefined && intermediateCACert.length === 0) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3987334
69323
+ Added@matter/general@0.12.0-alpha.0-20241213-fcd71a96d(transitive)
+ Added@matter/model@0.12.0-alpha.0-20241213-fcd71a96d(transitive)
+ Added@matter/types@0.12.0-alpha.0-20241213-fcd71a96d(transitive)
- Removed@matter/general@0.12.0-alpha.0-20241211-6d80d8b5c(transitive)
- Removed@matter/model@0.12.0-alpha.0-20241211-6d80d8b5c(transitive)
- Removed@matter/types@0.12.0-alpha.0-20241211-6d80d8b5c(transitive)