@camstack/addon-provider-dreo 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 +21 -2
- package/dist/addon.mjs +21 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -29255,8 +29255,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29255
29255
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29256
29256
|
var PrivacyMaskStatusSchema = object({
|
|
29257
29257
|
enabled: boolean(),
|
|
29258
|
-
/**
|
|
29259
|
-
|
|
29258
|
+
/**
|
|
29259
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29260
|
+
*
|
|
29261
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29262
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29263
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29264
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29265
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29266
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29267
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29268
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29269
|
+
* from deleting the mask it could not read.
|
|
29270
|
+
*
|
|
29271
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29272
|
+
* has no zones. The distinction is the same one {@link
|
|
29273
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29274
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29275
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29276
|
+
* while the other could not.
|
|
29277
|
+
*/
|
|
29278
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29260
29279
|
/**
|
|
29261
29280
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29262
29281
|
* a server-side mirror.
|
package/dist/addon.mjs
CHANGED
|
@@ -29256,8 +29256,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29256
29256
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29257
29257
|
var PrivacyMaskStatusSchema = object({
|
|
29258
29258
|
enabled: boolean(),
|
|
29259
|
-
/**
|
|
29260
|
-
|
|
29259
|
+
/**
|
|
29260
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29261
|
+
*
|
|
29262
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29263
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29264
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29265
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29266
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29267
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29268
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29269
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29270
|
+
* from deleting the mask it could not read.
|
|
29271
|
+
*
|
|
29272
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29273
|
+
* has no zones. The distinction is the same one {@link
|
|
29274
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29275
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29276
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29277
|
+
* while the other could not.
|
|
29278
|
+
*/
|
|
29279
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29261
29280
|
/**
|
|
29262
29281
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29263
29282
|
* a server-side mirror.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|