mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 10:53:22 +00:00
Changed discover page to fetch and display real topics from the API: - Added fetchTopics() to call client.offers.getTopics() - Display actual topic names and active peer counts - Added loading, error, and empty states - Added refresh button to reload topics - Improved UX with better error handling Updated to @xtr-dev/rondevu-client@0.7.4 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
711 B
JSON
27 lines
711 B
JSON
{
|
|
"name": "rondevu-demo",
|
|
"version": "0.5.0",
|
|
"description": "Demo application for Rondevu topic-based peer discovery and signaling",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"deploy": "npm run build && npx wrangler pages deploy dist --project-name=rondevu-demo"
|
|
},
|
|
"dependencies": {
|
|
"@xtr-dev/rondevu-client": "^0.7.4",
|
|
"@zxing/library": "^0.21.3",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-hot-toast": "^2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"vite": "^5.4.11"
|
|
}
|
|
}
|