🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@likloadm/bip32

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likloadm/bip32 - npm Package Compare versions

Comparing version
2.1.3
to
2.1.4
+6
-1
lib/esm/index.js

@@ -22,3 +22,8 @@ import { hmac } from '@noble/hashes/hmac';

var privkey = new Uint8Array(dataHeap2.buffer, dataHeap2.byteOffset, 4000);
return [privkey, pubkey];
var priv = new Uint8Array(privkey);
var pub = new Uint8Array(pubkey);
dilithium._free(dataHeap1.byteOffset);
dilithium._free(dataHeap2.byteOffset);
dilithium._free(dataHeap3.byteOffset);
return [priv, pub];
}

@@ -25,0 +30,0 @@ secp.utils.hmacSha256Sync = (key, ...msgs) => hmac(sha256, key, secp.utils.concatBytes(...msgs));

@@ -25,3 +25,8 @@ "use strict";

var privkey = new Uint8Array(dataHeap2.buffer, dataHeap2.byteOffset, 4000);
return [privkey, pubkey];
var priv = new Uint8Array(privkey);
var pub = new Uint8Array(pubkey);
dilithium._free(dataHeap1.byteOffset);
dilithium._free(dataHeap2.byteOffset);
dilithium._free(dataHeap3.byteOffset);
return [priv, pub];
}

@@ -28,0 +33,0 @@ secp.utils.hmacSha256Sync = (key, ...msgs) => (0, hmac_1.hmac)(sha256_1.sha256, key, secp.utils.concatBytes(...msgs));

+1
-1
{
"name": "@likloadm/bip32",
"version": "2.1.3",
"version": "2.1.4",
"description": "Secure, audited & minimal implementation of BIP32 hierarchical deterministic (HD) wallets",

@@ -5,0 +5,0 @@ "files": [