@mega-yfue/eufy-sdk 0.4.0-beta.20 → 0.4.0-beta.22

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.
@@ -71,11 +71,16 @@ export type LiveTrace =
71
71
  * an address to ask. A connect that had one channel failed for that channel's reason alone, and a connect
72
72
  * that had neither could not have succeeded — outcomes a station that is switched off is otherwise
73
73
  * indistinguishable from, because nothing else in a failed connect states what was even attempted.
74
+ *
75
+ * `cloudMissing` names the input the cloud channel lacked, present exactly when `cloud` is false: `dsk-key`
76
+ * where no key was held for the station, `cloud-addresses` where its record named no address to ask. The key
77
+ * is named where both are absent.
74
78
  */
75
79
  | {
76
80
  phase: "lookup-channels";
77
81
  local: boolean;
78
82
  cloud: boolean;
83
+ cloudMissing?: "dsk-key" | "cloud-addresses";
79
84
  }
80
85
  /**
81
86
  * Work on a station is holding for its session to connect, with the milliseconds it will wait.
@@ -30,7 +30,7 @@ export interface RecordingTransfer {
30
30
  /**
31
31
  * Request one recording and collect its frames until `CMD_DOWNLOAD_FINISH`. Only frames on
32
32
  * {@link RECORDING_DATA_TYPE} tagged with the camera's channel belong to it, so a live stream open on the same
33
- * station is never mixed in.
33
+ * station is never mixed in. The finish frame is taken on the camera's channel or channel 0.
34
34
  *
35
35
  * `frames` rejects with {@link RecordingDownloadError}: `no-data` when nothing arrives within
36
36
  * {@link FIRST_FRAME_WAIT_MS}, and `incomplete` when the transfer ends without its finish frame, on a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.4.0-beta.20",
3
+ "version": "0.4.0-beta.22",
4
4
  "description": "One typed TypeScript client for the Anker eufy v6 cloud — capability-driven devices, realtime events over P2P/MQTT/push, and live media",
5
5
  "license": "Apache-2.0",
6
6
  "author": "mega-yfue",