@wppconnect/server 2.10.74 → 2.10.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +6 -0
- package/dist/controller/deviceController.js +59 -56
- package/dist/routes/index.js +2 -2
- package/dist/swagger.json +3 -0
- package/dist/tests/controller/chatwootAuth.test.js +203 -0
- package/package.json +21 -15
- package/test/glob-security.test.cjs +291 -0
- package/vendor/minimatch-legacy-compat/LICENSE +190 -0
- package/vendor/minimatch-legacy-compat/README.md +13 -0
- package/vendor/minimatch-legacy-compat/index.cjs +56 -0
- package/vendor/minimatch-legacy-compat/package.json +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [2.10.76](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.75...v2.10.76) (2026-11-05)
|
|
2
|
+
|
|
3
|
+
## [2.10.75](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.74...v2.10.75) (2026-11-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **chatwoot:** authenticate session webhook requests ([#2702](https://github.com/wppconnect-team/wppconnect-server/issues/2702)) ([cbc2dfc](https://github.com/wppconnect-team/wppconnect-server/commit/cbc2dfc8583af3ae26a3d37d3b66c8c332ccf1f0))
|
|
9
|
+
* **deps:** patch glob cancellation and minimatch expansion ([#2699](https://github.com/wppconnect-team/wppconnect-server/issues/2699)) ([7e2e816](https://github.com/wppconnect-team/wppconnect-server/commit/7e2e8160c036e7f7b77e899779964134e200c456))
|
|
10
|
+
|
|
1
11
|
## [2.10.74](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.73...v2.10.74) (2026-11-01)
|
|
2
12
|
|
|
3
13
|
## [2.10.73](https://github.com/wppconnect-team/wppconnect-server/compare/v2.10.72...v2.10.73) (2026-10-31)
|
package/README.md
CHANGED
|
@@ -94,6 +94,12 @@ yarn test
|
|
|
94
94
|
|
|
95
95
|
Account-dependent examples and tests require separate validation with an authorized test account. Never attach credentials or session files to an issue.
|
|
96
96
|
|
|
97
|
+
## Chatwoot webhook authentication
|
|
98
|
+
|
|
99
|
+
`POST /api/:session/chatwoot` requires the token generated for that WPPConnect session. Configure `Authorization: Bearer <session-token>` on the webhook. If the webhook sender cannot set headers, the existing `/api/<session>:<URL-safe-session-token>/chatwoot` URL form is also supported. Generate the URL-safe token by replacing `/` with `_` and `+` with `-` in the session token. Protect such URLs as credentials and redact them from proxy logs.
|
|
100
|
+
|
|
101
|
+
The Chatwoot `api_access_token` is an outbound Chatwoot credential and does not authorize this endpoint. Requests without a matching WPPConnect session token return 401 before accessing a client; authenticated requests for an unavailable session return 409. Only public outgoing `message_created` events are sent to WhatsApp.
|
|
102
|
+
|
|
97
103
|
## Community and support
|
|
98
104
|
|
|
99
105
|
Use [repository issues](https://github.com/wppconnect-team/wppconnect-server/issues) for reproducible bugs and feature proposals. For usage questions, join the community through the official channels:
|