@subiz/widget-v4 4.1.173 → 4.1.174
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@subiz/widget-v4",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.174",
|
|
4
4
|
"main": "./compiled_src/lib.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npx webpack serve --config webpack.dev.js",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"@subiz/flow": "^1.1.0",
|
|
14
14
|
"@subiz/wsclient": "^4.0.34",
|
|
15
15
|
"cookie_js": "1.4.2",
|
|
16
|
-
"core-js": "^3.45.
|
|
16
|
+
"core-js": "^3.45.1",
|
|
17
17
|
"css-loader": "5.2.7",
|
|
18
18
|
"file-loader": "^6.2.0",
|
|
19
|
-
"less": "^4.4.
|
|
19
|
+
"less": "^4.4.1",
|
|
20
20
|
"less-loader": "^12.3.0",
|
|
21
21
|
"preact": "10.19.3"
|
|
22
22
|
},
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"babel-loader": "^10.0.0",
|
|
30
30
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
31
31
|
"html-webpack-plugin": "^5.6.4",
|
|
32
|
-
"puppeteer": "^24.
|
|
33
|
-
"webpack": "^5.101.
|
|
32
|
+
"puppeteer": "^24.17.0",
|
|
33
|
+
"webpack": "^5.101.3",
|
|
34
34
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
35
35
|
"webpack-cli": "^6.0.1",
|
|
36
36
|
"webpack-dev-server": "^5.2.2"
|
package/src/chatbox/Widget.js
CHANGED
|
@@ -785,6 +785,7 @@ export default class Widget extends Com {
|
|
|
785
785
|
let botid = cid.split('_')[0].slice(7) // 6 = len(cslight)
|
|
786
786
|
let oldconvo = this.props.store.matchConvo(this.props.cid) || {}
|
|
787
787
|
const {convo, error} = await this.props.store.startConvo({
|
|
788
|
+
state: 'active', // so it would not run through rule
|
|
788
789
|
locale: this.props.t.locale(),
|
|
789
790
|
message: text,
|
|
790
791
|
members: [{type: 'bot', id: botid, bot_version: oldconvo.bot_version}],
|