@exodus/bitcoin-plugin 2.12.0 → 3.0.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 CHANGED
@@ -3,6 +3,30 @@
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.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.0.0...@exodus/bitcoin-plugin@3.0.1) (2026-10-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **bitcoin-api:** throttle mempool requests and reuse websocket updates ([#8862](https://github.com/ExodusMovement/assets/issues/8862)) ([4ef88a6](https://github.com/ExodusMovement/assets/commit/4ef88a6f7ad895b60d2d758875c66f653acf2be5))
12
+ * **lint:** fix oxlint warnings and convert rules to error ([#8489](https://github.com/ExodusMovement/assets/issues/8489)) ([19d35be](https://github.com/ExodusMovement/assets/commit/19d35be718391303d331978926884f2f376b356f))
13
+ * **lint:** migrate lodash to @exodus/basic-utils ([#8514](https://github.com/ExodusMovement/assets/issues/8514)) ([12c574f](https://github.com/ExodusMovement/assets/commit/12c574f1ac8ab0592700df574b2643141237090a))
14
+
15
+
16
+
17
+ ## [3.0.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.12.0...@exodus/bitcoin-plugin@3.0.0) (2026-07-10)
18
+
19
+
20
+ ### ⚠ BREAKING CHANGES
21
+
22
+ * **bitcoin:** broadcast btc via mempool space send path (#8349)
23
+
24
+ ### Features
25
+
26
+ * **bitcoin:** broadcast btc via mempool space send path ([#8349](https://github.com/ExodusMovement/assets/issues/8349)) ([ff44736](https://github.com/ExodusMovement/assets/commit/ff44736b7aae845e5261bd60c8583d5871adb8f2))
27
+
28
+
29
+
6
30
  ## [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
31
 
8
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "2.12.0",
3
+ "version": "3.0.1",
4
4
  "description": "Bitcoin plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -17,15 +17,13 @@
17
17
  "provenance": false
18
18
  },
19
19
  "scripts": {
20
- "test": "run -T exodus-test --jest",
21
- "lint": "run -T eslintc .",
22
- "lint:fix": "yarn lint --fix"
20
+ "test": "exodus-test --jest"
23
21
  },
24
22
  "dependencies": {
25
23
  "@exodus/asset-lib": "^5.0.0",
26
24
  "@exodus/assets": "^11.6.0",
27
25
  "@exodus/bip44-constants": "^195.0.0",
28
- "@exodus/bitcoin-api": "^4.16.0",
26
+ "@exodus/bitcoin-api": "^5.0.0",
29
27
  "@exodus/bitcoin-lib": "^2.4.2",
30
28
  "@exodus/bitcoin-meta": "^2.0.1",
31
29
  "@exodus/bitcoinjs": "^2.0.0",
@@ -45,7 +43,7 @@
45
43
  "@exodus/bitcointestnet-meta": "^2.0.1",
46
44
  "@exodus/crypto": "^1.0.0-rc.32",
47
45
  "@exodus/currency": "^6.0.1",
48
- "@exodus/key-identifier": "^1.3.0",
46
+ "@exodus/key-identifier": "^1.5.0",
49
47
  "@exodus/key-utils": "^3.7.0",
50
48
  "@exodus/keychain": "^9.0.0",
51
49
  "@exodus/tx-signer": "^3.1.0",
@@ -59,5 +57,5 @@
59
57
  "type": "git",
60
58
  "url": "git+https://github.com/ExodusMovement/assets.git"
61
59
  },
62
- "gitHead": "d57432d4ef29f2dc1bc269d501fd29d9a0063f1c"
60
+ "gitHead": "fb42d6502575a15419bff613b88aed10d2be8529"
63
61
  }
@@ -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