@regulaforensics/idv-capture-web 2.3.128-nightly → 2.3.130-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.
- package/dist/index-2XSF3z78.js +83007 -0
- package/dist/{index-D3pLyIb0.js → index-CFH0FAg_.js} +2338 -2340
- package/dist/{index-Bv_na6fT.js → index-DUYThanG.js} +1 -1
- package/dist/index.d.ts +18 -9
- package/dist/main.iife.js +236 -95
- package/dist/main.js +1 -1
- package/package.json +2 -2
- package/dist/index-B23qbBrw.js +0 -20375
|
@@ -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-
|
|
25
|
+
import { B as cc, r as Bs, j as gE } from "./index-2XSF3z78.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) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -106,12 +106,6 @@ export declare enum ConnectionError {
|
|
|
106
106
|
PROVIDER_ERROR = 1
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
declare type CurrentScreenConfig = {
|
|
110
|
-
templateId: string;
|
|
111
|
-
sessionId?: string;
|
|
112
|
-
serviceToken?: string;
|
|
113
|
-
} & Record<string, any>;
|
|
114
|
-
|
|
115
109
|
export declare enum DeinitializationError {
|
|
116
110
|
INITIALIZATION_REQUIRED = 0,
|
|
117
111
|
SCENARIO_IN_PROGRESS = 3
|
|
@@ -138,9 +132,13 @@ export declare class IdvIntegrationService {
|
|
|
138
132
|
prepareWorkflow({ workflowId }: {
|
|
139
133
|
workflowId: string;
|
|
140
134
|
}): Promise<PrepareWorkflowCompletion>;
|
|
141
|
-
startWorkflow(metadata
|
|
135
|
+
startWorkflow({ metadata, locale, }: {
|
|
136
|
+
metadata?: Record<string, unknown>;
|
|
137
|
+
locale?: string;
|
|
138
|
+
}): Promise<WorkflowCompletion>;
|
|
142
139
|
deinitialize(): Promise<DeinitializeCompletion>;
|
|
143
140
|
/** service commands */
|
|
141
|
+
get version(): string;
|
|
144
142
|
setNonce(id: string): void;
|
|
145
143
|
set eventListener(callback: (message: IdvMessageEvent) => void);
|
|
146
144
|
set sessionRestoreMode(isEnabled: boolean);
|
|
@@ -222,7 +220,11 @@ export declare enum ScenarioError {
|
|
|
222
220
|
|
|
223
221
|
declare type ScenarioResults = {
|
|
224
222
|
sessionId?: string;
|
|
225
|
-
finalStep?:
|
|
223
|
+
finalStep?: {
|
|
224
|
+
id: string;
|
|
225
|
+
name: string;
|
|
226
|
+
final: boolean;
|
|
227
|
+
};
|
|
226
228
|
} & Record<string, any>;
|
|
227
229
|
|
|
228
230
|
export declare enum SessionError {
|
|
@@ -258,7 +260,7 @@ declare type Workflow = {
|
|
|
258
260
|
steps: Array<WorkflowStep>;
|
|
259
261
|
client: {
|
|
260
262
|
layout: Record<string, any>;
|
|
261
|
-
steps: Array<
|
|
263
|
+
steps: Array<WorkflowStepClientGui>;
|
|
262
264
|
};
|
|
263
265
|
} & Record<string, any>;
|
|
264
266
|
|
|
@@ -292,6 +294,13 @@ declare type WorkflowStep = {
|
|
|
292
294
|
id: string;
|
|
293
295
|
name: string;
|
|
294
296
|
final: boolean;
|
|
297
|
+
client?: Record<string, unknown> | WorkflowStepClientGui;
|
|
298
|
+
dataSource: Record<string, unknown> | null;
|
|
295
299
|
} & Record<string, any>;
|
|
296
300
|
|
|
301
|
+
declare type WorkflowStepClientGui = {
|
|
302
|
+
templateId: string;
|
|
303
|
+
templateLayout: Record<string, unknown>;
|
|
304
|
+
};
|
|
305
|
+
|
|
297
306
|
export { }
|