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:
João Victor Souza
2025-07-30 09:15:56 -03:00
committed by GitHub
parent 8d2cdbcf98
commit 0c20166a45
2 changed files with 396 additions and 2 deletions
+2 -2
View File
@@ -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
})