File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
src/components/ConversationContainer Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @typebot.io/js" ,
3
- "version" : " 0.2.60 " ,
3
+ "version" : " 0.2.61 " ,
4
4
"description" : " Javascript library to display typebots on your website" ,
5
5
"type" : " module" ,
6
6
"main" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ export const ConversationContainer = (props: Props) => {
248
248
const processClientSideActions = async (
249
249
actions : NonNullable < ContinueChatResponse [ 'clientSideActions' ] >
250
250
) => {
251
+ if ( isRecovered ( ) ) return
251
252
for ( const action of actions ) {
252
253
if (
253
254
'streamOpenAiChatCompletion' in action ||
@@ -302,10 +303,7 @@ export const ConversationContainer = (props: Props) => {
302
303
( chatChunk . messages . length > 0 && isSending ( ) ) )
303
304
}
304
305
hasError = { hasError ( ) && index ( ) === chatChunks ( ) . length - 1 }
305
- isTransitionDisabled = {
306
- index ( ) !== chatChunks ( ) . length - 1 ||
307
- ( ! chatChunk . input && isRecovered ( ) )
308
- }
306
+ isTransitionDisabled = { index ( ) !== chatChunks ( ) . length - 1 }
309
307
onNewBubbleDisplayed = { handleNewBubbleDisplayed }
310
308
onAllBubblesDisplayed = { handleAllBubblesDisplayed }
311
309
onSubmit = { sendMessage }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @typebot.io/nextjs" ,
3
- "version" : " 0.2.60 " ,
3
+ "version" : " 0.2.61 " ,
4
4
"description" : " Convenient library to display typebots on your Next.js website" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @typebot.io/react" ,
3
- "version" : " 0.2.60 " ,
3
+ "version" : " 0.2.61 " ,
4
4
"description" : " Convenient library to display typebots on your React app" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments