Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs: correct four claims the code does not support

Yudhi Armyndharise7cd560fc3b8
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 622de2c63..f7b5f0cdb 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -87,7 +87,7 @@ jobs:
# The same gates ci.yml runs. Its comment there notes this workflow never ran them, which is
# the gap: a tag pushed with `--follow-tags` starts both workflows, and only the branch one
# could see an SDK left behind by a contract change. The release path has to stand on its own,
- # and it is the path that actually publishes the image and the chart.
+ # and it is the path that actually publishes the image and the GitHub Release.
- name: Check SDK routes against the contract
run: npm run check:sdk-routes
@@ -296,8 +296,9 @@ jobs:
# What the rendered chart would DO in a cluster, which neither helm lint nor kubeconform can
# see: config changes roll the pods, the startup budget exceeds the liveness budget, the
- # metrics selector names one Service. This is the path that publishes the chart, so a chart
- # that renders validly but misbehaves must not get past it.
+ # metrics selector names one Service. Nothing here publishes the chart — operators install it
+ # from this ref — so the tag is the last gate it passes, and a chart that renders validly but
+ # misbehaves must not get past it.
- name: Check chart behaviour
run: npm run check:chart
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4c7d4adfe..1620a424e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `POST /sessions/:id/chats/pin` pins a chat to the top of the list or unpins it, on both engines; `success: false` reports WhatsApp's three-pin cap, which only the whatsapp-web.js engine can observe.
- `POST /sessions/:id/chats/mute` mutes a chat until an epoch-milliseconds timestamp or unmutes it with an explicit `null`, on both engines; unlike `chats/archive` it has no declined outcome, since the change is not keyed to the chat's last message.
- `engine-inventory-parity.spec.ts` fails when a `docs/29` exposure or event mark no longer matches the adapters: a symbol marked as used must appear in adapter code rather than only in a comment, and an event marked consumed must have a listener behind it.
-- `docs/29-engine-capability-matrix.md` (`docs/29`) now covers all 152 Baileys socket methods, all 81 whatsapp-web.js Client methods, all 34 + 31 library events and all five install-time patches, each mapped to the interface method that uses it or marked unexposed.
+- `docs/29-engine-capability-matrix.md` (`docs/29`) now covers all 152 Baileys socket methods, all 81 whatsapp-web.js Client methods, all 34 + 31 library events and all seven install-time patches, each mapped to the interface method that uses it or marked unexposed.
- An onboarding modal the "What's new" probe does not recognise is now logged once with its heading and confirm-button labels (`onboarding_dialog_unrecognized`), so it can be covered via `WWEBJS_ONBOARDING_CONTINUE_LABELS` before WhatsApp unlinks the companion. Refs #1072.
- `npm run check:sdk-events` compares each typed SDK's webhook event list to the contract, so an event the gateway accepts can no longer be missing from the SDKs.
- `npm run check:sdk-docs` compares the SDK design doc and the coverage tables to the shipped client surface, so a client method can no longer ship undocumented.
diff --git a/src/engine/adapters/whatsapp-web-js.adapter.ts b/src/engine/adapters/whatsapp-web-js.adapter.ts
index e3d1a673b..c871c81e0 100644
--- a/src/engine/adapters/whatsapp-web-js.adapter.ts
+++ b/src/engine/adapters/whatsapp-web-js.adapter.ts
@@ -1024,15 +1024,15 @@ export class WhatsAppWebJsAdapter extends EventEmitter implements IWhatsAppEngin
return isNewCall;
}
+ createCallLink(type: CallLinkType, startTime: number): Promise<string> {
+ return this.profile.createCallLink(type, startTime);
+ }
+
/**
* Reject a currently-ringing call. The entry is evicted on ANY attempt (a rejected/ended call
* will not become rejectable again); an unknown id or an expired entry maps to CallNotFoundError
* (HTTP 404). A failure of the library's reject() itself propagates as-is.
*/
- createCallLink(type: CallLinkType, startTime: number): Promise<string> {
- return this.profile.createCallLink(type, startTime);
- }
-
async rejectCall(callId: string): Promise<void> {
const entry = this.liveCalls.get(callId);
this.liveCalls.delete(callId);