@twilltac/compliance-sdk 0.1.6 → 0.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/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Creates and initialises the compliance plugin within a container element.
|
|
|
40
40
|
| -------------------------------- | ------------- | ------------------------------------------------------- |
|
|
41
41
|
| `options.containerElement` | `HTMLElement` | The DOM element where the plugin will be rendered |
|
|
42
42
|
| `options.data.workspace` | `string` | Your Twilltac workspace identifier |
|
|
43
|
-
| `options.data.flow` | `string` | The plugin flow to load.
|
|
43
|
+
| `options.data.flow` | `string` | The plugin flow to load. One of `journey`, `handover`, or `documents` |
|
|
44
44
|
| `options.data.customerReference` | `string` | Reference identifier for the customer |
|
|
45
45
|
| `options.data.authToken` | `string` | Authentication token for the plugin session |
|
|
46
46
|
|
|
@@ -202,7 +202,7 @@ import { createCompliancePlugin, CompliancePlugin } from '@twilltac/compliance-s
|
|
|
202
202
|
|
|
203
203
|
interface ComplianceWidgetProps {
|
|
204
204
|
workspace: string;
|
|
205
|
-
flow: 'journey' | 'handover';
|
|
205
|
+
flow: 'journey' | 'handover' | 'documents';
|
|
206
206
|
customerReference: string;
|
|
207
207
|
authToken: string;
|
|
208
208
|
}
|
package/build-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22864006029-1
|
package/index.cjs
CHANGED
|
@@ -84,6 +84,7 @@ var CompliancePlugin = class {
|
|
|
84
84
|
var CompliancePluginFlow = /* @__PURE__ */ ((CompliancePluginFlow2) => {
|
|
85
85
|
CompliancePluginFlow2["JOURNEY"] = "journey";
|
|
86
86
|
CompliancePluginFlow2["HANDOVER"] = "handover";
|
|
87
|
+
CompliancePluginFlow2["DOCUMENTS"] = "documents";
|
|
87
88
|
return CompliancePluginFlow2;
|
|
88
89
|
})(CompliancePluginFlow || {});
|
|
89
90
|
|
package/index.js
CHANGED
|
@@ -58,6 +58,7 @@ var CompliancePlugin = class {
|
|
|
58
58
|
var CompliancePluginFlow = /* @__PURE__ */ ((CompliancePluginFlow2) => {
|
|
59
59
|
CompliancePluginFlow2["JOURNEY"] = "journey";
|
|
60
60
|
CompliancePluginFlow2["HANDOVER"] = "handover";
|
|
61
|
+
CompliancePluginFlow2["DOCUMENTS"] = "documents";
|
|
61
62
|
return CompliancePluginFlow2;
|
|
62
63
|
})(CompliancePluginFlow || {});
|
|
63
64
|
|