@camstack/addon-provider-rademacher 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
@@ -30179,8 +30179,27 @@ var PrivacyMaskRegionSchema = object({
30179
30179
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
30180
30180
  var PrivacyMaskStatusSchema = object({
30181
30181
  enabled: boolean(),
30182
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
30183
- regions: array(PrivacyMaskRegionSchema),
30182
+ /**
30183
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
30184
+ *
30185
+ * `null` means "no answer" — the provider has never reached this camera
30186
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
30187
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
30188
+ * has no zones": those two look identical to an operator right up to the
30189
+ * moment one of them is acted on, and acting on them differs completely.
30190
+ * The switch group turned an unanswered read into *"nothing is set up for
30191
+ * it to act on"* — an instruction to go and draw a zone that already
30192
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
30193
+ * from deleting the mask it could not read.
30194
+ *
30195
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
30196
+ * has no zones. The distinction is the same one {@link
30197
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
30198
+ * microphone, on the very same payload — both planes come from ONE refresh,
30199
+ * so it was never coherent for one of them to be able to say "unknown"
30200
+ * while the other could not.
30201
+ */
30202
+ regions: array(PrivacyMaskRegionSchema).nullable(),
30184
30203
  /**
30185
30204
  * Is the camera capturing sound right now? Read from the camera, never from
30186
30205
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -30178,8 +30178,27 @@ var PrivacyMaskRegionSchema = object({
30178
30178
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
30179
30179
  var PrivacyMaskStatusSchema = object({
30180
30180
  enabled: boolean(),
30181
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
30182
- regions: array(PrivacyMaskRegionSchema),
30181
+ /**
30182
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
30183
+ *
30184
+ * `null` means "no answer" — the provider has never reached this camera
30185
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
30186
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
30187
+ * has no zones": those two look identical to an operator right up to the
30188
+ * moment one of them is acted on, and acting on them differs completely.
30189
+ * The switch group turned an unanswered read into *"nothing is set up for
30190
+ * it to act on"* — an instruction to go and draw a zone that already
30191
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
30192
+ * from deleting the mask it could not read.
30193
+ *
30194
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
30195
+ * has no zones. The distinction is the same one {@link
30196
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
30197
+ * microphone, on the very same payload — both planes come from ONE refresh,
30198
+ * so it was never coherent for one of them to be able to say "unknown"
30199
+ * while the other could not.
30200
+ */
30201
+ regions: array(PrivacyMaskRegionSchema).nullable(),
30183
30202
  /**
30184
30203
  * Is the camera capturing sound right now? Read from the camera, never from
30185
30204
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",