@scandit/web-datacapture-id 7.5.0-beta.1 → 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/js/IdCapture.d.ts +1 -0
- package/build/js/IdCaptureSettings.d.ts +2 -0
- package/build/js/Listener.d.ts +2 -0
- package/build/js/SerializedTypes.d.ts +1 -0
- package/build/js/captured-id/CapturedId.d.ts +1 -0
- package/build/js/index.js +5 -9
- package/build/js/worker/IdCaptureMode.d.ts +1 -0
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +10 -3
- package/package.json +2 -2
- package/sdc-lib/idcapture/7.5.0/resources/lightweight/advanced/Centaurus.js +1 -0
- package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/advanced/Centaurus.wasm +0 -0
- package/sdc-lib/idcapture/7.5.0/resources/lightweight/advanced-threads/Centaurus.js +1 -0
- package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/advanced-threads/Centaurus.wasm +0 -0
- package/sdc-lib/idcapture/7.5.0/resources/lightweight/basic/Centaurus.js +1 -0
- package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/basic/Centaurus.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id-simd-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id-simd-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id-simd.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id-simd.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id.wasm +0 -0
- package/sdc-lib/idcapture/7.5.0-beta.1/resources/lightweight/advanced/Centaurus.js +0 -1
- package/sdc-lib/idcapture/7.5.0-beta.1/resources/lightweight/advanced-threads/Centaurus.js +0 -1
- package/sdc-lib/idcapture/7.5.0-beta.1/resources/lightweight/basic/Centaurus.js +0 -1
- /package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/centaurus-worker.js +0 -0
- /package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/advanced/Centaurus.data +0 -0
- /package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/advanced-threads/Centaurus.data +0 -0
- /package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/advanced-threads/Centaurus.worker.js +0 -0
- /package/sdc-lib/idcapture/{7.5.0-beta.1 → 7.5.0}/resources/lightweight/basic/Centaurus.data +0 -0
package/build/js/IdCapture.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export declare class IdCapture implements DataCaptureMode, Serializable<IdCaptur
|
|
|
90
90
|
private reportToBackend;
|
|
91
91
|
private uint8ArrayImageToBase64;
|
|
92
92
|
private convertRawImagesToBase64;
|
|
93
|
+
private triggerListenersForLocalization;
|
|
93
94
|
private triggerListenersForResult;
|
|
94
95
|
private notifyRecoveryAfterCrash;
|
|
95
96
|
private triggerErrorListener;
|
|
@@ -20,6 +20,7 @@ export interface IdCaptureSettingsJSON {
|
|
|
20
20
|
rejectHolderBelowAge: number | null;
|
|
21
21
|
rejectIdsExpiringIn: DurationJSON | null;
|
|
22
22
|
decodeMobileDriverLicenseViz: boolean;
|
|
23
|
+
notifyOnSideCapture: boolean;
|
|
23
24
|
properties: JSONType;
|
|
24
25
|
}
|
|
25
26
|
export declare class IdCaptureSettings implements Serializable<IdCaptureSettingsJSON> {
|
|
@@ -36,6 +37,7 @@ export declare class IdCaptureSettings implements Serializable<IdCaptureSettings
|
|
|
36
37
|
rejectHolderBelowAge: number | null;
|
|
37
38
|
rejectIdsExpiringIn: Duration | null;
|
|
38
39
|
decodeMobileDriverLicenseViz: boolean;
|
|
40
|
+
notifyOnSideCapture: boolean;
|
|
39
41
|
private properties;
|
|
40
42
|
private imageToResult;
|
|
41
43
|
constructor();
|
package/build/js/Listener.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import type { IdCapture } from "./IdCapture";
|
|
|
2
2
|
import type { IdCaptureError } from "./IdCaptureError";
|
|
3
3
|
import type { RejectionReason } from "./RejectionReason";
|
|
4
4
|
import type { CapturedId } from "./captured-id/CapturedId";
|
|
5
|
+
import type { LocalizedOnlyId } from "./captured-id/LocalizedOnlyId";
|
|
5
6
|
export interface Listener {
|
|
6
7
|
didCaptureId?: (capturedId: CapturedId) => Promise<void> | void;
|
|
7
8
|
didRejectId?: (capturedId: CapturedId, reason: RejectionReason) => Promise<void> | void;
|
|
8
9
|
didFailWithError?: (idCapture: IdCapture, error: IdCaptureError) => void;
|
|
10
|
+
didLocalizeId?: (localization: LocalizedOnlyId) => void;
|
|
9
11
|
}
|
|
@@ -35,6 +35,7 @@ export declare class CapturedId implements Serializable<CapturedIdJSON> {
|
|
|
35
35
|
get isExpired(): boolean | null;
|
|
36
36
|
get dateOfIssue(): DateResult | null;
|
|
37
37
|
get usRealIdStatus(): UsRealIdStatus;
|
|
38
|
+
get isCapturingComplete(): boolean;
|
|
38
39
|
get barcode(): BarcodeResult | null;
|
|
39
40
|
get mrzResult(): MRZResult | null;
|
|
40
41
|
get vizResult(): VIZResult | null;
|