@mega-yfue/eufy-sdk 0.4.0-beta.24 → 0.4.0-beta.26
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.
|
@@ -19,7 +19,7 @@ export { SirenVolume, type SirenVolumeValue, SirenAlarmDuration, type SirenAlarm
|
|
|
19
19
|
*/
|
|
20
20
|
export { unobservableMembers, unreflectedMembers } from "./members.js";
|
|
21
21
|
export { Watermark, type WatermarkValue, NightVision, type NightVisionValue, RecordingQuality, type RecordingQualityName, RECORDING_QUALITY_TIERS, StreamingQuality, type StreamingQualityName, STREAMING_QUALITY_TIERS, resolveStreamingQuality, resolveStreamingQualityTier, resolveRecordingQuality, resolveRecordingQualityValue, resolveRecordingQualityTier, } from "./camera.js";
|
|
22
|
-
export { WorkingMode, PowerSource, resolveWorkingMode, resolveWorkingModeValue, WORKING_MODE_MAPS, type WorkingModeName, type PowerSourceName, } from "./battery.js";
|
|
22
|
+
export { WorkingMode, PowerSource, resolveWorkingMode, resolveWorkingModeValue, cameraPowerTier, WORKING_MODE_MAPS, type WorkingModeName, type PowerSourceName, } from "./battery.js";
|
|
23
23
|
export { type DpCatalog, EMPTY_DP_CATALOG } from "./dp-catalog.js";
|
|
24
24
|
import type { PtzActions } from "./ptz.js";
|
|
25
25
|
import type { LightActions } from "./light.js";
|
|
@@ -490,9 +490,9 @@ export declare class P2PCommandRouter {
|
|
|
490
490
|
*
|
|
491
491
|
* Reached two ways, both idempotent: the session's own `close` event, when it died while still the
|
|
492
492
|
* station's registered session, and {@link SessionManagerOpts.onAutoClose}, when the manager closed it
|
|
493
|
-
* unasked. A close a CALLER made is deliberately not routed here — {@link closeAll}
|
|
494
|
-
* sources first,
|
|
495
|
-
* on the replacement session.
|
|
493
|
+
* unasked. A close a CALLER made is deliberately not routed here — {@link closeAll} and
|
|
494
|
+
* {@link resolveSession} dispose their own sources first, while {@link replaceUnreachableSession} keeps
|
|
495
|
+
* its source alive on purpose to rewarm it on the replacement session.
|
|
496
496
|
*/
|
|
497
497
|
private tearDownStation;
|
|
498
498
|
/**
|
|
@@ -650,9 +650,10 @@ export declare class P2PCommandRouter {
|
|
|
650
650
|
*
|
|
651
651
|
* A session whose {@link P2PSession.pathAnswering} is false is closed and re-resolved before it is handed
|
|
652
652
|
* over: the station answers every heartbeat, so a path silent past several of them is gone. A session
|
|
653
|
-
* reporting nothing about its path is not reporting that evidence and is handed over as it is.
|
|
654
|
-
*
|
|
655
|
-
*
|
|
653
|
+
* reporting nothing about its path is not reporting that evidence and is handed over as it is. Cached live
|
|
654
|
+
* sources on the replaced session are discarded before closing it (see {@link tearDownStation}).
|
|
655
|
+
* Replaced at most once per resolution, so a station whose replacement is silent too is returned rather
|
|
656
|
+
* than closed again.
|
|
656
657
|
*/
|
|
657
658
|
private resolveSession;
|
|
658
659
|
/**
|
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.26",
|
|
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",
|