@exige/web-scanner-sdk 0.2.29 → 0.2.31
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/README.md +1 -1
- package/dist/components/scanner-camera-overlay.css +1 -1
- package/dist/{driver-license-CKMrW8dP.js → driver-license-yM6pBkNk.js} +314 -302
- package/dist/driver-license-yM6pBkNk.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/react/guidance.d.ts +11 -0
- package/dist/react/types.d.ts +1 -1
- package/dist/react.js +380 -362
- package/dist/react.js.map +1 -1
- package/dist/scanner-sdk.js +22 -22
- package/dist/scanner-sdk.js.map +1 -1
- package/dist/sdk/finder.d.ts +16 -0
- package/package.json +1 -1
- package/dist/driver-license-CKMrW8dP.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type { ScanOptions } from './sdk/scan';
|
|
|
9
9
|
export type { OrtWasmPaths } from './sdk/ort-runtime';
|
|
10
10
|
export { AutoTorchController, captureVideoFrame, detectBrowserEngine, formatCaptureDiagnosticsReport, isNearBlackFrame, meanFrameLuminance, mobileCameraConstraints, NEAR_BLACK_LUMINANCE, hasTransientUserActivation, isAndroidBrowser, shouldPreferWebGpuForDocumentModel, pickNativeCameraStill, shouldUseSystemCameraCapture, startCamera, STILL_MAX_EDGE, torchControl, } from './sdk/camera';
|
|
11
11
|
export type { AutoTorchOptions, BrowserEngine, CameraDiagnostics, CameraOptions, CameraPhoto, CameraSession, CaptureDiagnosticsReport, CaptureMode, CapturePath, TorchMode, TorchStatus, } from './sdk/camera';
|
|
12
|
-
export { autoCaptureControl, limitingFillTarget, measureQuadFill, QuadStabilityTracker, selectFinderHint, selectFinderGuidance, startFinder, } from './sdk/finder';
|
|
12
|
+
export { autoCaptureControl, DEFAULT_HOLD_STILL_MS, holdStillCountdownLabel, holdStillSecondsRemaining, limitingFillTarget, measureQuadFill, QuadStabilityTracker, selectFinderHint, selectFinderGuidance, startFinder, } from './sdk/finder';
|
|
13
13
|
export { mapDocumentCornersToFrame } from './sdk/frame-geometry';
|
|
14
14
|
export type { FrameSize } from './sdk/frame-geometry';
|
|
15
15
|
export type { AutoCaptureControl, AutoCaptureMode, FinderCapture, FinderGuidance, FinderGuidanceOptions, FinderGuidanceReason, FinderLighting, FinderOptions, FinderSession, FinderSource, FinderState, FinderStatus, QuadFill, StabilityOptions, } from './sdk/finder';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FinderGuidanceReason } from '../sdk/finder';
|
|
2
|
+
import type { ScannerPhase } from './types';
|
|
3
|
+
export declare function overlayGuidanceText(input: {
|
|
4
|
+
usingSystemCamera: boolean;
|
|
5
|
+
phase: ScannerPhase;
|
|
6
|
+
licenseBusy?: boolean;
|
|
7
|
+
holdStillSeconds?: number;
|
|
8
|
+
guidanceHint?: string;
|
|
9
|
+
guidanceReason?: FinderGuidanceReason;
|
|
10
|
+
licenseHeadline?: string;
|
|
11
|
+
}): string | undefined;
|
package/dist/react/types.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface ScannerTheme {
|
|
|
43
43
|
unstableColorHex?: string;
|
|
44
44
|
/**
|
|
45
45
|
* Finder box, status dot, and copy-report focus ring when the document is
|
|
46
|
-
* ready. Default `#8af25a`.
|
|
46
|
+
* ready, including the 3–2–1 hold-still. Default `#8af25a`.
|
|
47
47
|
*/
|
|
48
48
|
readyColorHex?: string;
|
|
49
49
|
/**
|