@camstack/addon-mqtt-broker 1.2.82 → 1.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.
@@ -27194,8 +27194,27 @@ var PrivacyMaskRegionSchema = object({
27194
27194
  });
27195
27195
  object({
27196
27196
  enabled: boolean(),
27197
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27198
- regions: array(PrivacyMaskRegionSchema),
27197
+ /**
27198
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27199
+ *
27200
+ * `null` means "no answer" — the provider has never reached this camera
27201
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27202
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27203
+ * has no zones": those two look identical to an operator right up to the
27204
+ * moment one of them is acted on, and acting on them differs completely.
27205
+ * The switch group turned an unanswered read into *"nothing is set up for
27206
+ * it to act on"* — an instruction to go and draw a zone that already
27207
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27208
+ * from deleting the mask it could not read.
27209
+ *
27210
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27211
+ * has no zones. The distinction is the same one {@link
27212
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27213
+ * microphone, on the very same payload — both planes come from ONE refresh,
27214
+ * so it was never coherent for one of them to be able to say "unknown"
27215
+ * while the other could not.
27216
+ */
27217
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27199
27218
  /**
27200
27219
  * Is the camera capturing sound right now? Read from the camera, never from
27201
27220
  * a server-side mirror.
@@ -27189,8 +27189,27 @@ var PrivacyMaskRegionSchema = object({
27189
27189
  });
27190
27190
  object({
27191
27191
  enabled: boolean(),
27192
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27193
- regions: array(PrivacyMaskRegionSchema),
27192
+ /**
27193
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27194
+ *
27195
+ * `null` means "no answer" — the provider has never reached this camera
27196
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27197
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27198
+ * has no zones": those two look identical to an operator right up to the
27199
+ * moment one of them is acted on, and acting on them differs completely.
27200
+ * The switch group turned an unanswered read into *"nothing is set up for
27201
+ * it to act on"* — an instruction to go and draw a zone that already
27202
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27203
+ * from deleting the mask it could not read.
27204
+ *
27205
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27206
+ * has no zones. The distinction is the same one {@link
27207
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27208
+ * microphone, on the very same payload — both planes come from ONE refresh,
27209
+ * so it was never coherent for one of them to be able to say "unknown"
27210
+ * while the other could not.
27211
+ */
27212
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27194
27213
  /**
27195
27214
  * Is the camera capturing sound right now? Read from the camera, never from
27196
27215
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.2.82",
3
+ "version": "1.2.83",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",