@camstack/addon-provider-dreame 0.2.97 → 0.2.98
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
|
@@ -73388,6 +73388,14 @@ var NativeCropResultSchema = object({
|
|
|
73388
73388
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
73389
73389
|
*/
|
|
73390
73390
|
jpeg: string().optional(),
|
|
73391
|
+
/**
|
|
73392
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
73393
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
73394
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
73395
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
73396
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
73397
|
+
*/
|
|
73398
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
73391
73399
|
width: number().int().positive(),
|
|
73392
73400
|
height: number().int().positive(),
|
|
73393
73401
|
/**
|
|
@@ -73454,7 +73462,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
73454
73462
|
})]);
|
|
73455
73463
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
73456
73464
|
var ParkedTrackFrameSchema = object({
|
|
73457
|
-
|
|
73465
|
+
/**
|
|
73466
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
73467
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
73468
|
+
* Exactly one of the two is present.
|
|
73469
|
+
*/
|
|
73470
|
+
jpeg: string().optional(),
|
|
73471
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
73472
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
73458
73473
|
width: number().int().positive(),
|
|
73459
73474
|
height: number().int().positive(),
|
|
73460
73475
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -74041,6 +74056,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
74041
74056
|
bbox: NativeCropBboxSchema,
|
|
74042
74057
|
maxWidth: number().int().positive().optional(),
|
|
74043
74058
|
/**
|
|
74059
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
74060
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
74061
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
74062
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
74063
|
+
*/
|
|
74064
|
+
acceptJpegBytes: boolean().optional(),
|
|
74065
|
+
/**
|
|
74044
74066
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
74045
74067
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
74046
74068
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -74108,7 +74130,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
74108
74130
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
74109
74131
|
deviceId: number(),
|
|
74110
74132
|
trackId: string(),
|
|
74111
|
-
kind: ParkedFrameKindSchema
|
|
74133
|
+
kind: ParkedFrameKindSchema,
|
|
74134
|
+
/**
|
|
74135
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
74136
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
74137
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
74138
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
74139
|
+
*/
|
|
74140
|
+
acceptJpegBytes: boolean().optional()
|
|
74112
74141
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
74113
74142
|
deviceId: number(),
|
|
74114
74143
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -73385,6 +73385,14 @@ var NativeCropResultSchema = object({
|
|
|
73385
73385
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
73386
73386
|
*/
|
|
73387
73387
|
jpeg: string().optional(),
|
|
73388
|
+
/**
|
|
73389
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
73390
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
73391
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
73392
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
73393
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
73394
|
+
*/
|
|
73395
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
73388
73396
|
width: number().int().positive(),
|
|
73389
73397
|
height: number().int().positive(),
|
|
73390
73398
|
/**
|
|
@@ -73451,7 +73459,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
73451
73459
|
})]);
|
|
73452
73460
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
73453
73461
|
var ParkedTrackFrameSchema = object({
|
|
73454
|
-
|
|
73462
|
+
/**
|
|
73463
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
73464
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
73465
|
+
* Exactly one of the two is present.
|
|
73466
|
+
*/
|
|
73467
|
+
jpeg: string().optional(),
|
|
73468
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
73469
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
73455
73470
|
width: number().int().positive(),
|
|
73456
73471
|
height: number().int().positive(),
|
|
73457
73472
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -74038,6 +74053,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
74038
74053
|
bbox: NativeCropBboxSchema,
|
|
74039
74054
|
maxWidth: number().int().positive().optional(),
|
|
74040
74055
|
/**
|
|
74056
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
74057
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
74058
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
74059
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
74060
|
+
*/
|
|
74061
|
+
acceptJpegBytes: boolean().optional(),
|
|
74062
|
+
/**
|
|
74041
74063
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
74042
74064
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
74043
74065
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -74105,7 +74127,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
74105
74127
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
74106
74128
|
deviceId: number(),
|
|
74107
74129
|
trackId: string(),
|
|
74108
|
-
kind: ParkedFrameKindSchema
|
|
74130
|
+
kind: ParkedFrameKindSchema,
|
|
74131
|
+
/**
|
|
74132
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
74133
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
74134
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
74135
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
74136
|
+
*/
|
|
74137
|
+
acceptJpegBytes: boolean().optional()
|
|
74109
74138
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
74110
74139
|
deviceId: number(),
|
|
74111
74140
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.98",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|