@waniwani/sdk 0.11.22 → 0.11.23
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/chat/embed.js +60 -60
- package/dist/chat/embed.js.map +1 -1
- package/dist/chat/index.d.ts +9 -0
- package/dist/chat/index.js +7 -7
- package/dist/chat/index.js.map +1 -1
- package/package.json +1 -1
package/dist/chat/index.d.ts
CHANGED
|
@@ -221,6 +221,15 @@ interface ChatEmbedProps extends Omit<ChatBaseProps, "api" | "onCallTool"> {
|
|
|
221
221
|
title?: string;
|
|
222
222
|
/** Extra React node rendered in the sticky header, right of the title. */
|
|
223
223
|
headerActions?: React.ReactNode;
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
* When `true`, the root renders at `opacity: 0` so the chrome doesn't
|
|
227
|
+
* paint with stale defaults while the layout's remote config is still
|
|
228
|
+
* loading. Flipping to `false` triggers a single coordinated fade-in.
|
|
229
|
+
* Set by `WaniwaniChat` / the IIFE embed; standalone `ChatEmbed` callers
|
|
230
|
+
* should leave this unset.
|
|
231
|
+
*/
|
|
232
|
+
initializing?: boolean;
|
|
224
233
|
}
|
|
225
234
|
interface ChatHandle {
|
|
226
235
|
/** Programmatically send a user message into the chat */
|