@exodus/bitcoin-api 4.2.0 → 4.2.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
+ ## [4.2.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@4.2.0...@exodus/bitcoin-api@4.2.1) (2025-11-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: unbreak bitcoin send (#6838)
13
+
14
+
15
+
6
16
  ## [4.2.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@4.1.6...@exodus/bitcoin-api@4.2.0) (2025-11-03)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-api",
3
- "version": "4.2.0",
3
+ "version": "4.2.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",
@@ -60,5 +60,5 @@
60
60
  "type": "git",
61
61
  "url": "git+https://github.com/ExodusMovement/assets.git"
62
62
  },
63
- "gitHead": "14f8fec5af3540def38f0537859d49509c58d2e7"
63
+ "gitHead": "5fd21b2ea1793b7ad1550a6143bfdce28fdb0a96"
64
64
  }
@@ -286,12 +286,7 @@ async function createUnsignedTx({
286
286
  }
287
287
 
288
288
  const getTxHandler = (type) => {
289
- switch (type) {
290
- case 'transfer':
291
- return transferHandler
292
- default:
293
- throw new Error(`Unknown transaction type: ${type}`)
294
- }
289
+ return transferHandler
295
290
  }
296
291
 
297
292
  const transferHandler = {