@camstack/addon-provider-gree 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
|
@@ -20701,6 +20701,14 @@ var NativeCropResultSchema = object({
|
|
|
20701
20701
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20702
20702
|
*/
|
|
20703
20703
|
jpeg: string().optional(),
|
|
20704
|
+
/**
|
|
20705
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20706
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20707
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20708
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20709
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20710
|
+
*/
|
|
20711
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20704
20712
|
width: number().int().positive(),
|
|
20705
20713
|
height: number().int().positive(),
|
|
20706
20714
|
/**
|
|
@@ -20767,7 +20775,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20767
20775
|
})]);
|
|
20768
20776
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20769
20777
|
var ParkedTrackFrameSchema = object({
|
|
20770
|
-
|
|
20778
|
+
/**
|
|
20779
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20780
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20781
|
+
* Exactly one of the two is present.
|
|
20782
|
+
*/
|
|
20783
|
+
jpeg: string().optional(),
|
|
20784
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20785
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20771
20786
|
width: number().int().positive(),
|
|
20772
20787
|
height: number().int().positive(),
|
|
20773
20788
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21354,6 +21369,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21354
21369
|
bbox: NativeCropBboxSchema,
|
|
21355
21370
|
maxWidth: number().int().positive().optional(),
|
|
21356
21371
|
/**
|
|
21372
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21373
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21374
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21375
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21376
|
+
*/
|
|
21377
|
+
acceptJpegBytes: boolean().optional(),
|
|
21378
|
+
/**
|
|
21357
21379
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21358
21380
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21359
21381
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21421,7 +21443,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21421
21443
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21422
21444
|
deviceId: number(),
|
|
21423
21445
|
trackId: string(),
|
|
21424
|
-
kind: ParkedFrameKindSchema
|
|
21446
|
+
kind: ParkedFrameKindSchema,
|
|
21447
|
+
/**
|
|
21448
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21449
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21450
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21451
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21452
|
+
*/
|
|
21453
|
+
acceptJpegBytes: boolean().optional()
|
|
21425
21454
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21426
21455
|
deviceId: number(),
|
|
21427
21456
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -20700,6 +20700,14 @@ var NativeCropResultSchema = object({
|
|
|
20700
20700
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20701
20701
|
*/
|
|
20702
20702
|
jpeg: string().optional(),
|
|
20703
|
+
/**
|
|
20704
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20705
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20706
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20707
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20708
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20709
|
+
*/
|
|
20710
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20703
20711
|
width: number().int().positive(),
|
|
20704
20712
|
height: number().int().positive(),
|
|
20705
20713
|
/**
|
|
@@ -20766,7 +20774,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20766
20774
|
})]);
|
|
20767
20775
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20768
20776
|
var ParkedTrackFrameSchema = object({
|
|
20769
|
-
|
|
20777
|
+
/**
|
|
20778
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20779
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20780
|
+
* Exactly one of the two is present.
|
|
20781
|
+
*/
|
|
20782
|
+
jpeg: string().optional(),
|
|
20783
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20784
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20770
20785
|
width: number().int().positive(),
|
|
20771
20786
|
height: number().int().positive(),
|
|
20772
20787
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21353,6 +21368,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21353
21368
|
bbox: NativeCropBboxSchema,
|
|
21354
21369
|
maxWidth: number().int().positive().optional(),
|
|
21355
21370
|
/**
|
|
21371
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21372
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21373
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21374
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21375
|
+
*/
|
|
21376
|
+
acceptJpegBytes: boolean().optional(),
|
|
21377
|
+
/**
|
|
21356
21378
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21357
21379
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21358
21380
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21420,7 +21442,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21420
21442
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21421
21443
|
deviceId: number(),
|
|
21422
21444
|
trackId: string(),
|
|
21423
|
-
kind: ParkedFrameKindSchema
|
|
21445
|
+
kind: ParkedFrameKindSchema,
|
|
21446
|
+
/**
|
|
21447
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21448
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21449
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21450
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21451
|
+
*/
|
|
21452
|
+
acceptJpegBytes: boolean().optional()
|
|
21424
21453
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21425
21454
|
deviceId: number(),
|
|
21426
21455
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.96",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|