@xapp/stentor-chat-widget 1.37.2 → 1.38.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.
@@ -111,10 +111,7 @@ export interface WidgetUrlPolicy {
111
111
  }
112
112
  export interface WidgetHeaderConfig {
113
113
  readonly status?: WidgetHeaderStatusConfig;
114
- readonly actions?: {
115
- minimize: boolean;
116
- cancel: boolean;
117
- };
114
+ readonly actions?: WidgetHeaderActionsConfig;
118
115
  }
119
116
  export interface WidgetHeaderStatusConfig {
120
117
  readonly online?: string;
@@ -122,6 +119,10 @@ export interface WidgetHeaderStatusConfig {
122
119
  readonly away?: string;
123
120
  readonly connecting?: string;
124
121
  }
122
+ export interface WidgetHeaderActionsConfig {
123
+ readonly minimize?: boolean;
124
+ readonly cancel?: boolean;
125
+ }
125
126
  export interface WidgetMenuConfig {
126
127
  readonly items: readonly WidgetMenuItemConfig[];
127
128
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.37.2",
7
+ "version": "1.38.0",
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.1.3",
25
25
  "sinon": "12.0.1",
26
26
  "sinon-chai": "3.7.0",
27
- "stentor-models": "1.54.3",
27
+ "stentor-models": "1.54.7",
28
28
  "ts-node": "10.4.0",
29
29
  "typescript": "4.5.4"
30
30
  },
31
31
  "dependencies": {
32
- "stentor-constants": "1.54.3",
33
- "stentor-guards": "1.54.3"
32
+ "stentor-constants": "1.54.7",
33
+ "stentor-guards": "1.54.7"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "stentor-models": "1.x"
@@ -39,5 +39,5 @@
39
39
  "build": "tsc -d true -p .",
40
40
  "clean": "rm -rf ./lib/*"
41
41
  },
42
- "gitHead": "4b1a7f9e86e0490e7a0bd32de020d85d8613968c"
42
+ "gitHead": "ca3ab827a06a611b5b2b3a2d9cfe8d9e2724a968"
43
43
  }