@regulaforensics/idv-capture-web 2.3.146-nightly → 2.3.149-nightly

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.
@@ -22,7 +22,7 @@ var N1 = (e) => {
22
22
  throw l;
23
23
  }, "return" in r && i("return"), o;
24
24
  };
25
- import { B as cc, r as Bs, j as gE } from "./index-BXTc_4d-.js";
25
+ import { B as cc, r as Bs, j as gE } from "./index-BrYIcfAp.js";
26
26
  var QT = Object.defineProperty, JT = Object.defineProperties, XT = Object.getOwnPropertyDescriptors, RE = Object.getOwnPropertySymbols, $T = Object.prototype.hasOwnProperty, eb = Object.prototype.propertyIsEnumerable, Fo = (e, r) => (r = Symbol[e]) ? r : Symbol.for("Symbol." + e), tb = (e) => {
27
27
  throw TypeError(e);
28
28
  }, IE = (e, r, t) => r in e ? QT(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, xe = (e, r) => {
@@ -1,4 +1,4 @@
1
- import { B as Vu, r as la, j as lD } from "./index-BXTc_4d-.js";
1
+ import { B as Vu, r as la, j as lD } from "./index-BrYIcfAp.js";
2
2
  var m0 = Object.defineProperty, k0 = Object.defineProperties, h0 = Object.getOwnPropertyDescriptors, jD = Object.getOwnPropertySymbols, v0 = Object.prototype.hasOwnProperty, b0 = Object.prototype.propertyIsEnumerable, sD = (M, r, i) => r in M ? m0(M, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : M[r] = i, sl = (M, r) => {
3
3
  for (var i in r || (r = {}))
4
4
  v0.call(r, i) && sD(M, i, r[i]);
package/dist/index.d.ts CHANGED
@@ -132,10 +132,7 @@ export declare class IdvIntegrationService {
132
132
  prepareWorkflow({ workflowId }: {
133
133
  workflowId: string;
134
134
  }): Promise<PrepareWorkflowCompletion>;
135
- startWorkflow({ metadata, locale, }: {
136
- metadata?: Record<string, unknown>;
137
- locale?: string;
138
- }): Promise<WorkflowCompletion>;
135
+ startWorkflow(config?: StartWorkflowConfig): Promise<WorkflowCompletion>;
139
136
  deinitialize(): Promise<DeinitializeCompletion>;
140
137
  /** service commands */
141
138
  get version(): string;
@@ -243,6 +240,11 @@ export declare enum StartSessionError {
243
240
  TOKEN_ERROR = 3
244
241
  }
245
242
 
243
+ declare type StartWorkflowConfig = {
244
+ metadata?: Record<string, unknown>;
245
+ locale?: string;
246
+ };
247
+
246
248
  declare enum TokenInitializeError {
247
249
  CONNECTION_ISSUE = 0,
248
250
  WORKFLOW_ISSUE = 1