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