@regulaforensics/idv-capture-web 3.4.310-nightly → 3.4.311-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
+ isCritical: boolean;
206
+ };
207
+
201
208
  declare type FetchErrorResult = {
202
209
  code: FetchResultCode.HTTP_ISSUE | FetchResultCode.PROVIDER_ERROR | FetchResultCode.DECODING_FAILED;
203
210
  data: FetchState;
@@ -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