@exodus/bitcoin-plugin 3.0.0 → 3.0.2

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,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
+ ## [3.0.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.0.1...@exodus/bitcoin-plugin@3.0.2) (2026-10-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+
13
+
14
+
15
+ ## [3.0.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@3.0.0...@exodus/bitcoin-plugin@3.0.1) (2026-10-06)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **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))
21
+ * **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))
22
+ * **lint:** migrate lodash to @exodus/basic-utils ([#8514](https://github.com/ExodusMovement/assets/issues/8514)) ([12c574f](https://github.com/ExodusMovement/assets/commit/12c574f1ac8ab0592700df574b2643141237090a))
23
+
24
+
25
+
6
26
  ## [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
27
 
8
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Bitcoin plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -17,9 +17,7 @@
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",
@@ -29,13 +27,11 @@
29
27
  "@exodus/bitcoin-lib": "^2.4.2",
30
28
  "@exodus/bitcoin-meta": "^2.0.1",
31
29
  "@exodus/bitcoinjs": "^2.0.0",
32
- "@exodus/fetch": "^1.3.0",
33
30
  "@exodus/models": "^13.0.0",
34
31
  "@exodus/web3-bitcoin-utils": "^2.4.0",
35
32
  "coininfo": "^5.1.0",
36
33
  "lodash": "^4.17.21",
37
- "minimalistic-assert": "^1.0.1",
38
- "ms": "^2.1.3"
34
+ "minimalistic-assert": "^1.0.1"
39
35
  },
40
36
  "devDependencies": {
41
37
  "@exodus/assets-testing": "^1.0.0",
@@ -44,13 +40,11 @@
44
40
  "@exodus/bitcoinregtest-meta": "^2.0.1",
45
41
  "@exodus/bitcointestnet-meta": "^2.0.1",
46
42
  "@exodus/crypto": "^1.0.0-rc.32",
47
- "@exodus/currency": "^6.0.1",
48
- "@exodus/key-identifier": "^1.3.0",
43
+ "@exodus/key-identifier": "^1.5.0",
49
44
  "@exodus/key-utils": "^3.7.0",
50
45
  "@exodus/keychain": "^9.0.0",
51
46
  "@exodus/tx-signer": "^3.1.0",
52
- "@scure/btc-signer": "^1.1.0",
53
- "jest-when": "^3.5.1"
47
+ "@scure/btc-signer": "^1.1.0"
54
48
  },
55
49
  "bugs": {
56
50
  "url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Abitcoin-plugin"
@@ -59,5 +53,5 @@
59
53
  "type": "git",
60
54
  "url": "git+https://github.com/ExodusMovement/assets.git"
61
55
  },
62
- "gitHead": "1d7fd9da145bcfeb290441b3b8c72f9f5310eaca"
56
+ "gitHead": "d1cd38443d51512f9416f73dc4cbf92b5f512752"
63
57
  }
@@ -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 }) {