@incodetech/welcome 1.85.0-20251209184758.0 → 1.85.0-20251212151907.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.
@@ -2,11 +2,8 @@ import { FC } from 'react';
2
2
  import { DetectionState } from '../../detection/DetectionManager';
3
3
 
4
4
  type CaptureOverlayProps = {
5
- detectionState: DetectionState;
6
- showPreview?: boolean;
7
5
  capturedImage?: string;
8
- captureOnly: boolean;
9
- ageAssurance: boolean;
6
+ detectionState?: DetectionState;
10
7
  };
11
8
  export declare const CaptureOverlay: FC<CaptureOverlayProps>;
12
9
  export {};
@@ -39,6 +39,7 @@ export type CaptureConfig = {
39
39
  idDetectionTimeout: number;
40
40
  isDeepsightEnabled?: boolean;
41
41
  usSmartCapture: boolean;
42
+ showCaptureButtonInAuto?: boolean;
42
43
  };
43
44
  export declare const CaptureConfigSchema: any;
44
45
  export type CaptureIdProps = {
@@ -68,6 +68,7 @@ export declare const useCaptureIdState: () => {
68
68
  digitalIdsUpload: boolean;
69
69
  isDeepsightEnabled: boolean;
70
70
  usSmartCapture: boolean;
71
+ showCaptureButtonInAuto: boolean;
71
72
  };
72
73
  attemptsLeft: number;
73
74
  uiConfig: import('../../../ui/types').UiConfig;
@@ -21,6 +21,7 @@ type IdCaptureConfiguration = {
21
21
  digitalIdsUpload: boolean;
22
22
  isDeepsightEnabled: boolean;
23
23
  usSmartCapture: boolean;
24
+ showCaptureButtonInAuto: boolean;
24
25
  };
25
26
  export declare class IdFlowManager extends AbstractFlowManager<IdFlowStep, IdSuccess, IdError, IdCaptureConfiguration> {
26
27
  kioskOptions: KioskOptions | null;
@@ -1,4 +1,6 @@
1
1
  import { FC } from 'react';
2
2
 
3
- declare const DesktopPermissionSteps: FC;
3
+ declare const DesktopPermissionSteps: FC<{
4
+ handleAllowCamera: () => void;
5
+ }>;
4
6
  export default DesktopPermissionSteps;
@@ -129,9 +129,9 @@ declare class MlWasmJSApi {
129
129
  setFaceDetectionMode(type: WasmPipelineType, isVideoSelfie: boolean): Promise<void>;
130
130
  setFaceDetectionCallbacks(type: WasmPipelineType, onFarAway: Function, onTooClose: Function, onTooManyFaces: Function, onNoFace: Function, onCapture: Function, onGetReady: Function, onGetReadyFinished: Function, onCenterFace: Function, onDark: Function, onBlur: Function, onFaceAngle: Function, onBestShot: Function, onLenses: Function, onMask: Function, onEyesClosed: Function, onHeadWear: Function, onSwitchToManualCapture: Function, onFaceOccluded: Function): Promise<void>;
131
131
  setIdCaptureThresholds(type: WasmPipelineType, blurThreshold: number, blurChangeThreshold: number, glareThreshold: number, clsThreshold: number, sideThreshold: number, iouThreshold: number, idDetectedTimeout: number, autocaptureTimeout: number, framesAggregationInterval: number, minFaceIdQualityScore: number): Promise<void>;
132
- setIdCaptureCallbacks(type: WasmPipelineType, onFarAway: Function, onDetectionStarted: Function, onMaskChange: Function, onBlur: Function, onGlare: Function, onCapturing: Function, onCapture: Function, onBestFrame: Function, onIDNotDetected: Function, onSwitchToManualCapture: Function, onIDTypeChange: Function, onIDSideChange: Function, onCapturingCounterValueChange: Function, runPDF417Recognition: Function): Promise<void>;
132
+ setIdCaptureCallbacks(type: WasmPipelineType, onFarAway: Function, onDetectionStarted: Function, onMaskChange: Function, onBlur: Function, onGlare: Function, onCapturing: Function, onCapture: Function, onBestFrame: Function, onIDNotDetected: Function, onSwitchToManualCapture: Function, onIDTypeChange: Function, onIDSideChange: Function, onCapturingCounterValueChange: Function): Promise<void>;
133
133
  setIdCaptureGeometryParams(type: WasmPipelineType, areaDown: number, areaUp: number, areaIOSPassportUp: number, areaIOSPassportDown: number, widthIOSUp: number, widthIOSDown: number, widthDown: number, widthUp: number, windowOuterWidth: number, windowOuterHeight: number, windowInnerWidth: number, windowInnerHeight: number): Promise<void>;
134
- setIdCaptureConfigParams(type: WasmPipelineType, isFixedMask: boolean, isIPhone14OrHigher: boolean, idType: string, isBlurCheckEnabled: boolean, isGlareCheckEnabled: boolean, isIdFaceQualityCheckEnabled: boolean, isIouCheckEnabled: boolean, isPDF417RecognitionEnabled: boolean): Promise<void>;
134
+ setIdCaptureConfigParams(type: WasmPipelineType, isFixedMask: boolean, isIPhone14OrHigher: boolean, idType: string, isBlurCheckEnabled: boolean, isGlareCheckEnabled: boolean, isIdFaceQualityCheckEnabled: boolean, isIouCheckEnabled: boolean): Promise<void>;
135
135
  setIdCaptureModelType(pipelineType: WasmPipelineType, modelType: IdCaptureModelType): void;
136
136
  IdPerspectiveTransform(image: ImageData, frameRect: {
137
137
  x: number;