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.

10 lines 409 B
import { NostrWSClient } from './core/client'; import type { NostrWSMessage, ConnectionState } from './types/index'; import type { NostrWSClientOptions } from './types/websocket'; export { NostrWSClient }; export type { NostrWSMessage, NostrWSClientOptions, ConnectionState }; declare const _default: { NostrWSClient: typeof NostrWSClient; }; export default _default; //# sourceMappingURL=browser.d.ts.map