@exodus/bitcoin-api 2.33.0 → 2.33.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.33.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.33.0...@exodus/bitcoin-api@2.33.1) (2025-07-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: fix zcash buffer signing audit findings (#5997)
13
+
14
+
15
+
6
16
  ## [2.33.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.32.0...@exodus/bitcoin-api@2.33.0) (2025-06-30)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-api",
3
- "version": "2.33.0",
3
+ "version": "2.33.1",
4
4
  "description": "Bitcoin transaction and fee monitors, RPC with the blockchain node, other networking code.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -56,5 +56,5 @@
56
56
  "type": "git",
57
57
  "url": "git+https://github.com/ExodusMovement/assets.git"
58
58
  },
59
- "gitHead": "b680523e8d9e053a441e4ce863c83ada389b7a73"
59
+ "gitHead": "e20e071e8602e9032cb37dd65dad27ba6859bf7e"
60
60
  }
@@ -80,7 +80,7 @@ function createPsbtFromTxData({
80
80
  const psbt = new Psbt({ maximumFeeRate, network: networkInfo })
81
81
 
82
82
  // If present, add blockHeight as a proprietary field
83
- if (blockHeight) {
83
+ if (blockHeight !== undefined) {
84
84
  writePsbtBlockHeight(psbt, blockHeight)
85
85
  }
86
86
 
@@ -50,7 +50,7 @@ export function toAsyncSigner({ privateKey, publicKey, isTaprootKeySpend }) {
50
50
  signEncoded: async ({ data, enc = 'sig' }) => {
51
51
  assert(
52
52
  ['der', 'sig'].includes(enc),
53
- 'signBuffer: invalid encoding type. Expected "der" or "sig".'
53
+ 'signEncoded: invalid encoding type. Expected "der" or "sig".'
54
54
  )
55
55
  return secp256k1.ecdsaSignHash({
56
56
  hash: data,