@idscan/onboarding 2.4.1 → 2.5.1

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.
@@ -13,6 +13,7 @@ export type ValidationModel = FaceAuthorizationModel & {
13
13
  userAgent: string;
14
14
  frontEndMetadata: string | undefined;
15
15
  isBackOrSecondImageProcessingEnabled: boolean;
16
+ isOcrEnabled: boolean;
16
17
  };
17
18
  export type ValidationRequest = {
18
19
  applicantId: string;
@@ -1,3 +1,4 @@
1
1
  import type { StepCallback } from '../@types/Step';
2
2
  import type { DocumentTypeIndex } from '../@types/IDVCTypes';
3
3
  export declare const checkBackOrSecondImageProcessing: (documentType: DocumentTypeIndex, steps: StepCallback[]) => boolean;
4
+ export declare const checkOcrEnabled: (documentType: DocumentTypeIndex, steps: StepCallback[]) => boolean;
@@ -8,6 +8,7 @@ export default class ValidationModal extends Modal {
8
8
  init(html?: string): void;
9
9
  set type(rawType: ValidationStatus);
10
10
  set buttons({ tryAgain, complete }: ValidationButtonsState);
11
+ applySuccessValidationStyles(): void;
11
12
  setBtnVisible(btnName: ValidationButtonNames, visible: boolean): void;
12
13
  addTryAgainHandler(): void;
13
14
  addCompleteHandler(handler?: () => void): void;