@botfabrik/engine-webclient 4.43.0 → 4.43.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.
- package/dist/client/assets/index-2bed803d.js +127 -0
- package/dist/client/assets/index-2bed803d.js.map +1 -0
- package/dist/client/index.html +1 -1
- package/dist/index.js +2 -1
- package/package.json +5 -5
- package/dist/client/assets/index-ffa027ed.js +0 -127
- package/dist/client/assets/index-ffa027ed.js.map +0 -1
package/dist/client/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<meta name="theme-color" content="#000000" />
|
|
9
9
|
<meta name="google" content="notranslate" />
|
|
10
10
|
<title>Bubble Chat Client</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-2bed803d.js"></script>
|
|
12
12
|
<link rel="stylesheet" href="./assets/index-4125a820.css">
|
|
13
13
|
</head>
|
|
14
14
|
|
package/dist/index.js
CHANGED
|
@@ -30,6 +30,7 @@ exports.CLIENT_TYPE = exports.Devices = void 0;
|
|
|
30
30
|
const engine_domain_1 = require("@botfabrik/engine-domain");
|
|
31
31
|
const engine_transcript_export_1 = require("@botfabrik/engine-transcript-export");
|
|
32
32
|
const express = __importStar(require("express"));
|
|
33
|
+
const mongodb_1 = require("mongodb");
|
|
33
34
|
const createSessionInfo_1 = __importDefault(require("./createSessionInfo"));
|
|
34
35
|
const getSupportedClientLocale_1 = __importDefault(require("./getSupportedClientLocale"));
|
|
35
36
|
const loadPreviousConversation_1 = __importDefault(require("./loadPreviousConversation"));
|
|
@@ -146,7 +147,7 @@ exports.default = (clientName, environment, props) => async (bot) => {
|
|
|
146
147
|
await session.dispatch((0, engine_domain_1.guestDisconnected)(sessionId));
|
|
147
148
|
});
|
|
148
149
|
socket.on('conversation-rating', async (rating) => {
|
|
149
|
-
sessionsCollection.updateOne({ _id: sessionId }, { $set: { 'sessionInfo.client.payload.conversationRating': rating } });
|
|
150
|
+
sessionsCollection.updateOne({ _id: new mongodb_1.ObjectId(sessionId) }, { $set: { 'sessionInfo.client.payload.conversationRating': rating } });
|
|
150
151
|
session.dispatch({ type: engine_domain_1.ActionTypes.CONVERSATION_RATING_FROM_GUEST, payload: { rating } });
|
|
151
152
|
});
|
|
152
153
|
socket.on('audio-message', async (buffer) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botfabrik/engine-webclient",
|
|
3
|
-
"version": "4.43.
|
|
3
|
+
"version": "4.43.1",
|
|
4
4
|
"description": "Webclient for Botfabriks Bot Engine",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"update": "npx npm-check-updates -i"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@botfabrik/engine-core": "^4.43.
|
|
22
|
+
"@botfabrik/engine-core": "^4.43.1",
|
|
23
23
|
"@botfabrik/engine-domain": "^4.43.0",
|
|
24
|
-
"@botfabrik/engine-transcript-export": "^4.43.
|
|
24
|
+
"@botfabrik/engine-transcript-export": "^4.43.1",
|
|
25
25
|
"@botfabrik/engine-utils": "^4.43.0",
|
|
26
|
-
"@google-cloud/speech": "^6.0.
|
|
26
|
+
"@google-cloud/speech": "^6.0.1",
|
|
27
27
|
"accept-language-parser": "^1.5.0",
|
|
28
28
|
"express": "^4.18.2",
|
|
29
29
|
"mongodb": "^5.7.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"rimraf": "^5.0.1",
|
|
42
42
|
"typescript": "^5.1.6"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a1c73f1b9ac587964a4d7487773bb3d631abab6a"
|
|
45
45
|
}
|