@camstack/addon-mqtt-broker 1.2.96 → 1.2.97
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/mqtt-broker.addon.js +31 -2
- package/dist/mqtt-broker.addon.mjs +31 -2
- package/package.json +1 -1
|
@@ -20427,6 +20427,14 @@ var NativeCropResultSchema = object({
|
|
|
20427
20427
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20428
20428
|
*/
|
|
20429
20429
|
jpeg: string().optional(),
|
|
20430
|
+
/**
|
|
20431
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20432
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20433
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20434
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20435
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20436
|
+
*/
|
|
20437
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20430
20438
|
width: number().int().positive(),
|
|
20431
20439
|
height: number().int().positive(),
|
|
20432
20440
|
/**
|
|
@@ -20493,7 +20501,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20493
20501
|
})]);
|
|
20494
20502
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20495
20503
|
var ParkedTrackFrameSchema = object({
|
|
20496
|
-
|
|
20504
|
+
/**
|
|
20505
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20506
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20507
|
+
* Exactly one of the two is present.
|
|
20508
|
+
*/
|
|
20509
|
+
jpeg: string().optional(),
|
|
20510
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20511
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20497
20512
|
width: number().int().positive(),
|
|
20498
20513
|
height: number().int().positive(),
|
|
20499
20514
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21080,6 +21095,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21080
21095
|
bbox: NativeCropBboxSchema,
|
|
21081
21096
|
maxWidth: number().int().positive().optional(),
|
|
21082
21097
|
/**
|
|
21098
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21099
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21100
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21101
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21102
|
+
*/
|
|
21103
|
+
acceptJpegBytes: boolean().optional(),
|
|
21104
|
+
/**
|
|
21083
21105
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21084
21106
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21085
21107
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21147,7 +21169,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21147
21169
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21148
21170
|
deviceId: number(),
|
|
21149
21171
|
trackId: string(),
|
|
21150
|
-
kind: ParkedFrameKindSchema
|
|
21172
|
+
kind: ParkedFrameKindSchema,
|
|
21173
|
+
/**
|
|
21174
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21175
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21176
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21177
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21178
|
+
*/
|
|
21179
|
+
acceptJpegBytes: boolean().optional()
|
|
21151
21180
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21152
21181
|
deviceId: number(),
|
|
21153
21182
|
trackId: string()
|
|
@@ -20422,6 +20422,14 @@ var NativeCropResultSchema = object({
|
|
|
20422
20422
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20423
20423
|
*/
|
|
20424
20424
|
jpeg: string().optional(),
|
|
20425
|
+
/**
|
|
20426
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20427
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20428
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20429
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20430
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20431
|
+
*/
|
|
20432
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20425
20433
|
width: number().int().positive(),
|
|
20426
20434
|
height: number().int().positive(),
|
|
20427
20435
|
/**
|
|
@@ -20488,7 +20496,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20488
20496
|
})]);
|
|
20489
20497
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20490
20498
|
var ParkedTrackFrameSchema = object({
|
|
20491
|
-
|
|
20499
|
+
/**
|
|
20500
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20501
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20502
|
+
* Exactly one of the two is present.
|
|
20503
|
+
*/
|
|
20504
|
+
jpeg: string().optional(),
|
|
20505
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20506
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20492
20507
|
width: number().int().positive(),
|
|
20493
20508
|
height: number().int().positive(),
|
|
20494
20509
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21075,6 +21090,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21075
21090
|
bbox: NativeCropBboxSchema,
|
|
21076
21091
|
maxWidth: number().int().positive().optional(),
|
|
21077
21092
|
/**
|
|
21093
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21094
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21095
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21096
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21097
|
+
*/
|
|
21098
|
+
acceptJpegBytes: boolean().optional(),
|
|
21099
|
+
/**
|
|
21078
21100
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21079
21101
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21080
21102
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21142,7 +21164,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21142
21164
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21143
21165
|
deviceId: number(),
|
|
21144
21166
|
trackId: string(),
|
|
21145
|
-
kind: ParkedFrameKindSchema
|
|
21167
|
+
kind: ParkedFrameKindSchema,
|
|
21168
|
+
/**
|
|
21169
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21170
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21171
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21172
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21173
|
+
*/
|
|
21174
|
+
acceptJpegBytes: boolean().optional()
|
|
21146
21175
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21147
21176
|
deviceId: number(),
|
|
21148
21177
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.97",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|