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.
## 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',

View File

@@ -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",

View File

@@ -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'