@regulaforensics/vp-frontend-document-components 7.5.1958-nightly → 7.5.1960-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 +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/main.iife.js +23 -23
- package/dist/main.js +6717 -6748
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -298,7 +298,7 @@ After adding `DocumentReaderService` to the global variable, you can change the
|
|
|
298
298
|
| **forceReadMrzBeforeLocate** | When enabled, make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality. | boolean | `false` | `true`, `false` |
|
|
299
299
|
| **parseBarcodes** | This option can be disabled to stop parsing after barcode is read. | boolean | `true` | `true`, `false` |
|
|
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
|
-
| **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 | {} |
|
|
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
303
|
|
|
304
304
|
**Attention!** If the `multipage-processing` or `internal-scenario` attributes are set, the corresponding `multipageProcessing` and `scenario` parameters' values are ignored.
|
package/dist/index.d.ts
CHANGED
|
@@ -220,7 +220,6 @@ export declare interface DocumentReaderProcessParam {
|
|
|
220
220
|
backendProcessing?: {
|
|
221
221
|
serviceURL?: string;
|
|
222
222
|
httpHeaders?: Record<string, string>;
|
|
223
|
-
timeoutConnection?: number;
|
|
224
223
|
};
|
|
225
224
|
}
|
|
226
225
|
|
|
@@ -263,10 +262,10 @@ export declare class DocumentReaderService {
|
|
|
263
262
|
doInitialize(initData?: {
|
|
264
263
|
license: string | undefined;
|
|
265
264
|
}): Promise<License>;
|
|
266
|
-
private
|
|
267
|
-
processImageBase64(base64ImagesArray: Array<string>, params: ProcessingRequest): Promise<Response_2
|
|
268
|
-
process(imageDataArray: Array<ImageData>, params?: ProcessingRequest): Promise<Response_2
|
|
269
|
-
processImage(imageDataArray: Array<ImageData>, params?: ProcessingRequest): Promise<Response_2
|
|
265
|
+
private doProcess;
|
|
266
|
+
processImageBase64(base64ImagesArray: Array<string>, params: ProcessingRequest): Promise<Response_2>;
|
|
267
|
+
process(imageDataArray: Array<ImageData>, params?: ProcessingRequest): Promise<Response_2>;
|
|
268
|
+
processImage(imageDataArray: Array<ImageData>, params?: ProcessingRequest): Promise<Response_2>;
|
|
270
269
|
startNewPage(): Promise<void>;
|
|
271
270
|
startNewDocument(metadata?: Record<string, any>): Promise<NewTransaction>;
|
|
272
271
|
createBackendTransaction(metadata?: Record<string, any>): Promise<NewTransaction>;
|