@camstack/addon-provider-vesync 0.2.18 → 0.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.
package/dist/addon.js CHANGED
@@ -19402,7 +19402,31 @@ DeviceType.Camera, method(object({
19402
19402
  lastCapturedAt: number().nullable(),
19403
19403
  cacheAgeMs: number().nullable(),
19404
19404
  etag: string().nullable()
19405
- }))), systemMethod(object({
19405
+ }))), systemMethod(object({ deviceId: number() }), object({
19406
+ /** The battery slice as read, or null when the device has none. */
19407
+ battery: object({
19408
+ sleeping: boolean(),
19409
+ lastUpdated: number(),
19410
+ lastContactAt: number().optional()
19411
+ }).nullable(),
19412
+ /** The resolved snapshot state (what the overlay decision used). */
19413
+ state: object({
19414
+ isBattery: boolean(),
19415
+ reason: _enum([
19416
+ "disabled",
19417
+ "sleeping",
19418
+ "unreachable",
19419
+ "waking"
19420
+ ]).nullable()
19421
+ }),
19422
+ /** The cached frame behind the next paint. */
19423
+ frame: object({
19424
+ capturedAt: number().nullable(),
19425
+ ageMs: number().nullable()
19426
+ }),
19427
+ /** A wake window is currently open (the Waking overlay's source). */
19428
+ waking: boolean()
19429
+ })), systemMethod(object({
19406
19430
  /** The tiles a surface is actually rendering. One entry per (device,
19407
19431
  * width) the caller will paint — the width is snapped to the server's
19408
19432
  * ladder and becomes part of the link's SIGNED identity. */
@@ -33990,6 +34014,12 @@ Object.freeze({
33990
34014
  addonId: null,
33991
34015
  access: "view"
33992
34016
  },
34017
+ "snapshot.getDebugState": {
34018
+ capName: "snapshot",
34019
+ capScope: "device",
34020
+ addonId: null,
34021
+ access: "view"
34022
+ },
33993
34023
  "snapshot.getSnapshot": {
33994
34024
  capName: "snapshot",
33995
34025
  capScope: "device",
@@ -36587,6 +36617,11 @@ Object.freeze({
36587
36617
  form: "single",
36588
36618
  optional: false
36589
36619
  }],
36620
+ "snapshot.getDebugState": [{
36621
+ name: "deviceId",
36622
+ form: "single",
36623
+ optional: false
36624
+ }],
36590
36625
  "snapshot.getSnapshot": [{
36591
36626
  name: "deviceId",
36592
36627
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19401,7 +19401,31 @@ DeviceType.Camera, method(object({
19401
19401
  lastCapturedAt: number().nullable(),
19402
19402
  cacheAgeMs: number().nullable(),
19403
19403
  etag: string().nullable()
19404
- }))), systemMethod(object({
19404
+ }))), systemMethod(object({ deviceId: number() }), object({
19405
+ /** The battery slice as read, or null when the device has none. */
19406
+ battery: object({
19407
+ sleeping: boolean(),
19408
+ lastUpdated: number(),
19409
+ lastContactAt: number().optional()
19410
+ }).nullable(),
19411
+ /** The resolved snapshot state (what the overlay decision used). */
19412
+ state: object({
19413
+ isBattery: boolean(),
19414
+ reason: _enum([
19415
+ "disabled",
19416
+ "sleeping",
19417
+ "unreachable",
19418
+ "waking"
19419
+ ]).nullable()
19420
+ }),
19421
+ /** The cached frame behind the next paint. */
19422
+ frame: object({
19423
+ capturedAt: number().nullable(),
19424
+ ageMs: number().nullable()
19425
+ }),
19426
+ /** A wake window is currently open (the Waking overlay's source). */
19427
+ waking: boolean()
19428
+ })), systemMethod(object({
19405
19429
  /** The tiles a surface is actually rendering. One entry per (device,
19406
19430
  * width) the caller will paint — the width is snapped to the server's
19407
19431
  * ladder and becomes part of the link's SIGNED identity. */
@@ -33989,6 +34013,12 @@ Object.freeze({
33989
34013
  addonId: null,
33990
34014
  access: "view"
33991
34015
  },
34016
+ "snapshot.getDebugState": {
34017
+ capName: "snapshot",
34018
+ capScope: "device",
34019
+ addonId: null,
34020
+ access: "view"
34021
+ },
33992
34022
  "snapshot.getSnapshot": {
33993
34023
  capName: "snapshot",
33994
34024
  capScope: "device",
@@ -36586,6 +36616,11 @@ Object.freeze({
36586
36616
  form: "single",
36587
36617
  optional: false
36588
36618
  }],
36619
+ "snapshot.getDebugState": [{
36620
+ name: "deviceId",
36621
+ form: "single",
36622
+ optional: false
36623
+ }],
36589
36624
  "snapshot.getSnapshot": [{
36590
36625
  name: "deviceId",
36591
36626
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-vesync",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "VeSync cloud-account device-provider addon for CamStack — Levoit / Cosori air purifiers as Fan devices (power, speed, preset, child-lock, display, air-quality + filter-life sensors)",
5
5
  "keywords": [
6
6
  "camstack",