@xapp/stentor-chat-widget 1.52.0 → 1.53.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/UserInfo.d.ts +5 -0
- package/lib/WidgetEnv.d.ts +1 -1
- package/package.json +6 -6
package/lib/UserInfo.d.ts
CHANGED
|
@@ -17,6 +17,11 @@ export interface UserInfo {
|
|
|
17
17
|
* URL to the user's avatar.
|
|
18
18
|
*/
|
|
19
19
|
readonly avatarPath?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Nick name, not displayed publically, for determining who they are.
|
|
22
|
+
* Prefixed with either "bot:" or "agent:"
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
20
25
|
readonly nick: string;
|
|
21
26
|
/**
|
|
22
27
|
* Display name
|
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface CtaConfig {
|
|
|
6
6
|
readonly message: string;
|
|
7
7
|
readonly timeout: number;
|
|
8
8
|
}
|
|
9
|
-
export declare type ServerType = "direct" | "websocket" | "local";
|
|
9
|
+
export declare type ServerType = "direct" | "websocket" | "local" | "websocketraw";
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated Use connection property
|
|
12
12
|
*/
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.53.1",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/chai": "4.3.3",
|
|
19
19
|
"@types/sinon": "10.0.13",
|
|
20
|
-
"@types/sinon-chai": "3.2.
|
|
20
|
+
"@types/sinon-chai": "3.2.9",
|
|
21
21
|
"@xapp/config": "0.2.3",
|
|
22
22
|
"chai": "4.3.6",
|
|
23
23
|
"mocha": "9.2.2",
|
|
24
24
|
"sinon": "13.0.2",
|
|
25
25
|
"sinon-chai": "3.7.0",
|
|
26
|
-
"stentor-models": "1.
|
|
26
|
+
"stentor-models": "1.57.39",
|
|
27
27
|
"ts-node": "10.9.1",
|
|
28
28
|
"typescript": "4.7.4"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"stentor-constants": "1.
|
|
32
|
-
"stentor-guards": "1.
|
|
31
|
+
"stentor-constants": "1.57.39",
|
|
32
|
+
"stentor-guards": "1.57.39"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"stentor-models": "1.x"
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build": "tsc -d true -p .",
|
|
39
39
|
"clean": "rm -rf ./lib/*"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "3669605713dc997df1c8d10a3453bf779075f252"
|
|
42
42
|
}
|