mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-16 21:10:26 +08:00
🐛 Fix Bot premature isEnded flag when response has only clientSideActions
This commit is contained in:
parent
ef18b1c9e5
commit
46089d65df
6
bun.lock
6
bun.lock
@ -599,7 +599,7 @@
|
||||
},
|
||||
"packages/embeds/js": {
|
||||
"name": "@typebot.io/js",
|
||||
"version": "0.3.91",
|
||||
"version": "0.3.92",
|
||||
"devDependencies": {
|
||||
"@ai-sdk/ui-utils": "1.2.2",
|
||||
"@ark-ui/solid": "5.0.0",
|
||||
@ -637,7 +637,7 @@
|
||||
},
|
||||
"packages/embeds/nextjs": {
|
||||
"name": "@typebot.io/nextjs",
|
||||
"version": "0.3.91",
|
||||
"version": "0.3.92",
|
||||
"dependencies": {
|
||||
"next": "15.3.0",
|
||||
"react": "18.3.1",
|
||||
@ -656,7 +656,7 @@
|
||||
},
|
||||
"packages/embeds/react": {
|
||||
"name": "@typebot.io/react",
|
||||
"version": "0.3.91",
|
||||
"version": "0.3.92",
|
||||
"dependencies": {
|
||||
"react": "18.3.1",
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/js",
|
||||
"version": "0.3.91",
|
||||
"version": "0.3.92",
|
||||
"description": "Javascript library to display typebots on your website",
|
||||
"license": "FSL-1.1-ALv2",
|
||||
"type": "module",
|
||||
|
||||
@ -332,8 +332,7 @@ export const ConversationContainer = (props: Props) => {
|
||||
});
|
||||
await processClientSideActions(actionsBeforeFirstBubble);
|
||||
if (
|
||||
data.clientSideActions.length === 1 &&
|
||||
data.clientSideActions[0]!.type === "stream" &&
|
||||
data.clientSideActions.length > 0 &&
|
||||
data.messages.length === 0 &&
|
||||
data.input === undefined
|
||||
)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/nextjs",
|
||||
"version": "0.3.91",
|
||||
"version": "0.3.92",
|
||||
"license": "FSL-1.1-ALv2",
|
||||
"description": "Convenient library to display typebots on your Next.js website",
|
||||
"type": "module",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/react",
|
||||
"version": "0.3.91",
|
||||
"version": "0.3.92",
|
||||
"description": "Convenient library to display typebots on your React app",
|
||||
"license": "FSL-1.1-ALv2",
|
||||
"type": "module",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user