@camstack/addon-import-alexa 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
@@ -19645,7 +19645,31 @@ DeviceType.Camera, method(object({
19645
19645
  lastCapturedAt: number().nullable(),
19646
19646
  cacheAgeMs: number().nullable(),
19647
19647
  etag: string().nullable()
19648
- }))), systemMethod(object({
19648
+ }))), systemMethod(object({ deviceId: number() }), object({
19649
+ /** The battery slice as read, or null when the device has none. */
19650
+ battery: object({
19651
+ sleeping: boolean(),
19652
+ lastUpdated: number(),
19653
+ lastContactAt: number().optional()
19654
+ }).nullable(),
19655
+ /** The resolved snapshot state (what the overlay decision used). */
19656
+ state: object({
19657
+ isBattery: boolean(),
19658
+ reason: _enum([
19659
+ "disabled",
19660
+ "sleeping",
19661
+ "unreachable",
19662
+ "waking"
19663
+ ]).nullable()
19664
+ }),
19665
+ /** The cached frame behind the next paint. */
19666
+ frame: object({
19667
+ capturedAt: number().nullable(),
19668
+ ageMs: number().nullable()
19669
+ }),
19670
+ /** A wake window is currently open (the Waking overlay's source). */
19671
+ waking: boolean()
19672
+ })), systemMethod(object({
19649
19673
  /** The tiles a surface is actually rendering. One entry per (device,
19650
19674
  * width) the caller will paint — the width is snapped to the server's
19651
19675
  * ladder and becomes part of the link's SIGNED identity. */
@@ -34250,6 +34274,12 @@ Object.freeze({
34250
34274
  addonId: null,
34251
34275
  access: "view"
34252
34276
  },
34277
+ "snapshot.getDebugState": {
34278
+ capName: "snapshot",
34279
+ capScope: "device",
34280
+ addonId: null,
34281
+ access: "view"
34282
+ },
34253
34283
  "snapshot.getSnapshot": {
34254
34284
  capName: "snapshot",
34255
34285
  capScope: "device",
@@ -36847,6 +36877,11 @@ Object.freeze({
36847
36877
  form: "single",
36848
36878
  optional: false
36849
36879
  }],
36880
+ "snapshot.getDebugState": [{
36881
+ name: "deviceId",
36882
+ form: "single",
36883
+ optional: false
36884
+ }],
36850
36885
  "snapshot.getSnapshot": [{
36851
36886
  name: "deviceId",
36852
36887
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19645,7 +19645,31 @@ DeviceType.Camera, method(object({
19645
19645
  lastCapturedAt: number().nullable(),
19646
19646
  cacheAgeMs: number().nullable(),
19647
19647
  etag: string().nullable()
19648
- }))), systemMethod(object({
19648
+ }))), systemMethod(object({ deviceId: number() }), object({
19649
+ /** The battery slice as read, or null when the device has none. */
19650
+ battery: object({
19651
+ sleeping: boolean(),
19652
+ lastUpdated: number(),
19653
+ lastContactAt: number().optional()
19654
+ }).nullable(),
19655
+ /** The resolved snapshot state (what the overlay decision used). */
19656
+ state: object({
19657
+ isBattery: boolean(),
19658
+ reason: _enum([
19659
+ "disabled",
19660
+ "sleeping",
19661
+ "unreachable",
19662
+ "waking"
19663
+ ]).nullable()
19664
+ }),
19665
+ /** The cached frame behind the next paint. */
19666
+ frame: object({
19667
+ capturedAt: number().nullable(),
19668
+ ageMs: number().nullable()
19669
+ }),
19670
+ /** A wake window is currently open (the Waking overlay's source). */
19671
+ waking: boolean()
19672
+ })), systemMethod(object({
19649
19673
  /** The tiles a surface is actually rendering. One entry per (device,
19650
19674
  * width) the caller will paint — the width is snapped to the server's
19651
19675
  * ladder and becomes part of the link's SIGNED identity. */
@@ -34250,6 +34274,12 @@ Object.freeze({
34250
34274
  addonId: null,
34251
34275
  access: "view"
34252
34276
  },
34277
+ "snapshot.getDebugState": {
34278
+ capName: "snapshot",
34279
+ capScope: "device",
34280
+ addonId: null,
34281
+ access: "view"
34282
+ },
34253
34283
  "snapshot.getSnapshot": {
34254
34284
  capName: "snapshot",
34255
34285
  capScope: "device",
@@ -36847,6 +36877,11 @@ Object.freeze({
36847
36877
  form: "single",
36848
36878
  optional: false
36849
36879
  }],
36880
+ "snapshot.getDebugState": [{
36881
+ name: "deviceId",
36882
+ form: "single",
36883
+ optional: false
36884
+ }],
36850
36885
  "snapshot.getSnapshot": [{
36851
36886
  name: "deviceId",
36852
36887
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",