@camstack/addon-provider-reolink 1.2.119 → 1.2.120
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
|
@@ -21342,6 +21342,14 @@ var NativeCropResultSchema = object({
|
|
|
21342
21342
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
21343
21343
|
*/
|
|
21344
21344
|
jpeg: string().optional(),
|
|
21345
|
+
/**
|
|
21346
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
21347
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
21348
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
21349
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
21350
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
21351
|
+
*/
|
|
21352
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21345
21353
|
width: number().int().positive(),
|
|
21346
21354
|
height: number().int().positive(),
|
|
21347
21355
|
/**
|
|
@@ -21408,7 +21416,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
21408
21416
|
})]);
|
|
21409
21417
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21410
21418
|
var ParkedTrackFrameSchema = object({
|
|
21411
|
-
|
|
21419
|
+
/**
|
|
21420
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
21421
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
21422
|
+
* Exactly one of the two is present.
|
|
21423
|
+
*/
|
|
21424
|
+
jpeg: string().optional(),
|
|
21425
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
21426
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21412
21427
|
width: number().int().positive(),
|
|
21413
21428
|
height: number().int().positive(),
|
|
21414
21429
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21995,6 +22010,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21995
22010
|
bbox: NativeCropBboxSchema,
|
|
21996
22011
|
maxWidth: number().int().positive().optional(),
|
|
21997
22012
|
/**
|
|
22013
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22014
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22015
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22016
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22017
|
+
*/
|
|
22018
|
+
acceptJpegBytes: boolean().optional(),
|
|
22019
|
+
/**
|
|
21998
22020
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21999
22021
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
22000
22022
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -22062,7 +22084,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
22062
22084
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
22063
22085
|
deviceId: number(),
|
|
22064
22086
|
trackId: string(),
|
|
22065
|
-
kind: ParkedFrameKindSchema
|
|
22087
|
+
kind: ParkedFrameKindSchema,
|
|
22088
|
+
/**
|
|
22089
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22090
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22091
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22092
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22093
|
+
*/
|
|
22094
|
+
acceptJpegBytes: boolean().optional()
|
|
22066
22095
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
22067
22096
|
deviceId: number(),
|
|
22068
22097
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -21337,6 +21337,14 @@ var NativeCropResultSchema = object({
|
|
|
21337
21337
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
21338
21338
|
*/
|
|
21339
21339
|
jpeg: string().optional(),
|
|
21340
|
+
/**
|
|
21341
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
21342
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
21343
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
21344
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
21345
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
21346
|
+
*/
|
|
21347
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21340
21348
|
width: number().int().positive(),
|
|
21341
21349
|
height: number().int().positive(),
|
|
21342
21350
|
/**
|
|
@@ -21403,7 +21411,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
21403
21411
|
})]);
|
|
21404
21412
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21405
21413
|
var ParkedTrackFrameSchema = object({
|
|
21406
|
-
|
|
21414
|
+
/**
|
|
21415
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
21416
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
21417
|
+
* Exactly one of the two is present.
|
|
21418
|
+
*/
|
|
21419
|
+
jpeg: string().optional(),
|
|
21420
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
21421
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21407
21422
|
width: number().int().positive(),
|
|
21408
21423
|
height: number().int().positive(),
|
|
21409
21424
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21990,6 +22005,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21990
22005
|
bbox: NativeCropBboxSchema,
|
|
21991
22006
|
maxWidth: number().int().positive().optional(),
|
|
21992
22007
|
/**
|
|
22008
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22009
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22010
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22011
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22012
|
+
*/
|
|
22013
|
+
acceptJpegBytes: boolean().optional(),
|
|
22014
|
+
/**
|
|
21993
22015
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21994
22016
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21995
22017
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -22057,7 +22079,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
22057
22079
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
22058
22080
|
deviceId: number(),
|
|
22059
22081
|
trackId: string(),
|
|
22060
|
-
kind: ParkedFrameKindSchema
|
|
22082
|
+
kind: ParkedFrameKindSchema,
|
|
22083
|
+
/**
|
|
22084
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
22085
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
22086
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
22087
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
22088
|
+
*/
|
|
22089
|
+
acceptJpegBytes: boolean().optional()
|
|
22061
22090
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
22062
22091
|
deviceId: number(),
|
|
22063
22092
|
trackId: string()
|