@mordn/chat-widget 0.6.0 → 0.6.1
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2431,7 +2431,8 @@ function ChatWidget({
|
|
|
2431
2431
|
onClose,
|
|
2432
2432
|
headerActions,
|
|
2433
2433
|
open,
|
|
2434
|
-
onOpenChange
|
|
2434
|
+
onOpenChange,
|
|
2435
|
+
inputPlugins
|
|
2435
2436
|
}) {
|
|
2436
2437
|
const layout = display?.layout || "popup";
|
|
2437
2438
|
const isControlled = open !== void 0;
|
|
@@ -2506,8 +2507,9 @@ function ChatWidget({
|
|
|
2506
2507
|
temperature,
|
|
2507
2508
|
theme,
|
|
2508
2509
|
features,
|
|
2509
|
-
starterPrompts
|
|
2510
|
-
|
|
2510
|
+
starterPrompts,
|
|
2511
|
+
inputPlugins
|
|
2512
|
+
}), [userId, model, systemPrompt, temperature, theme, features, starterPrompts, inputPlugins]);
|
|
2511
2513
|
const togglePosition = display?.toggleButtonPosition || { bottom: "24px", right: "24px" };
|
|
2512
2514
|
const themeClass = theme?.mode === "dark" ? "dark" : "";
|
|
2513
2515
|
if (layout === "inline") {
|