Rename package scope to @xtr-dev and update references.

Updated the package name and scope in `package.json`, README, and source files for both server and client. This ensures consistency and aligns with the new namespace.
This commit is contained in:
2025-11-02 14:34:51 +01:00
parent abc553a3a5
commit a7b7164a00
3 changed files with 8 additions and 8 deletions

View File

@@ -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. 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 ## Installation
```bash ```bash
npm install @rondevu/client npm install @xtr-dev/rondevu-client
``` ```
## Usage ## Usage
@@ -13,7 +13,7 @@ npm install @rondevu/client
### Basic Setup ### Basic Setup
```typescript ```typescript
import { RondevuClient } from '@rondevu/client'; import { RondevuClient } from '@xtr-dev/rondevu-client';
const client = new RondevuClient({ const client = new RondevuClient({
baseUrl: 'https://rondevu.example.com', baseUrl: 'https://rondevu.example.com',
@@ -197,7 +197,7 @@ import {
PollRequest, PollRequest,
Side, Side,
// ... and more // ... and more
} from '@rondevu/client'; } from '@xtr-dev/rondevu-client';
``` ```
## Node.js Usage ## Node.js Usage
@@ -206,7 +206,7 @@ For Node.js environments (v18+), the built-in fetch is used automatically. For o
```typescript ```typescript
import fetch from 'node-fetch'; import fetch from 'node-fetch';
import { RondevuClient } from '@rondevu/client'; import { RondevuClient } from '@xtr-dev/rondevu-client';
const client = new RondevuClient({ const client = new RondevuClient({
baseUrl: 'https://rondevu.example.com', baseUrl: 'https://rondevu.example.com',

View File

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

View File

@@ -1,9 +1,9 @@
/** /**
* @rondevu/client - TypeScript client for Rondevu peer signaling server * TypeScript client for Rondevu peer signaling server
* *
* @example * @example
* ```typescript * ```typescript
* import { RondevuClient } from '@rondevu/client'; * import { RondevuClient } from '@xtr-dev/rondevu-client';
* *
* const client = new RondevuClient({ * const client = new RondevuClient({
* baseUrl: 'https://rondevu.example.com' * baseUrl: 'https://rondevu.example.com'