@uptiqai/widgets-sdk 1.233.0 → 1.235.0
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/headless.js +435 -413
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +22180 -22100
- package/dist/index.umd.cjs +186 -186
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -145,7 +145,10 @@ declare type CommonWidgetProps = {
|
|
|
145
145
|
config: WidgetConfig;
|
|
146
146
|
user: WidgetUser;
|
|
147
147
|
theme?: WidgetTheme;
|
|
148
|
+
defaultConversationId?: string;
|
|
149
|
+
/** @deprecated Pass `defaultConversationId` instead — a conversation spans many executions. */
|
|
148
150
|
defaultExecutionId?: string;
|
|
151
|
+
onConversationChange?: (conversationId?: string) => void;
|
|
149
152
|
onExecutionChange?: (executionId?: string) => void;
|
|
150
153
|
disableFilterConversationsByUser?: boolean;
|
|
151
154
|
responseFormat?: AgentResponseFormat;
|
|
@@ -375,6 +378,8 @@ declare type PlanUpdateElement = ConversationElement & {
|
|
|
375
378
|
|
|
376
379
|
export declare type QueryPayload = {
|
|
377
380
|
content: string;
|
|
381
|
+
conversationId?: string;
|
|
382
|
+
/** @deprecated Pass `conversationId` instead — this id has always addressed the conversation. */
|
|
378
383
|
executionId?: string;
|
|
379
384
|
files?: File[];
|
|
380
385
|
payload?: Record<string, unknown>;
|