@camstack/addon-static-turn 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.
@@ -19044,7 +19044,31 @@ DeviceType.Camera, method(object({
19044
19044
  lastCapturedAt: number().nullable(),
19045
19045
  cacheAgeMs: number().nullable(),
19046
19046
  etag: string().nullable()
19047
- }))), systemMethod(object({
19047
+ }))), systemMethod(object({ deviceId: number() }), object({
19048
+ /** The battery slice as read, or null when the device has none. */
19049
+ battery: object({
19050
+ sleeping: boolean(),
19051
+ lastUpdated: number(),
19052
+ lastContactAt: number().optional()
19053
+ }).nullable(),
19054
+ /** The resolved snapshot state (what the overlay decision used). */
19055
+ state: object({
19056
+ isBattery: boolean(),
19057
+ reason: _enum([
19058
+ "disabled",
19059
+ "sleeping",
19060
+ "unreachable",
19061
+ "waking"
19062
+ ]).nullable()
19063
+ }),
19064
+ /** The cached frame behind the next paint. */
19065
+ frame: object({
19066
+ capturedAt: number().nullable(),
19067
+ ageMs: number().nullable()
19068
+ }),
19069
+ /** A wake window is currently open (the Waking overlay's source). */
19070
+ waking: boolean()
19071
+ })), systemMethod(object({
19048
19072
  /** The tiles a surface is actually rendering. One entry per (device,
19049
19073
  * width) the caller will paint — the width is snapped to the server's
19050
19074
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30282,6 +30306,12 @@ Object.freeze({
30282
30306
  addonId: null,
30283
30307
  access: "view"
30284
30308
  },
30309
+ "snapshot.getDebugState": {
30310
+ capName: "snapshot",
30311
+ capScope: "device",
30312
+ addonId: null,
30313
+ access: "view"
30314
+ },
30285
30315
  "snapshot.getSnapshot": {
30286
30316
  capName: "snapshot",
30287
30317
  capScope: "device",
@@ -32879,6 +32909,11 @@ Object.freeze({
32879
32909
  form: "single",
32880
32910
  optional: false
32881
32911
  }],
32912
+ "snapshot.getDebugState": [{
32913
+ name: "deviceId",
32914
+ form: "single",
32915
+ optional: false
32916
+ }],
32882
32917
  "snapshot.getSnapshot": [{
32883
32918
  name: "deviceId",
32884
32919
  form: "single",
@@ -19043,7 +19043,31 @@ DeviceType.Camera, method(object({
19043
19043
  lastCapturedAt: number().nullable(),
19044
19044
  cacheAgeMs: number().nullable(),
19045
19045
  etag: string().nullable()
19046
- }))), systemMethod(object({
19046
+ }))), systemMethod(object({ deviceId: number() }), object({
19047
+ /** The battery slice as read, or null when the device has none. */
19048
+ battery: object({
19049
+ sleeping: boolean(),
19050
+ lastUpdated: number(),
19051
+ lastContactAt: number().optional()
19052
+ }).nullable(),
19053
+ /** The resolved snapshot state (what the overlay decision used). */
19054
+ state: object({
19055
+ isBattery: boolean(),
19056
+ reason: _enum([
19057
+ "disabled",
19058
+ "sleeping",
19059
+ "unreachable",
19060
+ "waking"
19061
+ ]).nullable()
19062
+ }),
19063
+ /** The cached frame behind the next paint. */
19064
+ frame: object({
19065
+ capturedAt: number().nullable(),
19066
+ ageMs: number().nullable()
19067
+ }),
19068
+ /** A wake window is currently open (the Waking overlay's source). */
19069
+ waking: boolean()
19070
+ })), systemMethod(object({
19047
19071
  /** The tiles a surface is actually rendering. One entry per (device,
19048
19072
  * width) the caller will paint — the width is snapped to the server's
19049
19073
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30281,6 +30305,12 @@ Object.freeze({
30281
30305
  addonId: null,
30282
30306
  access: "view"
30283
30307
  },
30308
+ "snapshot.getDebugState": {
30309
+ capName: "snapshot",
30310
+ capScope: "device",
30311
+ addonId: null,
30312
+ access: "view"
30313
+ },
30284
30314
  "snapshot.getSnapshot": {
30285
30315
  capName: "snapshot",
30286
30316
  capScope: "device",
@@ -32878,6 +32908,11 @@ Object.freeze({
32878
32908
  form: "single",
32879
32909
  optional: false
32880
32910
  }],
32911
+ "snapshot.getDebugState": [{
32912
+ name: "deviceId",
32913
+ form: "single",
32914
+ optional: false
32915
+ }],
32881
32916
  "snapshot.getSnapshot": [{
32882
32917
  name: "deviceId",
32883
32918
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-static-turn",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "Static / self-hosted (coturn) TURN provider for CamStack",
5
5
  "keywords": [
6
6
  "camstack",