From 67f250babcd023c03290209e5f45ed8f9bd3d0e4 Mon Sep 17 00:00:00 2001 From: Dmitrii Ostasevich <90881+kwinto@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:34:18 +0200 Subject: [PATCH 1/2] fix fullscreen plugins --- src/webchat-ui/components/WebchatUI.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/webchat-ui/components/WebchatUI.tsx b/src/webchat-ui/components/WebchatUI.tsx index 59b93235..cc4c037c 100644 --- a/src/webchat-ui/components/WebchatUI.tsx +++ b/src/webchat-ui/components/WebchatUI.tsx @@ -1267,6 +1267,8 @@ export class WebchatUI extends React.PureComponent< message={fullscreenMessage as IMessage} webchatTheme={this.state.theme} onEmitAnalytics={onEmitAnalytics} + action={this.sendMessage} + theme={this.state.theme} /> ); } @@ -1302,7 +1304,7 @@ export class WebchatUI extends React.PureComponent< action={this.sendMessage} config={config} hasReply={hasReply} - isConversationEnded={isConversationEnded} + isConversationEnded={isEnded} onDismissFullscreen={() => {}} onEmitAnalytics={onEmitAnalytics} onSetFullscreen={() => this.props.onSetFullscreenMessage(message)} From dd1dbe5cc803c8818b89ead200790ab96992c4d9 Mon Sep 17 00:00:00 2001 From: Dmitrii Ostasevich <90881+kwinto@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:51:32 +0200 Subject: [PATCH 2/2] update chat-components --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d4d9aaef..d20d24ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN LICENSE", "dependencies": { "@braintree/sanitize-url": "^6.0.0", - "@cognigy/chat-components": "^0.25.0", + "@cognigy/chat-components": "^0.26.0", "@cognigy/socket-client": "5.0.0-beta.10", "@emotion/cache": "^10.0.29", "@emotion/react": "^11.7.1", @@ -828,9 +828,9 @@ } }, "node_modules/@cognigy/chat-components": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/@cognigy/chat-components/-/chat-components-0.25.0.tgz", - "integrity": "sha512-PK9muc912rWNQiREm8om6TPTeSX3uFhS1Aa2TNb62mnQ/gBQBWOAs6ghGCBAGA/LaoEhIXYCwZnI3nOdlK9xgg==", + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/@cognigy/chat-components/-/chat-components-0.26.0.tgz", + "integrity": "sha512-bdS3HVgfDJ1z/1la2Ne0hkYybJ+1dH7fxPcLwugptNHNkX7+Fj+DpcBf+p+uJxkPkbNI8gEHL2l6wkuXSWM4DA==", "dependencies": { "@braintree/sanitize-url": "^6.0.4", "@fontsource/figtree": "5.0.19", diff --git a/package.json b/package.json index f1c3e4e2..669a4229 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@braintree/sanitize-url": "^6.0.0", - "@cognigy/chat-components": "^0.25.0", + "@cognigy/chat-components": "^0.26.0", "@cognigy/socket-client": "5.0.0-beta.10", "@emotion/cache": "^10.0.29", "@emotion/react": "^11.7.1",