@xapp/stentor-chat-widget 1.91.0 → 1.94.1
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 +6 -0
- package/package.json +5 -5
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -126,6 +126,12 @@ export interface PageContextOverride {
|
|
|
126
126
|
readonly referrer?: string;
|
|
127
127
|
}
|
|
128
128
|
export interface MCPServerConfig {
|
|
129
|
+
/**
|
|
130
|
+
* Unique per-instance channel id for event/lead attribution (e.g. "chat-widget-eaf9a4").
|
|
131
|
+
* Sourced from WidgetEnv.channelId; sent to the server so events and leads can be
|
|
132
|
+
* attributed to this specific widget deployment instead of the generic "chat-widget".
|
|
133
|
+
*/
|
|
134
|
+
readonly channelId?: string;
|
|
129
135
|
/**
|
|
130
136
|
* Mode determines endpoint path and authentication requirements:
|
|
131
137
|
* - homeowner: /chat/stream (unauthenticated, appId should be in serverUrl)
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.94.1",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"mocha": "9.2.2",
|
|
25
25
|
"sinon": "13.0.2",
|
|
26
26
|
"sinon-chai": "3.7.0",
|
|
27
|
-
"stentor-models": "1.
|
|
27
|
+
"stentor-models": "1.74.0",
|
|
28
28
|
"ts-node": "10.9.2",
|
|
29
29
|
"typescript": "5.9.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"stentor-constants": "1.
|
|
33
|
-
"stentor-guards": "1.
|
|
32
|
+
"stentor-constants": "1.74.0",
|
|
33
|
+
"stentor-guards": "1.74.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"build": "tsc -d true -p .",
|
|
41
41
|
"clean": "rm -rf ./lib/*"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "488151c23d71460d3a22522a4a3b99bcef1c1c85"
|
|
44
44
|
}
|