mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-10 10:53:24 +00:00
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:
10
README.md
10
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',
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user