Socket
Socket
Sign inDemoInstall

@regulaforensics/document-reader-webclient

Package Overview
Dependencies
2
Maintainers
3
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.6.0 to 5.6.1

2

package.json
{
"name": "@regulaforensics/document-reader-webclient",
"version": "5.6.0",
"version": "5.6.1",
"description": "Regula Document Reader js client for the browser and node.js based on axios",

@@ -5,0 +5,0 @@ "author": "Regula Forensics, Inc.",

@@ -49,2 +49,8 @@ /* tslint:disable */

/**
* When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner.
* @type {boolean}
* @memberof ProcessParams
*/
generateDoublePageSpreadImage?: boolean;
/**
* List of text field types to extract. If empty, all text fields from template will be extracted. Narrowing the list can shorten processing time. By default is empty.

@@ -92,2 +98,8 @@ * @type {Array<TextFieldType>}

/**
*
* @type {LogLevel}
* @memberof ProcessParams
*/
logLevel?: LogLevel;
/**
* Force use of specific template ID and skip document type identification step.

@@ -117,8 +129,2 @@ * @type {number}

/**
* When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner.
* @type {boolean}
* @memberof ProcessParams
*/
generateDoublePageSpreadImage?: boolean;
/**
* When enabled, each field in template will be checked for value presence and if the field is marked as required, but has no value, it will have \"error\" in validity status.

@@ -160,15 +166,33 @@ * @type {boolean}

/**
*
* @type {LogLevel}
* When enabled all personal data will be forcibly removed from the logs.
* @type {boolean}
* @memberof ProcessParams
*/
logLevel?: LogLevel;
depersonalizeLog?: boolean;
/**
* When enabled all personal data will be forcibly removed from the logs.
* This option allows locating and cropping multiple documents from one image if enabled.
* @type {boolean}
* @memberof ProcessParams
*/
depersonalizeLog?: boolean;
multiDocOnImage?: boolean;
/**
* This option allows shifting the date of expiry into the future or past for number of months specified. This is useful, for example, in some cases when document might be still valid for some period after original expiration date to prevent negative validity status for such documents. Or by shifting the date to the past will set negative validity for the documents that is about to expire in a specified number of months.
* @type {number}
* @memberof ProcessParams
*/
shiftExpiryDate?: number;
/**
* This options allows specifying the minimal age in years of the document holder for the document to be considered valid.
* @type {number}
* @memberof ProcessParams
*/
minimalHolderAge?: number;
/**
* This option allows returning input images in output if enabled.
* @type {boolean}
* @memberof ProcessParams
*/
returnUncroppedImage?: boolean;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc