diff --git a/README.md b/README.md index 7134de4..8263251 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# @rondevu/client +# @xtr-dev/rondevu-client TypeScript client for interacting with the Rondevu peer signaling and discovery server. Provides a simple, type-safe API for WebRTC peer discovery and connection establishment. ## Installation ```bash -npm install @rondevu/client +npm install @xtr-dev/rondevu-client ``` ## Usage @@ -13,7 +13,7 @@ npm install @rondevu/client ### Basic Setup ```typescript -import { RondevuClient } from '@rondevu/client'; +import { RondevuClient } from '@xtr-dev/rondevu-client'; const client = new RondevuClient({ baseUrl: 'https://rondevu.example.com', @@ -197,7 +197,7 @@ import { PollRequest, Side, // ... and more -} from '@rondevu/client'; +} from '@xtr-dev/rondevu-client'; ``` ## Node.js Usage @@ -206,7 +206,7 @@ For Node.js environments (v18+), the built-in fetch is used automatically. For o ```typescript import fetch from 'node-fetch'; -import { RondevuClient } from '@rondevu/client'; +import { RondevuClient } from '@xtr-dev/rondevu-client'; const client = new RondevuClient({ baseUrl: 'https://rondevu.example.com', diff --git a/package.json b/package.json index 83e6037..1b407c9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@rondevu/client", + "name": "@xtr-dev/rondevu-client", "version": "1.0.0", "description": "TypeScript client for Rondevu peer signaling and discovery server", "main": "dist/index.js", diff --git a/src/index.ts b/src/index.ts index 36e6a38..b10619c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,9 @@ /** - * @rondevu/client - TypeScript client for Rondevu peer signaling server + * TypeScript client for Rondevu peer signaling server * * @example * ```typescript - * import { RondevuClient } from '@rondevu/client'; + * import { RondevuClient } from '@xtr-dev/rondevu-client'; * * const client = new RondevuClient({ * baseUrl: 'https://rondevu.example.com'