@camstack/addon-provider-rademacher 0.2.95 → 0.2.96
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
|
@@ -21683,6 +21683,14 @@ var NativeCropResultSchema = object({
|
|
|
21683
21683
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
21684
21684
|
*/
|
|
21685
21685
|
jpeg: string().optional(),
|
|
21686
|
+
/**
|
|
21687
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
21688
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
21689
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
21690
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
21691
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
21692
|
+
*/
|
|
21693
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21686
21694
|
width: number().int().positive(),
|
|
21687
21695
|
height: number().int().positive(),
|
|
21688
21696
|
/**
|
|
@@ -21749,7 +21757,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
21749
21757
|
})]);
|
|
21750
21758
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21751
21759
|
var ParkedTrackFrameSchema = object({
|
|
21752
|
-
|
|
21760
|
+
/**
|
|
21761
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
21762
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
21763
|
+
* Exactly one of the two is present.
|
|
21764
|
+
*/
|
|
21765
|
+
jpeg: string().optional(),
|
|
21766
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
21767
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21753
21768
|
width: number().int().positive(),
|
|
21754
21769
|
height: number().int().positive(),
|
|
21755
21770
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -22336,6 +22351,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
22336
22351
|
bbox: NativeCropBboxSchema,
|
|
22337
22352
|
maxWidth: number().int().positive().optional(),
|
|
22338
22353
|
/**
|
|
22354
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22355
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22356
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22357
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22358
|
+
*/
|
|
22359
|
+
acceptJpegBytes: boolean().optional(),
|
|
22360
|
+
/**
|
|
22339
22361
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
22340
22362
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
22341
22363
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -22403,7 +22425,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
22403
22425
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
22404
22426
|
deviceId: number(),
|
|
22405
22427
|
trackId: string(),
|
|
22406
|
-
kind: ParkedFrameKindSchema
|
|
22428
|
+
kind: ParkedFrameKindSchema,
|
|
22429
|
+
/**
|
|
22430
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22431
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22432
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22433
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22434
|
+
*/
|
|
22435
|
+
acceptJpegBytes: boolean().optional()
|
|
22407
22436
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
22408
22437
|
deviceId: number(),
|
|
22409
22438
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -21682,6 +21682,14 @@ var NativeCropResultSchema = object({
|
|
|
21682
21682
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
21683
21683
|
*/
|
|
21684
21684
|
jpeg: string().optional(),
|
|
21685
|
+
/**
|
|
21686
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
21687
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
21688
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
21689
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
21690
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
21691
|
+
*/
|
|
21692
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21685
21693
|
width: number().int().positive(),
|
|
21686
21694
|
height: number().int().positive(),
|
|
21687
21695
|
/**
|
|
@@ -21748,7 +21756,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
21748
21756
|
})]);
|
|
21749
21757
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21750
21758
|
var ParkedTrackFrameSchema = object({
|
|
21751
|
-
|
|
21759
|
+
/**
|
|
21760
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
21761
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
21762
|
+
* Exactly one of the two is present.
|
|
21763
|
+
*/
|
|
21764
|
+
jpeg: string().optional(),
|
|
21765
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
21766
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21752
21767
|
width: number().int().positive(),
|
|
21753
21768
|
height: number().int().positive(),
|
|
21754
21769
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -22335,6 +22350,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
22335
22350
|
bbox: NativeCropBboxSchema,
|
|
22336
22351
|
maxWidth: number().int().positive().optional(),
|
|
22337
22352
|
/**
|
|
22353
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22354
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22355
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22356
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22357
|
+
*/
|
|
22358
|
+
acceptJpegBytes: boolean().optional(),
|
|
22359
|
+
/**
|
|
22338
22360
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
22339
22361
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
22340
22362
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -22402,7 +22424,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
22402
22424
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
22403
22425
|
deviceId: number(),
|
|
22404
22426
|
trackId: string(),
|
|
22405
|
-
kind: ParkedFrameKindSchema
|
|
22427
|
+
kind: ParkedFrameKindSchema,
|
|
22428
|
+
/**
|
|
22429
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22430
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22431
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22432
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22433
|
+
*/
|
|
22434
|
+
acceptJpegBytes: boolean().optional()
|
|
22406
22435
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
22407
22436
|
deviceId: number(),
|
|
22408
22437
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.96",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|