@exodus/bitcoin-plugin 1.35.1 → 2.0.0
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 +12 -0
- package/package.json +3 -3
- package/src/create-asset.js +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.0.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.35.1...@exodus/bitcoin-plugin@2.0.0) (2025-07-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* remove deprecated asset.getSpendableBalance and asset.getAvailableBalance (#6013)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* refactor!: remove deprecated asset.getSpendableBalance and asset.getAvailableBalance (#6013)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [1.35.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.35.0...@exodus/bitcoin-plugin@1.35.1) (2025-07-04)
|
|
7
19
|
|
|
8
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Bitcoin plugin for Exodus SDK powered wallets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@exodus/asset-lib": "^5.0.0",
|
|
25
25
|
"@exodus/bip44-constants": "^195.0.0",
|
|
26
|
-
"@exodus/bitcoin-api": "^
|
|
26
|
+
"@exodus/bitcoin-api": "^3.0.0",
|
|
27
27
|
"@exodus/bitcoin-lib": "^2.4.2",
|
|
28
28
|
"@exodus/bitcoin-meta": "^2.0.1",
|
|
29
29
|
"@exodus/bitcoinjs": "^1.1.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"type": "git",
|
|
57
57
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "00006973d63f0ea79d60c2f2023805e5b412c321"
|
|
60
60
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -105,7 +105,7 @@ export const createBitcoinAssetFactory =
|
|
|
105
105
|
addressApi: address,
|
|
106
106
|
})
|
|
107
107
|
|
|
108
|
-
const { getFee,
|
|
108
|
+
const { getFee, canBumpTx } = new GetFeeResolver({
|
|
109
109
|
getFeeEstimator,
|
|
110
110
|
allowUnconfirmedRbfEnabledUtxos,
|
|
111
111
|
utxosDescendingOrder,
|
|
@@ -117,7 +117,7 @@ export const createBitcoinAssetFactory =
|
|
|
117
117
|
overrideDefaults: feeDataCustomValues,
|
|
118
118
|
})
|
|
119
119
|
|
|
120
|
-
const getBalances = getBalancesFactory({ feeData,
|
|
120
|
+
const getBalances = getBalancesFactory({ feeData, allowUnconfirmedRbfEnabledUtxos })
|
|
121
121
|
|
|
122
122
|
const baseGetPrepareSendTx = getPrepareSendTransaction({
|
|
123
123
|
getFeeEstimator,
|
|
@@ -292,8 +292,6 @@ export const createBitcoinAssetFactory =
|
|
|
292
292
|
useMultipleAddresses: multipleAddresses, // @deprecated use api.features.multipleAddresses instead
|
|
293
293
|
insightClient,
|
|
294
294
|
canBumpTx,
|
|
295
|
-
getAvailableBalance,
|
|
296
|
-
getSpendableBalance,
|
|
297
295
|
prepareSendTx: baseGetPrepareSendTx,
|
|
298
296
|
createBatchTx,
|
|
299
297
|
encodeMultisigContract,
|