@botfabrik/engine-webclient 4.76.13 → 4.76.14

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.
Files changed (33) hide show
  1. package/package.json +6 -6
  2. package/dist/package.json +0 -44
  3. package/dist/src/createSessionInfo.test.d.ts +0 -1
  4. package/dist/src/extractLocale.test.d.ts +0 -1
  5. package/dist/src/getSupportedClientLocale.test.d.ts +0 -1
  6. package/dist/src/requestSessionData.test.d.ts +0 -1
  7. package/run-embed-local.ts +0 -16
  8. /package/dist/{src/createSessionInfo.d.ts → createSessionInfo.d.ts} +0 -0
  9. /package/dist/{src/createSessionInfo.js → createSessionInfo.js} +0 -0
  10. /package/dist/{src/createSessionInfo.test.js → createSessionInfo.test.js} +0 -0
  11. /package/dist/{src/extractLocale.d.ts → extractLocale.d.ts} +0 -0
  12. /package/dist/{src/extractLocale.js → extractLocale.js} +0 -0
  13. /package/dist/{src/extractLocale.test.js → extractLocale.test.js} +0 -0
  14. /package/dist/{src/getSupportedClientLocale.d.ts → getSupportedClientLocale.d.ts} +0 -0
  15. /package/dist/{src/getSupportedClientLocale.js → getSupportedClientLocale.js} +0 -0
  16. /package/dist/{src/getSupportedClientLocale.test.js → getSupportedClientLocale.test.js} +0 -0
  17. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  18. /package/dist/{src/index.js → index.js} +0 -0
  19. /package/dist/{src/loadPreviousConversation.d.ts → loadPreviousConversation.d.ts} +0 -0
  20. /package/dist/{src/loadPreviousConversation.js → loadPreviousConversation.js} +0 -0
  21. /package/dist/{src/middleware → middleware}/index.d.ts +0 -0
  22. /package/dist/{src/middleware → middleware}/index.js +0 -0
  23. /package/dist/{src/requestSessionData.d.ts → requestSessionData.d.ts} +0 -0
  24. /package/dist/{src/requestSessionData.js → requestSessionData.js} +0 -0
  25. /package/dist/{src/requestSessionData.test.js → requestSessionData.test.js} +0 -0
  26. /package/dist/{src/setTranslations.d.ts → setTranslations.d.ts} +0 -0
  27. /package/dist/{src/setTranslations.js → setTranslations.js} +0 -0
  28. /package/dist/{src/speechToText.d.ts → speechToText.d.ts} +0 -0
  29. /package/dist/{src/speechToText.js → speechToText.js} +0 -0
  30. /package/dist/{src/types.d.ts → types.d.ts} +0 -0
  31. /package/dist/{src/types.js → types.js} +0 -0
  32. /package/dist/{src/views → views}/index.d.ts +0 -0
  33. /package/dist/{src/views → views}/index.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botfabrik/engine-webclient",
3
- "version": "4.76.13",
3
+ "version": "4.76.14",
4
4
  "description": "Webclient for Botfabriks Bot Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,10 +20,10 @@
20
20
  "dev:embed": "tsx --watch ./run-embed-local.ts"
21
21
  },
22
22
  "dependencies": {
23
- "@botfabrik/engine-core": "^4.76.13",
24
- "@botfabrik/engine-domain": "^4.76.9",
25
- "@botfabrik/engine-transcript-export": "^4.76.13",
26
- "@botfabrik/engine-utils": "^4.76.9",
23
+ "@botfabrik/engine-core": "^4.76.14",
24
+ "@botfabrik/engine-domain": "^4.76.14",
25
+ "@botfabrik/engine-transcript-export": "^4.76.14",
26
+ "@botfabrik/engine-utils": "^4.76.14",
27
27
  "@google-cloud/speech": "^6.7.0",
28
28
  "accept-language-parser": "^1.5.0",
29
29
  "express": "^4.21.2",
@@ -40,5 +40,5 @@
40
40
  "tsx": "^4.19.2",
41
41
  "typescript": "5.7.2"
42
42
  },
43
- "gitHead": "b3104a09530cb9bf79a6de23e1e762ec2f17a75d"
43
+ "gitHead": "00280ea01c224fd1e618feadc1ab8c6fabf7b584"
44
44
  }
package/dist/package.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "name": "@botfabrik/engine-webclient",
3
- "version": "4.76.13",
4
- "description": "Webclient for Botfabriks Bot Engine",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "npm run clean && npm run build:client && npm run build:server && npm run build:script-tag && npm run copy:client && npm run copy:script-tag",
9
- "build:script-tag": "(cd ./script-tag && npm run build && cd ..)",
10
- "build:client": "(cd ./client && npm run build && cd ..)",
11
- "build:server": "tsc",
12
- "copy:script-tag": "copyfiles -u 2 ./script-tag/dist/bundle.js ./dist/embed",
13
- "copy:client": "copyfiles -u 2 ./client/dist/** ./dist/client && copyfiles -u 2 ./client/dist/**/*.* ./dist/client",
14
- "clean": "rimraf ./dist",
15
- "test": "jest --verbose",
16
- "test:watch": "jest --watch",
17
- "prepare": "(cd client && npm install); (cd script-tag && npm install)",
18
- "prepublishOnly": "npm run build",
19
- "update": "npx npm-check-updates -i",
20
- "dev:embed": "tsx --watch ./run-embed-local.ts"
21
- },
22
- "dependencies": {
23
- "@botfabrik/engine-core": "^4.76.13",
24
- "@botfabrik/engine-domain": "^4.76.9",
25
- "@botfabrik/engine-transcript-export": "^4.76.13",
26
- "@botfabrik/engine-utils": "^4.76.9",
27
- "@google-cloud/speech": "^6.7.0",
28
- "accept-language-parser": "^1.5.0",
29
- "express": "^4.21.2",
30
- "socket.io": "^4.8.1",
31
- "uuid": "^11.0.3"
32
- },
33
- "devDependencies": {
34
- "@types/accept-language-parser": "^1.5.6",
35
- "@types/express": "^4.17.21",
36
- "@types/serve-static": "^1.15.7",
37
- "@types/ua-parser-js": "^0.7.39",
38
- "copyfiles": "^2.4.1",
39
- "rimraf": "^6.0.1",
40
- "tsx": "^4.19.2",
41
- "typescript": "5.7.2"
42
- },
43
- "gitHead": "b3104a09530cb9bf79a6de23e1e762ec2f17a75d"
44
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- import express from 'express';
2
- import index from './src/views/index';
3
- const app = express();
4
- const port = 3000;
5
-
6
- app.get('/', (_req, res) => {
7
- console.log('Request received');
8
- const server = `https://chatbot.apptiva.ch/chatbot`;
9
- res.set('Content-Type', 'text/html; charset=utf-8');
10
- res.write(index(server, `${server}/embed/bundle.js`));
11
- res.end();
12
- });
13
-
14
- app.listen(port, () => {
15
- console.log(`Server is running at http://localhost:${port}`);
16
- });
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes