@mega-yfue/eufy-sdk 0.6.0-beta.26 → 0.6.0-beta.27

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.
@@ -144,6 +144,9 @@ export declare const BATTERY_MEMBERS: {
144
144
  * The headline percentage, and this capability's detection evidence: reporting 1101 is what proves a
145
145
  * device is battery-powered, which is also the fact `MediaProvider` reads to decide a stream needs a
146
146
  * power budget. Published flat as `battery` — `level` alone is claimed by `suction` too.
147
+ *
148
+ * Withheld on a device that resolved `lock`, whose own `battery` member reads the same param 1101 and
149
+ * owns the `battery` property there, so the two do not both claim it.
147
150
  */
148
151
  readonly level: {
149
152
  readonly param: 1101;
@@ -152,6 +155,7 @@ export declare const BATTERY_MEMBERS: {
152
155
  readonly unit: "%";
153
156
  readonly kind: "percent";
154
157
  readonly provenance: "verified";
158
+ readonly available: (ctx: AvailabilityContext) => boolean;
155
159
  readonly description: "Battery level 0-100 (verified: param 1101).";
156
160
  };
157
161
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.6.0-beta.26",
3
+ "version": "0.6.0-beta.27",
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",