@scandit/web-datacapture-id 7.1.2 → 7.2.0-beta.2

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.
Files changed (44) hide show
  1. package/build/js/IdCapture.d.ts +3 -0
  2. package/build/js/IdCaptureSettings.d.ts +7 -5
  3. package/build/js/SerializedTypes.d.ts +1 -0
  4. package/build/js/captured-id/BarcodeResult.d.ts +10 -0
  5. package/build/js/captured-id/MRZResult.d.ts +10 -0
  6. package/build/js/captured-id/VIZResult.d.ts +9 -0
  7. package/build/js/document/RegionSpecificSubtype.d.ts +2 -1
  8. package/build/js/index.js +3 -3
  9. package/build/js/safariOOMDetection/SafariOOMDetector.d.ts +20 -0
  10. package/build/js/safariOOMDetection/SafariOOMStatsCollector.d.ts +28 -0
  11. package/build/js/safariOOMDetection/WriteThrottledStorage.d.ts +21 -0
  12. package/build/js/safariOOMDetection/types.d.ts +12 -0
  13. package/build/js/worker/dataCapture.inlineWorker.d.ts +1 -1
  14. package/build/js/worker/dataCaptureEngine.d.ts +5 -2
  15. package/build/js/worker/dataCaptureWorkerRelated.d.ts +17 -5
  16. package/package.json +3 -12
  17. package/sdc-lib/idcapture/Centaurus.worker.min.js +1 -1
  18. package/sdc-lib/idcapture/lightweight/advanced/Centaurus.data +0 -0
  19. package/sdc-lib/idcapture/lightweight/advanced/Centaurus.js +1 -1
  20. package/sdc-lib/idcapture/lightweight/advanced/Centaurus.wasm +0 -0
  21. package/sdc-lib/idcapture/lightweight/advanced-threads/Centaurus.data +0 -0
  22. package/sdc-lib/idcapture/lightweight/advanced-threads/Centaurus.js +1 -1
  23. package/sdc-lib/idcapture/lightweight/advanced-threads/Centaurus.wasm +0 -0
  24. package/sdc-lib/idcapture/lightweight/basic/Centaurus.data +0 -0
  25. package/sdc-lib/idcapture/lightweight/basic/Centaurus.js +1 -1
  26. package/sdc-lib/idcapture/lightweight/basic/Centaurus.wasm +0 -0
  27. package/sdc-lib/resources/models/barcode_classification_default.b90ecc5d362d.model +0 -0
  28. package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default.4c1ba34eafc0.model +0 -0
  29. package/sdc-lib/resources/models/barcode_ocr_fallback_ocr_default.4df1cd250f2d.model +0 -0
  30. package/sdc-lib/resources/models/barcode_ocr_fallback_ocr_detector_default.e440ae4acaf7.model +0 -0
  31. package/sdc-lib/resources/models/barcode_semantics_ocr_detector_default.f383d4282ee9.model +0 -0
  32. package/sdc-lib/resources/models/ocr_barcode_semantics_default.b8e0fdb8dc2c.model +0 -0
  33. package/sdc-lib/scandit-datacapture-sdk-id-pthreads.js +1 -1
  34. package/sdc-lib/scandit-datacapture-sdk-id-pthreads.wasm +0 -0
  35. package/sdc-lib/scandit-datacapture-sdk-id-simd-pthreads.js +1 -1
  36. package/sdc-lib/scandit-datacapture-sdk-id-simd-pthreads.wasm +0 -0
  37. package/sdc-lib/scandit-datacapture-sdk-id-simd.js +1 -1
  38. package/sdc-lib/scandit-datacapture-sdk-id-simd.wasm +0 -0
  39. package/sdc-lib/scandit-datacapture-sdk-id.js +1 -1
  40. package/sdc-lib/scandit-datacapture-sdk-id.wasm +0 -0
  41. package/sdc-lib/resources/models/barcode_classification_default.0e0f78dcf2b3.model +0 -0
  42. package/sdc-lib/resources/models/barcode_localization_french_post_default.8843b5d5d2eb.model +0 -0
  43. package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default.48b44ea31495.model +0 -0
  44. package/sdc-lib/resources/models/barcode_localization_upu_enhanced_orange.da67055d9aa8.model +0 -0
@@ -29,6 +29,8 @@ export declare class IdCapture implements DataCaptureMode, Serializable<IdCaptur
29
29
  private _centaurusConnector?;
30
30
  private _endOfCycleTasks;
31
31
  private _feedback;
32
+ private _safariOOMDetector?;
33
+ private _safariOOMStatsCollector?;
32
34
  private readonly _onProcessFrameListener;
33
35
  private readonly workerMessageListener;
34
36
  private constructor();
@@ -108,5 +110,6 @@ export declare class IdCapture implements DataCaptureMode, Serializable<IdCaptur
108
110
  * Send the last detection issue to the worker so that the SDC engine can get it.
109
111
  */
110
112
  private reportLastDetectionIssue;
113
+ private onPageAbruptlyReloaded;
111
114
  }
112
115
  export {};
@@ -1,10 +1,10 @@
1
- import { type JSONType } from "@scandit/web-datacapture-core";
1
+ import type { JSONType } from "@scandit/web-datacapture-core";
2
2
  import type { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable";
3
- import { IdAnonymizationMode, IdCaptureTrigger, IdImageType } from "./Enums";
4
- import type { IdCaptureDocument, IdCaptureDocumentJSON } from "./document/IdCaptureDocument";
5
- import type { ScannerJSON, IdCaptureScanner } from "./scanner/Scanner";
6
3
  import { Duration } from "./Duration";
7
4
  import type { DurationJSON } from "./SerializedTypes";
5
+ import { IdAnonymizationMode, IdCaptureTrigger, IdImageType } from "./Enums";
6
+ import type { IdCaptureDocument, IdCaptureDocumentJSON } from "./document/IdCaptureDocument";
7
+ import type { IdCaptureScanner, ScannerJSON } from "./scanner/Scanner";
8
8
  export interface IdCaptureSettingsJSON {
9
9
  acceptedDocuments: IdCaptureDocumentJSON[];
10
10
  rejectedDocuments: IdCaptureDocumentJSON[];
@@ -19,6 +19,7 @@ export interface IdCaptureSettingsJSON {
19
19
  rejectInconsistentData: boolean;
20
20
  rejectHolderBelowAge: number | null;
21
21
  rejectIdsExpiringIn: DurationJSON | null;
22
+ decodeMobileDriverLicenses: boolean;
22
23
  properties: JSONType;
23
24
  }
24
25
  export declare class IdCaptureSettings implements Serializable<IdCaptureSettingsJSON> {
@@ -34,6 +35,7 @@ export declare class IdCaptureSettings implements Serializable<IdCaptureSettings
34
35
  rejectInconsistentData: boolean;
35
36
  rejectHolderBelowAge: number | null;
36
37
  rejectIdsExpiringIn: Duration | null;
38
+ decodeMobileDriverLicenses: boolean;
37
39
  private properties;
38
40
  private imageToResult;
39
41
  constructor();
@@ -43,5 +45,5 @@ export declare class IdCaptureSettings implements Serializable<IdCaptureSettings
43
45
  getShouldPassImageTypeToResult(type: IdImageType): boolean;
44
46
  toJSONObject(): IdCaptureSettingsJSON;
45
47
  private static fromJSON;
46
- private createDocumentFromTypeAndRegion;
48
+ private static createDocumentFromJSON;
47
49
  }
@@ -242,6 +242,7 @@ export interface VIZResultJSON extends CommonFieldsJSON {
242
242
  visaNumber: string | null;
243
243
  passportNumber: string | null;
244
244
  usRealIdStatus: string | null;
245
+ vehicleOwner: string | null;
245
246
  }
246
247
  export interface IdCaptureErrorJSON {
247
248
  type: string;
@@ -90,6 +90,16 @@ export declare class BarcodeResult implements Serializable<BarcodeResultJSON> {
90
90
  get weightKg(): number | null;
91
91
  get weightLbs(): number | null;
92
92
  get isRealId(): boolean | null;
93
+ get firstName(): string | null;
94
+ get lastName(): string | null;
95
+ get fullName(): string;
96
+ get sex(): string | null;
97
+ get dateOfBirth(): DateResult | null;
98
+ get nationality(): string | null;
99
+ get address(): string | null;
100
+ get documentNumber(): string | null;
101
+ get dateOfExpiry(): DateResult | null;
102
+ get dateOfIssue(): DateResult | null;
93
103
  get barcodeDataElements(): Record<string, string>;
94
104
  private static fromJSON;
95
105
  toJSONObject(): BarcodeResultJSON;
@@ -17,6 +17,16 @@ export declare class MRZResult implements Serializable<MRZResultJSON> {
17
17
  get passportIssuerIso(): string | null;
18
18
  get passportNumber(): string | null;
19
19
  get passportDateOfExpiry(): DateResult | null;
20
+ get firstName(): string | null;
21
+ get lastName(): string | null;
22
+ get fullName(): string;
23
+ get sex(): string | null;
24
+ get dateOfBirth(): DateResult | null;
25
+ get nationality(): string | null;
26
+ get address(): string | null;
27
+ get documentNumber(): string | null;
28
+ get dateOfExpiry(): DateResult | null;
29
+ get dateOfIssue(): DateResult | null;
20
30
  private static fromJSON;
21
31
  toJSONObject(): MRZResultJSON;
22
32
  }
@@ -2,6 +2,7 @@ import type { Serializable } from "@scandit/web-datacapture-core/build/js/privat
2
2
  import type { CapturedSides } from "../Enums";
3
3
  import { DrivingLicenseDetails } from "./DrivingLicenseDetails";
4
4
  import type { VIZResultJSON } from "../SerializedTypes";
5
+ import { DateResult } from "./DateResult";
5
6
  export declare class VIZResult implements Serializable<VIZResultJSON> {
6
7
  protected json: VIZResultJSON;
7
8
  get firstName(): string | null;
@@ -31,6 +32,14 @@ export declare class VIZResult implements Serializable<VIZResultJSON> {
31
32
  get sponsor(): string | null;
32
33
  get visaNumber(): string | null;
33
34
  get passportNumber(): string | null;
35
+ get sex(): string | null;
36
+ get dateOfBirth(): DateResult | null;
37
+ get nationality(): string | null;
38
+ get address(): string | null;
39
+ get documentNumber(): string | null;
40
+ get dateOfExpiry(): DateResult | null;
41
+ get dateOfIssue(): DateResult | null;
42
+ get vehicleOwner(): string | null;
34
43
  private static fromJSON;
35
44
  toJSONObject(): VIZResultJSON;
36
45
  }
@@ -62,5 +62,6 @@ export declare enum RegionSpecificSubtype {
62
62
  UsMedicalMarijuanaCard = "usMedicalMarijuanaCard",
63
63
  UsMunicipalId = "usMunicipalId",
64
64
  AustraliaAsicCard = "australiaAsicCard",
65
- UaeVehicleRegistrationCard = "uaeVehicleRegistrationCard"
65
+ UaeVehicleRegistrationCard = "uaeVehicleRegistrationCard",
66
+ UaeEsaadCard = "uaeEsaadCard"
66
67
  }