Add connection manager, toast notifications, and TURN server

- Replace manual RTCPeerConnection handling with RondevuConnection class
- Add react-hot-toast for better UX (replace browser alerts)
- Add TURN server configuration (relay1.expressturn.com:3480)
- Update README to reflect current demo structure
- Link local client library for latest features

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-14 18:30:18 +01:00
parent eaf474a984
commit d677f36eeb
4 changed files with 825 additions and 589 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "rondevu-demo",
"version": "0.3.2",
"description": "Demo application for Rondevu peer signaling and discovery",
"version": "0.4.0",
"description": "Demo application for Rondevu topic-based peer discovery and signaling",
"type": "module",
"scripts": {
"dev": "vite",
@@ -10,11 +10,12 @@
"deploy": "npm run build && npx wrangler pages deploy dist --project-name=rondevu-demo"
},
"dependencies": {
"@xtr-dev/rondevu-client": "^0.3.2",
"@xtr-dev/rondevu-client": "^0.3.5",
"@zxing/library": "^0.21.3",
"qrcode": "^1.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-hot-toast": "^2.6.0"
},
"devDependencies": {
"@types/react": "^18.2.0",