@botfabrik/engine-webclient 4.93.7-alpha.1 → 4.93.7

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,8 +13,8 @@
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-Bqevq7Rf.js"></script>
17
- <link rel="stylesheet" crossorigin href="./assets/index-D7pX36P-.css">
16
+ <script type="module" crossorigin src="./assets/index-ux2toNv6.js"></script>
17
+ <link rel="stylesheet" crossorigin href="./assets/index-DCpEIwB3.css">
18
18
  </head>
19
19
 
20
20
  <body>
package/dist/index.d.ts CHANGED
@@ -6,40 +6,6 @@ export type RequestSessionRecordQuery = (params: {
6
6
  querystrings: any;
7
7
  sessionId: string;
8
8
  }) => Promise<Record<string, unknown>>;
9
- export type MenuItemType = 'link' | 'action';
10
- export type MenuItemIcon = 'mail' | 'phone' | 'scroll' | 'link';
11
- export type MenuItemVisibility = 'always' | 'chat-only' | 'start-screen-only';
12
- type BaseMenuItem = {
13
- /**
14
- * Unique key for this menu item.
15
- * Used for translation as `header.menu.<id>`.
16
- */
17
- id: string;
18
- /**
19
- * Icon displayed for this menu item.
20
- */
21
- icon: MenuItemIcon;
22
- /**
23
- * If true, a divider (line) will be displayed after this item in the menu.
24
- */
25
- withDivider?: boolean;
26
- /**
27
- * Visibility of the menu item.
28
- * - `always`: visible in all contexts (start screen, chat)
29
- * - `chat-only`: visible only in the chat context
30
- * - `start-screen-only`: visible only in the start screen context
31
- */
32
- visibility: MenuItemVisibility;
33
- };
34
- type LinkMenuItem = BaseMenuItem & {
35
- type: 'link';
36
- url: string;
37
- };
38
- type ActionMenuItem = BaseMenuItem & {
39
- type: 'action';
40
- action: Action;
41
- };
42
- export type MenuItem = LinkMenuItem | ActionMenuItem;
43
9
  export interface WebClientProps {
44
10
  getStartedAction?: Action;
45
11
  requestUserInfos?: RequestUserInfos;
@@ -112,12 +78,6 @@ export interface WebClientProps {
112
78
  * @default []
113
79
  * */
114
80
  commands?: string[];
115
- /**
116
- * List of custom menu items displayed in the chat header.
117
- *
118
- * @default []
119
- */
120
- menuItems?: MenuItem[];
121
81
  }
122
82
  export declare enum Devices {
123
83
  All = "all",
package/dist/index.js CHANGED
@@ -207,7 +207,6 @@ const sendConfigurationToClient = (socket, props, bot, clientName) => {
207
207
  enableGeneralConditions: !!props.enableGeneralConditions,
208
208
  enableSpeechSupport: !!props.speech,
209
209
  commands: props.commands || [],
210
- menuItems: props.menuItems || [],
211
210
  };
212
211
  socket.emit('set-settings', settings);
213
212
  if (props.expandChatWindowAtStart &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botfabrik/engine-webclient",
3
- "version": "4.93.7-alpha.1",
3
+ "version": "4.93.7",
4
4
  "description": "Webclient for Botfabriks Bot Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@botfabrik/engine-domain": "^4.90.6",
24
- "@botfabrik/engine-transcript-export": "^4.93.5",
24
+ "@botfabrik/engine-transcript-export": "^4.93.7",
25
25
  "@botfabrik/engine-utils": "^4.90.6",
26
26
  "@google-cloud/speech": "^7.1.0",
27
27
  "accept-language-parser": "^1.5.0",
@@ -39,5 +39,5 @@
39
39
  "tsx": "^4.20.3",
40
40
  "typescript": "5.8.3"
41
41
  },
42
- "gitHead": "839b1ecf8533d485a2fa914fe6c4c1f93c5b2fa1"
42
+ "gitHead": "4f10c922974f52f058df15510f37f7fcd748b299"
43
43
  }