@mega-yfue/eufy-sdk 0.4.0-beta.13 → 0.4.0-beta.15
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.
|
@@ -22,6 +22,11 @@ export declare const ResponseMessageType: {
|
|
|
22
22
|
readonly LOOKUP_ADDR: Buffer<ArrayBuffer>;
|
|
23
23
|
readonly LOOKUP_ADDR2: Buffer<ArrayBuffer>;
|
|
24
24
|
readonly CAM_ID: Buffer<ArrayBuffer>;
|
|
25
|
+
/**
|
|
26
|
+
* The device's own address record, sent in answer to CHECK_CAM ahead of CAM_ID: its 20-byte device id, one
|
|
27
|
+
* record in `encodeSelfAddress`'s shape naming the address it answers from, then 8 zero bytes (44-byte payload).
|
|
28
|
+
*/
|
|
29
|
+
readonly CAM_ADDR: Buffer<ArrayBuffer>;
|
|
25
30
|
readonly TURN_SERVER_CAM_ID: Buffer<ArrayBuffer>;
|
|
26
31
|
readonly PING: Buffer<ArrayBuffer>;
|
|
27
32
|
readonly PONG: Buffer<ArrayBuffer>;
|
|
@@ -326,6 +326,9 @@ export declare class P2PSession extends EventEmitter {
|
|
|
326
326
|
* straddling a level-2 wait on a camera whose failure to deliver video had a separate cause, and did not
|
|
327
327
|
* recur across later probes of it. Correlate an unmodelled type against a WORKING session before reading it
|
|
328
328
|
* as a cause.
|
|
329
|
+
*
|
|
330
|
+
* CAM_ADDR is recognised and dropped: it names the address the device is already answering from, and the
|
|
331
|
+
* CAM_ID that follows it is what completes the connect.
|
|
329
332
|
*/
|
|
330
333
|
private onMessage;
|
|
331
334
|
private beginCheckCam;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mega-yfue/eufy-sdk",
|
|
3
|
-
"version": "0.4.0-beta.
|
|
3
|
+
"version": "0.4.0-beta.15",
|
|
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",
|