**BFF reachability (#12)** - `fetchJson` / `fetchJsonAllowMissing` now report the host and Node's hidden `err.cause` (e.g. `ERR_SSL_WRONG_VERSION_NUMBER`) instead of a bare "fetch failed", so a VPN, proxy or web filter is distinguishable from an outage - One un-retried `probeBff` at startup logs `BFF reachable` or `BFF unreachable` with the host and cause; startup stays tolerant and ticks still hold until the BFF answers - README Prerequisites lists the hosts the bot needs (BFF, Hiro, CoinGecko) and their override variables **Dependency audit (#11)** - vitest 2.1.9 -> 4.1.12, plus `npm audit fix` for the rest of the dev chain - vite pinned to ^6.4.6 as a root dev dependency: vitest 4 otherwise pulls vite 8, which needs Node >=20.19, and the kit supports Node 20+ - ui: react-router-dom 6.28 -> 7.18.5 (every 6.x release is in the advisory range); no code changes needed typecheck, build, ui build and 224 tests pass; npm audit reports 0 findings for root (full and --omit=dev) and ui. Fixes #12 Closes #11
25 lines
554 B
JSON
25 lines
554 B
JSON
{
|
|
"name": "bitflow-mm-ui",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"qrcode-generator": "^1.4.4",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^7.18.5",
|
|
"viem": "2.57.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^6.0.7"
|
|
}
|
|
}
|