@camstack/addon-provider-dreame 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
@@ -69924,7 +69924,31 @@ DeviceType.Camera, method(object({
69924
69924
  lastCapturedAt: number().nullable(),
69925
69925
  cacheAgeMs: number().nullable(),
69926
69926
  etag: string().nullable()
69927
- }))), systemMethod(object({
69927
+ }))), systemMethod(object({ deviceId: number() }), object({
69928
+ /** The battery slice as read, or null when the device has none. */
69929
+ battery: object({
69930
+ sleeping: boolean(),
69931
+ lastUpdated: number(),
69932
+ lastContactAt: number().optional()
69933
+ }).nullable(),
69934
+ /** The resolved snapshot state (what the overlay decision used). */
69935
+ state: object({
69936
+ isBattery: boolean(),
69937
+ reason: _enum([
69938
+ "disabled",
69939
+ "sleeping",
69940
+ "unreachable",
69941
+ "waking"
69942
+ ]).nullable()
69943
+ }),
69944
+ /** The cached frame behind the next paint. */
69945
+ frame: object({
69946
+ capturedAt: number().nullable(),
69947
+ ageMs: number().nullable()
69948
+ }),
69949
+ /** A wake window is currently open (the Waking overlay's source). */
69950
+ waking: boolean()
69951
+ })), systemMethod(object({
69928
69952
  /** The tiles a surface is actually rendering. One entry per (device,
69929
69953
  * width) the caller will paint — the width is snapped to the server's
69930
69954
  * ladder and becomes part of the link's SIGNED identity. */
@@ -84537,6 +84561,12 @@ Object.freeze({
84537
84561
  addonId: null,
84538
84562
  access: "view"
84539
84563
  },
84564
+ "snapshot.getDebugState": {
84565
+ capName: "snapshot",
84566
+ capScope: "device",
84567
+ addonId: null,
84568
+ access: "view"
84569
+ },
84540
84570
  "snapshot.getSnapshot": {
84541
84571
  capName: "snapshot",
84542
84572
  capScope: "device",
@@ -87134,6 +87164,11 @@ Object.freeze({
87134
87164
  form: "single",
87135
87165
  optional: false
87136
87166
  }],
87167
+ "snapshot.getDebugState": [{
87168
+ name: "deviceId",
87169
+ form: "single",
87170
+ optional: false
87171
+ }],
87137
87172
  "snapshot.getSnapshot": [{
87138
87173
  name: "deviceId",
87139
87174
  form: "single",
package/dist/addon.mjs CHANGED
@@ -69924,7 +69924,31 @@ DeviceType.Camera, method(object({
69924
69924
  lastCapturedAt: number().nullable(),
69925
69925
  cacheAgeMs: number().nullable(),
69926
69926
  etag: string().nullable()
69927
- }))), systemMethod(object({
69927
+ }))), systemMethod(object({ deviceId: number() }), object({
69928
+ /** The battery slice as read, or null when the device has none. */
69929
+ battery: object({
69930
+ sleeping: boolean(),
69931
+ lastUpdated: number(),
69932
+ lastContactAt: number().optional()
69933
+ }).nullable(),
69934
+ /** The resolved snapshot state (what the overlay decision used). */
69935
+ state: object({
69936
+ isBattery: boolean(),
69937
+ reason: _enum([
69938
+ "disabled",
69939
+ "sleeping",
69940
+ "unreachable",
69941
+ "waking"
69942
+ ]).nullable()
69943
+ }),
69944
+ /** The cached frame behind the next paint. */
69945
+ frame: object({
69946
+ capturedAt: number().nullable(),
69947
+ ageMs: number().nullable()
69948
+ }),
69949
+ /** A wake window is currently open (the Waking overlay's source). */
69950
+ waking: boolean()
69951
+ })), systemMethod(object({
69928
69952
  /** The tiles a surface is actually rendering. One entry per (device,
69929
69953
  * width) the caller will paint — the width is snapped to the server's
69930
69954
  * ladder and becomes part of the link's SIGNED identity. */
@@ -84537,6 +84561,12 @@ Object.freeze({
84537
84561
  addonId: null,
84538
84562
  access: "view"
84539
84563
  },
84564
+ "snapshot.getDebugState": {
84565
+ capName: "snapshot",
84566
+ capScope: "device",
84567
+ addonId: null,
84568
+ access: "view"
84569
+ },
84540
84570
  "snapshot.getSnapshot": {
84541
84571
  capName: "snapshot",
84542
84572
  capScope: "device",
@@ -87134,6 +87164,11 @@ Object.freeze({
87134
87164
  form: "single",
87135
87165
  optional: false
87136
87166
  }],
87167
+ "snapshot.getDebugState": [{
87168
+ name: "deviceId",
87169
+ form: "single",
87170
+ optional: false
87171
+ }],
87137
87172
  "snapshot.getSnapshot": [{
87138
87173
  name: "deviceId",
87139
87174
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",