@whiskeysockets/baileys
Version:
A WebSockets library for interacting with WhatsApp Web
12 lines • 388 B
JavaScript
import { DEFAULT_CONNECTION_CONFIG } from '../Defaults/index.js';
import { makeCommunitiesSocket } from './communities.js';
// export the last socket layer
const makeWASocket = (config) => {
const newConfig = {
...DEFAULT_CONNECTION_CONFIG,
...config
};
return makeCommunitiesSocket(newConfig);
};
export default makeWASocket;
//# sourceMappingURL=index.js.map