@camstack/addon-provider-rademacher 0.2.17 → 0.2.18

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
@@ -20387,7 +20387,31 @@ DeviceType.Camera, method(object({
20387
20387
  lastCapturedAt: number().nullable(),
20388
20388
  cacheAgeMs: number().nullable(),
20389
20389
  etag: string().nullable()
20390
- }))), systemMethod(object({
20390
+ }))), systemMethod(object({ deviceId: number() }), object({
20391
+ /** The battery slice as read, or null when the device has none. */
20392
+ battery: object({
20393
+ sleeping: boolean(),
20394
+ lastUpdated: number(),
20395
+ lastContactAt: number().optional()
20396
+ }).nullable(),
20397
+ /** The resolved snapshot state (what the overlay decision used). */
20398
+ state: object({
20399
+ isBattery: boolean(),
20400
+ reason: _enum([
20401
+ "disabled",
20402
+ "sleeping",
20403
+ "unreachable",
20404
+ "waking"
20405
+ ]).nullable()
20406
+ }),
20407
+ /** The cached frame behind the next paint. */
20408
+ frame: object({
20409
+ capturedAt: number().nullable(),
20410
+ ageMs: number().nullable()
20411
+ }),
20412
+ /** A wake window is currently open (the Waking overlay's source). */
20413
+ waking: boolean()
20414
+ })), systemMethod(object({
20391
20415
  /** The tiles a surface is actually rendering. One entry per (device,
20392
20416
  * width) the caller will paint — the width is snapped to the server's
20393
20417
  * ladder and becomes part of the link's SIGNED identity. */
@@ -34975,6 +34999,12 @@ Object.freeze({
34975
34999
  addonId: null,
34976
35000
  access: "view"
34977
35001
  },
35002
+ "snapshot.getDebugState": {
35003
+ capName: "snapshot",
35004
+ capScope: "device",
35005
+ addonId: null,
35006
+ access: "view"
35007
+ },
34978
35008
  "snapshot.getSnapshot": {
34979
35009
  capName: "snapshot",
34980
35010
  capScope: "device",
@@ -37572,6 +37602,11 @@ Object.freeze({
37572
37602
  form: "single",
37573
37603
  optional: false
37574
37604
  }],
37605
+ "snapshot.getDebugState": [{
37606
+ name: "deviceId",
37607
+ form: "single",
37608
+ optional: false
37609
+ }],
37575
37610
  "snapshot.getSnapshot": [{
37576
37611
  name: "deviceId",
37577
37612
  form: "single",
package/dist/addon.mjs CHANGED
@@ -20386,7 +20386,31 @@ DeviceType.Camera, method(object({
20386
20386
  lastCapturedAt: number().nullable(),
20387
20387
  cacheAgeMs: number().nullable(),
20388
20388
  etag: string().nullable()
20389
- }))), systemMethod(object({
20389
+ }))), systemMethod(object({ deviceId: number() }), object({
20390
+ /** The battery slice as read, or null when the device has none. */
20391
+ battery: object({
20392
+ sleeping: boolean(),
20393
+ lastUpdated: number(),
20394
+ lastContactAt: number().optional()
20395
+ }).nullable(),
20396
+ /** The resolved snapshot state (what the overlay decision used). */
20397
+ state: object({
20398
+ isBattery: boolean(),
20399
+ reason: _enum([
20400
+ "disabled",
20401
+ "sleeping",
20402
+ "unreachable",
20403
+ "waking"
20404
+ ]).nullable()
20405
+ }),
20406
+ /** The cached frame behind the next paint. */
20407
+ frame: object({
20408
+ capturedAt: number().nullable(),
20409
+ ageMs: number().nullable()
20410
+ }),
20411
+ /** A wake window is currently open (the Waking overlay's source). */
20412
+ waking: boolean()
20413
+ })), systemMethod(object({
20390
20414
  /** The tiles a surface is actually rendering. One entry per (device,
20391
20415
  * width) the caller will paint — the width is snapped to the server's
20392
20416
  * ladder and becomes part of the link's SIGNED identity. */
@@ -34974,6 +34998,12 @@ Object.freeze({
34974
34998
  addonId: null,
34975
34999
  access: "view"
34976
35000
  },
35001
+ "snapshot.getDebugState": {
35002
+ capName: "snapshot",
35003
+ capScope: "device",
35004
+ addonId: null,
35005
+ access: "view"
35006
+ },
34977
35007
  "snapshot.getSnapshot": {
34978
35008
  capName: "snapshot",
34979
35009
  capScope: "device",
@@ -37571,6 +37601,11 @@ Object.freeze({
37571
37601
  form: "single",
37572
37602
  optional: false
37573
37603
  }],
37604
+ "snapshot.getDebugState": [{
37605
+ name: "deviceId",
37606
+ form: "single",
37607
+ optional: false
37608
+ }],
37574
37609
  "snapshot.getSnapshot": [{
37575
37610
  name: "deviceId",
37576
37611
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",