@mega-yfue/eufy-sdk 0.6.0-beta.45 → 0.6.0-beta.47

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.
@@ -101,18 +101,6 @@ export declare const LOCK_MEMBERS: {
101
101
  readonly provenance: "verified";
102
102
  readonly description: "Lock battery level 0-100 (verified: param 1101, alias 6001).";
103
103
  };
104
- /**
105
- * Link quality in dBm as the lock measures it, on the shared param 1141. On the `ff09` wire the
106
- * actuations are fire-and-forget, so a weak link is silent rather than an error.
107
- */
108
- readonly rssi: {
109
- readonly param: 1141;
110
- readonly type: "number";
111
- readonly unit: "dBm";
112
- readonly kind: "dbm";
113
- readonly provenance: "verified";
114
- readonly description: "Lock signal strength (verified: param 1141 = RSSI).";
115
- };
116
104
  /**
117
105
  * Lock the deadbolt/door. Resolves after sending, without confirming physical state — except on the
118
106
  * classic Wi-Fi lock, which answers: there it rejects on a device refusal or no reply as well.
@@ -21,18 +21,6 @@ export declare const SMOKE_MEMBERS: {
21
21
  readonly provenance: "guessed";
22
22
  readonly description: "Smoke detected. UNVERIFIED: placeholder id pending capture verification.";
23
23
  };
24
- /**
25
- * Unix seconds at which the detector last checked in — param 1551, the same last-seen id the other
26
- * sensor capabilities read. A `timestamp` kind takes no `unit`: the number is an instant, not a
27
- * duration, and declaring `unit: "s"` beside it fails the value-kind spec.
28
- */
29
- readonly lastSeen: {
30
- readonly param: 1551;
31
- readonly type: "number";
32
- readonly kind: "timestamp";
33
- readonly provenance: "verified";
34
- readonly description: "Last-seen unix timestamp, seconds (verified: param 1551).";
35
- };
36
24
  };
37
25
  /** Bound smoke-detector reads — the object returned by `dev.smoke()`. Read-only. */
38
26
  export type SmokeActions = Surface<typeof SMOKE_MEMBERS>;
@@ -40,7 +40,7 @@ export type Codec = "station" | "camera" | "sensor" | "lock" | "keypad" | "vacuu
40
40
  * it maps to a {@link CapabilityModule} that owns its property schema. Extend this union as
41
41
  * new capabilities are modelled — adding one never requires a subclass.
42
42
  */
43
- export type Capability = "video" | "snapshot" | "motion" | "person_detection" | "battery" | "light" | "ptz" | "doorbell" | "contact" | "leak" | "smoke" | "co" | "siren" | "lock" | "keypad" | "arming" | "storage" | "rtsp" | "camera" | "audio" | "vacuum_clean" | "vacuum_dock" | "suction" | "locate" | "mower" | "smart_drop" | "smart_light" | "display" | "info";
43
+ export type Capability = "video" | "snapshot" | "motion" | "person_detection" | "battery" | "light" | "ptz" | "doorbell" | "contact" | "leak" | "smoke" | "co" | "siren" | "lock" | "keypad" | "link" | "arming" | "storage" | "rtsp" | "camera" | "audio" | "vacuum_clean" | "vacuum_dock" | "suction" | "locate" | "mower" | "smart_drop" | "smart_light" | "display" | "info";
44
44
  /** Value type of a property. */
45
45
  export type PropertyValueType = "bool" | "number" | "string" | "enum";
46
46
  /**
@@ -617,7 +617,7 @@ export declare class P2PCommandRouter {
617
617
  * Resolve a scalar `"set-param"` intent to a concrete P2P frame — the ONE place that maps a
618
618
  * capability's *what* (param + value + {@link ScalarForm}) to the *how* (encryption level + wire):
619
619
  * `"auto"` defers the level to {@link sendBySessionLevel} — the ONE decision point — while
620
- * `"int-string"` pins L1 and `"direct-binary"` pins L2.
620
+ * `"int-string"` and `"int-pair"` pin L1 and `"direct-binary"` pins L2.
621
621
  */
622
622
  private resolveScalarParam;
623
623
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.6.0-beta.45",
3
+ "version": "0.6.0-beta.47",
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",