@botfabrik/engine-webclient 4.96.16 → 4.96.18
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.
|
@@ -20,7 +20,10 @@ const loadPreviousConversations = async (store, sessionId) => {
|
|
|
20
20
|
.limit(200)
|
|
21
21
|
.toArray();
|
|
22
22
|
// id hinzufügen, damit wir nicht zweimal die selbe meldung im state haben
|
|
23
|
-
const messages = actionLogs.map((l) => Object.assign({}, l.message, {
|
|
23
|
+
const messages = actionLogs.map((l) => Object.assign({}, l.message, {
|
|
24
|
+
_id: l._id,
|
|
25
|
+
reaction: l.reaction.type || l.reaction, // TODO: handle reaction always as object
|
|
26
|
+
}));
|
|
24
27
|
return messages;
|
|
25
28
|
};
|
|
26
29
|
exports.default = loadPreviousConversations;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botfabrik/engine-webclient",
|
|
3
|
-
"version": "4.96.
|
|
3
|
+
"version": "4.96.18",
|
|
4
4
|
"description": "Webclient for Botfabriks Bot Engine",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dev:embed": "tsx --watch ./run-embed-local.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@botfabrik/engine-domain": "^4.96.
|
|
24
|
-
"@botfabrik/engine-transcript-export": "^4.96.
|
|
25
|
-
"@botfabrik/engine-utils": "^4.96.
|
|
23
|
+
"@botfabrik/engine-domain": "^4.96.18",
|
|
24
|
+
"@botfabrik/engine-transcript-export": "^4.96.18",
|
|
25
|
+
"@botfabrik/engine-utils": "^4.96.18",
|
|
26
26
|
"@google-cloud/speech": "^7.2.0",
|
|
27
27
|
"@node-saml/passport-saml": "^5.1.0",
|
|
28
28
|
"accept-language-parser": "^1.5.0",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"tsx": "^4.20.4",
|
|
44
44
|
"typescript": "5.9.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "8f11f87b240e769a2dfbe2052ca8b2d3b10d0b41"
|
|
47
47
|
}
|