@incodetech/welcome 1.85.0-20251212173747.0 → 1.85.0-20251212230726.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.
@@ -1,3 +1,4 @@
1
+ import { Flow } from '../../../types/src';
1
2
  import { PipelineProfile } from '../wasmUtils/pipelineProfile';
2
3
  import { DetectionType } from './detectionType';
3
4
 
@@ -8,11 +9,12 @@ declare class DetectionSetup {
8
9
  private static instance;
9
10
  static getInstance(): DetectionSetup;
10
11
  private setIsIPhone14OrHigher;
11
- setupDetect(forceProductionMode?: boolean, sdkVersion?: string, disableIpify?: boolean): Promise<void>;
12
+ setupDetect(forceProductionMode?: boolean, sdkVersion?: string, disableIpify?: boolean, flow?: Flow): Promise<void>;
12
13
  getProfiles(): Map<DetectionType, PipelineProfile> | null;
13
14
  getProfile(type: DetectionType): PipelineProfile | null;
14
15
  warmup(): Promise<void>;
15
- _runSetupDetect(forceProductionMode?: boolean, sdkVersion?: string, disableIpify?: boolean): Promise<void>;
16
+ private parseFlowConfigurations;
17
+ _runSetupDetect(forceProductionMode?: boolean, sdkVersion?: string, disableIpify?: boolean, flow?: Flow): Promise<void>;
16
18
  }
17
19
  declare const _default: DetectionSetup;
18
20
  export default _default;
@@ -1,13 +1,14 @@
1
- import { IncodeOptions, IncodeTheme } from '../../types/src';
1
+ import { Flow, IncodeOptions, IncodeTheme } from '../../types/src';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
 
4
4
  export type Translations = {
5
5
  [key: string]: string | Translations;
6
6
  };
7
- export declare const initializeDetection: ({ forceProductionMode, disableIpify, sdkVersion, }?: {
7
+ export declare const initializeDetection: ({ forceProductionMode, disableIpify, sdkVersion, flow, }?: {
8
8
  forceProductionMode?: boolean;
9
9
  sdkVersion?: string;
10
10
  disableIpify?: boolean;
11
+ flow?: Flow;
11
12
  }) => Promise<void>;
12
13
  export declare const setupI18n: (lang: string, translations: Translations) => Promise<void>;
13
14
  type SetupParams = {
@@ -1,4 +1,4 @@
1
- declare const FEATURE_FLAGS: readonly ["id_text_barcode_readability", "selfie_local_lenses_check_web", "id_model_hebrew_back_id", "id_face_readability", "new_id_capture_ux_least_risky_clients", "id_test_aa", "id_iou_check", "iad_checks", "iad_c_checks", "new_fingerprint", "mp_test_hashed_id", "face_occlusion"];
1
+ declare const FEATURE_FLAGS: readonly ["id_text_barcode_readability", "selfie_local_lenses_check_web", "id_model_hebrew_back_id", "id_face_readability", "new_id_capture_ux_least_risky_clients", "id_test_aa", "id_iou_check", "iad_checks", "iad_c_checks", "new_fingerprint", "mp_test_hashed_id"];
2
2
  type FeatureFlag = (typeof FEATURE_FLAGS)[number];
3
3
  type FeatureFlags = {
4
4
  [key in FeatureFlag]: boolean;