@exige/web-scanner-sdk 0.2.39 → 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.
@@ -94,7 +94,7 @@ 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. `flip` is the brief between-sides cue. */
97
+ /** Current side of a driver’s license session. `flip` is the between-sides dialog. */
98
98
  licenseSide?: 'front' | 'back' | 'flip';
99
99
  /** True while OCR or PDF417 decode is running. */
100
100
  licenseBusy?: boolean;
@@ -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>;