@xapp/stentor-chat-widget 1.79.0 → 1.80.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.
@@ -82,6 +82,10 @@ export interface ServerConfig {
82
82
  * Timeout in milliseconds to wait for a response from the serverUrl, defaults to 15,000.
83
83
  */
84
84
  readonly timeout?: number;
85
+ /**
86
+ * Optional nonce used to trigger reconnection when the chat is reset
87
+ */
88
+ readonly nonce?: string;
85
89
  }
86
90
  /**
87
91
  * Environment settings for the Widget
@@ -103,6 +103,7 @@ export interface WidgetMessagesTheme {
103
103
  readonly others?: WidgetMessageTheme;
104
104
  readonly padding?: WidgetMarginsTheme;
105
105
  readonly maxWidth?: string;
106
+ readonly avatarPosition?: string;
106
107
  }
107
108
  export interface WidgetHeaderTheme {
108
109
  readonly background?: WidgetBackgroundTheme;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.79.0",
7
+ "version": "1.80.0",
8
8
  "description": "Chat Widget channel for stentor",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -23,13 +23,13 @@
23
23
  "mocha": "9.2.2",
24
24
  "sinon": "13.0.2",
25
25
  "sinon-chai": "3.7.0",
26
- "stentor-models": "1.66.0",
26
+ "stentor-models": "1.66.25",
27
27
  "ts-node": "10.9.2",
28
- "typescript": "5.8.3"
28
+ "typescript": "5.9.3"
29
29
  },
30
30
  "dependencies": {
31
- "stentor-constants": "1.66.0",
32
- "stentor-guards": "1.66.0"
31
+ "stentor-constants": "1.66.25",
32
+ "stentor-guards": "1.66.25"
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": "daa7d64fcc7df54b9dfc3a9f763e790b144428d1"
41
+ "gitHead": "6f4f6ac37ee15ed4d1a0d4636ce45883ec956160"
42
42
  }