Update API URL to api.ronde.vu in examples

- Change all examples from rondevu.xtrdev.workers.dev to api.ronde.vu
- Update default baseUrl in documentation

🤖 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:54:41 +01:00
parent f6004a9bc0
commit c202e1c627

View File

@@ -34,7 +34,7 @@ npm install @xtr-dev/rondevu-client
```typescript ```typescript
import { Rondevu, BloomFilter } from '@xtr-dev/rondevu-client'; import { Rondevu, BloomFilter } from '@xtr-dev/rondevu-client';
const client = new Rondevu({ baseUrl: 'https://rondevu.xtrdev.workers.dev' }); const client = new Rondevu({ baseUrl: 'https://api.ronde.vu' });
// 1. Register and get credentials // 1. Register and get credentials
const creds = await client.register(); const creds = await client.register();
@@ -148,7 +148,7 @@ For most use cases, you should use the high-level `RondevuConnection` class inst
```typescript ```typescript
import { Rondevu } from '@xtr-dev/rondevu-client'; import { Rondevu } from '@xtr-dev/rondevu-client';
const client = new Rondevu({ baseUrl: 'https://rondevu.xtrdev.workers.dev' }); const client = new Rondevu({ baseUrl: 'https://api.ronde.vu' });
await client.register(); await client.register();
// Create a connection // Create a connection
@@ -184,7 +184,7 @@ console.log('Share these topics with peers:', ['my-app', 'room-123']);
```typescript ```typescript
import { Rondevu } from '@xtr-dev/rondevu-client'; import { Rondevu } from '@xtr-dev/rondevu-client';
const client = new Rondevu({ baseUrl: 'https://rondevu.xtrdev.workers.dev' }); const client = new Rondevu({ baseUrl: 'https://api.ronde.vu' });
await client.register(); await client.register();
// Discover offers by topic // Discover offers by topic