@mega-yfue/eufy-sdk 0.5.0-beta.95 → 0.6.0-beta.0
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.
|
@@ -34,9 +34,9 @@ export declare const MOWER_DP: {
|
|
|
34
34
|
readonly SPARSE_LAWN_OPTIMIZATION: 141;
|
|
35
35
|
};
|
|
36
36
|
/** The `net_media_type` (DP 134) range, as the schema lists it. */
|
|
37
|
-
declare const MOWER_NETWORKS: readonly ["None", "Wifi", "Cellular"];
|
|
37
|
+
export declare const MOWER_NETWORKS: readonly ["None", "Wifi", "Cellular"];
|
|
38
38
|
/** The mower's network link (DP 134). */
|
|
39
|
-
type MowerNetwork = (typeof MOWER_NETWORKS)[number];
|
|
39
|
+
export type MowerNetwork = (typeof MOWER_NETWORKS)[number];
|
|
40
40
|
/**
|
|
41
41
|
* Every `mower` read, declared once.
|
|
42
42
|
*
|
|
@@ -228,4 +228,3 @@ export declare const MOWER_MEMBERS: {
|
|
|
228
228
|
export type MowerActions = Surface<typeof MOWER_MEMBERS>;
|
|
229
229
|
/** `mower` — robot-mower state from its Tuya data points. */
|
|
230
230
|
export declare const MOWER: CapabilityModule;
|
|
231
|
-
export {};
|
|
@@ -116,7 +116,7 @@ export interface EciesUnwrapOptions {
|
|
|
116
116
|
*/
|
|
117
117
|
export declare function eciesUnwrap(envelope: Buffer, eccPrivateKeyHex: string, options?: EciesUnwrapOptions): Buffer | undefined;
|
|
118
118
|
/** The two random inputs of {@link eciesWrap}, injectable so a spec can pin an envelope's bytes. */
|
|
119
|
-
interface EciesWrapOptions {
|
|
119
|
+
export interface EciesWrapOptions {
|
|
120
120
|
/** The ephemeral P-256 private key for the exchange (32 bytes); generated fresh when absent. */
|
|
121
121
|
ephemeralPrivateKey?: Buffer;
|
|
122
122
|
/** The AES-128-CBC IV, which the envelope carries (16 bytes); random when absent. */
|
|
@@ -240,4 +240,3 @@ export declare function parseRelayTo(msg: Buffer): {
|
|
|
240
240
|
} | undefined;
|
|
241
241
|
/** Read a NUL-terminated UTF-8 string (CMD_NOTIFY_PAYLOAD carries JSON this way). */
|
|
242
242
|
export declare function readNullTerminatedString(data: Buffer, encoding?: BufferEncoding): string;
|
|
243
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mega-yfue/eufy-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-beta.0",
|
|
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",
|