@dynamic-labs-wallet/btc-utils 1.1.57 → 1.1.59

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/index.cjs CHANGED
@@ -423,7 +423,7 @@ var OP_0_PUSH32 = [
423
423
  scriptPubKey
424
424
  ];
425
425
  var values = [
426
- 0
426
+ BigInt(0)
427
427
  ];
428
428
  hashToSign = Buffer.from(txToSign.hashForWitnessV1(0, prevOutScripts, values, bitcoin__namespace.Transaction.SIGHASH_DEFAULT));
429
429
  } else {
package/index.esm.js CHANGED
@@ -403,7 +403,7 @@ var OP_0_PUSH32 = [
403
403
  scriptPubKey
404
404
  ];
405
405
  var values = [
406
- 0
406
+ BigInt(0)
407
407
  ];
408
408
  hashToSign = Buffer.from(txToSign.hashForWitnessV1(0, prevOutScripts, values, bitcoin.Transaction.SIGHASH_DEFAULT));
409
409
  } else {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/btc-utils",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "dependencies": {
8
- "@dynamic-labs-wallet/core": "1.1.57",
8
+ "@dynamic-labs-wallet/core": "1.1.59",
9
9
  "bitcoinjs-lib": "^7.0.0",
10
10
  "bip322-js": "4.0.0",
11
11
  "@noble/hashes": "1.7.1",
@@ -34,6 +34,7 @@
34
34
  }
35
35
  },
36
36
  "devDependencies": {
37
+ "@bitcoinerlab/secp256k1": "^1.2.0",
37
38
  "typescript": "^5.0.0",
38
39
  "@types/node": "^20.0.0"
39
40
  }