@botfabrik/engine-webclient 4.38.9 → 4.38.12
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/asset-manifest.json +3 -3
- package/dist/client/index.html +1 -1
- package/dist/client/static/js/{main.6aff0d76.js → main.d10342d3.js} +3 -3
- package/dist/client/static/js/main.d10342d3.js.map +1 -0
- package/dist/embed/bundle.js +3 -1
- package/dist/embed/bundle.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/types.d.ts +5 -5
- package/package.json +15 -14
- package/dist/client/static/js/main.6aff0d76.js.map +0 -1
- /package/dist/client/static/js/{main.6aff0d76.js.LICENSE.txt → main.d10342d3.js.LICENSE.txt} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { Environment } from '@botfabrik/engine-domain';
|
|
|
3
3
|
import { Action } from '@botfabrik/engine-domain';
|
|
4
4
|
import { SpeechToTextProps } from './speechToText';
|
|
5
5
|
import type { SessionInfoUserPayload, WebclientMiddlewareState } from './types';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type RequestUserInfos = (querystrings: any) => Promise<Partial<SessionInfoUser<SessionInfoUserPayload>>>;
|
|
7
|
+
export type RequestSessionRecordQuery = (querystrings: any) => Promise<Record<string, unknown>>;
|
|
8
8
|
export interface WebClientProps {
|
|
9
9
|
getStartedAction?: Action;
|
|
10
10
|
requestUserInfos?: RequestUserInfos;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SessionInfoClientPayload = {
|
|
2
2
|
headers: any;
|
|
3
3
|
querystrings: any;
|
|
4
4
|
ip: string;
|
|
@@ -6,7 +6,7 @@ export declare type SessionInfoClientPayload = {
|
|
|
6
6
|
userAgent: UserAgent;
|
|
7
7
|
conversationRating?: ConversationRating;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type UserAgent = {
|
|
10
10
|
browser: {
|
|
11
11
|
name: string | undefined;
|
|
12
12
|
version: string | undefined;
|
|
@@ -23,9 +23,9 @@ export declare type UserAgent = {
|
|
|
23
23
|
type: string | undefined;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type ConversationRating = {
|
|
27
27
|
value: number;
|
|
28
28
|
feedback: string;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
31
|
-
export
|
|
30
|
+
export type SessionInfoUserPayload = {};
|
|
31
|
+
export type WebclientMiddlewareState = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botfabrik/engine-webclient",
|
|
3
|
-
"version": "4.38.
|
|
3
|
+
"version": "4.38.12",
|
|
4
4
|
"description": "Webclient for Botfabriks Bot Engine",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,30 +15,31 @@
|
|
|
15
15
|
"test": "jest --verbose",
|
|
16
16
|
"test:watch": "jest --watch",
|
|
17
17
|
"prepare": "(cd client && npm install); (cd script-tag && npm install)",
|
|
18
|
-
"prepublishOnly": "npm run build"
|
|
18
|
+
"prepublishOnly": "npm run build",
|
|
19
|
+
"update": "npx npm-check-updates -i"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@botfabrik/engine-core": "^4.38.
|
|
22
|
-
"@botfabrik/engine-domain": "^4.38.
|
|
23
|
-
"@botfabrik/engine-transcript-export": "^4.38.
|
|
24
|
-
"@botfabrik/engine-utils": "^4.38.
|
|
22
|
+
"@botfabrik/engine-core": "^4.38.12",
|
|
23
|
+
"@botfabrik/engine-domain": "^4.38.12",
|
|
24
|
+
"@botfabrik/engine-transcript-export": "^4.38.12",
|
|
25
|
+
"@botfabrik/engine-utils": "^4.38.12",
|
|
25
26
|
"@google-cloud/speech": "^5.1.0",
|
|
26
27
|
"accept-language-parser": "^1.5.0",
|
|
27
|
-
"express": "^4.18.
|
|
28
|
-
"mongodb": "^4.
|
|
29
|
-
"socket.io": "4.5.
|
|
30
|
-
"ua-parser-js": "^1.0.
|
|
28
|
+
"express": "^4.18.2",
|
|
29
|
+
"mongodb": "^4.13.0",
|
|
30
|
+
"socket.io": "4.5.4",
|
|
31
|
+
"ua-parser-js": "^1.0.32",
|
|
31
32
|
"uuid": "^9.0.0"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"@types/accept-language-parser": "^1.5.3",
|
|
35
|
-
"@types/express": "^4.17.
|
|
36
|
+
"@types/express": "^4.17.15",
|
|
36
37
|
"@types/serve-static": "^1.15.0",
|
|
37
38
|
"@types/ua-parser-js": "^0.7.36",
|
|
38
|
-
"@types/uuid": "^
|
|
39
|
+
"@types/uuid": "^9.0.0",
|
|
39
40
|
"copyfiles": "^2.4.1",
|
|
40
41
|
"rimraf": "^3.0.2",
|
|
41
|
-
"typescript": "^4.
|
|
42
|
+
"typescript": "^4.9.4"
|
|
42
43
|
},
|
|
43
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "7a2ba792852f4ead949c95bf9a60eb302dc5f9fc"
|
|
44
45
|
}
|