@cashu/cashu-ts
Version:
cashu library for communicating with a cashu mint
10 lines (9 loc) • 318 B
TypeScript
export declare function injectWebSocketImpl(ws: typeof WebSocket): void;
export declare function getWebSocketImpl(): {
new (url: string | URL, protocols?: string | string[]): WebSocket;
prototype: WebSocket;
readonly CONNECTING: 0;
readonly OPEN: 1;
readonly CLOSING: 2;
readonly CLOSED: 3;
};