@xapp/stentor-chat-widget 1.56.0 → 1.58.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.
Files changed (2) hide show
  1. package/lib/WidgetEnv.d.ts +17 -0
  2. package/package.json +2 -2
@@ -37,6 +37,10 @@ export interface ServerConfig {
37
37
  * The type of connection, "direct" for POST based backends and "websocketraw" for chat router based backends.
38
38
  */
39
39
  readonly type?: ServerType;
40
+ /**
41
+ * Timeout in milliseconds to wait for a response from the serverUrl, defaults to 15,000.
42
+ */
43
+ readonly timeout?: number;
40
44
  }
41
45
  /**
42
46
  * Environment settings for the Widget
@@ -195,10 +199,23 @@ export interface WidgetHeaderStatusConfig {
195
199
  readonly connecting?: string;
196
200
  }
197
201
  export interface WidgetHeaderActionsConfig {
202
+ /**
203
+ * Show refresh button
204
+ */
198
205
  readonly refresh?: boolean;
199
206
  readonly refreshTabIndex?: string;
207
+ /**
208
+ * Show refresh confirmation dialog, false by default
209
+ */
210
+ readonly refreshShowConfirmation?: boolean;
211
+ /**
212
+ * Show minimize button
213
+ */
200
214
  readonly minimize?: boolean;
201
215
  readonly minimizeTabIndex?: string;
216
+ /**
217
+ * Show cancel button
218
+ */
202
219
  readonly cancel?: boolean;
203
220
  readonly cancelTabIndex?: string;
204
221
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.56.0",
7
+ "version": "1.58.0",
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": "edb238dba34fe1fd6382926309aa7a3d51e95764"
41
+ "gitHead": "0a24e6af5ab7fccd8e6866791289fd80b7b31eb6"
42
42
  }