@botfabrik/engine-webclient 4.110.3 → 4.110.5
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.
- package/dist/applySecurityMiddleware.js +18 -18
- package/dist/applySecurityMiddleware.test.js +14 -14
- package/dist/client/assets/{index-BKtBdibb.css → index-Cl8fPqJ_.css} +1 -1
- package/dist/client/assets/{index-DR0rhLK_.js → index-DgDI_BZV.js} +41 -41
- package/dist/client/assets/{index-DR0rhLK_.js.map → index-DgDI_BZV.js.map} +1 -1
- package/dist/client/fab.svg +12 -2
- package/dist/client/index.html +2 -2
- package/dist/index.js +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +2 -2
package/dist/client/fab.svg
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
2
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 3129 3129" version="1.1"
|
|
3
|
+
<svg width="100%" height="100%" viewBox="0 0 3129 3129" version="1.1"
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"
|
|
6
|
+
xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
7
|
+
<defs>
|
|
8
|
+
<style>
|
|
9
|
+
.primary {
|
|
10
|
+
fill: #042f61;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
</defs>
|
|
4
14
|
<g id="chat-open" transform="matrix(0.968573,0,0,0.968573,50.1659,47.2531)">
|
|
5
15
|
<rect x="0.083" y="2.442" width="3125" height="3125" style="fill:none;"/>
|
|
6
16
|
</g>
|
|
7
17
|
<g>
|
|
8
18
|
<g transform="matrix(0.968573,0,0,0.968573,50.1659,47.2531)">
|
|
9
|
-
<path d="M1531.31,5.511C2393.48,5.511 3108.27,705.64 3126.5,1568C3144.73,2430.38 2459.57,3130.51 1597.4,3130.51C735.231,3130.51 20.46,2430.38 2.21,1568C-16.022,705.638 669.138,5.511 1531.31,5.511Z" style="
|
|
19
|
+
<path class="primary" d="M1531.31,5.511C2393.48,5.511 3108.27,705.64 3126.5,1568C3144.73,2430.38 2459.57,3130.51 1597.4,3130.51C735.231,3130.51 20.46,2430.38 2.21,1568C-16.022,705.638 669.138,5.511 1531.31,5.511Z" style="stroke:white;stroke-width:61.95px;"/>
|
|
10
20
|
</g>
|
|
11
21
|
<g transform="matrix(0.968573,0,0,0.968573,50.1659,47.2531)">
|
|
12
22
|
<path d="M1179.34,2536.02C1114.36,2559.92 1082.25,2566.64 1035.19,2566.64C977.681,2566.64 941.083,2526.31 940.336,2458.34C940.336,2382.91 976.187,2346.31 1041.91,2346.31C1076.27,2346.31 1109.13,2353.03 1167.39,2367.97L1208.47,2262.66C1152.45,2235.03 1093.45,2221.58 1035.94,2221.58C888.054,2221.58 799.175,2306.73 799.175,2458.34C799.175,2607.72 888.054,2691.37 1028.47,2691.37C1097.18,2691.37 1153.2,2676.43 1224.15,2639.84L1179.34,2536.02Z" style="fill:white;fill-rule:nonzero;"/>
|
package/dist/client/index.html
CHANGED
|
@@ -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-
|
|
17
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
16
|
+
<script type="module" crossorigin src="./assets/index-DgDI_BZV.js"></script>
|
|
17
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Cl8fPqJ_.css">
|
|
18
18
|
</head>
|
|
19
19
|
|
|
20
20
|
<body>
|
package/dist/index.js
CHANGED
|
@@ -247,7 +247,7 @@ const sendConfigurationToClient = (socket, props, bot, clientName) => {
|
|
|
247
247
|
enableSpeechSupport: !!props.speech,
|
|
248
248
|
commands: props.commands || [],
|
|
249
249
|
menuItems: props.menuItems || [],
|
|
250
|
-
|
|
250
|
+
allowedEmbedOrigins: props.allowedEmbedOrigins,
|
|
251
251
|
};
|
|
252
252
|
socket.emit('set-settings', settings);
|
|
253
253
|
if (props.expandChatWindowAtStart &&
|
package/dist/types.d.ts
CHANGED
|
@@ -196,7 +196,7 @@ export interface WebClientProps {
|
|
|
196
196
|
*
|
|
197
197
|
* @default undefined (all origins allowed)
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
allowedEmbedOrigins?: string[];
|
|
200
200
|
/**
|
|
201
201
|
* List of trusted origins the webclient itself may load resources from.
|
|
202
202
|
*
|
|
@@ -211,7 +211,7 @@ export interface WebClientProps {
|
|
|
211
211
|
*
|
|
212
212
|
* @default undefined (all origins trusted)
|
|
213
213
|
*/
|
|
214
|
-
|
|
214
|
+
allowedResourceOrigins?: string[];
|
|
215
215
|
}
|
|
216
216
|
export declare enum Devices {
|
|
217
217
|
All = "all",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botfabrik/engine-webclient",
|
|
3
|
-
"version": "4.110.
|
|
3
|
+
"version": "4.110.5",
|
|
4
4
|
"description": "Webclient for Botfabriks Bot Engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"tsx": "^4.21.0",
|
|
56
56
|
"typescript": "5.9.3"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e6962d5a64e95c7ac16770af03aa1088b537b525"
|
|
59
59
|
}
|