mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 02:43:23 +00:00
- Update to @xtr-dev/rondevu-client v0.10.1 - Replace Rondevu class with RondevuService, ServiceHost, ServiceClient - Simplify demo implementation (removed complex features) - Use new event-driven API for connections - Support custom RTC configuration - Backup old implementation as App-old.jsx Breaking changes from v1 API: - RondevuService for username claiming - ServiceHost for hosting services with offer pool - ServiceClient for connecting with auto-reconnection 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
27 lines
732 B
JSON
27 lines
732 B
JSON
{
|
|
"name": "rondevu-demo",
|
|
"version": "2.0.0",
|
|
"description": "Demo application for Rondevu DNS-like WebRTC with username claiming and service discovery",
|
|
"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.10.1",
|
|
"@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"
|
|
}
|
|
}
|