@botfabrik/engine-webclient 4.84.0 → 4.84.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.
@@ -13,7 +13,7 @@
13
13
  <meta name="theme-color" content="#000000" />
14
14
  <meta name="google" content="notranslate" />
15
15
  <title>Bubble Chat Client</title>
16
- <script type="module" crossorigin src="./assets/index-Cgu7e2D1.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-CXS7bgvw.js"></script>
17
17
  <link rel="stylesheet" crossorigin href="./assets/index-DgT1xWfK.css">
18
18
  </head>
19
19
 
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ export interface WebClientProps {
30
30
  *
31
31
  * Useful for collecting quality insights, improving support, or tracking user satisfaction.
32
32
  *
33
- * @default false
33
+ * @default true
34
34
  */
35
35
  enableConversationRating?: boolean;
36
36
  /**
@@ -50,7 +50,7 @@ export interface WebClientProps {
50
50
  *
51
51
  * @default false
52
52
  */
53
- enableTranscriptExportMail?: boolean;
53
+ enableTranscriptExportEmail?: boolean;
54
54
  /**
55
55
  * Enables the option to open the chat client in a standalone tab or window.
56
56
  * When set to true, a button will be shown that allows users to open the chat
package/dist/index.js CHANGED
@@ -165,7 +165,7 @@ const onStartChat = (socket, props, bot, clientName, environment, logger) => asy
165
165
  messages: previousConversations,
166
166
  });
167
167
  // enable conversation rating
168
- if (props.enableConversationRating) {
168
+ if (props.enableConversationRating !== false) {
169
169
  socket.emit('enable-conversation-rating', {
170
170
  rating: sessionInfo.client.payload.conversationRating,
171
171
  });
@@ -218,7 +218,7 @@ const sendConfigurationToClient = (socket, props, bot, clientName) => {
218
218
  enableStartScreen: !!props.enableStartScreen,
219
219
  enableStandaloneView: !!props.enableStandaloneView,
220
220
  enableTranscriptExportPdf: !!props.enableTranscriptExportPdf,
221
- enableTranscriptExportMail: !!props.enableTranscriptExportMail,
221
+ enableTranscriptExportEmail: !!props.enableTranscriptExportEmail,
222
222
  enableGeneralConditions: !!props.enableGeneralConditions,
223
223
  enableSpeechSupport: !!props.speech,
224
224
  commands: props.commands || [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botfabrik/engine-webclient",
3
- "version": "4.84.0",
3
+ "version": "4.84.1",
4
4
  "description": "Webclient for Botfabriks Bot Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "tsx": "^4.19.3",
41
41
  "typescript": "5.8.3"
42
42
  },
43
- "gitHead": "442fbf9ca0d0f362a82c5a83caec30e681643cbf"
43
+ "gitHead": "3cb7c5fcbc19cd5f517785debf64890c81089f85"
44
44
  }