New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.2 to 4.3.0-beta1

2

download-ios-framework.js

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

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

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

@@ -386,2 +386,63 @@ export interface DocumentScannerConfiguration

/**
* Background color of the detection overlay.
*/
cameraOverlayColor?: string;
/**
* Whether the cancel button is hidden or not.
*/
cancelButtonHidden?: boolean;
/**
* String being displayed on the cancel button.
*/
cancelButtonTitle?: string;
/**
* Aspect ratio of finder frame (width \ height), which is used to build actual finder frame.
* Default is 1 - it is a square frame, which is good for QR capturing.
*/
finderAspectRatio?: FinderAspectRatio;
/**
* Foreground color of the detection overlay.
*/
finderLineColor?: string;
/**
* Width of finder frame border. Default is 2.
*/
finderLineWidth?: number;
/**
* String being displayed as description.
*/
finderTextHint?: string;
/**
* Foreground color of the description label.
*/
finderTextHintColor?: string;
/**
* Foreground color of the flash button when flash is off.
*/
flashButtonInactiveColor?: string;
/**
* String being displayed on the flash button.
*/
flashButtonTitle?: string;
/**
* Whether flash is toggled on or off.
*/
flashEnabled?: boolean;
/**
* Whether scanner screen should make a sound on successful barcode or MRZ detection.
*/
successBeepEnabled?: boolean;
/**
* Background color of the top bar.
*/
topBarBackgroundColor?: string;
/**
* Foreground color of the cancel button and when flash button is on.
*/
topBarButtonsColor?: string;
/**
* Accepted barcode formats
*/
barcodeFormats?: BarcodeFormat[];
/**
* Specifies the way of barcode images generation or disables this generation at all.

@@ -391,11 +452,19 @@ * Use, if you want to receive a full sized image with barcodes. Defaults to NONE.

barcodeImageGenerationType?: BarcodeImageGenerationType;
}
export interface BatchBarcodeScannerConfiguration
{
/**
* Foreground color of the flash button when flash is on.
* Allowed orientations for automatic interface rotations. *
*/
bottomButtonsActiveColor?: string;
allowedInterfaceOrientations?: UIInterfaceOrientationMask;
/**
* Foreground color of the flash button when flash is off.
* String used for displaying amount of scanned barcodes. Use %d for number formatting symbol.
*/
bottomButtonsInactiveColor?: string;
barcodesCountText?: string;
/**
* Text color of the barcodes count label.
*/
barcodesCountTextColor?: string;
/**
* Background color of the detection overlay.

@@ -413,7 +482,31 @@ */

/**
* Relative height of finder frame. Together with finderWidth it defines the aspect ratio, which is used to build actual finder frame. Default is 1.
* For example if finderWidth and finderHeight both equals 1 - it will make a square frame, which is good for QR capturing.
* String being displayed on the clear button.
*/
finderHeight?: number;
clearButtonTitle?: string;
/**
* String being displayed on the delete button.
*/
deleteButtonTitle?: string;
/**
* Foreground color of the top bar buttons on the details screen.
*/
detailsActionColor?: string;
/**
* Background color of the details screen.
*/
detailsBackgroundColor?: string;
/**
* Text color in the details barcodes list. Also affects image background, separator and progress spinner.
*/
detailsPrimaryColor?: string;
/**
* String used to show process of fetching mapped data for barcodes.
*/
fetchingStateText?: string;
/**
* Aspect ratio of finder frame (width \ height), which is used to build actual finder frame.
* Default is 1 - it is a square frame, which is good for QR capturing.
*/
finderAspectRatio?: FinderAspectRatio;
/**
* Foreground color of the detection overlay.

@@ -435,15 +528,18 @@ */

/**
* Relative width of finder frame. Together with finderHeight it defines the aspect ratio, which is used to build actual finder frame. Default is 1.
* For example if finderWidth and finderHeight both equals 1 - it will make a square frame, which is good for QR capturing.
* Whether flash is toggled on or off.
*/
finderWidth?: number;
flashEnabled?: boolean;
/**
* String being displayed on the flash button.
* String to show that no barcodes were scanned yet.
*/
flashButtonTitle?: string;
noBarcodesTitle?: string;
/**
* Whether flash is toggled on or off.
* Enables or disables the barcode detection.
*/
flashEnabled?: boolean;
recognitionEnabled?: boolean;
/**
* String being displayed on the submit button.
*/
submitButtonTitle?: string;
/**
* Whether scanner screen should make a sound on successful barcode or MRZ detection.

@@ -457,10 +553,20 @@ */

/**
* Foreground color of the cancel button.
* Foreground color of the top bar buttons on the scanning screen.
*/
topBarButtonsColor?: string;
/**
* Foreground color of the flash button when flash is off.
*/
topBarButtonsInactiveColor?: string;
/**
* Accepted barcode formats
*/
barcodeFormats?: BarcodeFormat[];
/**
* Specifies the way of barcode images generation or disables this generation at all.
* Use, if you want to receive a full sized image with barcodes. Defaults to NONE.
*/
barcodeImageGenerationType?: BarcodeImageGenerationType;
}
export interface HealthInsuranceCardScannerConfiguration

@@ -568,8 +674,2 @@ {

export type BarcodeImageGenerationType =
"NONE"
| "VIDEO_FRAME"
| "CAPTURED_IMAGE"
;
export type BarcodeFormat =

@@ -593,2 +693,8 @@ "AZTEC" |

export type BarcodeImageGenerationType =
"NONE"
| "VIDEO_FRAME"
| "CAPTURED_IMAGE"
;
export type CameraPreviewMode =

@@ -748,2 +854,6 @@ "FILL_IN"

export interface FinderAspectRatio {
width: number;
height: number;
}

@@ -764,3 +874,2 @@ export interface LicenseInfo {

export type LicenseFeature =

@@ -791,3 +900,2 @@ "Cheque" | "OCR" | "QRCode" | "NoFeature" |

}]
/**

@@ -821,2 +929,3 @@ * Optional file URI of the captured camera image. Available only when

startBarcodeScanner(args?: {uiConfigs?: BarcodeScannerConfiguration}): Promise<BarcodeResult>;
startBatchBarcodeScanner(args?: {uiConfigs?: BatchBarcodeScannerConfiguration}): Promise<BarcodeResult>;
startEHICScanner(args?: {uiConfigs?: HealthInsuranceCardScannerConfiguration}): Promise<HealthInsuranceCardScannerResult>;

@@ -873,2 +982,4 @@ }

estimateBlur(args: {imageFileUri: string}): Promise<GenericResult & {blur: number}>;
cleanup(): Promise<GenericResult>;

@@ -903,2 +1014,6 @@ requestCameraPermission(): Promise<GenericResult>;

args?: {uiConfigs?: BarcodeScannerConfiguration});
startBatchBarcodeScanner(
success: SuccessCallback<BarcodeResult>,
error: ErrorCallback,
args?: {uiConfigs?: BatchBarcodeScannerConfiguration});
startEHICScanner(

@@ -990,2 +1105,7 @@ success: SuccessCallback<HealthInsuranceCardScannerResult>,

estimateBlur(
success: SuccessCallback<GenericResult & {blur: number}>,
error: ErrorCallback,
args: {imageFileUri: string}): void;
cleanup(success: SuccessCallback<GenericResult>, error: ErrorCallback): void;

@@ -992,0 +1112,0 @@ }

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

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

@@ -31,2 +31,3 @@ /*

startBarcodeScanner: makeUiCaller("startBarcodeScanner"),
startBatchBarcodeScanner: makeUiCaller("startBatchBarcodeScanner"),
startMrzScanner: makeUiCaller("startMrzScanner"),

@@ -45,8 +46,5 @@ startEHICScanner: makeUiCaller("startEHICScanner"),

function(params) {
console.log("successcallback");
// TODO: callback reaches this point, but not the client code
callback(params);
},
function() {
console.log("errorcallback")
}, "ScanbotSdk", "setLicenseFailureHandler", []);

@@ -69,2 +67,3 @@ },

removePage: makeCaller("removePage"),
estimateBlur: makeCaller("estimateBlur"),

@@ -71,0 +70,0 @@ detectBarcodesOnImage: makeCaller("detectBarcodesOnImage"),

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