@mega-yfue/eufy-sdk 0.5.0-beta.91 → 0.5.0-beta.93
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.
|
@@ -56,8 +56,8 @@ export declare const isNvrT8N00: (ctx: FamilyContext) => boolean;
|
|
|
56
56
|
export declare const isNvrMediaCamera: (ctx: FamilyContext) => boolean;
|
|
57
57
|
/** PoE S4 camera with independently streamed fixed and movable optical views. */
|
|
58
58
|
export declare const isNvrDualLensCamera: (ctx: FamilyContext) => boolean;
|
|
59
|
-
/** Video Doorbell C31 (T8223),
|
|
60
|
-
export declare const
|
|
59
|
+
/** Video Doorbell C31 (T8223) or C30 (T8224), streamed by the app over the portal `call` route. */
|
|
60
|
+
export declare const isCallDoorbell: (ctx: FamilyContext) => boolean;
|
|
61
61
|
/** Wired doorbell (DeviceType.DOORBELL). */
|
|
62
62
|
export declare const isWiredDoorbell: (ctx: FamilyContext) => boolean;
|
|
63
63
|
/**
|
|
@@ -281,8 +281,8 @@ export declare class P2PSession extends EventEmitter {
|
|
|
281
281
|
* `resolveCipherKey`), run the ECIES unwrap with the ECC key, and `setLevel2Key()`. A cipher with no
|
|
282
282
|
* ECC key uses its RSA key instead and holds the RSA-decrypted 16-byte key as the AES-128-ECB level-2
|
|
283
283
|
* key. One-shot; emits `level2Ready` only when the AES-256-GCM key is negotiated, traces
|
|
284
|
-
* `level2-set-payload-only` instead for the AES-128-ECB key, and emits `error`
|
|
285
|
-
* (non-fatal — level-1 traffic keeps working
|
|
284
|
+
* `level2-set-payload-only` instead for the AES-128-ECB key, and emits `error` when the ECC unwrap
|
|
285
|
+
* fails; an RSA unwrap failure is only traced (non-fatal either way — level-1 traffic keeps working).
|
|
286
286
|
*
|
|
287
287
|
* Every outcome settles the wait in {@link awaitLevel2Key}, because being one-shot is what makes a
|
|
288
288
|
* failure final for this connection generation: nothing will retry it there, so a later command must be
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mega-yfue/eufy-sdk",
|
|
3
|
-
"version": "0.5.0-beta.
|
|
3
|
+
"version": "0.5.0-beta.93",
|
|
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",
|