New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blinkid-react-native

Package Overview
Dependencies
Maintainers
9
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blinkid-react-native - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

2

package.json
{
"name": "blinkid-react-native",
"version": "5.0.0",
"version": "5.1.0",
"description": "A small and powerful ID card scanning library. Powered by Microblink (www.microblink.com).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,3 +14,3 @@ # BlinkID SDK wrapper for React Native

BlinkID React Native was built and tested with [React Native v0.61.2](https://github.com/facebook/react-native/releases/tag/v0.61.2)
BlinkID React Native was built and tested with [React Native v0.61.5](https://github.com/facebook/react-native/releases/tag/v0.61.5)

@@ -22,3 +22,3 @@ ## Installation

```shell
react-native init --version="0.61.2" NameOfYourProject
react-native init --version="0.61.5" NameOfYourProject
```

@@ -25,0 +25,0 @@

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* The additional name information of the document owner.
* The additional address information of the document owner.
*/

@@ -63,3 +63,6 @@ this.additionalAddressInformation = nativeResult.additionalAddressInformation;

/**
* Defines result of the data matching algorithm for scanned parts/sides of the document.
* Returns DataMatchResultSuccess if data from scanned parts/sides of the document match,
* DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side
* of the document and values do not match, this method will return DataMatchResultFailed. Result will
* be DataMatchResultSuccess only if scanned values for all fields that are compared are the same.
*/

@@ -84,3 +87,3 @@ this.documentDataMatch = nativeResult.documentDataMatch;

/**
* Face image from the document
* face image from the document if enabled with returnFaceImage property.
*/

@@ -95,3 +98,3 @@ this.faceImage = nativeResult.faceImage;

/**
* Back side image of the document
* back side image of the document if enabled with returnFullDocumentImage property.
*/

@@ -101,3 +104,3 @@ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage;

/**
* Front side image of the document
* front side image of the document if enabled with returnFullDocumentImage property.
*/

@@ -127,3 +130,3 @@ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage;

/**
* The data extracted from the machine readable zone.
* The data extracted from the machine readable zone
*/

@@ -168,3 +171,4 @@ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;

/**
* {true} if recognizer has finished scanning first side and is now scanning back side,
* Returns true if recognizer has finished scanning first side and is now scanning back side,
* false if it's still scanning first side.
*/

@@ -182,3 +186,3 @@ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;

/**
* A generic recognizer which can scan front and back side of the document.
* Recognizer which can scan front and back side of the United States driver license.
*/

@@ -190,3 +194,10 @@ export class BlinkIdCombinedRecognizer extends Recognizer {

/**
* Defines whether blured frames filtering is allowed
*/
this.allowBlurFilter = true;
/**
* The DPI (Dots Per Inch) for face image that should be returned.
* Property for setting DPI for face images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*/

@@ -196,3 +207,6 @@ this.faceImageDpi = 250;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -202,3 +216,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -208,3 +225,5 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Defines whether face image will be available in result.
* Sets whether face image from ID card should be extracted
*
*
*/

@@ -214,3 +233,5 @@ this.returnFaceImage = false;

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -217,0 +238,0 @@ this.returnFullDocumentImage = false;

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* The additional name information of the document owner.
* The additional address information of the document owner.
*/

@@ -78,3 +78,3 @@ this.additionalAddressInformation = nativeResult.additionalAddressInformation;

/**
* Face image from the document
* face image from the document if enabled with returnFaceImage property.
*/

@@ -89,3 +89,3 @@ this.faceImage = nativeResult.faceImage;

/**
* Image of the full document
* full document image if enabled with returnFullDocumentImage property.
*/

@@ -115,3 +115,3 @@ this.fullDocumentImage = nativeResult.fullDocumentImage;

/**
* The data extracted from the machine readable zone.
* The data extracted from the machine readable zone
*/

@@ -164,3 +164,3 @@ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;

/**
* Generic BlinkID recognizer.
* The Blink ID Recognizer is used for scanning Blink ID.
*/

@@ -172,3 +172,10 @@ export class BlinkIdRecognizer extends Recognizer {

/**
* Defines whether blured frames filtering is allowed
*/
this.allowBlurFilter = true;
/**
* The DPI (Dots Per Inch) for face image that should be returned.
* Property for setting DPI for face images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*/

@@ -178,3 +185,6 @@ this.faceImageDpi = 250;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -184,3 +194,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -190,3 +203,5 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Defines whether face image will be available in result.
* Sets whether face image from ID card should be extracted
*
*
*/

@@ -196,3 +211,5 @@ this.returnFaceImage = false;

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -199,0 +216,0 @@ this.returnFullDocumentImage = false;

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* The location of document detection in coordinate system of full input frame.
* Quadrangle represeting corner points of the document within the input image.
*/

@@ -28,3 +28,3 @@ this.documentLocation = nativeResult.documentLocation != null ? new Quadrilateral(nativeResult.documentLocation) : null;

/**
* Face image from the document
* face image from the document if enabled with returnFaceImage property.
*/

@@ -34,3 +34,3 @@ this.faceImage = nativeResult.faceImage;

/**
* The location of face detection in coordinate system of cropped full document image.
* Quadrangle represeting corner points of the face image within the input image.
*/

@@ -40,3 +40,3 @@ this.faceLocation = nativeResult.faceLocation != null ? new Quadrilateral(nativeResult.faceLocation) : null;

/**
* Image of the full document
* full document image if enabled with returnFullDocumentImage property.
*/

@@ -49,3 +49,5 @@ this.fullDocumentImage = nativeResult.fullDocumentImage;

/**
* Recognizer for detecting holder's photo on documents containing image.
* Class for configuring Document Face Recognizer Recognizer.
*
* Document Face Recognizer recognizer is used for scanning documents containing face images.
*/

@@ -57,3 +59,5 @@ export class DocumentFaceRecognizer extends Recognizer {

/**
* Currently used detector type.
* Type of docment this recognizer will scan.
*
*
*/

@@ -63,3 +67,6 @@ this.detectorType = DocumentFaceDetectorType.TD1;

/**
* The DPI (Dots Per Inch) for face image that should be returned.
* Property for setting DPI for face images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -69,3 +76,6 @@ this.faceImageDpi = 250;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -75,3 +85,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -81,3 +94,8 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Minimum number of stable detections required for detection to be successful.
* Defines how many times the same document should be detected before the detector
* returns this document as a result of the deteciton
*
* Higher number means more reliable detection, but slower processing
*
*
*/

@@ -87,3 +105,5 @@ this.numStableDetectionsThreshold = 6;

/**
* Defines whether face image will be available in result.
* Sets whether face image from ID card should be extracted
*
*
*/

@@ -93,3 +113,5 @@ this.returnFaceImage = false;

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -96,0 +118,0 @@ this.returnFullDocumentImage = false;

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Defines digital signature of recognition results.
* Digital signature of the recognition result. Available only if enabled with signResult property.
*/

@@ -28,3 +28,3 @@ this.digitalSignature = nativeResult.digitalSignature;

/**
* Defines digital signature version.
* Version of the digital signature. Available only if enabled with signResult property.
*/

@@ -34,3 +34,6 @@ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion;

/**
* Defines result of the data matching algorithm for scanned parts/sides of the document.
* Returns DataMatchResultSuccess if data from scanned parts/sides of the document match,
* DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side
* of the document and values do not match, this method will return DataMatchResultFailed. Result will
* be DataMatchResultSuccess only if scanned values for all fields that are compared are the same.
*/

@@ -40,3 +43,3 @@ this.documentDataMatch = nativeResult.documentDataMatch;

/**
* Face image from the document
* face image from the document if enabled with returnFaceImage property.
*/

@@ -46,3 +49,3 @@ this.faceImage = nativeResult.faceImage;

/**
* Back side image of the document
* back side image of the document if enabled with returnFullDocumentImage property.
*/

@@ -52,3 +55,3 @@ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage;

/**
* Front side image of the document
* front side image of the document if enabled with returnFullDocumentImage property.
*/

@@ -58,3 +61,3 @@ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage;

/**
* The data extracted from the machine readable zone.
* Returns the Data extracted from the machine readable zone.
*/

@@ -64,3 +67,4 @@ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;

/**
* {true} if recognizer has finished scanning first side and is now scanning back side,
* Returns true if recognizer has finished scanning first side and is now scanning back side,
* false if it's still scanning first side.
*/

@@ -73,4 +77,5 @@ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;

/**
* Recognizer for combined reading of face from front side of documents and MRZ from back side of
* * Machine Readable Travel Document.
* MRTD Combined recognizer
*
* MRTD Combined recognizer is used for scanning both front and back side of generic IDs.
*/

@@ -82,3 +87,5 @@ export class MrtdCombinedRecognizer extends Recognizer {

/**
* Whether special characters are allowed.
* Whether special characters are allowed
*
*
*/

@@ -88,3 +95,5 @@ this.allowSpecialCharacters = false;

/**
* Whether returning of unparsed results is allowed.
* Whether returning of unparsed results is allowed
*
*
*/

@@ -94,3 +103,6 @@ this.allowUnparsedResults = false;

/**
* Whether returning of unverified results is allowed.
* Whether returning of unverified results is allowed
* Unverified result is result that is parsed, but check digits are incorrect.
*
*
*/

@@ -100,3 +112,5 @@ this.allowUnverifiedResults = false;

/**
* Currently used detector type.
* Type of document this recognizer will scan.
*
*
*/

@@ -106,3 +120,6 @@ this.detectorType = DocumentFaceDetectorType.TD1;

/**
* The DPI (Dots Per Inch) for face image that should be returned.
* Property for setting DPI for face images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -112,3 +129,6 @@ this.faceImageDpi = 250;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -118,3 +138,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -124,3 +147,8 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Minimum number of stable detections required for detection to be successful.
* Defines how many times the same document should be detected before the detector
* returns this document as a result of the deteciton
*
* Higher number means more reliable detection, but slower processing
*
*
*/

@@ -130,3 +158,5 @@ this.numStableDetectionsThreshold = 6;

/**
* Defines whether face image will be available in result.
* Sets whether face image from ID card should be extracted
*
*
*/

@@ -136,3 +166,5 @@ this.returnFaceImage = false;

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -142,3 +174,5 @@ this.returnFullDocumentImage = false;

/**
* Defines whether or not recognition result should be signed.
* Whether or not recognition result should be signed.
*
*
*/

@@ -145,0 +179,0 @@ this.signResult = false;

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Image of the full document
* full document image if enabled with returnFullDocumentImage property.
*/

@@ -28,3 +28,3 @@ this.fullDocumentImage = nativeResult.fullDocumentImage;

/**
* The Data extracted from the machine readable zone.
* Returns the Data extracted from the machine readable zone.
*/

@@ -37,3 +37,3 @@ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null;

/**
* Recognizer that can recognize Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD)
* Recognizer that can recognizer Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD)
*/

@@ -45,3 +45,5 @@ export class MrtdRecognizer extends Recognizer {

/**
* Whether special characters are allowed.
* Whether special characters are allowed
*
*
*/

@@ -51,3 +53,5 @@ this.allowSpecialCharacters = false;

/**
* Whether returning of unparsed results is allowed.
* Whether returning of unparsed results is allowed
*
*
*/

@@ -57,3 +61,6 @@ this.allowUnparsedResults = false;

/**
* Whether returning of unverified results is allowed.
* Whether returning of unverified results is allowed
* Unverified result is result that is parsed, but check digits are incorrect.
*
*
*/

@@ -63,3 +70,5 @@ this.allowUnverifiedResults = false;

/**
* Defines whether glare detector is enabled.
* Defines if glare detection should be turned on/off.
*
*
*/

@@ -69,3 +78,6 @@ this.detectGlare = true;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -75,3 +87,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -81,3 +96,5 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -84,0 +101,0 @@ this.returnFullDocumentImage = false;

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Face image from the document
* face image from the document if enabled with returnFaceImage property.
*/

@@ -28,3 +28,3 @@ this.faceImage = nativeResult.faceImage;

/**
* Image of the full document
* full document image if enabled with returnFullDocumentImage property.
*/

@@ -49,3 +49,5 @@ this.fullDocumentImage = nativeResult.fullDocumentImage;

/**
* Defines whether glare detector is enabled.
* Defines if glare detection should be turned on/off.
*
*
*/

@@ -55,3 +57,6 @@ this.detectGlare = true;

/**
* The DPI (Dots Per Inch) for face image that should be returned.
* Property for setting DPI for face images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -61,3 +66,6 @@ this.faceImageDpi = 250;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -67,3 +75,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -73,3 +84,5 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Defines whether face image will be available in result.
* Sets whether face image from ID card should be extracted
*
*
*/

@@ -79,3 +92,5 @@ this.returnFaceImage = false;

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -82,0 +97,0 @@ this.returnFullDocumentImage = false;

@@ -22,3 +22,3 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Face image from the document
* face image from the document if enabled with returnFaceImage property.
*/

@@ -28,3 +28,3 @@ this.faceImage = nativeResult.faceImage;

/**
* Image of the full document
* full document image if enabled with returnFullDocumentImage property.
*/

@@ -49,3 +49,5 @@ this.fullDocumentImage = nativeResult.fullDocumentImage;

/**
* Defines whether glare detector is enabled.
* Defines if glare detection should be turned on/off.
*
*
*/

@@ -55,3 +57,6 @@ this.detectGlare = true;

/**
* The DPI (Dots Per Inch) for face image that should be returned.
* Property for setting DPI for face images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -61,3 +66,6 @@ this.faceImageDpi = 250;

/**
* The DPI (Dots Per Inch) for full document image that should be returned.
* Property for setting DPI for full document images
* Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception
*
*
*/

@@ -67,3 +75,6 @@ this.fullDocumentImageDpi = 250;

/**
* The extension factors for full document image.
* Image extension factors for full document image.
*
* @see ImageExtensionFactors
*
*/

@@ -73,3 +84,5 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Defines whether face image will be available in result.
* Sets whether face image from ID card should be extracted
*
*
*/

@@ -79,3 +92,5 @@ this.returnFaceImage = false;

/**
* Defines whether full document image will be available in
* Sets whether full document image of ID card should be extracted.
*
*
*/

@@ -82,0 +97,0 @@ this.returnFullDocumentImage = false;

@@ -148,2 +148,32 @@ /**

this.mrzVerified = nativeMRZResult.mrzVerified;
/**
* Sanitized field opt1
*/
this.sanitizedOpt1 = nativeMRZResult.sanitizedOpt1;
/**
* Sanitized field opt2
*/
this.sanitizedOpt2 = nativeMRZResult.sanitizedOpt2;
/**
* Sanitized field nationality
*/
this.sanitizedNationality = nativeMRZResult.sanitizedNationality;
/**
* Sanitized field issuer
*/
this.sanitizedIssuer = nativeMRZResult.sanitizedIssuer;
/**
* Sanitized document code
*/
this.sanitizedDocumentCode = nativeMRZResult.sanitizedDocumentCode;
/**
* Sanitized document number
*/
this.sanitizedDocumentNumber = nativeMRZResult.sanitizedDocumentNumber;
}

@@ -150,0 +180,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc