@techlabi/kycrazy-ui-kit 0.51.0-beta.0 → 0.51.0-beta.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.
@@ -14,5 +14,7 @@ export declare const useCamera: (currentStep: string, frameType: string, videoRe
14
14
  photoUrl: string;
15
15
  capturePhoto: () => Promise<void>;
16
16
  isFrameValid: boolean;
17
+ isFaceDetectorLoading: boolean;
18
+ isOCRLoading: boolean;
17
19
  };
18
20
  export {};
@@ -9,6 +9,12 @@ export type ValidationResult = {
9
9
  export declare class ImageValidator {
10
10
  private faceDetector;
11
11
  private ocrWorker;
12
+ private isLoadingFaceDetector;
13
+ private loadingPromise;
14
+ private isLoadingOCR;
15
+ private ocrLoadingPromise;
16
+ get isFaceDetectorLoading(): boolean;
17
+ get isOCRLoading(): boolean;
12
18
  private getOCRWorker;
13
19
  private loadFaceDetector;
14
20
  validateFace(source: HTMLCanvasElement | File): Promise<ValidationResult>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "description": "A modern React component library for KYC",
5
5
  "author": "TechLabi",
6
- "version": "0.51.0-beta.0",
6
+ "version": "0.51.0-beta.1",
7
7
  "type": "module",
8
8
  "types": "dist/types/index.d.ts",
9
9
  "style": "dist/style.css",