@incodetech/core 0.0.0-dev-20260813-ad5ea9e1 → 0.0.0-dev-20260813-c65eff54

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.
Files changed (55) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CNisE_Zn.esm.js → BrowserDiagnosticsCryptoProvider-BEU3LQrd.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-DlT6yqH7.esm.js → apiError-B2GL2Tqr.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-BQ4rf5cd.esm.js → authenticationManager-BC1PdEvT.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-pgQiyE-Q.esm.js → authenticationStateMachine-B61pxYbF.esm.js} +2 -2
  7. package/dist/custom-fields.d.ts +2 -114
  8. package/dist/custom-fields.esm.js +2 -232
  9. package/dist/customFieldsManager-6mtAzlY2.esm.js +264 -0
  10. package/dist/customFieldsManager-8-W2KY4n.d.ts +141 -0
  11. package/dist/{deepsightLoader-DhTeVa0Y.esm.js → deepsightLoader-BUwe2wdM.esm.js} +3 -3
  12. package/dist/dynamic-forms.esm.js +2 -2
  13. package/dist/{dynamicFormsManager-XCS1M8YD.esm.js → dynamicFormsManager-DyjyvuMd.esm.js} +1 -1
  14. package/dist/{dynamicFormsStateMachine-DPrVti5t.esm.js → dynamicFormsStateMachine-CmW--4wk.esm.js} +1 -1
  15. package/dist/ekyb.esm.js +3 -3
  16. package/dist/{ekybManager-DDY0Dv48.esm.js → ekybManager-Drca7lok.esm.js} +1 -1
  17. package/dist/{ekybStateMachine-DPoE6ZWY.esm.js → ekybStateMachine-Dt_2E9Ng.esm.js} +1 -1
  18. package/dist/electronic-signature.esm.js +1 -1
  19. package/dist/{electronicSignatureManager-BF4fB4Ja.esm.js → electronicSignatureManager-DSk0n0ls.esm.js} +1 -1
  20. package/dist/extensibility.d.ts +2 -1
  21. package/dist/extensibility.esm.js +11 -10
  22. package/dist/{faceCaptureManagerFactory-z9XGOFC1.esm.js → faceCaptureManagerFactory-BuvPvQ0p.esm.js} +1 -1
  23. package/dist/{faceCaptureSetup-h9c2vAKc.esm.js → faceCaptureSetup-D_DBaXp8.esm.js} +2 -2
  24. package/dist/flow.esm.js +3 -3
  25. package/dist/{flowCompletionService-CgDm6jHE.esm.js → flowCompletionService-DaDLcGR3.esm.js} +1 -1
  26. package/dist/{flowServices-bFtIDlJ6.esm.js → flowServices-BusXh9Y_.esm.js} +3 -3
  27. package/dist/geolocation.esm.js +2 -2
  28. package/dist/{geolocationManager-Cd2K6jyW.esm.js → geolocationManager-QrhafoWh.esm.js} +1 -1
  29. package/dist/{geolocationStateMachine-bwz1ij99.esm.js → geolocationStateMachine-DcSRzE31.esm.js} +1 -1
  30. package/dist/id-selfie-flow.esm.js +6 -6
  31. package/dist/id.esm.js +3 -3
  32. package/dist/{idCaptureManager-DQSHRvTm.esm.js → idCaptureManager-C_L_HQIA.esm.js} +2 -2
  33. package/dist/{idCaptureServices-mELMLbTy.esm.js → idCaptureServices-cVZgxNor.esm.js} +2 -2
  34. package/dist/{idCaptureStateMachine-CfPaYLOP.esm.js → idCaptureStateMachine-BVSn_TpQ.esm.js} +7 -7
  35. package/dist/index.esm.js +1 -1
  36. package/dist/{onDeviceFaceResults-COsSZ7zf.esm.js → onDeviceFaceResults-Cun-5wgv.esm.js} +3 -3
  37. package/dist/personhood.esm.js +3 -3
  38. package/dist/qe-signature.esm.js +1 -1
  39. package/dist/{recordingService-k20vRkRy.esm.js → recordingService-wr5gR-KC.esm.js} +1 -1
  40. package/dist/{runChildModule-pfy5gQAk.esm.js → runChildModule-Bq14P9iI.esm.js} +1 -1
  41. package/dist/selfie.esm.js +4 -4
  42. package/dist/{selfieManager-DmB7C0-a.esm.js → selfieManager-BO4WCips.esm.js} +2 -2
  43. package/dist/{selfieStateMachine-Dle0Z1Wf.esm.js → selfieStateMachine-C9Y3KmdC.esm.js} +2 -2
  44. package/dist/{session-D8x2baio.esm.js → session-CETURITF.esm.js} +4 -4
  45. package/dist/session.esm.js +4 -4
  46. package/dist/{sessionInitializer-CbssHeS5.esm.js → sessionInitializer-CHQerRj-.esm.js} +2 -2
  47. package/dist/{setup-DJmnbb1a.esm.js → setup-r19cxUoE.esm.js} +4 -4
  48. package/dist/trueSight-BWfKWHV-.esm.js +1 -0
  49. package/dist/{trueSightService-CWCUUzQD.esm.js → trueSightService-BPZPbOJ4.esm.js} +2 -2
  50. package/dist/video-selfie.esm.js +3 -3
  51. package/dist/{videoSelfieCameraWarmer-B91eHP6E.esm.js → videoSelfieCameraWarmer-DMtSa_S8.esm.js} +2 -2
  52. package/dist/wasm.esm.js +1 -1
  53. package/dist/workflow.esm.js +14 -14
  54. package/package.json +1 -1
  55. package/dist/trueSight-Dx71WyQJ.esm.js +0 -1
@@ -0,0 +1,141 @@
1
+ import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
3
+ import "./Actor-iTq7YY48.js";
4
+ //#region src/modules/custom-fields/types.d.ts
5
+ type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
6
+ type CustomField = {
7
+ name: string;
8
+ alias: string;
9
+ type: CustomFieldType;
10
+ };
11
+ type CustomFieldsConfig = {
12
+ title: string;
13
+ customFields: CustomField[];
14
+ };
15
+ //#endregion
16
+ //#region src/modules/custom-fields/customFieldsStateMachine.d.ts
17
+ type CustomFieldsResult = 'success' | 'failed';
18
+ type CustomFieldsValidationErrors = Record<string, string>;
19
+ declare const customFieldsMachine: any;
20
+ type CustomFieldsMachine = typeof customFieldsMachine;
21
+ //#endregion
22
+ //#region src/modules/custom-fields/customFieldsActor.d.ts
23
+ type CreateCustomFieldsActorOptions = {
24
+ config: CustomFieldsConfig;
25
+ };
26
+ type CustomFieldsActor = ActorRefFrom<CustomFieldsMachine>;
27
+ //#endregion
28
+ //#region src/modules/custom-fields/customFieldsManager.d.ts
29
+ /**
30
+ * A `CustomField` enriched with a computed `label` for display.
31
+ * Label is derived from `alias` when present, otherwise auto-formatted from `name`.
32
+ */
33
+ type MappedCustomField = CustomField & {
34
+ label: string;
35
+ };
36
+ /** Custom fields manager is in initial state, waiting for `load()` to be called */
37
+ type CustomFieldsIdleState = {
38
+ status: 'idle';
39
+ };
40
+ /**
41
+ * Ready for field input — use `setField()` and `submit()`
42
+ * @property title - Form title from configuration
43
+ * @property customFields - Field definitions with computed display labels
44
+ * @property validationErrors - Required-field errors surfaced after a failed submit attempt
45
+ * @property canSubmit - Optimistically true until validation errors are displayed
46
+ */
47
+ type CustomFieldsInputtingState = {
48
+ status: 'inputting';
49
+ title: string;
50
+ customFields: MappedCustomField[];
51
+ validationErrors?: CustomFieldsValidationErrors;
52
+ canSubmit: boolean;
53
+ };
54
+ /** Fields are being submitted to the backend */
55
+ type CustomFieldsSubmittingState = {
56
+ status: 'submitting';
57
+ title: string;
58
+ };
59
+ /** API call succeeded — success page is visible for ~3 s before finishing */
60
+ type CustomFieldsSuccessState = {
61
+ status: 'success';
62
+ };
63
+ /** Custom fields flow complete. `result` indicates whether the API call succeeded or failed. */
64
+ type CustomFieldsFinishedState = {
65
+ status: 'finished';
66
+ result: CustomFieldsResult | null;
67
+ };
68
+ /**
69
+ * Union of all possible custom fields manager states.
70
+ */
71
+ type CustomFieldsState = CustomFieldsIdleState | CustomFieldsInputtingState | CustomFieldsSubmittingState | CustomFieldsSuccessState | CustomFieldsFinishedState;
72
+ /**
73
+ * Creates a custom fields manager for headless or UI-driven usage.
74
+ *
75
+ * @param options - Configuration options
76
+ * @param options.config - Custom fields configuration (title + field definitions)
77
+ *
78
+ * @returns Custom fields manager with state, API methods, and subscription
79
+ *
80
+ * @example Headless usage
81
+ * ```typescript
82
+ * const manager = createCustomFieldsManager({
83
+ * config: {
84
+ * title: 'Additional Information',
85
+ * customFields: [{ name: 'company', alias: 'Company', type: 'STRING' }],
86
+ * },
87
+ * });
88
+ *
89
+ * manager.subscribe((state) => console.log(state.status));
90
+ * manager.load();
91
+ * manager.setField('company', 'Incode');
92
+ * manager.submit();
93
+ * manager.stop();
94
+ * ```
95
+ */
96
+ declare function createCustomFieldsManager(options: CreateCustomFieldsActorOptions): Manager<CustomFieldsState> & {
97
+ /**
98
+ * Initializes the custom fields flow.
99
+ * Transitions from 'idle' to 'inputting'.
100
+ * Must be called before any other method.
101
+ */
102
+ load(): void;
103
+ /**
104
+ * Updates the value of a single field.
105
+ * Should be called when state is 'inputting'.
106
+ *
107
+ * @param name - The field name (matches CustomField.name)
108
+ * @param value - The field value (string, number, or boolean)
109
+ */
110
+ setField(name: string, value: string | number | boolean): void;
111
+ /**
112
+ * Submits all custom field values to the backend.
113
+ * Transitions to 'submitting', then 'finished' regardless of outcome.
114
+ */
115
+ submit(): void;
116
+ };
117
+ declare function createCustomFieldsManagerFromActor(actor: CustomFieldsActor): Manager<CustomFieldsState> & {
118
+ /**
119
+ * Initializes the custom fields flow.
120
+ * Transitions from 'idle' to 'inputting'.
121
+ * Must be called before any other method.
122
+ */
123
+ load(): void;
124
+ /**
125
+ * Updates the value of a single field.
126
+ * Should be called when state is 'inputting'.
127
+ *
128
+ * @param name - The field name (matches CustomField.name)
129
+ * @param value - The field value (string, number, or boolean)
130
+ */
131
+ setField(name: string, value: string | number | boolean): void;
132
+ /**
133
+ * Submits all custom field values to the backend.
134
+ * Transitions to 'submitting', then 'finished' regardless of outcome.
135
+ */
136
+ submit(): void;
137
+ };
138
+ /** Type representing a custom fields manager instance. */
139
+ type CustomFieldsManager = ReturnType<typeof createCustomFieldsManager>;
140
+ //#endregion
141
+ export { createCustomFieldsManagerFromActor as a, customFieldsMachine as c, CustomFieldsConfig as d, createCustomFieldsManager as i, CustomField as l, CustomFieldsState as n, CustomFieldsActor as o, MappedCustomField as r, CustomFieldsValidationErrors as s, CustomFieldsManager as t, CustomFieldType as u };
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-CWCUUzQD.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-CbssHeS5.esm.js";
5
- import "./trueSight-Dx71WyQJ.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-BPZPbOJ4.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-CHQerRj-.esm.js";
5
+ import "./trueSight-BWfKWHV-.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DPrVti5t.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-XCS1M8YD.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CmW--4wk.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DyjyvuMd.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DPrVti5t.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CmW--4wk.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-DlT6yqH7.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B2GL2Tqr.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-bFtIDlJ6.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-DPoE6ZWY.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DDY0Dv48.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-BusXh9Y_.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Dt_2E9Ng.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-Drca7lok.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-DPoE6ZWY.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Dt_2E9Ng.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-bFtIDlJ6.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-BusXh9Y_.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-BF4fB4Ja.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-DSk0n0ls.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-DlT6yqH7.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-B2GL2Tqr.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -14,6 +14,7 @@ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t
14
14
  import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BxWhpCLA.js";
17
+ import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
17
18
  import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BykkLCQD.js";
18
19
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
19
20
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
@@ -159,4 +160,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
159
160
  //#region src/internal/fingerprint/fingerprintApi.d.ts
160
161
  declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
161
162
  //#endregion
162
- export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
163
+ export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type CustomFieldsActor, type CustomFieldsManager, type CustomFieldsState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,22 +1,23 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-CbssHeS5.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-CHQerRj-.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BF4fB4Ja.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DSk0n0ls.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-B8Plzf7a.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-h9c2vAKc.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BQ4rf5cd.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-D_DBaXp8.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BC1PdEvT.esm.js";
10
10
  import { n as createConsentManagerFromActor } from "./consentManager-BApTlfA0.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-OmYvyung.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-UZxcrsrz.esm.js";
13
+ import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-6mtAzlY2.esm.js";
13
14
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CaXWUo_N.esm.js";
14
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-XCS1M8YD.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-DDY0Dv48.esm.js";
15
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DyjyvuMd.esm.js";
16
+ import { n as createEkybManagerFromActor } from "./ekybManager-Drca7lok.esm.js";
16
17
  import { n as createEkycManagerFromActor } from "./ekycManager-oTstTJuL.esm.js";
17
18
  import { n as createEmailManagerFromActor } from "./emailManager-tE-YvNtS.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-DmB7C0-a.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DQSHRvTm.esm.js";
19
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BO4WCips.esm.js";
20
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-C_L_HQIA.esm.js";
20
21
  import { n as createPhoneManagerFromActor } from "./phoneManager-Cpiai2IM.esm.js";
21
22
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CjSMmbyq.esm.js";
22
23
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-D5vXknnJ.esm.js";
@@ -25,7 +26,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
25
26
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-CvJZhmBR.esm.js";
26
27
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-C0dfc7f6.esm.js";
27
28
  import { n as createSignatureManagerFromActor } from "./signatureManager-DdPgcmou.esm.js";
28
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-Cd2K6jyW.esm.js";
29
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-QrhafoWh.esm.js";
29
30
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CduNXhWd.esm.js";
30
31
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BXp2WUT-.esm.js";
31
- export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
32
+ export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CxfNJVZW.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-h9c2vAKc.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-D_DBaXp8.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7sMtZ8f.esm.js";
@@ -2,13 +2,13 @@ import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as sendTo, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-COsSZ7zf.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-Cun-5wgv.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
9
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
10
10
  import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-k20vRkRy.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-wr5gR-KC.esm.js";
12
12
  //#region src/internal/avatar/concealment.ts
13
13
  /**
14
14
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-CxfNJVZW.esm.js";
2
- import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-bFtIDlJ6.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-BusXh9Y_.esm.js";
3
3
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CgDm6jHE.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-pfy5gQAk.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DaDLcGR3.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Bq14P9iI.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-DlT6yqH7.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-B2GL2Tqr.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
1
  import { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CbssHeS5.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CHQerRj-.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-DlT6yqH7.esm.js";
6
- import "./session-D8x2baio.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-B2GL2Tqr.esm.js";
6
+ import "./session-CETURITF.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-Cd2K6jyW.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-bwz1ij99.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-QrhafoWh.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-DcSRzE31.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-bwz1ij99.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-DcSRzE31.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
4
- import { n as isConnectivityError } from "./apiError-DlT6yqH7.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-B2GL2Tqr.esm.js";
5
5
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DJmnbb1a.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-r19cxUoE.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-bFtIDlJ6.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-BusXh9Y_.esm.js";
5
5
  import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-COsSZ7zf.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-Cun-5wgv.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-WeHbQM7W.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-mELMLbTy.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-CgDm6jHE.esm.js";
14
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-B91eHP6E.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-cVZgxNor.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-DaDLcGR3.esm.js";
14
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-DMtSa_S8.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
2
2
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-CfPaYLOP.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DQSHRvTm.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-mELMLbTy.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-BVSn_TpQ.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-C_L_HQIA.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-cVZgxNor.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-1m1VJ3Q4.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -5,8 +5,8 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7sMtZ8f.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CfPaYLOP.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-mELMLbTy.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-BVSn_TpQ.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-cVZgxNor.esm.js";
10
10
  //#region src/modules/id/digitalUpload/instrumentation.ts
11
11
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
12
12
  function isHoldingState(value) {
@@ -2,10 +2,10 @@ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { i as isDesktop } from "./platform-Q4r1nvWX.esm.js";
5
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-COsSZ7zf.esm.js";
5
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-Cun-5wgv.esm.js";
6
6
  import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
7
7
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
8
- import { n as preloadOpenViduProvider } from "./recordingService-k20vRkRy.esm.js";
8
+ import { n as preloadOpenViduProvider } from "./recordingService-wr5gR-KC.esm.js";
9
9
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-WeHbQM7W.esm.js";
10
10
  //#region src/modules/id/idCameraStream.ts
11
11
  async function getIdCameraStream(deviceId) {
@@ -2,17 +2,17 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
2
2
  import { s as exposeExperimentOnce } from "./feature-management-DS_Nj5Gg.esm.js";
3
3
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
4
4
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CWCUUzQD.esm.js";
5
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-BPZPbOJ4.esm.js";
6
6
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-CxfNJVZW.esm.js";
7
- import { t as getDisableIpify } from "./sessionInitializer-CbssHeS5.esm.js";
8
- import "./trueSight-Dx71WyQJ.esm.js";
7
+ import { t as getDisableIpify } from "./sessionInitializer-CHQerRj-.esm.js";
8
+ import "./trueSight-BWfKWHV-.esm.js";
9
9
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
10
10
  import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
11
- import "./session-D8x2baio.esm.js";
11
+ import "./session-CETURITF.esm.js";
12
12
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
13
13
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
14
14
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
15
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-COsSZ7zf.esm.js";
15
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-Cun-5wgv.esm.js";
16
16
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
17
17
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
18
18
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
@@ -20,7 +20,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
20
20
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
21
21
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
22
22
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
23
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-mELMLbTy.esm.js";
23
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-cVZgxNor.esm.js";
24
24
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
25
25
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
26
26
  function isKnownFailReason(reason) {
@@ -1284,7 +1284,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1284
1284
  });
1285
1285
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1286
1286
  if (!input.dependencies) return;
1287
- const { loadDeepsightSession } = await import("./deepsightLoader-DhTeVa0Y.esm.js");
1287
+ const { loadDeepsightSession } = await import("./deepsightLoader-BUwe2wdM.esm.js");
1288
1288
  return loadDeepsightSession({
1289
1289
  ds: input.ds,
1290
1290
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-DJmnbb1a.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-r19cxUoE.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,8 +1,8 @@
1
1
  import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CWCUUzQD.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-BPZPbOJ4.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-Dx71WyQJ.esm.js";
5
+ import "./trueSight-BWfKWHV-.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { i as isDesktop, s as isIPhone14OrHigher } from "./platform-Q4r1nvWX.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -523,7 +523,7 @@ async function stopRecording(session) {
523
523
  }
524
524
  }
525
525
  async function initializeDeepsightSession(options) {
526
- const { loadDeepsightSession } = await import("./deepsightLoader-DhTeVa0Y.esm.js");
526
+ const { loadDeepsightSession } = await import("./deepsightLoader-BUwe2wdM.esm.js");
527
527
  return loadDeepsightSession({
528
528
  ds: options.ds,
529
529
  storage: options.storage
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-CWCUUzQD.esm.js";
5
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-BPZPbOJ4.esm.js";
6
6
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CbssHeS5.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CHQerRj-.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
9
9
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
12
  import { i as requestPermission, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-COsSZ7zf.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-Cun-5wgv.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region src/modules/personhood/personhoodServices.ts
@@ -1,4 +1,4 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BF4fB4Ja.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DSk0n0ls.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
2
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-COsSZ7zf.esm.js";
2
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-Cun-5wgv.esm.js";
3
3
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-vXDI73LZ.esm.js";
4
4
  //#region ../infra/src/media/VideoTrimmer.ts
5
5
  async function getDurationBySeek(videoBlob) {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CWCUUzQD.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BPZPbOJ4.esm.js";
3
3
  import { C as createEventBus } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-h9c2vAKc.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-z9XGOFC1.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-D_DBaXp8.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BuvPvQ0p.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-Dle0Z1Wf.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DmB7C0-a.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-C9Y3KmdC.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BO4WCips.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-1m1VJ3Q4.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**