Update default API URL to api.ronde.vu

- Changed default baseUrl from rondevu.xtrdev.workers.dev to api.ronde.vu
- Updated JSDoc comment for baseUrl in RondevuOptions
- Version bumped to 0.3.1

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-12 22:21:27 +01:00
parent 2e4d0d6a54
commit 6466a6f52a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@xtr-dev/rondevu-client", "name": "@xtr-dev/rondevu-client",
"version": "0.3.0", "version": "0.3.1",
"description": "TypeScript client for Rondevu peer signaling and discovery server", "description": "TypeScript client for Rondevu peer signaling and discovery server",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",

View File

@@ -23,7 +23,7 @@ export class Rondevu {
* @param options - Client configuration options * @param options - Client configuration options
*/ */
constructor(options: RondevuOptions = {}) { constructor(options: RondevuOptions = {}) {
this.baseUrl = options.baseUrl || 'https://rondevu.xtrdev.workers.dev'; this.baseUrl = options.baseUrl || 'https://api.ronde.vu';
this.fetchImpl = options.fetch; this.fetchImpl = options.fetch;
this.wrtc = options.wrtc; this.wrtc = options.wrtc;

View File

@@ -190,7 +190,7 @@ export interface WebRTCPolyfill {
* Configuration options for Rondevu WebRTC client * Configuration options for Rondevu WebRTC client
*/ */
export interface RondevuOptions { export interface RondevuOptions {
/** Base URL of the Rondevu server (defaults to 'https://rondevu.xtrdev.workers.dev') */ /** Base URL of the Rondevu server (defaults to 'https://api.ronde.vu') */
baseUrl?: string; baseUrl?: string;
/** Peer identifier (optional, auto-generated if not provided) */ /** Peer identifier (optional, auto-generated if not provided) */
peerId?: string; peerId?: string;