@exodus/bitcoin-plugin 2.7.2 → 2.8.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 +20 -0
- package/package.json +6 -6
- package/src/create-asset.js +13 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.8.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.8.0...@exodus/bitcoin-plugin@2.8.1) (2026-02-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix(bitcoin-api): Replace changeAddress with internalOutputs (#7378)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [2.8.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.7.2...@exodus/bitcoin-plugin@2.8.0) (2025-12-23)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* feat: Expose utxo sendTx workflow to accept provided unsigned tx (#6890)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [2.7.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.7.1...@exodus/bitcoin-plugin@2.7.2) (2025-12-16)
|
|
7
27
|
|
|
8
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "Bitcoin plugin for Exodus SDK powered wallets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@exodus/asset-lib": "^5.0.0",
|
|
26
|
-
"@exodus/assets": "^11.
|
|
26
|
+
"@exodus/assets": "^11.6.0",
|
|
27
27
|
"@exodus/bip44-constants": "^195.0.0",
|
|
28
|
-
"@exodus/bitcoin-api": "^4.
|
|
28
|
+
"@exodus/bitcoin-api": "^4.9.4",
|
|
29
29
|
"@exodus/bitcoin-lib": "^2.4.2",
|
|
30
30
|
"@exodus/bitcoin-meta": "^2.0.1",
|
|
31
31
|
"@exodus/bitcoinjs": "^2.0.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@exodus/currency": "^6.0.1",
|
|
48
48
|
"@exodus/key-identifier": "^1.3.0",
|
|
49
49
|
"@exodus/key-utils": "^3.7.0",
|
|
50
|
-
"@exodus/keychain": "^
|
|
51
|
-
"@exodus/tx-signer": "^
|
|
50
|
+
"@exodus/keychain": "^9.0.0",
|
|
51
|
+
"@exodus/tx-signer": "^3.1.0",
|
|
52
52
|
"@scure/btc-signer": "^1.1.0",
|
|
53
53
|
"jest-when": "^3.5.1"
|
|
54
54
|
},
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"type": "git",
|
|
60
60
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "b4d4b4bf36591dca5c82bfacfbac80db41805e02"
|
|
63
63
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -2,13 +2,13 @@ import { ASSET_FAMILY } from '@exodus/assets'
|
|
|
2
2
|
import bip44Constants from '@exodus/bip44-constants/by-ticker.js'
|
|
3
3
|
import {
|
|
4
4
|
createAccountState,
|
|
5
|
-
createAndBroadcastTXFactory,
|
|
6
5
|
createBitcoinMonitor,
|
|
7
6
|
createBtcLikeAddress,
|
|
8
7
|
createBtcLikeKeys,
|
|
9
8
|
createEncodeMultisigContract,
|
|
10
9
|
createPrepareForSigning,
|
|
11
10
|
createPsbtToUnsignedTx,
|
|
11
|
+
createTxFactory,
|
|
12
12
|
getActivityTxs as getActivityTxsBase,
|
|
13
13
|
getAddressesFromPrivateKeyFactory,
|
|
14
14
|
getBalancesFactory,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
InsightAPIClient,
|
|
20
20
|
isValidInscription,
|
|
21
21
|
moveFundsFactory,
|
|
22
|
+
sendTxFactory,
|
|
22
23
|
sendValidations,
|
|
23
24
|
signHardwareFactory,
|
|
24
25
|
signMessage,
|
|
@@ -26,6 +27,7 @@ import {
|
|
|
26
27
|
signTxFactory,
|
|
27
28
|
} from '@exodus/bitcoin-api'
|
|
28
29
|
import { createGetKeyIdentifier } from '@exodus/bitcoin-lib'
|
|
30
|
+
import { Psbt, Transaction } from '@exodus/bitcoinjs'
|
|
29
31
|
import * as bitcoinjsLib from '@exodus/bitcoinjs'
|
|
30
32
|
import _coinInfo from 'coininfo'
|
|
31
33
|
import assert from 'minimalistic-assert'
|
|
@@ -129,14 +131,21 @@ export const createBitcoinAssetFactory =
|
|
|
129
131
|
|
|
130
132
|
const getBalances = getBalancesFactory({ feeData, allowUnconfirmedRbfEnabledUtxos })
|
|
131
133
|
|
|
132
|
-
const
|
|
134
|
+
const createTx = createTxFactory({
|
|
133
135
|
getFeeEstimator,
|
|
134
136
|
allowUnconfirmedRbfEnabledUtxos,
|
|
135
|
-
ordinalsEnabled,
|
|
136
137
|
utxosDescendingOrder,
|
|
137
138
|
assetClientInterface,
|
|
138
139
|
changeAddressType,
|
|
139
140
|
allowedPurposes,
|
|
141
|
+
Psbt,
|
|
142
|
+
Transaction,
|
|
143
|
+
})
|
|
144
|
+
|
|
145
|
+
const sendTx = sendTxFactory({
|
|
146
|
+
createTx,
|
|
147
|
+
assetClientInterface,
|
|
148
|
+
allowedPurposes,
|
|
140
149
|
})
|
|
141
150
|
|
|
142
151
|
const prepareForSigning = createPrepareForSigning({
|
|
@@ -266,6 +275,7 @@ export const createBitcoinAssetFactory =
|
|
|
266
275
|
createAccountState: () => accountStateClass,
|
|
267
276
|
createFeeMonitor,
|
|
268
277
|
createHistoryMonitor,
|
|
278
|
+
createTx,
|
|
269
279
|
customFees: createCustomFeesApi({ baseAsset: asset, feeData }),
|
|
270
280
|
defaultAddressPath: 'm/0/0', // deprecated
|
|
271
281
|
features,
|