@mega-yfue/eufy-sdk 0.6.0-beta.1 → 0.6.0-beta.11
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/client/eufy-mega.d.ts +4 -1
- package/dist/index.js +1869 -1834
- package/dist/index.js.map +3 -3
- package/dist/model/capabilities/camera.d.ts +3 -1
- package/dist/model/device-family.d.ts +1 -1
- package/dist/model/device-types.d.ts +1 -0
- package/dist/transport/p2p/level2-settle.d.ts +9 -0
- package/dist/transport/p2p/p2p-session.d.ts +9 -0
- package/dist/transport/p2p/shared-live-source.d.ts +7 -2
- package/package.json +1 -1
|
@@ -458,7 +458,8 @@ export declare class EufyMega extends EventEmitter {
|
|
|
458
458
|
private rtcRouteFor;
|
|
459
459
|
/**
|
|
460
460
|
* The RTC media provider for a station on a media-track route, or a camera attached to a T9000 whose
|
|
461
|
-
* `device_channel` resolves back to it on the station; `undefined` otherwise
|
|
461
|
+
* `device_channel` resolves back to it on the station; `undefined` otherwise. A camera attached to a T8N00 gets the
|
|
462
|
+
* NVR's dedicated media call when {@link isNvrMediaCamera} admits it.
|
|
462
463
|
*/
|
|
463
464
|
private rtcMediaFor;
|
|
464
465
|
/**
|
|
@@ -534,6 +535,8 @@ export declare class EufyMega extends EventEmitter {
|
|
|
534
535
|
* first announces it and the others stay silent. Its timing says only when a caller happened to read; the
|
|
535
536
|
* value is the news. It applies what the device volunteered over realtime on top of the cloud half, which
|
|
536
537
|
* the registry keeps apart, so it can neither revert nor announce a revert of a report already landed.
|
|
538
|
+
* Nothing awaits that refresh, so its failure is reported like the other background paths' — a dead
|
|
539
|
+
* token as `sessionExpired`, anything else as `error` — and the read keeps its last-known value.
|
|
537
540
|
*
|
|
538
541
|
* The `Device` returned is held WEAKLY: it is what the inbound paths announce against, so a caller that
|
|
539
542
|
* wants property changes for a serial keeps its own reference. Dropping it stops the announcements, not
|