@regulaforensics/idv-capture-web 3.3.308 → 3.4.70-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 CHANGED
@@ -187,6 +187,7 @@ declare type CurrentScreenConfig = {
187
187
  serviceToken?: string;
188
188
  locale: string;
189
189
  stepType?: string;
190
+ failedAssets?: FailedAssets;
190
191
  } & Record<string, any>;
191
192
 
192
193
  export declare enum DeinitializationError {
@@ -198,6 +199,12 @@ export declare type DeinitializeCompletion = {
198
199
  error?: BaseDeinitializationError;
199
200
  };
200
201
 
202
+ declare type FailedAssets = {
203
+ imageURL: Set<string>;
204
+ base64: Set<string>;
205
+ blockingAssets: Set<string>;
206
+ };
207
+
201
208
  declare type FetchErrorResult = {
202
209
  code: FetchResultCode.HTTP_ISSUE | FetchResultCode.PROVIDER_ERROR | FetchResultCode.DECODING_FAILED;
203
210
  data: FetchState;
@@ -246,7 +253,7 @@ declare type IdvBusinessLogicControllerProps = {
246
253
  loadModules: (modulesFromProps: any[]) => Promise<{
247
254
  error?: BaseInitializationError;
248
255
  }>;
249
- setProcessingTemplate: (workflowSteps: any[]) => void;
256
+ getProcessingTemplate: () => WorkflowStepClientGui | null;
250
257
  isProcessing: boolean;
251
258
  setIsProcessing: (isProcessing: boolean) => void;
252
259
  _pushStep: (stepId: string, data: Record<string, any>, type?: PerformType) => Promise<{
@@ -268,8 +275,8 @@ declare type IdvBusinessLogicControllerProps = {
268
275
  properties: SessionPropertiesItem[];
269
276
  nextStepId: string;
270
277
  locale: string;
271
- }) => void;
272
- onChangeScreen: (stepId: string | null) => void;
278
+ }) => Promise<void>;
279
+ prepareScreenConfigAndShowStep: (stepId: string | null) => Promise<void>;
273
280
  deinitializationIdv: () => Promise<{
274
281
  error?: any;
275
282
  }>;
@@ -430,7 +437,6 @@ declare type IdvIntegrationControllerProps = {
430
437
  metadata?: Record<string, unknown>;
431
438
  location?: GeoCoords | null;
432
439
  }) => Promise<WorkflowCompletion>;
433
- playWorkflow: () => void;
434
440
  deinitialize: () => Promise<DeinitializeCompletion>;
435
441
  };
436
442
 
@@ -503,24 +509,19 @@ declare type IdvStoreProps = {
503
509
  } | null;
504
510
  getCurrentSessionId: () => string | null;
505
511
  modulesConfig: Record<string, any>;
506
- layout: Record<string, any> | null;
507
512
  sessionProperties: SessionPropertiesItem[];
508
513
  setSessionProperties: (properties: SessionPropertiesItem[]) => void;
509
- setLayout: (layout: Record<string, any>) => void;
510
514
  workflow: Workflow | null;
511
515
  setWorkflow: (workflow: Workflow) => void;
512
516
  currentStepId: string | null;
513
517
  setCurrentStepId: (stepId: string) => void;
514
518
  listener: (message: IdvMessageEvent) => void | null;
515
519
  setListener: (callback: (message: IdvMessageEvent) => void) => void;
516
- workflowId: string | null;
517
- setWorkflowId: (id: string) => void;
518
520
  nonce?: string;
519
521
  setNonce: (id: string) => void;
520
522
  getNonce: () => string | undefined;
521
523
  currentScreenConfig: CurrentScreenConfig | null;
522
524
  externalModules: LoadedModule[] | [];
523
- processingTransformedTemplate: WorkflowStepClientGui | null;
524
525
  serviceToken?: string;
525
526
  apiKeyAuthTokenCollection: AuthTokenStoreData | Record<string, unknown>;
526
527
  setApiKeyAuthTokenCollection: (apiKey: string, authToken: string, tokenExpiresAt: number) => void;
@@ -530,8 +531,6 @@ declare type IdvStoreProps = {
530
531
  setStartConfig: (startConfig: StartConfig) => void;
531
532
  locale: string;
532
533
  setLocale: (locale: string) => void;
533
- trackLocation: boolean;
534
- setTrackLocation: (trackLocation: boolean) => void;
535
534
  };
536
535
 
537
536
  export declare class IdvWebComponent extends LitElement {
@@ -697,6 +696,7 @@ declare type Workflow = {
697
696
  layout: Record<string, any>;
698
697
  steps: Array<WorkflowStepClientGui>;
699
698
  };
699
+ trackLocation?: boolean;
700
700
  } & Record<string, any>;
701
701
 
702
702
  export declare type WorkflowCompletion = {