mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-10 10:53:24 +00:00
- Export RondevuUsername, RondevuServices, RondevuDiscovery classes - Export all related type interfaces - Export pool-related types (PoolStatus, PooledServiceHandle) This fixes the issue where the V2 APIs were available as properties on the Rondevu client instance but not accessible as standalone imports. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
1.3 KiB
TypeScript
55 lines
1.3 KiB
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 peer manager
|
|
export { default as RondevuPeer } from './peer/index.js';
|
|
export type {
|
|
PeerOptions,
|
|
PeerEvents,
|
|
PeerTimeouts
|
|
} from './peer/index.js';
|
|
|
|
// Export username API
|
|
export { RondevuUsername } from './usernames.js';
|
|
export type { UsernameClaimResult, UsernameCheckResult } from './usernames.js';
|
|
|
|
// Export services API
|
|
export { RondevuServices } from './services.js';
|
|
export type {
|
|
ServicePublishResult,
|
|
PublishServiceOptions,
|
|
ServiceHandle
|
|
} from './services.js';
|
|
|
|
// Export discovery API
|
|
export { RondevuDiscovery } from './discovery.js';
|
|
export type {
|
|
ServiceInfo,
|
|
ServiceListResult,
|
|
ServiceQueryResult,
|
|
ServiceDetails,
|
|
ConnectResult
|
|
} from './discovery.js';
|
|
|
|
// Export pool types
|
|
export type { PoolStatus, PooledServiceHandle } from './service-pool.js';
|