@camstack/addon-import-alexa 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
@@ -29454,8 +29454,27 @@ var PrivacyMaskRegionSchema = object({
29454
29454
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29455
29455
  var PrivacyMaskStatusSchema = object({
29456
29456
  enabled: boolean(),
29457
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29458
- regions: array(PrivacyMaskRegionSchema),
29457
+ /**
29458
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29459
+ *
29460
+ * `null` means "no answer" — the provider has never reached this camera
29461
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29462
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29463
+ * has no zones": those two look identical to an operator right up to the
29464
+ * moment one of them is acted on, and acting on them differs completely.
29465
+ * The switch group turned an unanswered read into *"nothing is set up for
29466
+ * it to act on"* — an instruction to go and draw a zone that already
29467
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29468
+ * from deleting the mask it could not read.
29469
+ *
29470
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29471
+ * has no zones. The distinction is the same one {@link
29472
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29473
+ * microphone, on the very same payload — both planes come from ONE refresh,
29474
+ * so it was never coherent for one of them to be able to say "unknown"
29475
+ * while the other could not.
29476
+ */
29477
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29459
29478
  /**
29460
29479
  * Is the camera capturing sound right now? Read from the camera, never from
29461
29480
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -29454,8 +29454,27 @@ var PrivacyMaskRegionSchema = object({
29454
29454
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29455
29455
  var PrivacyMaskStatusSchema = object({
29456
29456
  enabled: boolean(),
29457
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29458
- regions: array(PrivacyMaskRegionSchema),
29457
+ /**
29458
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29459
+ *
29460
+ * `null` means "no answer" — the provider has never reached this camera
29461
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29462
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29463
+ * has no zones": those two look identical to an operator right up to the
29464
+ * moment one of them is acted on, and acting on them differs completely.
29465
+ * The switch group turned an unanswered read into *"nothing is set up for
29466
+ * it to act on"* — an instruction to go and draw a zone that already
29467
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29468
+ * from deleting the mask it could not read.
29469
+ *
29470
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29471
+ * has no zones. The distinction is the same one {@link
29472
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29473
+ * microphone, on the very same payload — both planes come from ONE refresh,
29474
+ * so it was never coherent for one of them to be able to say "unknown"
29475
+ * while the other could not.
29476
+ */
29477
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29459
29478
  /**
29460
29479
  * Is the camera capturing sound right now? Read from the camera, never from
29461
29480
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",