@ahmed_hani/dot-document-auto-capture 7.4.0 → 7.6.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.
package/README.md CHANGED
@@ -6,7 +6,7 @@ Innovatrics Document Auto Capture Component is a web component that renders the
6
6
  The component output is an ID document image in the JPEG format that is suitable for the purposes of OCR processing and/or a proprietary file format for safe transfer to [Digital Identity Service](https://developers.innovatrics.com/digital-onboarding/technical/api-reference/) on server for further processing.
7
7
 
8
8
  <p align="center">
9
- <img alt="Document Auto Capture" src="https://www.innovatrics.com/wp-content/uploads/2024/03/Onboarding-document-scanning-400px.gif">
9
+ <img alt="Document Auto Capture" src="https://www.innovatrics.com/wp-content/uploads/2024/03/Onboarding-document-scanning-400px.gif" width="200" height="400">
10
10
  </p>
11
11
 
12
12
  The Document Auto Capture Component can be used standalone or in combination with other components to develop remote identity verification or digital onboarding solutions, as demonstrated in this [demo application](https://dot.innovatrics.com/).
@@ -37,7 +37,7 @@ export type DocumentThresholds = {
37
37
  sharpnessThreshold?: number;
38
38
  sizeSmallThreshold?: number;
39
39
  };
40
- export type DocumentCameraProps = BaseCameraProps<DocumentComponentData> & {
40
+ export type DocumentCameraProps = BaseCameraProps<DetectedDocument> & {
41
41
  thresholds?: DocumentThresholds;
42
42
  };
43
43
  export type DocumentCallback = DocumentCameraProps['onPhotoTaken'];