@exige/web-scanner-sdk 0.2.38 → 0.2.40
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/dist/components/scanner-camera-overlay.css +1 -1
- package/dist/{driver-license-DC8Jb0DE.js → driver-license-BV2-PjpZ.js} +5 -1
- package/dist/{driver-license-DC8Jb0DE.js.map → driver-license-BV2-PjpZ.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react/guidance.d.ts +1 -0
- package/dist/react/types.d.ts +4 -2
- package/dist/react.js +332 -285
- package/dist/react.js.map +1 -1
- package/dist/scanner-sdk.js +1 -1
- package/dist/sdk/driver-license.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type { Pdf417DecodeResult, Pdf417DecodeSource } from './sdk/barcode';
|
|
|
22
22
|
export { parseAamvaDate, parseAamvaPayload, } from './sdk/aamva';
|
|
23
23
|
export type { AamvaParseResult, DriverLicenseFieldKey, DriverLicenseFieldSource, DriverLicenseFields, ScanUseCase, } from './sdk/aamva';
|
|
24
24
|
export { driverLicenseFieldsFromOcr, driverLicenseHoldStillMs, driverLicensePrompt, mergeDriverLicenseFields, startDriverLicenseSession, } from './sdk/driver-license';
|
|
25
|
-
export type { DriverLicenseResult, DriverLicenseSession, DriverLicenseSessionOptions, DriverLicenseStatus, DriverLicenseStep, } from './sdk/driver-license';
|
|
25
|
+
export type { DriverLicensePromptSide, DriverLicenseResult, DriverLicenseSession, DriverLicenseSessionOptions, DriverLicenseStatus, DriverLicenseStep, } from './sdk/driver-license';
|
|
26
26
|
export { applyRedactions } from './sdk/redact';
|
|
27
27
|
export type { RedactResult } from './sdk/redact';
|
|
28
28
|
export { matchRedactionRules, redactProgrammatically } from './sdk/programmatic-redaction';
|
package/dist/react/guidance.d.ts
CHANGED
package/dist/react/types.d.ts
CHANGED
|
@@ -94,8 +94,8 @@ export interface ScannerState {
|
|
|
94
94
|
frozenPreviewUrl?: string;
|
|
95
95
|
/** Present when `useCase` is `drivers-license`. */
|
|
96
96
|
useCase: ScanUseCase;
|
|
97
|
-
/** Current side of a driver’s license session. */
|
|
98
|
-
licenseSide?: 'front' | 'back';
|
|
97
|
+
/** Current side of a driver’s license session. `flip` is the between-sides dialog. */
|
|
98
|
+
licenseSide?: 'front' | 'back' | 'flip';
|
|
99
99
|
/** True while OCR or PDF417 decode is running. */
|
|
100
100
|
licenseBusy?: boolean;
|
|
101
101
|
}
|
|
@@ -103,6 +103,8 @@ export interface ScannerApi {
|
|
|
103
103
|
capture: () => Promise<void>;
|
|
104
104
|
cancel: () => void;
|
|
105
105
|
retry: () => void;
|
|
106
|
+
/** Dismiss the flip-to-back dialog and start the barcode session. */
|
|
107
|
+
continueLicenseFlip: () => void;
|
|
106
108
|
setTorch: (enabled: boolean) => Promise<void>;
|
|
107
109
|
setAutoCapture: (enabled: boolean) => void;
|
|
108
110
|
copyReport: () => Promise<void>;
|