From 8eaf523fd2025f969244181913ec9cb9eaee563c Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 10 Aug 2026 02:27:09 +0000 Subject: [PATCH] docs(client): fix notifications.list README example to use real read option The README's only usage example for client.notifications.list showed { unreadOnly: true }, a key the implementation has never read. The real options are { read?, type?, limit? }; replace the example with { read: false } (the semantic equivalent of unread-only). Fixes #6927 --- packages/client/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/README.md b/packages/client/README.md index 333d588422..4646204164 100644 --- a/packages/client/README.md +++ b/packages/client/README.md @@ -256,7 +256,7 @@ await client.approvals.approve(requestId, 'LGTM'); await client.approvals.reject(requestId, 'Incomplete'); // Notifications -await client.notifications.list({ unreadOnly: true }); +await client.notifications.list({ read: false }); // unread only await client.notifications.markRead(['notif-1', 'notif-2']); // AI Services