@camstack/addon-provider-petkit 0.2.18 → 0.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/addon.js +36 -1
- package/dist/addon.mjs +36 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20521,7 +20521,31 @@ DeviceType.Camera, method(object({
|
|
|
20521
20521
|
lastCapturedAt: number().nullable(),
|
|
20522
20522
|
cacheAgeMs: number().nullable(),
|
|
20523
20523
|
etag: string().nullable()
|
|
20524
|
-
}))), systemMethod(object({
|
|
20524
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
20525
|
+
/** The battery slice as read, or null when the device has none. */
|
|
20526
|
+
battery: object({
|
|
20527
|
+
sleeping: boolean(),
|
|
20528
|
+
lastUpdated: number(),
|
|
20529
|
+
lastContactAt: number().optional()
|
|
20530
|
+
}).nullable(),
|
|
20531
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
20532
|
+
state: object({
|
|
20533
|
+
isBattery: boolean(),
|
|
20534
|
+
reason: _enum([
|
|
20535
|
+
"disabled",
|
|
20536
|
+
"sleeping",
|
|
20537
|
+
"unreachable",
|
|
20538
|
+
"waking"
|
|
20539
|
+
]).nullable()
|
|
20540
|
+
}),
|
|
20541
|
+
/** The cached frame behind the next paint. */
|
|
20542
|
+
frame: object({
|
|
20543
|
+
capturedAt: number().nullable(),
|
|
20544
|
+
ageMs: number().nullable()
|
|
20545
|
+
}),
|
|
20546
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
20547
|
+
waking: boolean()
|
|
20548
|
+
})), systemMethod(object({
|
|
20525
20549
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
20526
20550
|
* width) the caller will paint — the width is snapped to the server's
|
|
20527
20551
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -35117,6 +35141,12 @@ Object.freeze({
|
|
|
35117
35141
|
addonId: null,
|
|
35118
35142
|
access: "view"
|
|
35119
35143
|
},
|
|
35144
|
+
"snapshot.getDebugState": {
|
|
35145
|
+
capName: "snapshot",
|
|
35146
|
+
capScope: "device",
|
|
35147
|
+
addonId: null,
|
|
35148
|
+
access: "view"
|
|
35149
|
+
},
|
|
35120
35150
|
"snapshot.getSnapshot": {
|
|
35121
35151
|
capName: "snapshot",
|
|
35122
35152
|
capScope: "device",
|
|
@@ -37714,6 +37744,11 @@ Object.freeze({
|
|
|
37714
37744
|
form: "single",
|
|
37715
37745
|
optional: false
|
|
37716
37746
|
}],
|
|
37747
|
+
"snapshot.getDebugState": [{
|
|
37748
|
+
name: "deviceId",
|
|
37749
|
+
form: "single",
|
|
37750
|
+
optional: false
|
|
37751
|
+
}],
|
|
37717
37752
|
"snapshot.getSnapshot": [{
|
|
37718
37753
|
name: "deviceId",
|
|
37719
37754
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -20520,7 +20520,31 @@ DeviceType.Camera, method(object({
|
|
|
20520
20520
|
lastCapturedAt: number().nullable(),
|
|
20521
20521
|
cacheAgeMs: number().nullable(),
|
|
20522
20522
|
etag: string().nullable()
|
|
20523
|
-
}))), systemMethod(object({
|
|
20523
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
20524
|
+
/** The battery slice as read, or null when the device has none. */
|
|
20525
|
+
battery: object({
|
|
20526
|
+
sleeping: boolean(),
|
|
20527
|
+
lastUpdated: number(),
|
|
20528
|
+
lastContactAt: number().optional()
|
|
20529
|
+
}).nullable(),
|
|
20530
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
20531
|
+
state: object({
|
|
20532
|
+
isBattery: boolean(),
|
|
20533
|
+
reason: _enum([
|
|
20534
|
+
"disabled",
|
|
20535
|
+
"sleeping",
|
|
20536
|
+
"unreachable",
|
|
20537
|
+
"waking"
|
|
20538
|
+
]).nullable()
|
|
20539
|
+
}),
|
|
20540
|
+
/** The cached frame behind the next paint. */
|
|
20541
|
+
frame: object({
|
|
20542
|
+
capturedAt: number().nullable(),
|
|
20543
|
+
ageMs: number().nullable()
|
|
20544
|
+
}),
|
|
20545
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
20546
|
+
waking: boolean()
|
|
20547
|
+
})), systemMethod(object({
|
|
20524
20548
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
20525
20549
|
* width) the caller will paint — the width is snapped to the server's
|
|
20526
20550
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -35116,6 +35140,12 @@ Object.freeze({
|
|
|
35116
35140
|
addonId: null,
|
|
35117
35141
|
access: "view"
|
|
35118
35142
|
},
|
|
35143
|
+
"snapshot.getDebugState": {
|
|
35144
|
+
capName: "snapshot",
|
|
35145
|
+
capScope: "device",
|
|
35146
|
+
addonId: null,
|
|
35147
|
+
access: "view"
|
|
35148
|
+
},
|
|
35119
35149
|
"snapshot.getSnapshot": {
|
|
35120
35150
|
capName: "snapshot",
|
|
35121
35151
|
capScope: "device",
|
|
@@ -37713,6 +37743,11 @@ Object.freeze({
|
|
|
37713
37743
|
form: "single",
|
|
37714
37744
|
optional: false
|
|
37715
37745
|
}],
|
|
37746
|
+
"snapshot.getDebugState": [{
|
|
37747
|
+
name: "deviceId",
|
|
37748
|
+
form: "single",
|
|
37749
|
+
optional: false
|
|
37750
|
+
}],
|
|
37716
37751
|
"snapshot.getSnapshot": [{
|
|
37717
37752
|
name: "deviceId",
|
|
37718
37753
|
form: "single",
|
package/package.json
CHANGED