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.1.0 to 4.2.0-beta1

110

index.d.ts

@@ -461,3 +461,94 @@ export interface DocumentScannerConfiguration

}
export interface HealthInsuranceCardScannerConfiguration
{
/**
* Allowed orientations for automatic interface rotations. *
*/
allowedInterfaceOrientations?: UIInterfaceOrientationMask;
/**
* Foreground color of the flash button when flash is on.
*/
bottomButtonsActiveColor?: string;
/**
* Foreground color of the flash button when flash is off.
*/
bottomButtonsInactiveColor?: string;
/**
* 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;
/**
* The receivers delegate.
*/
delegate?: any;
/**
* String being displayed when health insurance card was not found.
*/
detectionStatusFailedDetectionText?: string;
/**
* String being displayed when health insurance card was found but not recognized.
*/
detectionStatusFailedValidationText?: string;
/**
* String being displayed when health insurance card was found and recognized.
*/
detectionStatusSuccessText?: string;
/**
* 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;
/**
* String being displayed on the flash button.
*/
flashButtonTitle?: string;
/**
* Whether flash is toggled on or off.
*/
flashEnabled?: boolean;
/**
* Enables or disables the machine readable zones detection.
*/
recognitionEnabled?: boolean;
/**
* Background color of the top bar.
*/
topBarBackgroundColor?: string;
/**
* Foreground color of the cancel button.
*/
topBarButtonsColor?: string;
/**
* The type of health insurance card validation.
*/
validationType?: HealthInsuranceCardValidationType;
}
type HealthInsuranceCardValidationType =
"NONE"
| "AUTO_ANY"
| "AUTO_SUPPORTED"
| "GERMAN"
| "AUSTRIAN"
;
export type UIInterfaceOrientationMask =

@@ -539,2 +630,4 @@ "PORTRAIT"

export type HealthInsuranceCardDetectionStatus = "SUCCESS" | "FAILED_DETECTION" | "FAILED_VALIDATION";
export type ImageFilter =

@@ -639,2 +732,14 @@ "NONE"

export interface HealthInsuranceCardScannerResult {
status: Status;
ehicResult?: {
fields: {
type: string;
value: string;
confidence: number;
}[];
}
}
export interface LicenseInfo {

@@ -709,2 +814,3 @@ isLicenseValid: boolean;

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

@@ -789,2 +895,6 @@

args?: {uiConfigs?: BarcodeScannerConfiguration});
startEHICScanner(
success: SuccessCallback<HealthInsuranceCardScannerResult>,
error: ErrorCallback,
args?: {uiConfigs?: HealthInsuranceCardScannerConfiguration});
}

@@ -791,0 +901,0 @@

12

package.json
{
"name": "cordova-plugin-scanbot-sdk",
"version": "4.1.0",
"version": "4.2.0-beta1",
"description": "Cordova Plugin for Scanbot SDK",

@@ -42,2 +42,12 @@ "cordova": {

"homepage": "https://scanbot.io",
"requires": {
"https": "1.0.0",
"adm-zip": "0.4.16",
"path": "0.12.7"
},
"dependencies": {
"https": "1.0.0",
"adm-zip": "0.4.16",
"path": "0.12.7"
},
"devDependencies": {

@@ -44,0 +54,0 @@ "https": "1.0.0",

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

startMrzScanner: makeUiCaller("startMrzScanner"),
startEHICScanner: makeUiCaller("startEHICScanner"),
},

@@ -34,0 +35,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

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