@leather.io/crypto 1.6.43 → 1.6.45

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +1 -1
  2. package/package.json +4 -4
package/dist/index.d.mts CHANGED
@@ -59,7 +59,7 @@ declare function decomposeDescriptor(descriptor: string): {
59
59
  };
60
60
 
61
61
  declare function generateMnemonic(): string;
62
- declare function deriveBip39SeedFromMnemonic(mnemonic: string, passphrase?: string): Promise<Uint8Array>;
62
+ declare function deriveBip39SeedFromMnemonic(mnemonic: string, passphrase?: string): Promise<Uint8Array<ArrayBufferLike>>;
63
63
  /** @deprecated Inaccurately named fn, use `deriveBip39SeedFromMnemonic` */
64
64
  declare const deriveBip39MnemonicFromSeed: typeof deriveBip39SeedFromMnemonic;
65
65
  declare function deriveRootBip32Keychain(seed: Uint8Array): HDKey;
package/package.json CHANGED
@@ -2,16 +2,16 @@
2
2
  "name": "@leather.io/crypto",
3
3
  "author": "leather.io",
4
4
  "description": "Generic crypto utils package for Leather",
5
- "version": "1.6.43",
5
+ "version": "1.6.45",
6
6
  "license": "MIT",
7
7
  "exports": {
8
8
  ".": "./dist/index.mjs"
9
9
  },
10
10
  "dependencies": {
11
- "@scure/bip32": "1.5.0",
12
- "@scure/bip39": "1.4.0",
11
+ "@scure/bip32": "1.6.2",
12
+ "@scure/bip39": "1.5.4",
13
13
  "just-memoize": "2.2.0",
14
- "@leather.io/utils": "0.27.3"
14
+ "@leather.io/utils": "0.27.4"
15
15
  },
16
16
  "devDependencies": {
17
17
  "tsup": "8.1.0",