@camstack/addon-provider-dreame 0.2.82 → 0.2.83

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
@@ -82057,8 +82057,27 @@ var PrivacyMaskRegionSchema = object({
82057
82057
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
82058
82058
  var PrivacyMaskStatusSchema = object({
82059
82059
  enabled: boolean(),
82060
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
82061
- regions: array(PrivacyMaskRegionSchema),
82060
+ /**
82061
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
82062
+ *
82063
+ * `null` means "no answer" — the provider has never reached this camera
82064
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
82065
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
82066
+ * has no zones": those two look identical to an operator right up to the
82067
+ * moment one of them is acted on, and acting on them differs completely.
82068
+ * The switch group turned an unanswered read into *"nothing is set up for
82069
+ * it to act on"* — an instruction to go and draw a zone that already
82070
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
82071
+ * from deleting the mask it could not read.
82072
+ *
82073
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
82074
+ * has no zones. The distinction is the same one {@link
82075
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
82076
+ * microphone, on the very same payload — both planes come from ONE refresh,
82077
+ * so it was never coherent for one of them to be able to say "unknown"
82078
+ * while the other could not.
82079
+ */
82080
+ regions: array(PrivacyMaskRegionSchema).nullable(),
82062
82081
  /**
82063
82082
  * Is the camera capturing sound right now? Read from the camera, never from
82064
82083
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -82054,8 +82054,27 @@ var PrivacyMaskRegionSchema = object({
82054
82054
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
82055
82055
  var PrivacyMaskStatusSchema = object({
82056
82056
  enabled: boolean(),
82057
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
82058
- regions: array(PrivacyMaskRegionSchema),
82057
+ /**
82058
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
82059
+ *
82060
+ * `null` means "no answer" — the provider has never reached this camera
82061
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
82062
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
82063
+ * has no zones": those two look identical to an operator right up to the
82064
+ * moment one of them is acted on, and acting on them differs completely.
82065
+ * The switch group turned an unanswered read into *"nothing is set up for
82066
+ * it to act on"* — an instruction to go and draw a zone that already
82067
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
82068
+ * from deleting the mask it could not read.
82069
+ *
82070
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
82071
+ * has no zones. The distinction is the same one {@link
82072
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
82073
+ * microphone, on the very same payload — both planes come from ONE refresh,
82074
+ * so it was never coherent for one of them to be able to say "unknown"
82075
+ * while the other could not.
82076
+ */
82077
+ regions: array(PrivacyMaskRegionSchema).nullable(),
82059
82078
  /**
82060
82079
  * Is the camera capturing sound right now? Read from the camera, never from
82061
82080
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.82",
3
+ "version": "0.2.83",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",