@exodus/bitcoin-api 2.21.3 → 2.21.4

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,15 @@
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.21.4](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.21.3...@exodus/bitcoin-api@2.21.4) (2024-08-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * always add inputs to txLog data ([#3071](https://github.com/ExodusMovement/assets/issues/3071)) ([68b5339](https://github.com/ExodusMovement/assets/commit/68b53397b78ed11a94babd821fc8fe2625558ef5))
12
+
13
+
14
+
6
15
  ## [2.21.3](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.21.2...@exodus/bitcoin-api@2.21.3) (2024-07-31)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-api",
3
- "version": "2.21.3",
3
+ "version": "2.21.4",
4
4
  "description": "Exodus bitcoin-api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -66,5 +66,5 @@
66
66
  "type": "git",
67
67
  "url": "git+https://github.com/ExodusMovement/assets.git"
68
68
  },
69
- "gitHead": "a9a07ce549e5e911d65a75e2d768a6ff5a1d854e"
69
+ "gitHead": "3bdc8042ea81698a2d654be9ed4fef1df1dd51c5"
70
70
  }
@@ -463,12 +463,7 @@ export class BitcoinMonitorScanner {
463
463
  })
464
464
  })
465
465
 
466
- // Add the inputs for unconfirmed spends in case they drop
467
- if (
468
- isSent &&
469
- txItem.confirmations < 1 &&
470
- ['bitcoin', 'bitcoinregtest', 'bitcointestnet'].includes(asset.name)
471
- ) {
466
+ if (isSent && ['bitcoin', 'bitcoinregtest', 'bitcointestnet'].includes(asset.name)) {
472
467
  txLogItem.data.inputs = UtxoCollection.fromArray(
473
468
  txItem.vin
474
469
  .filter((vin) => addrMap[vin.addr])