Update demo to use integrated RondevuAPI

- Removed separate RondevuClient instantiation
- Updated to use rdv.api for all API calls (getVersion, listTopics, listSessions)
- Updated README example to show integrated API usage

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-12 21:52:20 +01:00
parent ee440b083d
commit 6538b5a18f
2 changed files with 8 additions and 9 deletions

View File

@@ -128,9 +128,12 @@ This demo connects to: `https://rondevu.xtrdev.workers.dev`
To use a different server, modify the `baseUrl` in `src/main.js`:
```javascript
const client = new RondevuClient({
const rdv = new Rondevu({
baseUrl: 'https://your-server.com'
});
// Access the API for low-level operations
rdv.api.listTopics();
```
### Technologies