Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-scanbot-sdk

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-scanbot-sdk - npm Package Compare versions

Comparing version 4.11.0-beta1 to 4.11.0-beta2

2

download-ios-framework.js

@@ -7,3 +7,3 @@

const version = "1.19.2";
const version = "1.19.3";
const url = `https://download.scanbot.io/sdk/ios/scanbot-ios-sdk${version}.zip`;

@@ -10,0 +10,0 @@ const zipFile = "sdk-ios.zip";

@@ -51,3 +51,3 @@

*/
shutterButtonAccessibilityHint: string;
shutterButtonAccessibilityHint: string;
}

@@ -342,3 +342,3 @@

export type IdCardDocumentType =
export type IdCardDocumentType =
"DeIdBack" |

@@ -800,8 +800,3 @@ "DeIdFront" |

export type EngineMode =
"NEXT_GEN"
| "LEGACY"
;
export type BarcodeDocumentFormat =
export type BarcodeDocumentFormat =
"AAMVA" |

@@ -819,3 +814,3 @@ "BOARDING_PASS" |

/**
* An optional array of barcode document formats that act as a detection filter.
* An optional array of barcode document formats that act as a detection filter.
* By default all supported document formats will be detected.

@@ -906,4 +901,4 @@ */

/**
* Optional minimum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* Optional minimum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* NOTE: This feature works on ITF barcodes only.

@@ -913,4 +908,4 @@ */

/**
* Optional maximum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* Optional maximum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* NOTE: This feature works on ITF barcodes only.

@@ -920,8 +915,8 @@ */

/**
* Optional minimum required quiet zone on the barcode.
* Measured in modules (the size of minimal bar on the barcode).
* The default is 10.
* Optional minimum required quiet zone on the barcode.
* Measured in modules (the size of minimal bar on the barcode).
* The default is 10.
* NOTE: This feature works on ITF barcodes only.
*/
minimum1DBarcodesQuietZone?: number
minimum1DBarcodesQuietZone?: number
/**

@@ -939,19 +934,8 @@ * With this option, the scanner assumes that the barcode can be a GS1 barcode, and modify the behavior as needed.

cameraZoomFactor?: number;
/**
* The engine mode of the barcode recognizer. Defaults to NEXT_GEN.
* To use legacy recognizer, please specify LEGACY
*/
engineMode?: EngineMode;
/**
* When set to `true`, the scanner assumes that the barcode can be a GS1 barcode.
* Turn it off, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29).
* The default value is `true`.
* NOTE: Currently works for CODE128 barcodes only!
*/
gs1DecodingEnabled?: boolean;
/**
* The checksum algorithms for MSI Plessey barcodes.
* The default value is [MSIPlesseyChecksumAlgorithm.Mod10].
*/
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
}

@@ -962,3 +946,3 @@

/**
* An optional array of barcode document formats that act as a detection filter.
* An optional array of barcode document formats that act as a detection filter.
* By default all supported document formats will be detected.

@@ -1079,4 +1063,4 @@ */

/**
* Optional minimum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* Optional minimum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* NOTE: This feature works on ITF barcodes only.

@@ -1086,4 +1070,4 @@ */

/**
* Optional maximum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* Optional maximum required text length of the detected barcode.
* The default is 0 (setting is turned off).
* NOTE: This feature works on ITF barcodes only.

@@ -1093,5 +1077,5 @@ */

/**
* Optional minimum required quiet zone on the barcode.
* Measured in modules (the size of minimal bar on the barcode).
* The default is 10.
* Optional minimum required quiet zone on the barcode.
* Measured in modules (the size of minimal bar on the barcode).
* The default is 10.
* NOTE: This feature works on ITF barcodes only.

@@ -1101,13 +1085,9 @@ */

/**
* The engine mode of the barcode recognizer. Defaults to NEXT_GEN.
* To use legacy recognizer, please specify LEGACY
*/
engineMode?: EngineMode;
/**
* When set to `true`, the scanner assumes that the barcode can be a GS1 barcode.
* Turn it off, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29).
* The default value is `true`.
* With this option, the scanner assumes that the barcode can be a GS1 barcode, and modify the behavior as needed.
* You can set it to 'false', if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29).
* The default is 'true'.
* NOTE: Currently works for CODE128 barcodes only!
*/
gs1DecodingEnabled?: boolean;
enableGS1Decoding?: boolean
/**

@@ -1117,3 +1097,3 @@ * The checksum algorithms for MSI Plessey barcodes.

*/
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
}

@@ -1457,4 +1437,3 @@

"UPC_E" |
"UNKNOWN" |
"MSI_PLESSEY";
"UNKNOWN";

@@ -1469,12 +1448,2 @@ export type BarcodeImageGenerationType = "NONE" | "VIDEO_FRAME" | "CAPTURED_IMAGE";

export type MSIPlesseyChecksumAlgorithm =
"None" |
"Mod10" |
"Mod11IBM" |
"Mod11NCR" |
"Mod1010" |
"Mod1110IBM" |
"Mod1110NCR"
;
export type CameraOrientationMode =

@@ -1584,3 +1553,2 @@ "NONE"

documentImageSizeLimit?: Size;
originalImageFileUri: string;

@@ -1590,2 +1558,3 @@ documentImageFileUri?: string;

documentPreviewImageFileUri?: string;
isCapturedAutomatically?: boolean;
}

@@ -1659,2 +1628,3 @@

licenseFeature: LicenseFeature;
licenseErrorMessage: string;
}

@@ -1677,2 +1647,4 @@

export type MSIPlesseyChecksumAlgorithm = "None | Mod10 | Mod11IBM | Mod11NCR | Mod1010 | Mod1110IBM | Mod1110NCR"
export interface BarcodeResultField {

@@ -1752,4 +1724,4 @@ /**

detectBarcodesOnImage(
args: {
imageFileUri: string,
args: {
imageFileUri: string,
barcodeFormats?: BarcodeFormat[],

@@ -1760,7 +1732,8 @@ acceptedDocumentFormats?: BarcodeDocumentFormat[],

minimum1DBarcodesQuietZone?: number //NOTE: This feature works on ITF barcodes only.
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
}
): Promise<GenericResult & BarcodeResult>;
detectBarcodesOnImages(
args: {
imageFilesUris: string[],
args: {
imageFilesUris: string[],
barcodeFormats?: BarcodeFormat[],

@@ -1771,2 +1744,3 @@ acceptedDocumentFormats?: BarcodeDocumentFormat[],

minimum1DBarcodesQuietZone?: number //NOTE: This feature works on ITF barcodes only.
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
}

@@ -1879,5 +1853,7 @@ ): Promise<GenericResult & DetectBarcodesOnImagesResult>

config: ScanbotSDKConfiguration): void;
getLicenseInfo(
success: SuccessCallback<GenericResult & {info: LicenseInfo}>,
error: ErrorCallback): void;
setLicenseFailureHandler(callback: SuccessCallback<LicenseFailure>): void;

@@ -1887,3 +1863,3 @@

success: SuccessCallback<GenericResult & BarcodeResult>,
error: ErrorCallback, args: {
error: ErrorCallback, args: {
imageFileUri: string,

@@ -1894,3 +1870,4 @@ barcodeFormats?: BarcodeFormat[],

maximumTextLength?: number, // NOTE: This feature works on ITF barcodes only.
minimum1DBarcodesQuietZone?: number //NOTE: This feature works on ITF barcodes only.
minimum1DBarcodesQuietZone?: number //NOTE: This feature works on ITF barcodes only.
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
}): void;

@@ -1900,4 +1877,4 @@

success: SuccessCallback<GenericResult & DocumentDetectionResult>,
error: ErrorCallback, args: {
imageFilesUris: string[],
error: ErrorCallback, args: {
imageFilesUris: string[],
barcodeFormats?: BarcodeFormat[],

@@ -1908,7 +1885,10 @@ acceptedDocumentFormats?: BarcodeDocumentFormat[],

minimum1DBarcodesQuietZone?: number //NOTE: This feature works on ITF barcodes only.
msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
}
): void
detectDocument(
success: SuccessCallback<GenericResult & DocumentDetectionResult>,
error: ErrorCallback, args: { imageFileUri: string, quality?: number }): void;
applyImageFilter(

@@ -1918,2 +1898,3 @@ success: SuccessCallback<GenericResult & {imageFileUri: string}>,

}): void;
rotateImage(

@@ -1923,5 +1904,7 @@ success: SuccessCallback<GenericResult & {imageFileUri: string}>,

}): void;
getOcrConfigs(
success: SuccessCallback<GenericResult & { languageDataPath: string; installedLanguages: string[]; }>,
error: ErrorCallback): void;
performOcr(

@@ -1948,2 +1931,3 @@ success: SuccessCallback<GenericResult & { plainText?: string; pdfFileUri?: string; jsonData?: any; }>,

args: {originalImageFileUri: string}): void;
setDocumentImage(

@@ -1953,2 +1937,3 @@ success: SuccessCallback<GenericResult & {page: Page}>,

args: {page: Page, imageUri: string}): void;
detectDocumentOnPage(

@@ -1958,2 +1943,3 @@ success: SuccessCallback<GenericResult & {page: Page}>,

args: {page: Page}): void;
applyImageFilterOnPage(

@@ -1963,2 +1949,3 @@ success: SuccessCallback<GenericResult & {page: Page}>,

args: {page: Page, imageFilter: ImageFilter}): void;
rotatePage(

@@ -1968,2 +1955,3 @@ success: SuccessCallback<GenericResult & {page: Page}>,

args: {page: Page, times: number}): void;
getFilteredDocumentPreviewUri(

@@ -1973,2 +1961,3 @@ success: SuccessCallback<GenericResult & {imageFileUri: string}>,

args: {page: Page, imageFilter: ImageFilter}): void;
removePage(

@@ -1975,0 +1964,0 @@ success: SuccessCallback<GenericResult>,

{
"name": "cordova-plugin-scanbot-sdk",
"version": "4.11.0-beta1",
"version": "4.11.0-beta2",
"description": "Cordova Plugin for Scanbot SDK",

@@ -5,0 +5,0 @@ "cordova": {

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

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

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