@camstack/addon-matter-broker 0.2.81 → 0.2.82

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/addon.js CHANGED
@@ -29291,8 +29291,27 @@ var PrivacyMaskRegionSchema = object({
29291
29291
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29292
29292
  var PrivacyMaskStatusSchema = object({
29293
29293
  enabled: boolean(),
29294
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29295
- regions: array(PrivacyMaskRegionSchema),
29294
+ /**
29295
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29296
+ *
29297
+ * `null` means "no answer" — the provider has never reached this camera
29298
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29299
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29300
+ * has no zones": those two look identical to an operator right up to the
29301
+ * moment one of them is acted on, and acting on them differs completely.
29302
+ * The switch group turned an unanswered read into *"nothing is set up for
29303
+ * it to act on"* — an instruction to go and draw a zone that already
29304
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29305
+ * from deleting the mask it could not read.
29306
+ *
29307
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29308
+ * has no zones. The distinction is the same one {@link
29309
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29310
+ * microphone, on the very same payload — both planes come from ONE refresh,
29311
+ * so it was never coherent for one of them to be able to say "unknown"
29312
+ * while the other could not.
29313
+ */
29314
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29296
29315
  /**
29297
29316
  * Is the camera capturing sound right now? Read from the camera, never from
29298
29317
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -29289,8 +29289,27 @@ var PrivacyMaskRegionSchema = object({
29289
29289
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29290
29290
  var PrivacyMaskStatusSchema = object({
29291
29291
  enabled: boolean(),
29292
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29293
- regions: array(PrivacyMaskRegionSchema),
29292
+ /**
29293
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29294
+ *
29295
+ * `null` means "no answer" — the provider has never reached this camera
29296
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29297
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29298
+ * has no zones": those two look identical to an operator right up to the
29299
+ * moment one of them is acted on, and acting on them differs completely.
29300
+ * The switch group turned an unanswered read into *"nothing is set up for
29301
+ * it to act on"* — an instruction to go and draw a zone that already
29302
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29303
+ * from deleting the mask it could not read.
29304
+ *
29305
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29306
+ * has no zones. The distinction is the same one {@link
29307
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29308
+ * microphone, on the very same payload — both planes come from ONE refresh,
29309
+ * so it was never coherent for one of them to be able to say "unknown"
29310
+ * while the other could not.
29311
+ */
29312
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29294
29313
  /**
29295
29314
  * Is the camera capturing sound right now? Read from the camera, never from
29296
29315
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",