@exodus/bitcoin-plugin 2.12.0 → 3.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 +13 -0
- package/package.json +3 -3
- package/src/create-asset.js +0 -9
- package/src/index.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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.0.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.12.0...@exodus/bitcoin-plugin@3.0.0) (2026-07-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **bitcoin:** broadcast btc via mempool space send path (#8349)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **bitcoin:** broadcast btc via mempool space send path ([#8349](https://github.com/ExodusMovement/assets/issues/8349)) ([ff44736](https://github.com/ExodusMovement/assets/commit/ff44736b7aae845e5261bd60c8583d5871adb8f2))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
6
19
|
## [2.12.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.11.6...@exodus/bitcoin-plugin@2.12.0) (2026-06-29)
|
|
7
20
|
|
|
8
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Bitcoin plugin for Exodus SDK powered wallets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@exodus/asset-lib": "^5.0.0",
|
|
26
26
|
"@exodus/assets": "^11.6.0",
|
|
27
27
|
"@exodus/bip44-constants": "^195.0.0",
|
|
28
|
-
"@exodus/bitcoin-api": "^
|
|
28
|
+
"@exodus/bitcoin-api": "^5.0.0",
|
|
29
29
|
"@exodus/bitcoin-lib": "^2.4.2",
|
|
30
30
|
"@exodus/bitcoin-meta": "^2.0.1",
|
|
31
31
|
"@exodus/bitcoinjs": "^2.0.0",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"type": "git",
|
|
60
60
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "1d7fd9da145bcfeb290441b3b8c72f9f5310eaca"
|
|
63
63
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -47,7 +47,6 @@ const assertMonitorConfig = ({
|
|
|
47
47
|
monitorType,
|
|
48
48
|
apiUrl,
|
|
49
49
|
mempoolApiUrl,
|
|
50
|
-
clarityApiUrl,
|
|
51
50
|
mempoolWsUrl,
|
|
52
51
|
configMinFeeRate,
|
|
53
52
|
maxTrackedAddresses,
|
|
@@ -59,7 +58,6 @@ const assertMonitorConfig = ({
|
|
|
59
58
|
|
|
60
59
|
if (monitorType === 'mempool') {
|
|
61
60
|
assert(mempoolApiUrl, 'mempoolApiUrl is required when monitorType is mempool')
|
|
62
|
-
assert(clarityApiUrl, 'clarityApiUrl is required when monitorType is mempool')
|
|
63
61
|
assert(mempoolWsUrl, 'mempoolWsUrl is required when monitorType is mempool')
|
|
64
62
|
|
|
65
63
|
assert(
|
|
@@ -83,7 +81,6 @@ export const createBitcoinAssetFactory =
|
|
|
83
81
|
apiUrl: defaultApiUrl,
|
|
84
82
|
mempoolApiUrl: defaultMempoolApiUrl,
|
|
85
83
|
mempoolWsUrl: defaultMempoolWsUrl,
|
|
86
|
-
clarityApiUrl: defaultClarityApiUrl,
|
|
87
84
|
coinInfoNetwork,
|
|
88
85
|
isTestnet = false,
|
|
89
86
|
}) =>
|
|
@@ -94,7 +91,6 @@ export const createBitcoinAssetFactory =
|
|
|
94
91
|
apiUrl: customApiUrl,
|
|
95
92
|
mempoolApiUrl: customMempoolApiUrl,
|
|
96
93
|
mempoolWsUrl: customMempoolWsUrl,
|
|
97
|
-
clarityApiUrl: customClarityApiUrl,
|
|
98
94
|
allowUnconfirmedRbfEnabledUtxos = false,
|
|
99
95
|
ordinalChainIndex = DEFAULT_ORDINAL_CHAIN_INDEX,
|
|
100
96
|
ordinalsEnabled = false,
|
|
@@ -115,7 +111,6 @@ export const createBitcoinAssetFactory =
|
|
|
115
111
|
const apiUrl = customApiUrl || defaultApiUrl
|
|
116
112
|
const mempoolApiUrl = customMempoolApiUrl || defaultMempoolApiUrl
|
|
117
113
|
const mempoolWsUrl = customMempoolWsUrl || defaultMempoolWsUrl
|
|
118
|
-
const clarityApiUrl = customClarityApiUrl || defaultClarityApiUrl
|
|
119
114
|
assert(assetClientInterface, 'assetClientInterface is required')
|
|
120
115
|
assert(asset, 'asset is required')
|
|
121
116
|
assert(typeof ordinalChainIndex === 'number', 'ordinalChainIndex must be a number')
|
|
@@ -128,7 +123,6 @@ export const createBitcoinAssetFactory =
|
|
|
128
123
|
monitorType,
|
|
129
124
|
apiUrl,
|
|
130
125
|
mempoolApiUrl,
|
|
131
|
-
clarityApiUrl,
|
|
132
126
|
mempoolWsUrl,
|
|
133
127
|
configMinFeeRate,
|
|
134
128
|
maxTrackedAddresses,
|
|
@@ -142,7 +136,6 @@ export const createBitcoinAssetFactory =
|
|
|
142
136
|
monitorType === 'mempool'
|
|
143
137
|
? new MempoolRestClient({
|
|
144
138
|
mempoolBaseURL: mempoolApiUrl,
|
|
145
|
-
clarityBaseURL: clarityApiUrl,
|
|
146
139
|
configMinFeeRate,
|
|
147
140
|
})
|
|
148
141
|
: new InsightAPIClient(apiUrl)
|
|
@@ -281,7 +274,6 @@ export const createBitcoinAssetFactory =
|
|
|
281
274
|
apiUrl,
|
|
282
275
|
mempoolApiUrl,
|
|
283
276
|
mempoolWsUrl,
|
|
284
|
-
clarityApiUrl,
|
|
285
277
|
monitorType,
|
|
286
278
|
maxTrackedAddresses,
|
|
287
279
|
gapLimit,
|
|
@@ -402,7 +394,6 @@ export const createBitcoinAssetFactory =
|
|
|
402
394
|
apiUrl,
|
|
403
395
|
mempoolApiUrl,
|
|
404
396
|
mempoolWsUrl,
|
|
405
|
-
clarityApiUrl,
|
|
406
397
|
monitorType,
|
|
407
398
|
configMinFeeRate,
|
|
408
399
|
maxTrackedAddresses,
|
package/src/index.js
CHANGED
|
@@ -7,13 +7,11 @@ export * from './create-asset.js' // for bitcoinregtest and bitcointestnet
|
|
|
7
7
|
const apiUrl = 'https://bitcoin.a.exodus.io/insight/'
|
|
8
8
|
const mempoolApiUrl = 'https://assets-gateway-clarity-api.a.exodus.io/assets/bitcoinmempool/'
|
|
9
9
|
const mempoolWsUrl = 'wss://assets-gateway-clarity-bitcoin-mempool-ws-proxy.a.exodus.io/ws'
|
|
10
|
-
const clarityApiUrl = 'https://assets-gateway-clarity-api.a.exodus.io/assets/bitcoin/insight/'
|
|
11
10
|
export const createAsset = createBitcoinAssetFactory({
|
|
12
11
|
asset,
|
|
13
12
|
apiUrl,
|
|
14
13
|
mempoolApiUrl,
|
|
15
14
|
mempoolWsUrl,
|
|
16
|
-
clarityApiUrl,
|
|
17
15
|
})
|
|
18
16
|
const assetPlugin = { createAsset }
|
|
19
17
|
export default assetPlugin
|