@exodus/bitcoin-plugin 3.2.0 → 3.2.2
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 +18 -0
- package/package.json +2 -2
- package/src/create-asset.js +6 -1
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
|
+
## [3.2.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.2.1...@exodus/bitcoin-plugin@3.2.2) (2026-11-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **bitcoin-api:** require ancestor fee data before chaining ([#9453](https://github.com/ExodusMovement/assets/issues/9453)) ([cb00b1e](https://github.com/ExodusMovement/assets/commit/cb00b1e65e07b19817e795aac329afff696a7dca))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [3.2.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.2.0...@exodus/bitcoin-plugin@3.2.1) (2026-11-21)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **bitcoin-plugin:** respect rbfEnabled in api.canBumpTx ([#9405](https://github.com/ExodusMovement/assets/issues/9405)) ([95d2a65](https://github.com/ExodusMovement/assets/commit/95d2a658e0f03628c79b1a2d8a255974c0315a5b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.2.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.1.0...@exodus/bitcoin-plugin@3.2.0) (2026-11-21)
|
|
7
25
|
|
|
8
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Bitcoin plugin for Exodus SDK powered wallets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"type": "git",
|
|
54
54
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "de6c00cd6c874087f5998f1ea2970017dbe4c640"
|
|
57
57
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BumpType } from '@exodus/asset-lib'
|
|
1
2
|
import { ASSET_FAMILY } from '@exodus/assets'
|
|
2
3
|
import bip44Constants from '@exodus/bip44-constants/by-ticker.js'
|
|
3
4
|
import {
|
|
@@ -345,7 +346,11 @@ export const createBitcoinAssetFactory =
|
|
|
345
346
|
const api = {
|
|
346
347
|
addressHasHistory,
|
|
347
348
|
broadcastTx: (...args) => insightClient.broadcastTx(...args),
|
|
348
|
-
canBumpTx: ({ txLog, ...rest }) =>
|
|
349
|
+
canBumpTx: ({ txLog, feeData, ...rest }) => {
|
|
350
|
+
assert(feeData, 'feeData must be provided')
|
|
351
|
+
if (!feeData.rbfEnabled) return { bumpType: BumpType.NONE, errorMessage: 'rbf is disabled' }
|
|
352
|
+
return canBumpTx({ ...rest, feeData, txSet: txLog })
|
|
353
|
+
},
|
|
349
354
|
createAccountState: () => accountStateClass,
|
|
350
355
|
createFeeMonitor,
|
|
351
356
|
createHistoryMonitor,
|