UNPKG

@whiskeysockets/baileys

Version:

A WebSockets library for interacting with WhatsApp Web

14 lines (13 loc) 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AbstractSocketClient = void 0; const events_1 = require("events"); class AbstractSocketClient extends events_1.EventEmitter { constructor(url, config) { super(); this.url = url; this.config = config; this.setMaxListeners(0); } } exports.AbstractSocketClient = AbstractSocketClient;