@exodus/bitcoin-plugin 2.11.6 → 2.12.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 CHANGED
@@ -3,6 +3,16 @@
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.12.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.11.6...@exodus/bitcoin-plugin@2.12.0) (2026-06-29)
7
+
8
+
9
+ ### Features
10
+
11
+
12
+ * feat: add optional getHistoricalBalance to asset api (#8247)
13
+
14
+
15
+
6
16
  ## [2.11.6](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@2.11.5...@exodus/bitcoin-plugin@2.11.6) (2026-06-11)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "2.11.6",
3
+ "version": "2.12.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": "^4.15.5",
28
+ "@exodus/bitcoin-api": "^4.16.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": "da7dd92f4dfc0d7f81fd1ca0a95a6180ba1ec05a"
62
+ "gitHead": "d57432d4ef29f2dc1bc269d501fd29d9a0063f1c"
63
63
  }
@@ -17,6 +17,7 @@ import {
17
17
  getFeeAsyncFactory,
18
18
  getFeeEstimatorFactory,
19
19
  GetFeeResolver,
20
+ getHistoricalBalanceFactory,
20
21
  InsightAPIClient,
21
22
  isValidInscription,
22
23
  MempoolRestClient,
@@ -167,6 +168,7 @@ export const createBitcoinAssetFactory =
167
168
  family: ASSET_FAMILY.BITCOIN,
168
169
  feeMonitor: true,
169
170
  feesApi: true,
171
+ historicalBalance: ['bitcoin', 'bitcoinregtest', 'bitcointestnet'].includes(asset.name),
170
172
  moveFunds: true,
171
173
  multipleAddresses,
172
174
  nfts: ordinalsEnabled,
@@ -197,6 +199,8 @@ export const createBitcoinAssetFactory =
197
199
 
198
200
  const getBalances = getBalancesFactory({ feeData, allowUnconfirmedRbfEnabledUtxos })
199
201
 
202
+ const getHistoricalBalance = getHistoricalBalanceFactory({ assetClientInterface })
203
+
200
204
  const createTx = createTxFactory({
201
205
  getFeeEstimator,
202
206
  allowUnconfirmedRbfEnabledUtxos,
@@ -356,6 +360,7 @@ export const createBitcoinAssetFactory =
356
360
  getActivityTxs,
357
361
  getBalanceForAddress,
358
362
  getBalances,
363
+ ...(features.historicalBalance && { getHistoricalBalance }),
359
364
  getDefaultAddressPath,
360
365
  getFee,
361
366
  getFeeAsync,