@ada-support/embed2 1.14.4 → 1.14.6

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.
@@ -1,4 +1,13 @@
1
1
  export type ProactiveConversationUrlTriggerConditions = UrlTriggerCondition[] | null;
2
+ export interface ProactiveConversationImage {
3
+ url: string;
4
+ alt: string;
5
+ }
6
+ export interface ProactiveConversationCta {
7
+ cta_label: string;
8
+ cta_url: string;
9
+ cta_open_in_new_tab: boolean;
10
+ }
2
11
  export interface ProactiveConversation {
3
12
  messages: {
4
13
  [language: string]: string[];
@@ -15,6 +24,10 @@ export interface ProactiveConversation {
15
24
  is_template: boolean;
16
25
  params?: Record<string, string>;
17
26
  key?: string;
27
+ images?: {
28
+ [language: string]: ProactiveConversationImage[];
29
+ };
30
+ ctas?: ProactiveConversationCta[];
18
31
  }
19
32
  export interface ProactiveConversations {
20
33
  [messageKey: string]: ProactiveConversation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.14.4",
3
+ "version": "1.14.6",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index-npm.d.ts",
@@ -108,7 +108,6 @@
108
108
  "terser": ">=5.14.2",
109
109
  "@babel/traverse": ">=7.23.2",
110
110
  "semver": ">=7.5.2",
111
- "form-data": ">=4.0.4",
112
111
  "diff": "^4.0.4"
113
112
  },
114
113
  "files": [