@regulaforensics/idv-capture-web 3.2.251-nightly → 3.2.253-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.d.ts +11 -2
- package/dist/main.iife.js +16 -16
- package/dist/main.js +700 -674
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -215,6 +215,12 @@ declare type FetchState = {
|
|
|
215
215
|
what?: string;
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
+
declare type GetSessionStateNextStepConditionResult = {
|
|
219
|
+
data?: SessionData;
|
|
220
|
+
error?: BaseWorkflowError;
|
|
221
|
+
shouldRetry?: boolean;
|
|
222
|
+
};
|
|
223
|
+
|
|
218
224
|
declare type IdvBusinessLogicControllerProps = {
|
|
219
225
|
connectByUserPass: (config: ConnectionConfigCore) => Promise<{
|
|
220
226
|
error?: BaseConnectionError;
|
|
@@ -246,6 +252,8 @@ declare type IdvBusinessLogicControllerProps = {
|
|
|
246
252
|
error: BaseWorkflowError;
|
|
247
253
|
sessionData?: undefined;
|
|
248
254
|
}>;
|
|
255
|
+
_stepSocketListenerWhenStepIsRunning: (isStepRunning: boolean) => void;
|
|
256
|
+
_getSessionStateNextStepConditionResult: () => Promise<GetSessionStateNextStepConditionResult>;
|
|
249
257
|
_findStepById: (stepId: string) => WorkflowStep | null;
|
|
250
258
|
pushStepWaitNextStepAndSet: (data: Record<string, any>) => void;
|
|
251
259
|
setNextStep: (workflow: Workflow, properties: SessionPropertiesItem[], nextStepId: string) => void;
|
|
@@ -357,7 +365,7 @@ declare class IdvFetchService {
|
|
|
357
365
|
} | FetchErrorResult>;
|
|
358
366
|
pushData(stepId: string, data: any): Promise<{
|
|
359
367
|
code: FetchResultCode.SUCCESS;
|
|
360
|
-
data:
|
|
368
|
+
data: Record<string, unknown>;
|
|
361
369
|
} | FetchErrorResult>;
|
|
362
370
|
getSessionState(): Promise<{
|
|
363
371
|
code: FetchResultCode.SUCCESS;
|
|
@@ -385,7 +393,6 @@ declare type IdvIntegrationControllerProps = {
|
|
|
385
393
|
_runSocketConnection: (token: string) => Promise<{
|
|
386
394
|
error?: BaseWorkflowError;
|
|
387
395
|
}>;
|
|
388
|
-
_prepareDataForWorkflow: (sessionData: SessionData) => void;
|
|
389
396
|
initialize: (config: InitConfig) => Promise<{
|
|
390
397
|
error?: BaseInitializationError;
|
|
391
398
|
}>;
|
|
@@ -695,9 +702,11 @@ declare type WorkflowResult = {
|
|
|
695
702
|
} & Record<string, any>;
|
|
696
703
|
|
|
697
704
|
declare type WorkflowStep = {
|
|
705
|
+
type: string;
|
|
698
706
|
id: string;
|
|
699
707
|
name: string;
|
|
700
708
|
final: boolean;
|
|
709
|
+
releaseClientApp: boolean;
|
|
701
710
|
client?: Record<string, unknown> | WorkflowStepClientGui;
|
|
702
711
|
dataSource: Record<string, unknown> | null;
|
|
703
712
|
} & Record<string, any>;
|