@xapp/stentor-chat-widget 1.78.0 → 1.78.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 +10 -1
- package/package.json +2 -2
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -21,10 +21,19 @@ export interface CtaConfig {
|
|
|
21
21
|
* Animation to perform on the button after the delay
|
|
22
22
|
*/
|
|
23
23
|
readonly animation?: "wiggle" | "bounce" | "pulse";
|
|
24
|
+
/**
|
|
25
|
+
* The delay, in milliseconds, to wait until the animation starts.
|
|
26
|
+
* If not provided, falls back to the delay property for backwards compatibility.
|
|
27
|
+
*/
|
|
28
|
+
readonly animationDelay?: number;
|
|
24
29
|
/**
|
|
25
30
|
* How long to keep the animation going, in milliseconds. If an animation exists
|
|
26
31
|
*/
|
|
27
32
|
readonly animationTimeout?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the CTA bubble can be dismissed with an X button
|
|
35
|
+
*/
|
|
36
|
+
readonly dismissible?: boolean;
|
|
28
37
|
}
|
|
29
38
|
export interface MobileCtaConfig extends CtaConfig {
|
|
30
39
|
/**
|
|
@@ -79,7 +88,7 @@ export interface ServerConfig {
|
|
|
79
88
|
*/
|
|
80
89
|
export interface WidgetEnv extends WidgetEnvDeprecated {
|
|
81
90
|
/**
|
|
82
|
-
*
|
|
91
|
+
* Reference to a unique identifier for the specific chat channel
|
|
83
92
|
*/
|
|
84
93
|
readonly channelId?: string;
|
|
85
94
|
/**
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.78.
|
|
7
|
+
"version": "1.78.1",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build": "tsc -d true -p .",
|
|
39
39
|
"clean": "rm -rf ./lib/*"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "b2b240b81c78b9eff8765e391e0b7ce2f2033d03"
|
|
42
42
|
}
|