feat: implement fetching product catalog + order details on MD

This commit is contained in:
Adhiraj Singh
2022-03-06 13:30:11 +05:30
parent 8a52eeb310
commit c4edcef5da
5 changed files with 280 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
import { DEFAULT_CONNECTION_CONFIG } from '../Defaults'
import { SocketConfig } from '../Types'
import { makeMessagesRecvSocket as _makeSocket } from './messages-recv'
import { makeBusinessSocket as _makeSocket } from './business'
// export the last socket layer
const makeWASocket = (config: Partial<SocketConfig>) => (