@camstack/addon-provider-ecowitt 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
@@ -19405,7 +19405,31 @@ DeviceType.Camera, method(object({
19405
19405
  lastCapturedAt: number().nullable(),
19406
19406
  cacheAgeMs: number().nullable(),
19407
19407
  etag: string().nullable()
19408
- }))), systemMethod(object({
19408
+ }))), systemMethod(object({ deviceId: number() }), object({
19409
+ /** The battery slice as read, or null when the device has none. */
19410
+ battery: object({
19411
+ sleeping: boolean(),
19412
+ lastUpdated: number(),
19413
+ lastContactAt: number().optional()
19414
+ }).nullable(),
19415
+ /** The resolved snapshot state (what the overlay decision used). */
19416
+ state: object({
19417
+ isBattery: boolean(),
19418
+ reason: _enum([
19419
+ "disabled",
19420
+ "sleeping",
19421
+ "unreachable",
19422
+ "waking"
19423
+ ]).nullable()
19424
+ }),
19425
+ /** The cached frame behind the next paint. */
19426
+ frame: object({
19427
+ capturedAt: number().nullable(),
19428
+ ageMs: number().nullable()
19429
+ }),
19430
+ /** A wake window is currently open (the Waking overlay's source). */
19431
+ waking: boolean()
19432
+ })), systemMethod(object({
19409
19433
  /** The tiles a surface is actually rendering. One entry per (device,
19410
19434
  * width) the caller will paint — the width is snapped to the server's
19411
19435
  * ladder and becomes part of the link's SIGNED identity. */
@@ -33993,6 +34017,12 @@ Object.freeze({
33993
34017
  addonId: null,
33994
34018
  access: "view"
33995
34019
  },
34020
+ "snapshot.getDebugState": {
34021
+ capName: "snapshot",
34022
+ capScope: "device",
34023
+ addonId: null,
34024
+ access: "view"
34025
+ },
33996
34026
  "snapshot.getSnapshot": {
33997
34027
  capName: "snapshot",
33998
34028
  capScope: "device",
@@ -36590,6 +36620,11 @@ Object.freeze({
36590
36620
  form: "single",
36591
36621
  optional: false
36592
36622
  }],
36623
+ "snapshot.getDebugState": [{
36624
+ name: "deviceId",
36625
+ form: "single",
36626
+ optional: false
36627
+ }],
36593
36628
  "snapshot.getSnapshot": [{
36594
36629
  name: "deviceId",
36595
36630
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19404,7 +19404,31 @@ DeviceType.Camera, method(object({
19404
19404
  lastCapturedAt: number().nullable(),
19405
19405
  cacheAgeMs: number().nullable(),
19406
19406
  etag: string().nullable()
19407
- }))), systemMethod(object({
19407
+ }))), systemMethod(object({ deviceId: number() }), object({
19408
+ /** The battery slice as read, or null when the device has none. */
19409
+ battery: object({
19410
+ sleeping: boolean(),
19411
+ lastUpdated: number(),
19412
+ lastContactAt: number().optional()
19413
+ }).nullable(),
19414
+ /** The resolved snapshot state (what the overlay decision used). */
19415
+ state: object({
19416
+ isBattery: boolean(),
19417
+ reason: _enum([
19418
+ "disabled",
19419
+ "sleeping",
19420
+ "unreachable",
19421
+ "waking"
19422
+ ]).nullable()
19423
+ }),
19424
+ /** The cached frame behind the next paint. */
19425
+ frame: object({
19426
+ capturedAt: number().nullable(),
19427
+ ageMs: number().nullable()
19428
+ }),
19429
+ /** A wake window is currently open (the Waking overlay's source). */
19430
+ waking: boolean()
19431
+ })), systemMethod(object({
19408
19432
  /** The tiles a surface is actually rendering. One entry per (device,
19409
19433
  * width) the caller will paint — the width is snapped to the server's
19410
19434
  * ladder and becomes part of the link's SIGNED identity. */
@@ -33992,6 +34016,12 @@ Object.freeze({
33992
34016
  addonId: null,
33993
34017
  access: "view"
33994
34018
  },
34019
+ "snapshot.getDebugState": {
34020
+ capName: "snapshot",
34021
+ capScope: "device",
34022
+ addonId: null,
34023
+ access: "view"
34024
+ },
33995
34025
  "snapshot.getSnapshot": {
33996
34026
  capName: "snapshot",
33997
34027
  capScope: "device",
@@ -36589,6 +36619,11 @@ Object.freeze({
36589
36619
  form: "single",
36590
36620
  optional: false
36591
36621
  }],
36622
+ "snapshot.getDebugState": [{
36623
+ name: "deviceId",
36624
+ form: "single",
36625
+ optional: false
36626
+ }],
36592
36627
  "snapshot.getSnapshot": [{
36593
36628
  name: "deviceId",
36594
36629
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-ecowitt",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Ecowitt weather-station device-provider addon for CamStack — wraps the @apocaliss92/nodewitt local-poll / push client",
5
5
  "keywords": [
6
6
  "camstack",