UNPKG

@xrplf/isomorphic

Version:

A collection of isomorphic and tree-shakeable crypto hashes and utils for xrpl.js

11 lines (8 loc) 232 B
import WebSocket from 'ws' export default class Socket extends WebSocket { constructor(...args) { super(args[0], args[1], args[2]) this.setMaxListeners(Infinity) } } export type ClientOptions = WebSocket.ClientOptions