@camstack/addon-decoder-nodeav 1.2.17 → 1.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/index.js +44 -2
- package/dist/index.mjs +44 -2
- package/package.json +1 -1
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. */
|
|
@@ -19229,7 +19253,14 @@ targets: array(object({
|
|
|
19229
19253
|
"sleeping",
|
|
19230
19254
|
"unreachable",
|
|
19231
19255
|
"waking"
|
|
19232
|
-
]).nullable()
|
|
19256
|
+
]).nullable(),
|
|
19257
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19258
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19259
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19260
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19261
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19262
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19263
|
+
battery: boolean()
|
|
19233
19264
|
})));
|
|
19234
19265
|
/**
|
|
19235
19266
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -30405,6 +30436,12 @@ Object.freeze({
|
|
|
30405
30436
|
addonId: null,
|
|
30406
30437
|
access: "view"
|
|
30407
30438
|
},
|
|
30439
|
+
"snapshot.getDebugState": {
|
|
30440
|
+
capName: "snapshot",
|
|
30441
|
+
capScope: "device",
|
|
30442
|
+
addonId: null,
|
|
30443
|
+
access: "view"
|
|
30444
|
+
},
|
|
30408
30445
|
"snapshot.getSnapshot": {
|
|
30409
30446
|
capName: "snapshot",
|
|
30410
30447
|
capScope: "device",
|
|
@@ -33002,6 +33039,11 @@ Object.freeze({
|
|
|
33002
33039
|
form: "single",
|
|
33003
33040
|
optional: false
|
|
33004
33041
|
}],
|
|
33042
|
+
"snapshot.getDebugState": [{
|
|
33043
|
+
name: "deviceId",
|
|
33044
|
+
form: "single",
|
|
33045
|
+
optional: false
|
|
33046
|
+
}],
|
|
33005
33047
|
"snapshot.getSnapshot": [{
|
|
33006
33048
|
name: "deviceId",
|
|
33007
33049
|
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. */
|
|
@@ -19225,7 +19249,14 @@ targets: array(object({
|
|
|
19225
19249
|
"sleeping",
|
|
19226
19250
|
"unreachable",
|
|
19227
19251
|
"waking"
|
|
19228
|
-
]).nullable()
|
|
19252
|
+
]).nullable(),
|
|
19253
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19254
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19255
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19256
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19257
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19258
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19259
|
+
battery: boolean()
|
|
19229
19260
|
})));
|
|
19230
19261
|
/**
|
|
19231
19262
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -30401,6 +30432,12 @@ Object.freeze({
|
|
|
30401
30432
|
addonId: null,
|
|
30402
30433
|
access: "view"
|
|
30403
30434
|
},
|
|
30435
|
+
"snapshot.getDebugState": {
|
|
30436
|
+
capName: "snapshot",
|
|
30437
|
+
capScope: "device",
|
|
30438
|
+
addonId: null,
|
|
30439
|
+
access: "view"
|
|
30440
|
+
},
|
|
30404
30441
|
"snapshot.getSnapshot": {
|
|
30405
30442
|
capName: "snapshot",
|
|
30406
30443
|
capScope: "device",
|
|
@@ -32998,6 +33035,11 @@ Object.freeze({
|
|
|
32998
33035
|
form: "single",
|
|
32999
33036
|
optional: false
|
|
33000
33037
|
}],
|
|
33038
|
+
"snapshot.getDebugState": [{
|
|
33039
|
+
name: "deviceId",
|
|
33040
|
+
form: "single",
|
|
33041
|
+
optional: false
|
|
33042
|
+
}],
|
|
33001
33043
|
"snapshot.getSnapshot": [{
|
|
33002
33044
|
name: "deviceId",
|
|
33003
33045
|
form: "single",
|