mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 02:43:23 +00:00
Refactor demo to use new ServiceHost and ServiceClient API
- 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>
This commit is contained in:
8
package-lock.json
generated
8
package-lock.json
generated
@@ -8,7 +8,7 @@
|
||||
"name": "rondevu-demo",
|
||||
"version": "2.0.0",
|
||||
"dependencies": {
|
||||
"@xtr-dev/rondevu-client": "^0.10.0",
|
||||
"@xtr-dev/rondevu-client": "^0.10.1",
|
||||
"@zxing/library": "^0.21.3",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^18.2.0",
|
||||
@@ -1171,9 +1171,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@xtr-dev/rondevu-client": {
|
||||
"version": "0.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@xtr-dev/rondevu-client/-/rondevu-client-0.10.0.tgz",
|
||||
"integrity": "sha512-wCU2GhW9vhG9SDElSYdyhcvpueHcpHuOpwdqxHYgvJ/4NCHT1aIa0uHqEwLtF+aoUHbqExpLaUD8DZEnwFkZQQ==",
|
||||
"version": "0.10.1",
|
||||
"resolved": "https://registry.npmjs.org/@xtr-dev/rondevu-client/-/rondevu-client-0.10.1.tgz",
|
||||
"integrity": "sha512-pQpUH7CYTiIShYplp/rv5Un0r08vDnMK2YhiNTRAc2jNzffDm+WxphalkxnmmZTm5sTMYCH9X7IQeSRmvTHcxg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@noble/ed25519": "^3.0.0"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"deploy": "npm run build && npx wrangler pages deploy dist --project-name=rondevu-demo"
|
||||
},
|
||||
"dependencies": {
|
||||
"@xtr-dev/rondevu-client": "^0.10.0",
|
||||
"@xtr-dev/rondevu-client": "^0.10.1",
|
||||
"@zxing/library": "^0.21.3",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^18.2.0",
|
||||
|
||||
1368
src/App-old.jsx
Normal file
1368
src/App-old.jsx
Normal file
File diff suppressed because it is too large
Load Diff
2164
src/App.jsx
2164
src/App.jsx
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user