@regulaforensics/vp-frontend-document-components 7.5.2000-nightly → 7.5.2002-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/README.md CHANGED
@@ -300,6 +300,7 @@ After adding `DocumentReaderService` to the global variable, you can change the
300
300
  | **splitNames** | When enabled, the Surname and GivenNames fields will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. | boolean | `false` | `true`, `false` |
301
301
  | **backendProcessing** | When enabled, it prepares the processing result to be sent to the backend for re-processing. Use ```service.finalizePackage();``` after receiving the processing results to send them to the backend. | Object | {} | { serviceURL: 'URL', httpHeaders: { key1: 'header1', key2: 'header2', ... } } |
302
302
  | **generateNumericCodes** | This parameter is used to generate numeric representation for issuing state and nationality codes. | boolean | | `true`, `false` |
303
+ | **doublePageSpread** | Enable this option if the image you provide contains double page spread of the passport and you want to process both pages in one go. | boolean | `false` | `true`, `false` |
303
304
 
304
305
  **Attention!** If the `multipage-processing` or `internal-scenario` attributes are set, the corresponding `multipageProcessing` and `scenario` parameters' values are ignored.
305
306
 
package/dist/index.d.ts CHANGED
@@ -209,6 +209,7 @@ export declare interface DocumentReaderProcessParam {
209
209
  forceReadMrzBeforeLocate?: boolean;
210
210
  parseBarcodes?: boolean;
211
211
  splitNames?: boolean;
212
+ doublePageSpread?: boolean;
212
213
  imageQa?: {
213
214
  expectedPass?: Array<ImageQualityChecks>;
214
215
  dpiThreshold?: number;