hd-wallet-wasm 0.1.4 → 0.1.6

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.
package/dist/hd-wallet.js CHANGED
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -606,10 +606,12 @@ export interface UtilsAPI {
606
606
 
607
607
  /**
608
608
  * Initialize the HD Wallet WASM module
609
+ * @param wasmPath - Optional path to WASM file
609
610
  */
610
- export default function init(): Promise<HDWalletModule>;
611
+ export default function init(wasmPath?: string): Promise<HDWalletModule>;
611
612
 
612
613
  /**
613
614
  * Create HD Wallet instance (alternative syntax)
615
+ * @param wasmPath - Optional path to WASM file
614
616
  */
615
- export function createHDWallet(): Promise<HDWalletModule>;
617
+ export function createHDWallet(wasmPath?: string): Promise<HDWalletModule>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hd-wallet-wasm",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Comprehensive HD Wallet implementation in WebAssembly - BIP-32/39/44, multi-curve, multi-chain support",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
package/src/aligned.mjs CHANGED
@@ -50,7 +50,7 @@ import {
50
50
  // Enums
51
51
  Curve as AlignedCurve,
52
52
  Error as AlignedErrorCode,
53
- } from '../../generated/aligned/hd_wallet_aligned.mjs';
53
+ } from './generated/aligned/hd_wallet_aligned.mjs';
54
54
 
55
55
  // Re-export for external use
56
56
  export { AlignedCurve, AlignedErrorCode };
package/src/index.d.ts CHANGED
@@ -606,10 +606,12 @@ export interface UtilsAPI {
606
606
 
607
607
  /**
608
608
  * Initialize the HD Wallet WASM module
609
+ * @param wasmPath - Optional path to WASM file
609
610
  */
610
- export default function init(): Promise<HDWalletModule>;
611
+ export default function init(wasmPath?: string): Promise<HDWalletModule>;
611
612
 
612
613
  /**
613
614
  * Create HD Wallet instance (alternative syntax)
615
+ * @param wasmPath - Optional path to WASM file
614
616
  */
615
- export function createHDWallet(): Promise<HDWalletModule>;
617
+ export function createHDWallet(wasmPath?: string): Promise<HDWalletModule>;