@mega-yfue/eufy-sdk 0.3.0-beta.0 → 0.3.0-beta.10

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.
@@ -674,7 +674,8 @@ export declare class EufyMega extends EventEmitter {
674
674
  private warmWiredP2P;
675
675
  /**
676
676
  * A station's power tier for the P2P lifecycle: a HomeBase/station is `"wired"` (persistent); a
677
- * standalone device is `"battery"` iff its resolved capabilities include `battery`, else `"wired"`.
677
+ * standalone device is `"battery"` iff its resolved capabilities include `battery` and it is not a
678
+ * confirmed mains-only camera model, else `"wired"`.
678
679
  * Keyed on the STATION's own power, never a child's (a battery cam attached to a wired HomeBase draws
679
680
  * from the base's persistent session). Reads capabilities on the client side — no model type leaks to
680
681
  * transport (the router only ever sees the `"wired"|"battery"` string).
@@ -377,8 +377,9 @@ export type EufyMegaEventMap = {
377
377
  * on `error`.
378
378
  *
379
379
  * The error carries the rate: `err.retryAfterMs` is how long the next session replacement is barred
380
- * for, and `err.contended` says this session is being displaced by another client rather than expiring
381
- * — which a re-login does not answer. A login made before that wait elapses extends it.
380
+ * for, and `err.contended` says the token was rejected again soon after being replaced, which is how
381
+ * displacement by another client looks and which a re-login does not answer. A login made before that
382
+ * wait elapses extends it.
382
383
  */
383
384
  sessionExpired: [err: SessionExpiredError];
384
385
  error: [err: Error];