mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: functional legacy socket
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import makeWASocket from './Socket'
|
||||
import makeWALegacySocket from './LegacySocket'
|
||||
|
||||
export * from '../WAProto'
|
||||
export * from './Utils'
|
||||
@@ -7,6 +8,10 @@ export * from './Types'
|
||||
export * from './Defaults'
|
||||
export * from './WABinary'
|
||||
|
||||
export type WALegacySocket = ReturnType<typeof makeWALegacySocket>
|
||||
|
||||
export { makeWALegacySocket }
|
||||
|
||||
export type WASocket = ReturnType<typeof makeWASocket>
|
||||
|
||||
export default makeWASocket
|
||||
Reference in New Issue
Block a user