UNPKG

nostr-websocket-utils

Version:

Robust WebSocket utilities for Nostr applications with automatic reconnection, supporting both ESM and CommonJS. Features channel-based messaging, heartbeat monitoring, message queueing, and comprehensive error handling with type-safe handlers.

13 lines 533 B
/** * @file Main entry point for the nostr-websocket-utils library * @module nostr-websocket-utils */ export { NostrWSClient } from './core/client.js'; export { NostrWSServer } from './core/server.js'; export { NostrWSServer as NostrServer } from './core/nostr-server.js'; export { createWSServer as createServer } from './core/nostr-server.js'; export { getLogger } from './utils/logger.js'; export * from './crypto/index.js'; export * from './nips/index.js'; export * from './types/index.js'; //# sourceMappingURL=index.d.ts.map