feat: community support (#1157)
* feat: communities * feat: update makeCommunitiesSocket * chore(release): v6.7.10 * fix: ajust create communitie * feat: update communities * revert: package.json * fix: Revert CHANGELOG.md * fix: Revert CHANGELOG.md * fix: Revert CHANGELOG.md * fix: revert package-lock.json * fix: revert package-lock.json * fix: revert yarn.lock * fix: remove comment * restore yarn.lock * fix: improve type imports and formatting in communities.ts * fix: remove trailing semicolon in baileys-version.ts * fix: Delete src/Defaults/baileys-version.ts --------- Co-authored-by: João Lucas <jlucaso@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
8d2cdbcf98
commit
0c20166a45
+2
-2
@@ -1,10 +1,10 @@
|
||||
import { DEFAULT_CONNECTION_CONFIG } from '../Defaults'
|
||||
import type { UserFacingSocketConfig } from '../Types'
|
||||
import { makeBusinessSocket } from './business'
|
||||
import { makeCommunitiesSocket } from './communities'
|
||||
|
||||
// export the last socket layer
|
||||
const makeWASocket = (config: UserFacingSocketConfig) =>
|
||||
makeBusinessSocket({
|
||||
makeCommunitiesSocket({
|
||||
...DEFAULT_CONNECTION_CONFIG,
|
||||
...config
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user