@exodus/bitcoin-api 4.15.7 → 4.15.8
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 +10 -0
- package/package.json +2 -2
- package/src/insight-api-client/index.js +2 -2
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
|
+
## [4.15.8](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@4.15.7...@exodus/bitcoin-api@4.15.8) (2026-06-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix(bitcoin-api): increase insight address timeout and reduce retry delays for faster restore (#8216)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [4.15.7](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@4.15.6...@exodus/bitcoin-api@4.15.7) (2026-06-04)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-api",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.8",
|
|
4
4
|
"description": "Bitcoin transaction and fee monitors, RPC with the blockchain node, other networking code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"type": "git",
|
|
64
64
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "0d0738ee6470d53801719742d165849969f70c5e"
|
|
67
67
|
}
|
|
@@ -67,7 +67,7 @@ const fetchJson = async (
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
async function fetchJsonRetry(url, fetchOptions, httpErrorMessage) {
|
|
70
|
-
const waitTimes = ['
|
|
70
|
+
const waitTimes = ['2s', '5s', '10s', '20s']
|
|
71
71
|
const fetchWithRetry = retry(fetchJson, { delayTimesMs: waitTimes })
|
|
72
72
|
return fetchWithRetry(url, fetchOptions, false, httpErrorMessage)
|
|
73
73
|
}
|
|
@@ -156,7 +156,7 @@ export default class InsightAPIClient {
|
|
|
156
156
|
'Content-Type': 'application/json',
|
|
157
157
|
},
|
|
158
158
|
body: JSON.stringify({ addrs: addrs.join(',') }),
|
|
159
|
-
timeout:
|
|
159
|
+
timeout: 25_000,
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
return fetchJsonRetry(url, fetchOptions, INSIGHT_HTTP_ERROR_ADDRS_TXS_MESSAGE)
|