@camstack/addon-export-alexa 1.2.102 → 1.2.103
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.
|
@@ -20641,6 +20641,14 @@ var NativeCropResultSchema = object({
|
|
|
20641
20641
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20642
20642
|
*/
|
|
20643
20643
|
jpeg: string().optional(),
|
|
20644
|
+
/**
|
|
20645
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20646
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20647
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20648
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20649
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20650
|
+
*/
|
|
20651
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20644
20652
|
width: number().int().positive(),
|
|
20645
20653
|
height: number().int().positive(),
|
|
20646
20654
|
/**
|
|
@@ -20707,7 +20715,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20707
20715
|
})]);
|
|
20708
20716
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20709
20717
|
var ParkedTrackFrameSchema = object({
|
|
20710
|
-
|
|
20718
|
+
/**
|
|
20719
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20720
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20721
|
+
* Exactly one of the two is present.
|
|
20722
|
+
*/
|
|
20723
|
+
jpeg: string().optional(),
|
|
20724
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20725
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20711
20726
|
width: number().int().positive(),
|
|
20712
20727
|
height: number().int().positive(),
|
|
20713
20728
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21294,6 +21309,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21294
21309
|
bbox: NativeCropBboxSchema,
|
|
21295
21310
|
maxWidth: number().int().positive().optional(),
|
|
21296
21311
|
/**
|
|
21312
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21313
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21314
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21315
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21316
|
+
*/
|
|
21317
|
+
acceptJpegBytes: boolean().optional(),
|
|
21318
|
+
/**
|
|
21297
21319
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21298
21320
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21299
21321
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21361,7 +21383,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21361
21383
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21362
21384
|
deviceId: number(),
|
|
21363
21385
|
trackId: string(),
|
|
21364
|
-
kind: ParkedFrameKindSchema
|
|
21386
|
+
kind: ParkedFrameKindSchema,
|
|
21387
|
+
/**
|
|
21388
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21389
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21390
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21391
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21392
|
+
*/
|
|
21393
|
+
acceptJpegBytes: boolean().optional()
|
|
21365
21394
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21366
21395
|
deviceId: number(),
|
|
21367
21396
|
trackId: string()
|
|
@@ -20614,6 +20614,14 @@ var NativeCropResultSchema = object({
|
|
|
20614
20614
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20615
20615
|
*/
|
|
20616
20616
|
jpeg: string().optional(),
|
|
20617
|
+
/**
|
|
20618
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20619
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20620
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20621
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20622
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20623
|
+
*/
|
|
20624
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20617
20625
|
width: number().int().positive(),
|
|
20618
20626
|
height: number().int().positive(),
|
|
20619
20627
|
/**
|
|
@@ -20680,7 +20688,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20680
20688
|
})]);
|
|
20681
20689
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20682
20690
|
var ParkedTrackFrameSchema = object({
|
|
20683
|
-
|
|
20691
|
+
/**
|
|
20692
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20693
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20694
|
+
* Exactly one of the two is present.
|
|
20695
|
+
*/
|
|
20696
|
+
jpeg: string().optional(),
|
|
20697
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20698
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20684
20699
|
width: number().int().positive(),
|
|
20685
20700
|
height: number().int().positive(),
|
|
20686
20701
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21267,6 +21282,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21267
21282
|
bbox: NativeCropBboxSchema,
|
|
21268
21283
|
maxWidth: number().int().positive().optional(),
|
|
21269
21284
|
/**
|
|
21285
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21286
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21287
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21288
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21289
|
+
*/
|
|
21290
|
+
acceptJpegBytes: boolean().optional(),
|
|
21291
|
+
/**
|
|
21270
21292
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21271
21293
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21272
21294
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21334,7 +21356,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21334
21356
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21335
21357
|
deviceId: number(),
|
|
21336
21358
|
trackId: string(),
|
|
21337
|
-
kind: ParkedFrameKindSchema
|
|
21359
|
+
kind: ParkedFrameKindSchema,
|
|
21360
|
+
/**
|
|
21361
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21362
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21363
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21364
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21365
|
+
*/
|
|
21366
|
+
acceptJpegBytes: boolean().optional()
|
|
21338
21367
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21339
21368
|
deviceId: number(),
|
|
21340
21369
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.103",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|