@camstack/addon-notifiers 1.2.22 → 1.2.23

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
@@ -19248,7 +19248,31 @@ DeviceType.Camera, method(object({
19248
19248
  lastCapturedAt: number().nullable(),
19249
19249
  cacheAgeMs: number().nullable(),
19250
19250
  etag: string().nullable()
19251
- }))), systemMethod(object({
19251
+ }))), systemMethod(object({ deviceId: number() }), object({
19252
+ /** The battery slice as read, or null when the device has none. */
19253
+ battery: object({
19254
+ sleeping: boolean(),
19255
+ lastUpdated: number(),
19256
+ lastContactAt: number().optional()
19257
+ }).nullable(),
19258
+ /** The resolved snapshot state (what the overlay decision used). */
19259
+ state: object({
19260
+ isBattery: boolean(),
19261
+ reason: _enum([
19262
+ "disabled",
19263
+ "sleeping",
19264
+ "unreachable",
19265
+ "waking"
19266
+ ]).nullable()
19267
+ }),
19268
+ /** The cached frame behind the next paint. */
19269
+ frame: object({
19270
+ capturedAt: number().nullable(),
19271
+ ageMs: number().nullable()
19272
+ }),
19273
+ /** A wake window is currently open (the Waking overlay's source). */
19274
+ waking: boolean()
19275
+ })), systemMethod(object({
19252
19276
  /** The tiles a surface is actually rendering. One entry per (device,
19253
19277
  * width) the caller will paint — the width is snapped to the server's
19254
19278
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30463,6 +30487,12 @@ Object.freeze({
30463
30487
  addonId: null,
30464
30488
  access: "view"
30465
30489
  },
30490
+ "snapshot.getDebugState": {
30491
+ capName: "snapshot",
30492
+ capScope: "device",
30493
+ addonId: null,
30494
+ access: "view"
30495
+ },
30466
30496
  "snapshot.getSnapshot": {
30467
30497
  capName: "snapshot",
30468
30498
  capScope: "device",
@@ -33060,6 +33090,11 @@ Object.freeze({
33060
33090
  form: "single",
33061
33091
  optional: false
33062
33092
  }],
33093
+ "snapshot.getDebugState": [{
33094
+ name: "deviceId",
33095
+ form: "single",
33096
+ optional: false
33097
+ }],
33063
33098
  "snapshot.getSnapshot": [{
33064
33099
  name: "deviceId",
33065
33100
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19221,7 +19221,31 @@ DeviceType.Camera, method(object({
19221
19221
  lastCapturedAt: number().nullable(),
19222
19222
  cacheAgeMs: number().nullable(),
19223
19223
  etag: string().nullable()
19224
- }))), systemMethod(object({
19224
+ }))), systemMethod(object({ deviceId: number() }), object({
19225
+ /** The battery slice as read, or null when the device has none. */
19226
+ battery: object({
19227
+ sleeping: boolean(),
19228
+ lastUpdated: number(),
19229
+ lastContactAt: number().optional()
19230
+ }).nullable(),
19231
+ /** The resolved snapshot state (what the overlay decision used). */
19232
+ state: object({
19233
+ isBattery: boolean(),
19234
+ reason: _enum([
19235
+ "disabled",
19236
+ "sleeping",
19237
+ "unreachable",
19238
+ "waking"
19239
+ ]).nullable()
19240
+ }),
19241
+ /** The cached frame behind the next paint. */
19242
+ frame: object({
19243
+ capturedAt: number().nullable(),
19244
+ ageMs: number().nullable()
19245
+ }),
19246
+ /** A wake window is currently open (the Waking overlay's source). */
19247
+ waking: boolean()
19248
+ })), systemMethod(object({
19225
19249
  /** The tiles a surface is actually rendering. One entry per (device,
19226
19250
  * width) the caller will paint — the width is snapped to the server's
19227
19251
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30436,6 +30460,12 @@ Object.freeze({
30436
30460
  addonId: null,
30437
30461
  access: "view"
30438
30462
  },
30463
+ "snapshot.getDebugState": {
30464
+ capName: "snapshot",
30465
+ capScope: "device",
30466
+ addonId: null,
30467
+ access: "view"
30468
+ },
30439
30469
  "snapshot.getSnapshot": {
30440
30470
  capName: "snapshot",
30441
30471
  capScope: "device",
@@ -33033,6 +33063,11 @@ Object.freeze({
33033
33063
  form: "single",
33034
33064
  optional: false
33035
33065
  }],
33066
+ "snapshot.getDebugState": [{
33067
+ name: "deviceId",
33068
+ form: "single",
33069
+ optional: false
33070
+ }],
33036
33071
  "snapshot.getSnapshot": [{
33037
33072
  name: "deviceId",
33038
33073
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-notifiers",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",