@camstack/addon-mqtt-broker 1.2.18 → 1.2.19

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.
@@ -19157,7 +19157,31 @@ DeviceType.Camera, method(object({
19157
19157
  lastCapturedAt: number().nullable(),
19158
19158
  cacheAgeMs: number().nullable(),
19159
19159
  etag: string().nullable()
19160
- }))), systemMethod(object({
19160
+ }))), systemMethod(object({ deviceId: number() }), object({
19161
+ /** The battery slice as read, or null when the device has none. */
19162
+ battery: object({
19163
+ sleeping: boolean(),
19164
+ lastUpdated: number(),
19165
+ lastContactAt: number().optional()
19166
+ }).nullable(),
19167
+ /** The resolved snapshot state (what the overlay decision used). */
19168
+ state: object({
19169
+ isBattery: boolean(),
19170
+ reason: _enum([
19171
+ "disabled",
19172
+ "sleeping",
19173
+ "unreachable",
19174
+ "waking"
19175
+ ]).nullable()
19176
+ }),
19177
+ /** The cached frame behind the next paint. */
19178
+ frame: object({
19179
+ capturedAt: number().nullable(),
19180
+ ageMs: number().nullable()
19181
+ }),
19182
+ /** A wake window is currently open (the Waking overlay's source). */
19183
+ waking: boolean()
19184
+ })), systemMethod(object({
19161
19185
  /** The tiles a surface is actually rendering. One entry per (device,
19162
19186
  * width) the caller will paint — the width is snapped to the server's
19163
19187
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30372,6 +30396,12 @@ Object.freeze({
30372
30396
  addonId: null,
30373
30397
  access: "view"
30374
30398
  },
30399
+ "snapshot.getDebugState": {
30400
+ capName: "snapshot",
30401
+ capScope: "device",
30402
+ addonId: null,
30403
+ access: "view"
30404
+ },
30375
30405
  "snapshot.getSnapshot": {
30376
30406
  capName: "snapshot",
30377
30407
  capScope: "device",
@@ -32969,6 +32999,11 @@ Object.freeze({
32969
32999
  form: "single",
32970
33000
  optional: false
32971
33001
  }],
33002
+ "snapshot.getDebugState": [{
33003
+ name: "deviceId",
33004
+ form: "single",
33005
+ optional: false
33006
+ }],
32972
33007
  "snapshot.getSnapshot": [{
32973
33008
  name: "deviceId",
32974
33009
  form: "single",
@@ -19152,7 +19152,31 @@ DeviceType.Camera, method(object({
19152
19152
  lastCapturedAt: number().nullable(),
19153
19153
  cacheAgeMs: number().nullable(),
19154
19154
  etag: string().nullable()
19155
- }))), systemMethod(object({
19155
+ }))), systemMethod(object({ deviceId: number() }), object({
19156
+ /** The battery slice as read, or null when the device has none. */
19157
+ battery: object({
19158
+ sleeping: boolean(),
19159
+ lastUpdated: number(),
19160
+ lastContactAt: number().optional()
19161
+ }).nullable(),
19162
+ /** The resolved snapshot state (what the overlay decision used). */
19163
+ state: object({
19164
+ isBattery: boolean(),
19165
+ reason: _enum([
19166
+ "disabled",
19167
+ "sleeping",
19168
+ "unreachable",
19169
+ "waking"
19170
+ ]).nullable()
19171
+ }),
19172
+ /** The cached frame behind the next paint. */
19173
+ frame: object({
19174
+ capturedAt: number().nullable(),
19175
+ ageMs: number().nullable()
19176
+ }),
19177
+ /** A wake window is currently open (the Waking overlay's source). */
19178
+ waking: boolean()
19179
+ })), systemMethod(object({
19156
19180
  /** The tiles a surface is actually rendering. One entry per (device,
19157
19181
  * width) the caller will paint — the width is snapped to the server's
19158
19182
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30367,6 +30391,12 @@ Object.freeze({
30367
30391
  addonId: null,
30368
30392
  access: "view"
30369
30393
  },
30394
+ "snapshot.getDebugState": {
30395
+ capName: "snapshot",
30396
+ capScope: "device",
30397
+ addonId: null,
30398
+ access: "view"
30399
+ },
30370
30400
  "snapshot.getSnapshot": {
30371
30401
  capName: "snapshot",
30372
30402
  capScope: "device",
@@ -32964,6 +32994,11 @@ Object.freeze({
32964
32994
  form: "single",
32965
32995
  optional: false
32966
32996
  }],
32997
+ "snapshot.getDebugState": [{
32998
+ name: "deviceId",
32999
+ form: "single",
33000
+ optional: false
33001
+ }],
32967
33002
  "snapshot.getSnapshot": [{
32968
33003
  name: "deviceId",
32969
33004
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
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",