mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
* feat(market): add crypto sectors heatmap and token panels (DeFi, AI, Other) backend - Add shared/crypto-sectors.json, defi-tokens.json, ai-tokens.json, other-tokens.json configs - Add scripts/seed-crypto-sectors.mjs and seed-token-panels.mjs seed scripts - Add proto messages for ListCryptoSectors, ListDefiTokens, ListAiTokens, ListOtherTokens - Add change7d field (field 6) to CryptoQuote proto message - Run buf generate to produce updated TypeScript bindings - Add server handlers for all 4 new RPCs reading from seeded Redis cache - Wire handlers into marketHandler and register cache keys with BOOTSTRAP_TIERS=slow - Wire seedCryptoSectors and seedTokenPanels into ais-relay.cjs seedAllMarketData loop * feat(panels): add crypto sectors heatmap and token panels (DeFi, AI, Other) - Add TokenData interface to src/types/index.ts - Wire ListCryptoSectorsResponse/ListDefiTokensResponse/ListAiTokensResponse/ListOtherTokensResponse into market service with circuit breakers and hydration fallbacks - Add CryptoHeatmapPanel, TokenListPanel, DefiTokensPanel, AiTokensPanel, OtherTokensPanel to MarketPanel.ts - Register 4 new panels in panels.ts FINANCE_PANELS and cryptoDigital category - Instantiate new panels in panel-layout.ts - Load data in data-loader.ts loadMarkets() alongside existing crypto fetch * fix(crypto-panels): resolve test failures and type errors post-review - Add @ts-nocheck to regenerated market service_server/client (matches repo convention) - Add 4 new RPC routes to RPC_CACHE_TIER in gateway.ts (route-cache-tier test) - Sync scripts/shared/ with shared/ for new token/sector JSON configs - Restore non-market generated files to origin/main state (avoid buf version diff) * fix(crypto-panels): address code review findings (P1-P3) - ais-relay seedTokenPanels: add empty-guard before Redis write to prevent overwriting cached data when all IDs are unresolvable - server _feeds.ts: sync 4 missing crypto feeds (Wu Blockchain, Messari, NFT News, Stablecoin Policy) with client-side feeds.ts - data-loader: expose panel refs outside try block so catch can call showRetrying(); log error instead of swallowing silently - MarketPanel: replace hardcoded English error strings with t() calls (failedSectorData / failedCryptoData) to honour user locale - seed-token-panels.mjs: remove unused getRedisCredentials import - cache-keys.ts: one BOOTSTRAP_TIERS entry per line for consistency * fix(crypto-panels): three correctness fixes for RSS proxy, refresh, and Redis write visibility - api/_rss-allowed-domains.js: add 7 new crypto domains (decrypt.co, blockworks.co, thedefiant.io, bitcoinmagazine.com, www.dlnews.com, cryptoslate.com, unchainedcrypto.com) so rss-proxy.js accepts the new finance feeds instead of rejecting them as disallowed hosts - src/App.ts: add crypto-heatmap/defi-tokens/ai-tokens/other-tokens to the periodic markets refresh viewport condition so panels on screen continue receiving live updates, not just the initial load - ais-relay seedTokenPanels: capture upstashSet return values and log PARTIAL if any Redis write fails, matching seedCryptoSectors pattern
25 lines
999 B
JSON
25 lines
999 B
JSON
{
|
|
"ids": ["aave","uniswap","jupiter-exchange-solana","pendle","maker","lido-dao","hyperliquid","raydium","aerodrome-finance","curve-dao-token"],
|
|
"meta": {
|
|
"aave": { "name": "Aave", "symbol": "AAVE" },
|
|
"uniswap": { "name": "Uniswap", "symbol": "UNI" },
|
|
"jupiter-exchange-solana": { "name": "Jupiter", "symbol": "JUP" },
|
|
"pendle": { "name": "Pendle", "symbol": "PENDLE" },
|
|
"maker": { "name": "Maker", "symbol": "MKR" },
|
|
"lido-dao": { "name": "Lido DAO", "symbol": "LDO" },
|
|
"hyperliquid": { "name": "Hyperliquid", "symbol": "HYPE" },
|
|
"raydium": { "name": "Raydium", "symbol": "RAY" },
|
|
"aerodrome-finance": { "name": "Aerodrome", "symbol": "AERO" },
|
|
"curve-dao-token": { "name": "Curve DAO", "symbol": "CRV" }
|
|
},
|
|
"coinpaprika": {
|
|
"aave": "aave-aave",
|
|
"uniswap": "uni-uniswap",
|
|
"pendle": "pendle-pendle",
|
|
"maker": "mkr-maker",
|
|
"lido-dao": "ldo-lido-dao",
|
|
"raydium": "ray-raydium",
|
|
"curve-dao-token": "crv-curve-dao-token"
|
|
}
|
|
}
|