mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-15 21:33:23 +00:00
Remove all legacy and backward compatibility support
- Remove serviceFqn, offers array from PublishServiceOptions - Make service and maxOffers required fields - Simplify publishService() to only support automatic mode - Remove RondevuSignaler class completely - Update exports to include new types (ConnectionContext, ConnectToServiceOptions) - Update test-connect.js to use connectToService() - Remove all "manual mode" and "legacy" references from documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
12
src/index.ts
12
src/index.ts
@@ -5,7 +5,6 @@
|
||||
|
||||
export { Rondevu } from './rondevu.js'
|
||||
export { RondevuAPI } from './api.js'
|
||||
export { RondevuSignaler } from './rondevu-signaler.js'
|
||||
export { RpcBatcher } from './rpc-batcher.js'
|
||||
|
||||
// Export crypto adapters
|
||||
@@ -27,9 +26,14 @@ export type {
|
||||
IceCandidate,
|
||||
} from './api.js'
|
||||
|
||||
export type { RondevuOptions, PublishServiceOptions } from './rondevu.js'
|
||||
|
||||
export type { PollingConfig } from './rondevu-signaler.js'
|
||||
export type {
|
||||
RondevuOptions,
|
||||
PublishServiceOptions,
|
||||
ConnectToServiceOptions,
|
||||
ConnectionContext,
|
||||
OfferContext,
|
||||
OfferFactory
|
||||
} from './rondevu.js'
|
||||
|
||||
export type { CryptoAdapter } from './crypto-adapter.js'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user