@camstack/addon-decoder-nodeav 1.2.17 → 1.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/index.js CHANGED
@@ -19190,7 +19190,31 @@ DeviceType.Camera, method(object({
19190
19190
  lastCapturedAt: number().nullable(),
19191
19191
  cacheAgeMs: number().nullable(),
19192
19192
  etag: string().nullable()
19193
- }))), systemMethod(object({
19193
+ }))), systemMethod(object({ deviceId: number() }), object({
19194
+ /** The battery slice as read, or null when the device has none. */
19195
+ battery: object({
19196
+ sleeping: boolean(),
19197
+ lastUpdated: number(),
19198
+ lastContactAt: number().optional()
19199
+ }).nullable(),
19200
+ /** The resolved snapshot state (what the overlay decision used). */
19201
+ state: object({
19202
+ isBattery: boolean(),
19203
+ reason: _enum([
19204
+ "disabled",
19205
+ "sleeping",
19206
+ "unreachable",
19207
+ "waking"
19208
+ ]).nullable()
19209
+ }),
19210
+ /** The cached frame behind the next paint. */
19211
+ frame: object({
19212
+ capturedAt: number().nullable(),
19213
+ ageMs: number().nullable()
19214
+ }),
19215
+ /** A wake window is currently open (the Waking overlay's source). */
19216
+ waking: boolean()
19217
+ })), systemMethod(object({
19194
19218
  /** The tiles a surface is actually rendering. One entry per (device,
19195
19219
  * width) the caller will paint — the width is snapped to the server's
19196
19220
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30405,6 +30429,12 @@ Object.freeze({
30405
30429
  addonId: null,
30406
30430
  access: "view"
30407
30431
  },
30432
+ "snapshot.getDebugState": {
30433
+ capName: "snapshot",
30434
+ capScope: "device",
30435
+ addonId: null,
30436
+ access: "view"
30437
+ },
30408
30438
  "snapshot.getSnapshot": {
30409
30439
  capName: "snapshot",
30410
30440
  capScope: "device",
@@ -33002,6 +33032,11 @@ Object.freeze({
33002
33032
  form: "single",
33003
33033
  optional: false
33004
33034
  }],
33035
+ "snapshot.getDebugState": [{
33036
+ name: "deviceId",
33037
+ form: "single",
33038
+ optional: false
33039
+ }],
33005
33040
  "snapshot.getSnapshot": [{
33006
33041
  name: "deviceId",
33007
33042
  form: "single",
package/dist/index.mjs CHANGED
@@ -19186,7 +19186,31 @@ DeviceType.Camera, method(object({
19186
19186
  lastCapturedAt: number().nullable(),
19187
19187
  cacheAgeMs: number().nullable(),
19188
19188
  etag: string().nullable()
19189
- }))), systemMethod(object({
19189
+ }))), systemMethod(object({ deviceId: number() }), object({
19190
+ /** The battery slice as read, or null when the device has none. */
19191
+ battery: object({
19192
+ sleeping: boolean(),
19193
+ lastUpdated: number(),
19194
+ lastContactAt: number().optional()
19195
+ }).nullable(),
19196
+ /** The resolved snapshot state (what the overlay decision used). */
19197
+ state: object({
19198
+ isBattery: boolean(),
19199
+ reason: _enum([
19200
+ "disabled",
19201
+ "sleeping",
19202
+ "unreachable",
19203
+ "waking"
19204
+ ]).nullable()
19205
+ }),
19206
+ /** The cached frame behind the next paint. */
19207
+ frame: object({
19208
+ capturedAt: number().nullable(),
19209
+ ageMs: number().nullable()
19210
+ }),
19211
+ /** A wake window is currently open (the Waking overlay's source). */
19212
+ waking: boolean()
19213
+ })), systemMethod(object({
19190
19214
  /** The tiles a surface is actually rendering. One entry per (device,
19191
19215
  * width) the caller will paint — the width is snapped to the server's
19192
19216
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30401,6 +30425,12 @@ Object.freeze({
30401
30425
  addonId: null,
30402
30426
  access: "view"
30403
30427
  },
30428
+ "snapshot.getDebugState": {
30429
+ capName: "snapshot",
30430
+ capScope: "device",
30431
+ addonId: null,
30432
+ access: "view"
30433
+ },
30404
30434
  "snapshot.getSnapshot": {
30405
30435
  capName: "snapshot",
30406
30436
  capScope: "device",
@@ -32998,6 +33028,11 @@ Object.freeze({
32998
33028
  form: "single",
32999
33029
  optional: false
33000
33030
  }],
33031
+ "snapshot.getDebugState": [{
33032
+ name: "deviceId",
33033
+ form: "single",
33034
+ optional: false
33035
+ }],
33001
33036
  "snapshot.getSnapshot": [{
33002
33037
  name: "deviceId",
33003
33038
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",