@cognigy/webchat 3.25.2 → 3.29.0
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/OSS_LICENSES.txt +106 -73
- package/dist/webchat.esm.js +165189 -0
- package/dist/webchat.js +349 -357
- package/package.json +21 -9
package/package.json
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognigy/webchat",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.29.0",
|
|
4
4
|
"description": "Webchat for Cognigy.AI",
|
|
5
5
|
"author": "Cognigy GmbH <info@cognigy.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Robin Schuster <r.schuster@cognigy.com>"
|
|
8
8
|
],
|
|
9
9
|
"license": "SEE LICENSE IN LICENSE",
|
|
10
|
+
"main": "dist/webchat.js",
|
|
11
|
+
"module": "dist/webchat.esm.js",
|
|
10
12
|
"exports": {
|
|
11
|
-
"import": "./dist/webchat.js"
|
|
13
|
+
"import": "./dist/webchat.esm.js",
|
|
14
|
+
"require": "./dist/webchat.js"
|
|
12
15
|
},
|
|
13
16
|
"files": [
|
|
14
|
-
"dist/webchat.js",
|
|
17
|
+
"./dist/webchat.esm.js",
|
|
18
|
+
"./dist/webchat.js",
|
|
19
|
+
"./LICENSE",
|
|
15
20
|
"OSS_LICENSES.txt"
|
|
16
21
|
],
|
|
17
22
|
"publishConfig": {
|
|
18
23
|
"access": "public"
|
|
19
24
|
},
|
|
20
25
|
"scripts": {
|
|
21
|
-
"build": "
|
|
26
|
+
"build": "npm run build:umd && npm run build:esm",
|
|
27
|
+
"build:umd": "webpack --config webpack.production.js",
|
|
28
|
+
"build:esm": "webpack --config webpack.es.js",
|
|
22
29
|
"update-license": "node update-license.js",
|
|
23
30
|
"dev": "webpack-dev-server --config webpack.dev.js --host 0.0.0.0",
|
|
24
31
|
"cypress:open": "cypress open --e2e --browser chrome",
|
|
@@ -29,7 +36,7 @@
|
|
|
29
36
|
"test:cypress": "run-p -r cypress:serve cypress:run",
|
|
30
37
|
"test:cypress:firefox": "run-p -r cypress:serve cypress:run:firefox",
|
|
31
38
|
"test": "npm run test:cypress",
|
|
32
|
-
"prepack": "npm run build",
|
|
39
|
+
"prepack": "npm run build && npm run update-license",
|
|
33
40
|
"pretest": "npm run build",
|
|
34
41
|
"prettier:check": "prettier --check .",
|
|
35
42
|
"prettier:fix": "prettier --write .",
|
|
@@ -40,7 +47,7 @@
|
|
|
40
47
|
},
|
|
41
48
|
"dependencies": {
|
|
42
49
|
"@braintree/sanitize-url": "^6.0.0",
|
|
43
|
-
"@cognigy/chat-components": "0.
|
|
50
|
+
"@cognigy/chat-components": "0.60.0",
|
|
44
51
|
"@cognigy/socket-client": "5.0.0-beta.24",
|
|
45
52
|
"@emotion/cache": "^10.0.29",
|
|
46
53
|
"@emotion/react": "^11.13.0",
|
|
@@ -53,8 +60,6 @@
|
|
|
53
60
|
"license-checker": "25.0.1",
|
|
54
61
|
"lodash": "^4.17.21",
|
|
55
62
|
"moment": "^2.29.4",
|
|
56
|
-
"react": "^18.3.1",
|
|
57
|
-
"react-dom": "^18.3.1",
|
|
58
63
|
"react-hot-toast": "^2.4.1",
|
|
59
64
|
"react-markdown": "^9.0.3",
|
|
60
65
|
"react-modal": "^3.16.3",
|
|
@@ -71,6 +76,10 @@
|
|
|
71
76
|
"uifx": "^2.0.7",
|
|
72
77
|
"uuid": "9.0.1"
|
|
73
78
|
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"react": "^18.3.0 || ^19.0.0",
|
|
81
|
+
"react-dom": "^18.3.0 || ^19.0.0"
|
|
82
|
+
},
|
|
74
83
|
"devDependencies": {
|
|
75
84
|
"@babel/cli": "^7.16.7",
|
|
76
85
|
"@babel/core": "^7.16.7",
|
|
@@ -78,6 +87,7 @@
|
|
|
78
87
|
"@babel/preset-react": "^7.16.7",
|
|
79
88
|
"@babel/preset-typescript": "^7.16.7",
|
|
80
89
|
"@babel/runtime": "^7.16.7",
|
|
90
|
+
"@svgr/webpack": "8.1.0",
|
|
81
91
|
"@types/dom-speech-recognition": "0.0.4",
|
|
82
92
|
"@types/dompurify": "^2.0.0",
|
|
83
93
|
"@types/react": "^18.3.1",
|
|
@@ -95,6 +105,7 @@
|
|
|
95
105
|
"compression-webpack-plugin": "^9.2.0",
|
|
96
106
|
"css-loader": "^6.5.1",
|
|
97
107
|
"cypress": "^13.13.0",
|
|
108
|
+
"cypress-axe": "^1.6.0",
|
|
98
109
|
"cypress-real-events": "^1.13.0",
|
|
99
110
|
"cypress-wait-until": "^1.7.2",
|
|
100
111
|
"es-check": "^6.1.1",
|
|
@@ -104,9 +115,10 @@
|
|
|
104
115
|
"idempotent-babel-polyfill": "^7.4.4",
|
|
105
116
|
"npm-run-all": "^4.1.5",
|
|
106
117
|
"prettier": "^3.5.3",
|
|
118
|
+
"react": "^18.3.0",
|
|
119
|
+
"react-dom": "^18.3.0",
|
|
107
120
|
"redux-devtools-extension": "^2.13.8",
|
|
108
121
|
"style-loader": "^3.3.1",
|
|
109
|
-
"svg-react-loader": "^0.4.6",
|
|
110
122
|
"terser-webpack-plugin": "^5.3.0",
|
|
111
123
|
"typesafe-actions": "^3.0.0",
|
|
112
124
|
"typescript": "^3.7.2",
|