From 8936f4945e9e5e18895ba5e04549c816fe8de7dc Mon Sep 17 00:00:00 2001 From: Daniel Ossig Date: Fri, 25 Sep 2026 15:47:57 +0000 Subject: [PATCH] fix: map the chat-end-message attribute in the embed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `chatEndMessage` is a documented VapiWidget prop, but the embed's attribute map had no entry for it, so `` and `data-chat-end-message` were silently ignored and the chat-ended screen always read "This chat has ended. Thank you.". It is the only non-callback prop missing from the map. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/widget/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/index.ts b/src/widget/index.ts index a165dbf..44808aa 100644 --- a/src/widget/index.ts +++ b/src/widget/index.ts @@ -164,6 +164,7 @@ function initializeWidgets() { // Chat Configuration 'chat-first-message': 'chatFirstMessage', + 'chat-end-message': 'chatEndMessage', 'chat-placeholder': 'chatPlaceholder', // Voice Configuration