Skip to content

Commit 33ef8c5

Browse files
committed
chore: release auto-reject call as patch
1 parent bd6be18 commit 33ef8c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/auto-reject-call.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'zaileys': minor
2+
'zaileys': patch
33
---
44

55
Auto-reject incoming calls. New `autoRejectCall` client option (`true`, or `{ enabled, allow, onReject }`) hangs up incoming WhatsApp calls automatically — with an allow-list (jid/digits array or predicate) and an `onReject` hook to notify the caller. The underlying `client.rejectCall(call)` / `client.rejectCall(callId, from)` method is exposed for manual control from a `call-incoming` handler. Off by default; unofficial provider only (the Cloud API has no calls — it throws `UNSUPPORTED_ON_CLOUD`).

0 commit comments

Comments
 (0)