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