@exodus/bitcoin-api 2.21.2 → 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,24 @@
|
|
|
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
|
+
|
|
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)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* pass compatibility mode to getKeyIdentifier ([#3048](https://github.com/ExodusMovement/assets/issues/3048)) ([61066f9](https://github.com/ExodusMovement/assets/commit/61066f958cafb59ab3b9be9234e9c8360ea51841))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [2.21.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.21.1...@exodus/bitcoin-api@2.21.2) (2024-07-26)
|
|
7
25
|
|
|
8
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-api",
|
|
3
|
-
"version": "2.21.
|
|
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": "
|
|
69
|
+
"gitHead": "3bdc8042ea81698a2d654be9ed4fef1df1dd51c5"
|
|
70
70
|
}
|
|
@@ -463,12 +463,7 @@ export class BitcoinMonitorScanner {
|
|
|
463
463
|
})
|
|
464
464
|
})
|
|
465
465
|
|
|
466
|
-
|
|
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])
|
|
@@ -28,7 +28,7 @@ export const signTxFactory = ({
|
|
|
28
28
|
'hdkeys or privateKeysAddressMap or signer is required'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
|
-
const { addressPathsMap, accountIndex } = unsignedTx.txMeta
|
|
31
|
+
const { addressPathsMap, accountIndex, compatibilityMode } = unsignedTx.txMeta
|
|
32
32
|
|
|
33
33
|
const psbt = prepareForSigning({ unsignedTx })
|
|
34
34
|
|
|
@@ -46,7 +46,7 @@ export const signTxFactory = ({
|
|
|
46
46
|
!('accountIndex' in args) || args.accountIndex === accountIndex,
|
|
47
47
|
'`accountIndex` mismatch'
|
|
48
48
|
)
|
|
49
|
-
return getKeyIdentifier({ ...args, accountIndex })
|
|
49
|
+
return getKeyIdentifier({ compatibilityMode, ...args, accountIndex })
|
|
50
50
|
},
|
|
51
51
|
})
|
|
52
52
|
|