Implement Legacy Socket Capability in MD Code (#1041)

* feat: add legacy connection

* fix: merge conflict errors

* feat: functional legacy socket
This commit is contained in:
Adhiraj Singh
2021-12-17 20:59:43 +05:30
committed by GitHub
parent 38a44be006
commit d386f2db8b
29 changed files with 3056 additions and 128 deletions
+5
View File
@@ -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