hd-wallet-wasm 0.1.8 → 0.1.9

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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hd-wallet-wasm",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
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/index.mjs CHANGED
@@ -1117,7 +1117,7 @@ function createModule(wasm) {
1117
1117
  const seedPtr = allocAndCopy(wasm, seed);
1118
1118
  const pubPtr = wasm._hd_alloc(32);
1119
1119
  try {
1120
- const result = wasm._hd_ed25519_pubkey_from_seed(seedPtr, pubPtr);
1120
+ const result = wasm._hd_ed25519_pubkey_from_seed(seedPtr, pubPtr, 32);
1121
1121
  if (result < 0) throw new HDWalletError(result);
1122
1122
  return readBytes(wasm, pubPtr, 32);
1123
1123
  } finally {