Socket
Socket
Sign inDemoInstall

scandit-cordova-datacapture-id

Package Overview
Dependencies
Maintainers
4
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scandit-cordova-datacapture-id - npm Package Compare versions

Comparing version 6.11.0-beta.2 to 6.11.0-beta.3

2

package.json
{
"name": "scandit-cordova-datacapture-id",
"version": "6.11.0-beta.2",
"version": "6.11.0-beta.3",
"description": "Scandit Data Capture SDK for Cordova",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RejectedId = exports.LocalizedOnlyId = exports.SouthAfricaDlBarcodeResult = exports.SouthAfricaIdBarcodeResult = exports.ColombiaIdBarcodeResult = exports.ArgentinaIdBarcodeResult = exports.VIZResult = exports.USUniformedServicesBarcodeResult = exports.MRZResult = exports.AAMVABarcodeResult = exports.CapturedId = exports.VehicleRestriction = exports.ProfessionalDrivingPermit = exports.DateResult = void 0;
/// <amd-module name="scandit-cordova-datacapture-id.CapturedId"/>
// ^ needed because Cordova can't resolve "../xx" style dependencies
const Common_1 = require("scandit-cordova-datacapture-core.Common");
class DateResult {

@@ -318,2 +321,7 @@ get day() { return this.json.day; }

}
static fromJSON(json) {
const result = new LocalizedOnlyId();
result._location = Common_1.Quadrilateral.fromJSON(json.location);
return result;
}
}

@@ -325,3 +333,8 @@ exports.LocalizedOnlyId = LocalizedOnlyId;

}
static fromJSON(json) {
const result = new RejectedId();
result._location = Common_1.Quadrilateral.fromJSON(json.location);
return result;
}
}
exports.RejectedId = RejectedId;
/// <amd-module name="scandit-cordova-datacapture-id.SerializedTypes" />
import { QuadrilateralJSON } from 'Common';
export interface DateResultJSON {

@@ -164,2 +165,8 @@ day: number;

}
export interface LocalizedIdJSON {
location: QuadrilateralJSON;
}
export interface RejectedIdJSON {
location: QuadrilateralJSON;
}
export interface IdCaptureErrorJSON {

@@ -171,4 +178,6 @@ type: string;

newlyCapturedId: CapturedIdJSON | null;
localizedOnlyId: LocalizedIdJSON;
newlyRejectedId: RejectedIdJSON;
frameSequenceId: number;
error: IdCaptureErrorJSON;
}

@@ -66,2 +66,3 @@ "use strict";

DocumentType["VeteranId"] = "veteranId";
DocumentType["CitizenshipCertificate"] = "citizenshipCertificate";
})(DocumentType = exports.DocumentType || (exports.DocumentType = {}));

@@ -68,0 +69,0 @@ var IdDocumentType;

@@ -50,2 +50,8 @@ "use strict";

}
if (json.localizedOnlyId) {
session._localizedOnlyId = CapturedId_1.LocalizedOnlyId.fromJSON(json.localizedOnlyId);
}
if (json.newlyRejectedId) {
session._newlyRejectedId = CapturedId_1.LocalizedOnlyId.fromJSON(json.newlyRejectedId);
}
session._frameSequenceId = json.frameSequenceId;

@@ -52,0 +58,0 @@ session._error = json.error ? IdCaptureError.fromJSON(json.error) : null;

@@ -39,2 +39,8 @@ declare module Scandit {

}
interface PrivateLocalizedId {
fromJSON(json: LocalizedIdJSON): LocalizedOnlyId;
}
interface PrivateRejectedId {
fromJSON(json: RejectedIdJSON): RejectedId;
}
export class DateResult {

@@ -232,2 +238,3 @@ private json;

get location(): Quadrilateral;
private static fromJSON;
}

@@ -237,2 +244,3 @@ export class RejectedId {

get location(): Quadrilateral;
private static fromJSON;
}

@@ -298,3 +306,4 @@

TribalId = "tribalId",
VeteranId = "veteranId"
VeteranId = "veteranId",
CitizenshipCertificate = "citizenshipCertificate"
}

@@ -301,0 +310,0 @@ export enum IdDocumentType {

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