@trustwallet/wallet-core 4.1.3 → 4.1.4

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.
Binary file
@@ -410,7 +410,10 @@ export class CryptoBoxPublicKey {
410
410
  delete(): void;
411
411
  }
412
412
  export class CryptoBoxSecretKey {
413
+ static isValid(data: Uint8Array | Buffer): boolean;
413
414
  static create(): CryptoBoxSecretKey;
415
+ static createWithData(data: Uint8Array | Buffer): CryptoBoxSecretKey;
416
+ data(): Uint8Array;
414
417
  getPublicKey(): CryptoBoxPublicKey;
415
418
  delete(): void;
416
419
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",