@mega-yfue/eufy-sdk 0.5.0-beta.95 → 0.5.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.
@@ -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.5.0-beta.95",
3
+ "version": "0.5.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",