@nlxai/touchpoint-ui 1.1.6 → 1.1.7
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/bidirectional/debug.d.ts +1 -0
- package/lib/components/VoiceMini.d.ts +0 -1
- package/lib/index.js +4744 -4706
- package/lib/index.umd.js +41 -41
- package/lib/types.d.ts +7 -5
- package/package.json +2 -2
package/lib/types.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ export type BidirectionalConfig = {
|
|
|
181
181
|
* Attempt to gather and send page context automatically. This will work well on semantically coded pages without too many custom form controls.
|
|
182
182
|
* This enables a number of automatic features.
|
|
183
183
|
*
|
|
184
|
-
* Defaults to `
|
|
184
|
+
* Defaults to `true`.
|
|
185
185
|
*/
|
|
186
186
|
automaticContext?: true;
|
|
187
187
|
/**
|
|
@@ -192,7 +192,7 @@ export type BidirectionalConfig = {
|
|
|
192
192
|
* @param destination - The name of the destination to navigate to if `action` is `"page_custom"`.
|
|
193
193
|
* @param destinations - A map of destination names to URLs for custom navigation. Only present if `automaticContext` is enabled.
|
|
194
194
|
*/
|
|
195
|
-
navigation?: (action: "page_next" | "page_previous" | "page_custom", destination: string | undefined, destinations: Record<string, string>) => void;
|
|
195
|
+
navigation?: (action: "page_next" | "page_previous" | "page_custom" | "page_unknown", destination: string | undefined, destinations: Record<string, string>) => void;
|
|
196
196
|
/**
|
|
197
197
|
* A callback for filling out form fields in bidirectional mode.
|
|
198
198
|
*
|
|
@@ -216,7 +216,7 @@ export type BidirectionalConfig = {
|
|
|
216
216
|
* Attempt to gather and send page context automatically. This will work well on semantically coded pages without too many custom form controls.
|
|
217
217
|
* This enables a number of automatic features.
|
|
218
218
|
*
|
|
219
|
-
* Defaults to `
|
|
219
|
+
* Defaults to `true`.
|
|
220
220
|
*/
|
|
221
221
|
automaticContext: false;
|
|
222
222
|
/**
|
|
@@ -226,7 +226,7 @@ export type BidirectionalConfig = {
|
|
|
226
226
|
* @param action - The navigation action to perform.
|
|
227
227
|
* @param destination - The name of the destination to navigate to if `action` is `"page_custom"`.
|
|
228
228
|
*/
|
|
229
|
-
navigation?: (action: "page_next" | "page_previous" | "page_custom", destination?: string) => void;
|
|
229
|
+
navigation?: (action: "page_next" | "page_previous" | "page_custom" | "page_unknown", destination?: string) => void;
|
|
230
230
|
/**
|
|
231
231
|
* A callback for filling out form fields in bidirectional mode.
|
|
232
232
|
*
|
|
@@ -314,4 +314,6 @@ export interface TouchpointConfiguration {
|
|
|
314
314
|
/**
|
|
315
315
|
* @internal
|
|
316
316
|
*/
|
|
317
|
-
export type NormalizedTouchpointConfiguration = TouchpointConfiguration & Required<Pick<TouchpointConfiguration, "initializeConversation" | "input"
|
|
317
|
+
export type NormalizedTouchpointConfiguration = TouchpointConfiguration & Required<Pick<TouchpointConfiguration, "initializeConversation" | "input">> & {
|
|
318
|
+
config: Required<Pick<Config, "conversationId" | "userId" | "bidirectional">>;
|
|
319
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nlxai/touchpoint-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Web UI for Touchpoint",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "1e76a14d71c2713337104a4f31a101d72bfb6e86"
|
|
64
64
|
}
|