Socket
Socket
Sign inDemoInstall

@microblink/blinkcard-react-native

Package Overview
Dependencies
0
Maintainers
12
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.4.0

src/android/src/main/java/com/microblink/blinkcard/reactnative/BlinkCardReactPackage.java

4

overlays/blinkCardOverlays.js

@@ -10,3 +10,3 @@ import { OverlaySettings } from '../overlaySettings'

super('BlinkCardOverlaySettings');
/**
/**
* String: user instructions that are shown above camera preview while the first side of the

@@ -17,3 +17,3 @@ * document is being scanned.

this.firstSideInstructions = null;
/**
/**
* String: user instructions that are shown above camera preview while the second side of the

@@ -20,0 +20,0 @@ * document is being scanned.

{
"name": "@microblink/blinkcard-react-native",
"version": "2.3.0",
"version": "2.4.0",
"description": "AI-driven credit card scanning for cross-platform apps built with ReactNative.",

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

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

/**
* Flag which indicatew whether the payment card number is valid or not.
* The payment card number is valid
*/

@@ -42,3 +42,3 @@ this.cardNumberValid = nativeResult.cardNumberValid;

/**
* Payment card's security code/value.
* Payment card's security code/value.
*/

@@ -48,3 +48,3 @@ this.cvv = nativeResult.cvv;

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

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

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

@@ -65,3 +65,3 @@ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion;

/**
* Whether the first scanned side is blurred.
* Wheater the first scanned side is blurred.
*/

@@ -86,3 +86,3 @@ this.firstSideBlurred = nativeResult.firstSideBlurred;

/**
* Information about the payment card owner.
* Information about the payment card owner (name, company, etc.).
*/

@@ -97,3 +97,4 @@ this.owner = nativeResult.owner;

/**
* {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.
*/

@@ -103,3 +104,3 @@ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;

/**
* Whether the second scanned side is blurred.
* Wheater the second scanned side is blurred.
*/

@@ -117,3 +118,3 @@ this.secondSideBlurred = nativeResult.secondSideBlurred;

/**
* Recognizer used for scanning both sides of payment cards.
* Recognizer used for scanning credit/debit cards.
*/

@@ -125,3 +126,5 @@ export class BlinkCardRecognizer extends Recognizer {

/**
* Whether blured frames filtering is allowed.
* Defines whether blured frames filtering is allowed
*
*
*/

@@ -131,3 +134,5 @@ this.allowBlurFilter = true;

/**
* The settings which control the anonymization of returned data.
* Defines whether sensitive data should be redacted from the result.
*
*
*/

@@ -137,3 +142,5 @@ this.anonymizationSettings = new BlinkCardAnonymizationSettings();

/**
* Should extract the card CVV
* Should extract CVV
*
*
*/

@@ -143,3 +150,5 @@ this.extractCvv = true;

/**
* Should extract the payment card's expiry date.
* Should extract the payment card's month of expiry
*
*
*/

@@ -149,3 +158,5 @@ this.extractExpiryDate = true;

/**
* Should extract the card IBAN
* Should extract the payment card's IBAN
*
*
*/

@@ -156,2 +167,4 @@ this.extractIban = true;

* Should extract the card owner information
*
*
*/

@@ -161,3 +174,6 @@ this.extractOwner = 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
*
*
*/

@@ -167,3 +183,6 @@ this.fullDocumentImageDpi = 250;

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

@@ -173,3 +192,7 @@ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors();

/**
* Padding is a minimum distance from the edge of the frame and it is defined as a percentage
* Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case
* padding edge and image edge are the same.
* Recommended value is 0.02f.
*
*
*/

@@ -179,3 +202,5 @@ this.paddingEdge = 0.0;

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

@@ -185,3 +210,5 @@ this.returnFullDocumentImage = false;

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

@@ -188,0 +215,0 @@ this.signResult = false;

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

/**
* Payment card's security code/value.
* Payment card's security code/value
*/

@@ -37,3 +37,3 @@ this.cvv = nativeResult.cvv;

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

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

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

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

/**
* Defines result of the data matching algorithm for scanned parts/sides of the document.
* Returns CDataMatchResultSuccess if data from scanned parts/sides of the document match,
* CDataMatchResultFailed 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 CDataMatchResultFailed. Result will
* be CDataMatchResultSuccess only if scanned values for all fields that are compared are the same.
*/

@@ -55,3 +58,3 @@ this.documentDataMatch = nativeResult.documentDataMatch;

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

@@ -61,3 +64,3 @@ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage;

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

@@ -72,3 +75,3 @@ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage;

/**
* Information about the payment card owner (name, company, etc.)
* Information about the payment card owner (name, company, etc.).
*/

@@ -78,3 +81,4 @@ this.owner = nativeResult.owner;

/**
* {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.
*/

@@ -92,3 +96,3 @@ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;

/**
* Recognizer used for scanning both sides of elite payment cards.
* Recognizer used for scanning the front side of elite credit/debit cards.
*/

@@ -101,2 +105,4 @@ export class LegacyBlinkCardEliteRecognizer extends Recognizer {

* Should anonymize the card number area (redact image pixels) on the document image result
*
*
*/

@@ -106,3 +112,5 @@ this.anonymizeCardNumber = false;

/**
* Should anonymize the CVV area (redact image pixels) on the document image result
* Should anonymize the CVV on the document image result
*
*
*/

@@ -113,2 +121,4 @@ this.anonymizeCvv = false;

* Should anonymize the owner area (redact image pixels) on the document image result
*
*
*/

@@ -118,3 +128,5 @@ this.anonymizeOwner = false;

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

@@ -125,2 +137,4 @@ this.detectGlare = true;

* Should extract the card's inventory number
*
*
*/

@@ -131,2 +145,4 @@ this.extractInventoryNumber = true;

* Should extract the card owner information
*
*
*/

@@ -137,2 +153,4 @@ this.extractOwner = true;

* Should extract the payment card's month of expiry
*
*
*/

@@ -142,3 +160,6 @@ this.extractValidThru = 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
*
*
*/

@@ -148,3 +169,6 @@ this.fullDocumentImageDpi = 250;

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

@@ -154,3 +178,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.
*
*
*/

@@ -160,3 +186,5 @@ this.returnFullDocumentImage = false;

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

@@ -163,0 +191,0 @@ this.signResult = false;

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

/**
* Payment card's security code/value.
* Payment card's security code/value
*/

@@ -37,3 +37,3 @@ this.cvv = nativeResult.cvv;

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

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

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

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

/**
* Defines result of the data matching algorithm for scanned parts/sides of the document.
* Returns CDataMatchResultSuccess if data from scanned parts/sides of the document match,
* CDataMatchResultFailed 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 CDataMatchResultFailed. Result will
* be CDataMatchResultSuccess only if scanned values for all fields that are compared are the same.
*/

@@ -55,3 +58,3 @@ this.documentDataMatch = nativeResult.documentDataMatch;

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

@@ -61,3 +64,3 @@ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage;

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

@@ -67,3 +70,3 @@ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage;

/**
* Payment card's IBAN.
* Payment card's IBAN
*/

@@ -78,3 +81,3 @@ this.iban = nativeResult.iban;

/**
* The payment card's issuing network.
* Payment card's issuing network
*/

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

/**
* Information about the payment card owner (name, company, etc.)
* Information about the payment card owner (name, company, etc.).
*/

@@ -90,3 +93,4 @@ this.owner = nativeResult.owner;

/**
* {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.
*/

@@ -104,3 +108,3 @@ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone;

/**
* Recognizer used for scanning both sides of payment cards.
* Recognizer used for scanning the front side of credit/debit cards.
*/

@@ -113,2 +117,4 @@ export class LegacyBlinkCardRecognizer extends Recognizer {

* Should anonymize the card number area (redact image pixels) on the document image result
*
*
*/

@@ -118,3 +124,5 @@ this.anonymizeCardNumber = false;

/**
* Should anonymize the CVV area (redact image pixels) on the document image result
* Should anonymize the CVV on the document image result
*
*
*/

@@ -125,2 +133,4 @@ this.anonymizeCvv = false;

* Should anonymize the IBAN area (redact image pixels) on the document image result
*
*
*/

@@ -131,2 +141,4 @@ this.anonymizeIban = false;

* Should anonymize the owner area (redact image pixels) on the document image result
*
*
*/

@@ -136,3 +148,5 @@ this.anonymizeOwner = false;

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

@@ -142,3 +156,5 @@ this.detectGlare = true;

/**
* Should extract the card CVV
* Should extract CVV
*
*
*/

@@ -148,3 +164,5 @@ this.extractCvv = true;

/**
* Should extract the card IBAN
* Should extract the payment card's IBAN
*
*
*/

@@ -155,2 +173,4 @@ this.extractIban = false;

* Should extract the card's inventory number
*
*
*/

@@ -161,2 +181,4 @@ this.extractInventoryNumber = true;

* Should extract the card owner information
*
*
*/

@@ -167,2 +189,4 @@ this.extractOwner = false;

* Should extract the payment card's month of expiry
*
*
*/

@@ -172,3 +196,6 @@ this.extractValidThru = 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
*
*
*/

@@ -178,3 +205,6 @@ this.fullDocumentImageDpi = 250;

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

@@ -184,3 +214,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.
*
*
*/

@@ -190,3 +222,5 @@ this.returnFullDocumentImage = false;

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

@@ -193,0 +227,0 @@ this.signResult = false;

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc