@xapp/stentor-chat-widget 1.103.1 → 1.105.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/lib/WidgetEnv.d.ts +7 -1
- package/package.json +3 -3
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -193,9 +193,15 @@ export interface WidgetEnv extends WidgetEnvDeprecated {
|
|
|
193
193
|
*/
|
|
194
194
|
readonly connection: ServerConfig;
|
|
195
195
|
/**
|
|
196
|
-
* Widget is disabled
|
|
196
|
+
* Widget is disabled: nothing shows on the site. The script still reports the page load.
|
|
197
197
|
*/
|
|
198
198
|
readonly disabled?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* No chat on this site: no chat button, and no Chat button in the Action Bar. Everything
|
|
201
|
+
* else still runs: the page load, the MCP tags, the form widget and the Action Bar's other
|
|
202
|
+
* buttons. Unlike `disabled`, this leaves the rest of the widget on.
|
|
203
|
+
*/
|
|
204
|
+
readonly chatDisabled?: boolean;
|
|
199
205
|
/**
|
|
200
206
|
* Name of the bot, displayed when they enter the chat.
|
|
201
207
|
*/
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.105.0",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"mocha": "9.2.2",
|
|
27
27
|
"sinon": "13.0.2",
|
|
28
28
|
"sinon-chai": "3.7.0",
|
|
29
|
-
"stentor-models": "1.
|
|
29
|
+
"stentor-models": "1.83.0",
|
|
30
30
|
"ts-jest": "29.4.15",
|
|
31
31
|
"ts-node": "10.9.2",
|
|
32
32
|
"typescript": "5.9.3"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"stentor-guards": "1.74.
|
|
35
|
+
"stentor-guards": "1.74.9"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": "^18.0.0 || ^19.0.0",
|