@camstack/addon-notifiers 1.2.100 → 1.2.101
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 +31 -2
- package/dist/addon.mjs +31 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20518,6 +20518,14 @@ var NativeCropResultSchema = object({
|
|
|
20518
20518
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20519
20519
|
*/
|
|
20520
20520
|
jpeg: string().optional(),
|
|
20521
|
+
/**
|
|
20522
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20523
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20524
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20525
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20526
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20527
|
+
*/
|
|
20528
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20521
20529
|
width: number().int().positive(),
|
|
20522
20530
|
height: number().int().positive(),
|
|
20523
20531
|
/**
|
|
@@ -20584,7 +20592,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20584
20592
|
})]);
|
|
20585
20593
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20586
20594
|
var ParkedTrackFrameSchema = object({
|
|
20587
|
-
|
|
20595
|
+
/**
|
|
20596
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20597
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20598
|
+
* Exactly one of the two is present.
|
|
20599
|
+
*/
|
|
20600
|
+
jpeg: string().optional(),
|
|
20601
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20602
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20588
20603
|
width: number().int().positive(),
|
|
20589
20604
|
height: number().int().positive(),
|
|
20590
20605
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21171,6 +21186,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21171
21186
|
bbox: NativeCropBboxSchema,
|
|
21172
21187
|
maxWidth: number().int().positive().optional(),
|
|
21173
21188
|
/**
|
|
21189
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21190
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21191
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21192
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21193
|
+
*/
|
|
21194
|
+
acceptJpegBytes: boolean().optional(),
|
|
21195
|
+
/**
|
|
21174
21196
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21175
21197
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21176
21198
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21238,7 +21260,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21238
21260
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21239
21261
|
deviceId: number(),
|
|
21240
21262
|
trackId: string(),
|
|
21241
|
-
kind: ParkedFrameKindSchema
|
|
21263
|
+
kind: ParkedFrameKindSchema,
|
|
21264
|
+
/**
|
|
21265
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21266
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21267
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21268
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21269
|
+
*/
|
|
21270
|
+
acceptJpegBytes: boolean().optional()
|
|
21242
21271
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21243
21272
|
deviceId: number(),
|
|
21244
21273
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -20491,6 +20491,14 @@ var NativeCropResultSchema = object({
|
|
|
20491
20491
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20492
20492
|
*/
|
|
20493
20493
|
jpeg: string().optional(),
|
|
20494
|
+
/**
|
|
20495
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20496
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20497
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20498
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20499
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20500
|
+
*/
|
|
20501
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20494
20502
|
width: number().int().positive(),
|
|
20495
20503
|
height: number().int().positive(),
|
|
20496
20504
|
/**
|
|
@@ -20557,7 +20565,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20557
20565
|
})]);
|
|
20558
20566
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20559
20567
|
var ParkedTrackFrameSchema = object({
|
|
20560
|
-
|
|
20568
|
+
/**
|
|
20569
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20570
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20571
|
+
* Exactly one of the two is present.
|
|
20572
|
+
*/
|
|
20573
|
+
jpeg: string().optional(),
|
|
20574
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20575
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20561
20576
|
width: number().int().positive(),
|
|
20562
20577
|
height: number().int().positive(),
|
|
20563
20578
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21144,6 +21159,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21144
21159
|
bbox: NativeCropBboxSchema,
|
|
21145
21160
|
maxWidth: number().int().positive().optional(),
|
|
21146
21161
|
/**
|
|
21162
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21163
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21164
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21165
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21166
|
+
*/
|
|
21167
|
+
acceptJpegBytes: boolean().optional(),
|
|
21168
|
+
/**
|
|
21147
21169
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21148
21170
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21149
21171
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21211,7 +21233,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21211
21233
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21212
21234
|
deviceId: number(),
|
|
21213
21235
|
trackId: string(),
|
|
21214
|
-
kind: ParkedFrameKindSchema
|
|
21236
|
+
kind: ParkedFrameKindSchema,
|
|
21237
|
+
/**
|
|
21238
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21239
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21240
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21241
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21242
|
+
*/
|
|
21243
|
+
acceptJpegBytes: boolean().optional()
|
|
21215
21244
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21216
21245
|
deviceId: number(),
|
|
21217
21246
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.101",
|
|
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",
|