mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-10 19:03:24 +00:00
- Add RondevuConnection class for high-level WebRTC management - Handles offer/answer exchange, ICE candidates, and data channels - Fix race condition in answer() method (register answerer before sending ICE) - Add event-driven API (connecting, connected, disconnected, error, datachannel, track) - Update README with connection manager examples - Export new connection types and classes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
755 B
TypeScript
32 lines
755 B
TypeScript
/**
|
|
* @xtr-dev/rondevu-client
|
|
* WebRTC peer signaling and discovery client with topic-based discovery
|
|
*/
|
|
|
|
// Export main client class
|
|
export { Rondevu } from './rondevu.js';
|
|
export type { RondevuOptions } from './rondevu.js';
|
|
|
|
// Export authentication
|
|
export { RondevuAuth } from './auth.js';
|
|
export type { Credentials, FetchFunction } from './auth.js';
|
|
|
|
// Export offers API
|
|
export { RondevuOffers } from './offers.js';
|
|
export type {
|
|
CreateOfferRequest,
|
|
Offer,
|
|
IceCandidate,
|
|
TopicInfo
|
|
} from './offers.js';
|
|
|
|
// Export bloom filter
|
|
export { BloomFilter } from './bloom.js';
|
|
|
|
// Export connection manager
|
|
export { RondevuConnection } from './connection.js';
|
|
export type {
|
|
ConnectionOptions,
|
|
RondevuConnectionEvents
|
|
} from './connection.js';
|