@exodus/bitcoin-plugin 3.0.1 → 3.0.3

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,24 @@
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.3](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.0.2...@exodus/bitcoin-plugin@3.0.3) (2026-10-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **bitcoin:** authenticate monitor history and fee replacements ([#9100](https://github.com/ExodusMovement/assets/issues/9100)) ([686bdc7](https://github.com/ExodusMovement/assets/commit/686bdc7dcae8e947a77f372109802fa790405f40))
12
+
13
+
14
+
15
+ ## [3.0.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.0.1...@exodus/bitcoin-plugin@3.0.2) (2026-10-23)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **bitcoin:** lower automatic fee floor to 1.2 sat/vB ([#9041](https://github.com/ExodusMovement/assets/issues/9041)) ([0bfa1ca](https://github.com/ExodusMovement/assets/commit/0bfa1ca774e9115dc76f41b45fa9ebc6c3fb8fed))
21
+
22
+
23
+
6
24
  ## [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
25
 
8
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Bitcoin plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -27,13 +27,11 @@
27
27
  "@exodus/bitcoin-lib": "^2.4.2",
28
28
  "@exodus/bitcoin-meta": "^2.0.1",
29
29
  "@exodus/bitcoinjs": "^2.0.0",
30
- "@exodus/fetch": "^1.3.0",
31
30
  "@exodus/models": "^13.0.0",
32
31
  "@exodus/web3-bitcoin-utils": "^2.4.0",
33
32
  "coininfo": "^5.1.0",
34
33
  "lodash": "^4.17.21",
35
- "minimalistic-assert": "^1.0.1",
36
- "ms": "^2.1.3"
34
+ "minimalistic-assert": "^1.0.1"
37
35
  },
38
36
  "devDependencies": {
39
37
  "@exodus/assets-testing": "^1.0.0",
@@ -42,13 +40,11 @@
42
40
  "@exodus/bitcoinregtest-meta": "^2.0.1",
43
41
  "@exodus/bitcointestnet-meta": "^2.0.1",
44
42
  "@exodus/crypto": "^1.0.0-rc.32",
45
- "@exodus/currency": "^6.0.1",
46
43
  "@exodus/key-identifier": "^1.5.0",
47
44
  "@exodus/key-utils": "^3.7.0",
48
45
  "@exodus/keychain": "^9.0.0",
49
46
  "@exodus/tx-signer": "^3.1.0",
50
- "@scure/btc-signer": "^1.1.0",
51
- "jest-when": "^3.5.1"
47
+ "@scure/btc-signer": "^1.1.0"
52
48
  },
53
49
  "bugs": {
54
50
  "url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Abitcoin-plugin"
@@ -57,5 +53,5 @@
57
53
  "type": "git",
58
54
  "url": "git+https://github.com/ExodusMovement/assets.git"
59
55
  },
60
- "gitHead": "fb42d6502575a15419bff613b88aed10d2be8529"
56
+ "gitHead": "fdbcba5fb13ebd05e32c5415fc4bfdbda669322c"
61
57
  }
@@ -195,6 +195,7 @@ export const createBitcoinAssetFactory =
195
195
  const getHistoricalBalance = getHistoricalBalanceFactory({ assetClientInterface })
196
196
 
197
197
  const createTx = createTxFactory({
198
+ authenticateReplacementTransactions: true,
198
199
  getFeeEstimator,
199
200
  allowUnconfirmedRbfEnabledUtxos,
200
201
  utxosDescendingOrder,
@@ -279,6 +280,7 @@ export const createBitcoinAssetFactory =
279
280
  gapLimit,
280
281
  refreshGapLimit,
281
282
  ...args,
283
+ verifyNewSentTransactions: true,
282
284
  })
283
285
  }
284
286
 
@@ -11,7 +11,7 @@ export const createCustomFeesApi = ({ baseAsset, feeData: defaultFeeData }) => {
11
11
  }
12
12
  },
13
13
  unit: 'sat/byte',
14
- feeUnitPriceToNumber: (feeNumberUnit) => feeNumberUnit?.div(1000).toBaseNumber() || 0,
14
+ feeUnitPriceToNumber: (feeNumberUnit) => (feeNumberUnit?.toBaseNumber() || 0) / 1000,
15
15
  numberToFeeUnitPrice: (value) => baseAsset.currency.baseUnit(value * 1000),
16
16
  isEnabled: ({ feeData = defaultFeeData }) => Boolean(feeData.rbfEnabled),
17
17
  }
@@ -1,8 +1,8 @@
1
1
  import { FeeMonitor } from '@exodus/asset-lib'
2
2
 
3
- // clamp to these numbers, sat/B, not sat/KB (!)
4
- const MIN_FEE = 2 // 2 sat/B, 0.00002 BTC sat/KB
5
- const MAX_FEE = 2e3 // 2000 sat/B, 0.0200 BTC sat/KB
3
+ // Clamp rates in sat/vB before converting to sat/kvB.
4
+ const MIN_FEE = 1.2
5
+ const MAX_FEE = 2e3
6
6
 
7
7
  export default class BitcoinFeeMonitor extends FeeMonitor {
8
8
  constructor({ updateFee, interval = '1m', assetName = 'bitcoin', insight }) {