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.
18 lines • 630 B
JavaScript
/**
* @file Main entry point for the nostr-websocket-utils library
* @module nostr-websocket-utils
*/
// Core functionality
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';
// Utilities
export { getLogger } from './utils/logger.js';
// Crypto operations
export * from './crypto/index.js';
// NIP implementations
export * from './nips/index.js';
// Type definitions
export * from './types/index.js';
//# sourceMappingURL=index.js.map