@eloquentai/chat-sdk 0.35.0-dev.5 → 0.35.0-dev.6
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/dist/components/chat/chat.d.ts +2 -0
- package/dist/index.mjs +534 -533
- package/dist/index.mjs.map +1 -1
- package/dist/{skeleton-CVt31tEo.js → skeleton-Bjh-b-YT.js} +3 -3
- package/dist/{skeleton-CVt31tEo.js.map → skeleton-Bjh-b-YT.js.map} +1 -1
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,8 @@ type InternalChatProps = {
|
|
|
16
16
|
INTERNAL_ONLY_API_URL?: string;
|
|
17
17
|
INTERNAL_ONLY_FEATURE_MESSAGE_CLICK?: (message: Message) => void;
|
|
18
18
|
INTERNAL_ONLY_FEATURE_CLEAR_CHAT_CLICK?: () => void;
|
|
19
|
+
/** Called with the user's message as it is sent, before the reply; the host uses it to show a pending turn. */
|
|
20
|
+
INTERNAL_ONLY_ON_MESSAGE_SENT?: (message: Message) => void;
|
|
19
21
|
/** Outlines the message with this backend id and scrolls it into view. */
|
|
20
22
|
INTERNAL_ONLY_HIGHLIGHTED_MESSAGE_ID?: string | null;
|
|
21
23
|
/** Called with the backend chat id whenever it changes (`null` after a clear). */
|