@camstack/addon-import-alexa 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
|
@@ -20941,6 +20941,14 @@ var NativeCropResultSchema = object({
|
|
|
20941
20941
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20942
20942
|
*/
|
|
20943
20943
|
jpeg: string().optional(),
|
|
20944
|
+
/**
|
|
20945
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20946
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20947
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20948
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20949
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20950
|
+
*/
|
|
20951
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20944
20952
|
width: number().int().positive(),
|
|
20945
20953
|
height: number().int().positive(),
|
|
20946
20954
|
/**
|
|
@@ -21007,7 +21015,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
21007
21015
|
})]);
|
|
21008
21016
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21009
21017
|
var ParkedTrackFrameSchema = object({
|
|
21010
|
-
|
|
21018
|
+
/**
|
|
21019
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
21020
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
21021
|
+
* Exactly one of the two is present.
|
|
21022
|
+
*/
|
|
21023
|
+
jpeg: string().optional(),
|
|
21024
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
21025
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21011
21026
|
width: number().int().positive(),
|
|
21012
21027
|
height: number().int().positive(),
|
|
21013
21028
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21594,6 +21609,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21594
21609
|
bbox: NativeCropBboxSchema,
|
|
21595
21610
|
maxWidth: number().int().positive().optional(),
|
|
21596
21611
|
/**
|
|
21612
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21613
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21614
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21615
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21616
|
+
*/
|
|
21617
|
+
acceptJpegBytes: boolean().optional(),
|
|
21618
|
+
/**
|
|
21597
21619
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21598
21620
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21599
21621
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21661,7 +21683,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21661
21683
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21662
21684
|
deviceId: number(),
|
|
21663
21685
|
trackId: string(),
|
|
21664
|
-
kind: ParkedFrameKindSchema
|
|
21686
|
+
kind: ParkedFrameKindSchema,
|
|
21687
|
+
/**
|
|
21688
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21689
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21690
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21691
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21692
|
+
*/
|
|
21693
|
+
acceptJpegBytes: boolean().optional()
|
|
21665
21694
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21666
21695
|
deviceId: number(),
|
|
21667
21696
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -20941,6 +20941,14 @@ var NativeCropResultSchema = object({
|
|
|
20941
20941
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20942
20942
|
*/
|
|
20943
20943
|
jpeg: string().optional(),
|
|
20944
|
+
/**
|
|
20945
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20946
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20947
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20948
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20949
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20950
|
+
*/
|
|
20951
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20944
20952
|
width: number().int().positive(),
|
|
20945
20953
|
height: number().int().positive(),
|
|
20946
20954
|
/**
|
|
@@ -21007,7 +21015,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
21007
21015
|
})]);
|
|
21008
21016
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21009
21017
|
var ParkedTrackFrameSchema = object({
|
|
21010
|
-
|
|
21018
|
+
/**
|
|
21019
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
21020
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
21021
|
+
* Exactly one of the two is present.
|
|
21022
|
+
*/
|
|
21023
|
+
jpeg: string().optional(),
|
|
21024
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
21025
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
21011
21026
|
width: number().int().positive(),
|
|
21012
21027
|
height: number().int().positive(),
|
|
21013
21028
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21594,6 +21609,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21594
21609
|
bbox: NativeCropBboxSchema,
|
|
21595
21610
|
maxWidth: number().int().positive().optional(),
|
|
21596
21611
|
/**
|
|
21612
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21613
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21614
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21615
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21616
|
+
*/
|
|
21617
|
+
acceptJpegBytes: boolean().optional(),
|
|
21618
|
+
/**
|
|
21597
21619
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21598
21620
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21599
21621
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21661,7 +21683,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21661
21683
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21662
21684
|
deviceId: number(),
|
|
21663
21685
|
trackId: string(),
|
|
21664
|
-
kind: ParkedFrameKindSchema
|
|
21686
|
+
kind: ParkedFrameKindSchema,
|
|
21687
|
+
/**
|
|
21688
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21689
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21690
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21691
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21692
|
+
*/
|
|
21693
|
+
acceptJpegBytes: boolean().optional()
|
|
21665
21694
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21666
21695
|
deviceId: number(),
|
|
21667
21696
|
trackId: string()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.96",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|