@incodetech/core 0.0.0-dev-20261006-408d1685 → 0.0.0-dev-20261006-62cb6632

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 (62) hide show
  1. package/dist/{FaceDetectionProvider-TYSA0dfC.esm.js → FaceDetectionProvider-B0WGTQYC.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-DV7TbS0i.esm.js → apiError-DC86dMi7.esm.js} +1 -1
  4. package/dist/authentication.d.ts +2 -2
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-BtyZRAoe.d.ts → authenticationManager-CkUiRI_u.d.ts} +1 -1
  7. package/dist/{authenticationManager-Cv7Vh4Ik.esm.js → authenticationManager-CyesmyAU.esm.js} +3 -3
  8. package/dist/{authenticationStateMachine-QOXj6upI.esm.js → authenticationStateMachine-D2bGeDbX.esm.js} +2 -2
  9. package/dist/consent.d.ts +1 -1
  10. package/dist/{consentManager-DlA1jDLP.d.ts → consentManager-Cv_0QKLD.d.ts} +4 -4
  11. package/dist/{deepsightLoader-CV_VnHgM.esm.js → deepsightLoader-DjmtJQvJ.esm.js} +3 -3
  12. package/dist/document-capture.d.ts +1 -1
  13. package/dist/{documentCaptureManager-CNenjdhx.d.ts → documentCaptureManager-QP7taUxP.d.ts} +1 -1
  14. package/dist/dynamic-forms.esm.js +2 -2
  15. package/dist/{dynamicFormsManager-DH87hvh7.esm.js → dynamicFormsManager-Bi1Wsxze.esm.js} +1 -1
  16. package/dist/{dynamicFormsStateMachine-C58BS1Mo.esm.js → dynamicFormsStateMachine-C238-jC7.esm.js} +1 -1
  17. package/dist/ekyb.esm.js +3 -3
  18. package/dist/{ekybManager-CfIzY0zj.esm.js → ekybManager-Dtt64Ztk.esm.js} +1 -1
  19. package/dist/{ekybStateMachine-C-maqdxv.esm.js → ekybStateMachine-BcMUoJ1Y.esm.js} +1 -1
  20. package/dist/electronic-signature.esm.js +1 -1
  21. package/dist/{electronicSignatureManager-CVLdyXdi.esm.js → electronicSignatureManager--hMtWqEK.esm.js} +1 -1
  22. package/dist/extensibility.d.ts +6 -6
  23. package/dist/extensibility.esm.js +10 -10
  24. package/dist/{faceCaptureManagerFactory-tA3wd0gP.d.ts → faceCaptureManagerFactory-DDlURTwE.d.ts} +11 -1
  25. package/dist/{faceCaptureManagerFactory-BGOEuikc.esm.js → faceCaptureManagerFactory-ePlaXQAa.esm.js} +1 -1
  26. package/dist/{faceCaptureSetup-4Xg9lyTB.esm.js → faceCaptureSetup-DSdC7Ezu.esm.js} +17 -5
  27. package/dist/{feature-management-PkgAsl2i.esm.js → feature-management-DW0Jo-d-.esm.js} +1 -1
  28. package/dist/feature-management.esm.js +1 -1
  29. package/dist/flow.esm.js +3 -3
  30. package/dist/{flowCompletionService-Ra23kupo.esm.js → flowCompletionService-DkrCj02N.esm.js} +1 -1
  31. package/dist/{flowServices-CFSndsc3.esm.js → flowServices-CiZQfmzl.esm.js} +4 -4
  32. package/dist/geolocation.esm.js +2 -2
  33. package/dist/{geolocationManager-CzlTB3Rq.esm.js → geolocationManager-r31PAW9N.esm.js} +1 -1
  34. package/dist/{geolocationStateMachine-9CbpmB7y.esm.js → geolocationStateMachine-DnlbrKGz.esm.js} +1 -1
  35. package/dist/id-selfie-flow.esm.js +7 -7
  36. package/dist/id.esm.js +3 -3
  37. package/dist/{idCaptureDefaults-xbk8nvPs.esm.js → idCaptureDefaults-B6NxGZmJ.esm.js} +1 -1
  38. package/dist/{idCaptureManager-B4mymmq8.esm.js → idCaptureManager-BYWn7MNi.esm.js} +3 -3
  39. package/dist/{idCaptureServices-B96DqBAu.esm.js → idCaptureServices-Cji4i1_4.esm.js} +3 -3
  40. package/dist/{idCaptureStateMachine-wHWVgixw.esm.js → idCaptureStateMachine-DROmlEPN.esm.js} +9 -9
  41. package/dist/index.esm.js +1 -1
  42. package/dist/mandatory-consent.d.ts +1 -1
  43. package/dist/{mandatoryConsentManager-bhnHk13z.d.ts → mandatoryConsentManager-CdBVHXGB.d.ts} +4 -4
  44. package/dist/qe-signature.esm.js +1 -1
  45. package/dist/{runChildModule-QshZ6_xe.esm.js → runChildModule-CDGrJKT7.esm.js} +1 -1
  46. package/dist/{sdkVersion-CU54DfZY.esm.js → sdkVersion-CJtMEsT0.esm.js} +1 -1
  47. package/dist/selfie.d.ts +2 -2
  48. package/dist/selfie.esm.js +6 -6
  49. package/dist/{selfieErrorUtils-D0subHpJ.esm.js → selfieErrorUtils-Cz7KbRP0.esm.js} +1 -1
  50. package/dist/{selfieManager-L8E7P62r.esm.js → selfieManager-CtDaE2J3.esm.js} +3 -3
  51. package/dist/{selfieManager-Chxm9JRK.d.ts → selfieManager-DqVFQ_8R.d.ts} +1 -1
  52. package/dist/{selfieStateMachine-dIvusymx.esm.js → selfieStateMachine-Gdb2n1T6.esm.js} +6 -4
  53. package/dist/{session-CS3mKh3x.esm.js → session-C1haY3p6.esm.js} +3 -3
  54. package/dist/session.esm.js +4 -4
  55. package/dist/{sessionInitializer-DIZUO1VG.esm.js → sessionInitializer-D2dIk-p1.esm.js} +3 -3
  56. package/dist/{setup-Dzb-Rgnl.esm.js → setup-DkHflplT.esm.js} +4 -4
  57. package/dist/{trueSightService-CR2MOLxh.esm.js → trueSightService-BXvdSsEn.esm.js} +1 -1
  58. package/dist/video-selfie.esm.js +3 -3
  59. package/dist/{videoSelfieCameraWarmer-WnNKHZqI.esm.js → videoSelfieCameraWarmer-K4fRHVvd.esm.js} +4 -4
  60. package/dist/wasm.esm.js +2 -2
  61. package/dist/workflow.esm.js +40 -29
  62. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  import { s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
3
3
  import { i as BaseWasmProvider } from "./safeStorage-DDAHV26l.esm.js";
4
- import { t as ensureWasmPipelines } from "./setup-Dzb-Rgnl.esm.js";
4
+ import { t as ensureWasmPipelines } from "./setup-DkHflplT.esm.js";
5
5
  import { t as api } from "./api-Bx3gKW_y.esm.js";
6
- import "./sessionInitializer-DIZUO1VG.esm.js";
6
+ import "./sessionInitializer-D2dIk-p1.esm.js";
7
7
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
8
8
  import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
9
9
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
@@ -268,7 +268,7 @@ function startDetection(params) {
268
268
  };
269
269
  }
270
270
  async function initializeDeepsightSession(options) {
271
- const { loadDeepsightSession } = await import("./deepsightLoader-CV_VnHgM.esm.js");
271
+ const { loadDeepsightSession } = await import("./deepsightLoader-DjmtJQvJ.esm.js");
272
272
  return loadDeepsightSession({
273
273
  ds: options.ds,
274
274
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CVLdyXdi.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager--hMtWqEK.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-tA3wd0gP.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DDlURTwE.js";
2
2
  import { t as AuthenticationConfig } from "./types-Be6MuAYF.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BtyZRAoe.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CkUiRI_u.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-QOXj6upI.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Cv7Vh4Ik.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-D2bGeDbX.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CyesmyAU.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-tA3wd0gP.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DDlURTwE.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,9 +1,9 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-Dzb-Rgnl.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-DkHflplT.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BGOEuikc.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-QOXj6upI.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ePlaXQAa.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-D2bGeDbX.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-Bg3FuvIs.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-4Xg9lyTB.esm.js";
4
- import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DSdC7Ezu.esm.js";
4
+ import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
5
5
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BvOOxU85.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DlA1jDLP.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Cv_0QKLD.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -81,6 +81,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
81
81
  type: "clearError";
82
82
  params: NonReducibleUnknown;
83
83
  };
84
+ resetContext: {
85
+ type: "resetContext";
86
+ params: NonReducibleUnknown;
87
+ };
84
88
  setConsentData: {
85
89
  type: "setConsentData";
86
90
  params: NonReducibleUnknown;
@@ -89,10 +93,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
89
93
  type: "toggleCheckbox";
90
94
  params: NonReducibleUnknown;
91
95
  };
92
- resetContext: {
93
- type: "resetContext";
94
- params: NonReducibleUnknown;
95
- };
96
96
  }>, {
97
97
  type: "canSubmit";
98
98
  params: unknown;
@@ -1,7 +1,7 @@
1
- import { l as trueSightLog } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-DIZUO1VG.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-CU54DfZY.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-D2dIk-p1.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-CJtMEsT0.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BWpBwxxe.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CNenjdhx.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-QP7taUxP.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -252,7 +252,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
252
252
  type: "fileSizeOkForNonGallery";
253
253
  params: unknown;
254
254
  };
255
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
255
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
256
256
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
257
257
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
258
258
  readonly id: "documentCapture";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C58BS1Mo.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DH87hvh7.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C238-jC7.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-Bi1Wsxze.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C58BS1Mo.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C238-jC7.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-Bs3D8B_G.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DV7TbS0i.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DC86dMi7.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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 { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-CFSndsc3.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-C-maqdxv.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CfIzY0zj.esm.js";
1
+ import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-CiZQfmzl.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-BcMUoJ1Y.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-Dtt64Ztk.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-CfLLkAh7.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-C-maqdxv.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BcMUoJ1Y.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-Bs3D8B_G.esm.js";
3
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-CFSndsc3.esm.js";
3
+ import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-CiZQfmzl.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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-CoXo7lfZ.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CVLdyXdi.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager--hMtWqEK.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, 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-CfLLkAh7.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DV7TbS0i.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DC86dMi7.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-CEp51O83.esm.js";
@@ -5,23 +5,23 @@ import "./Actor-DpTj5PFb.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
8
- import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-tA3wd0gP.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DDlURTwE.js";
9
9
  import "./createFaceAvatar-DXgmQmQy.js";
10
10
  import { i as IStorageCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
11
11
  import "./StreamCanvasCapture-CeBBJ_RC.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BtyZRAoe.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CkUiRI_u.js";
13
13
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DlA1jDLP.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cv_0QKLD.js";
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-C7qzg_Cm.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
18
18
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
19
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CNenjdhx.js";
19
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-QP7taUxP.js";
20
20
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
21
21
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BaZ_7CEu.js";
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-DW-ynodd.js";
23
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
24
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Chxm9JRK.js";
24
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DqVFQ_8R.js";
25
25
  import { i as CaptureIdResponse } from "./types-DBCRSabn2.js";
26
26
  import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-BufUN-y6.js";
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BO-LTih5.js";
@@ -29,7 +29,7 @@ import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as Watchli
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-B1birg5X.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-bhnHk13z.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CdBVHXGB.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-CVsvpVbQ.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
@@ -1,12 +1,12 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-Dzb-Rgnl.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-DIZUO1VG.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-DkHflplT.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-D2dIk-p1.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CVLdyXdi.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager--hMtWqEK.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-nkA1Xfm1.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-4Xg9lyTB.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Cv7Vh4Ik.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DSdC7Ezu.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CyesmyAU.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-B-qjOJde.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-BhGljt6D.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-hxUaa6y_.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-C5Vw3fdd.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-szjmQvYu.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-Dnm9GXc3.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DH87hvh7.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-CfIzY0zj.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Bi1Wsxze.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-Dtt64Ztk.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-Bk2DZjuK.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-ppIDOf_n.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-L8E7P62r.esm.js";
22
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B4mymmq8.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-CtDaE2J3.esm.js";
22
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-BYWn7MNi.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-B6Uu_237.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-F1bI2Ad4.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-cbMppk5K.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DcI_FVOj.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-CQlyUyc8.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-CEYKCuO4.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-CzlTB3Rq.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-r31PAW9N.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-UuH2s-oi.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BYVW3pLG.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BSR94HnV.esm.js";
@@ -112,7 +112,17 @@ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDet
112
112
  * uploading to Incode), use `createSelfieCaptureOnlyManager` with
113
113
  * `SelfieCaptureOnlyConfig`.
114
114
  */
115
- type SelfieConfig = FlowModuleConfig['SELFIE'] & BaseFaceCaptureConfig;
115
+ type SelfieConfig = FlowModuleConfig['SELFIE'] & BaseFaceCaptureConfig & {
116
+ /**
117
+ * When true, the selfie machine reaches `finished` right after the upload
118
+ * instead of invoking `/process/face`. Set by the Workflow engine, whose
119
+ * `FACE_MATCH` node owns face matching. Flow and standalone callers leave
120
+ * this unset so the selfie keeps processing the face itself.
121
+ *
122
+ * @internal
123
+ */
124
+ skipProcessFace?: boolean;
125
+ };
116
126
  /**
117
127
  * Public selfie configuration for the captureOnly flow.
118
128
  *
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CfLLkAh7.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-4Xg9lyTB.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-DSdC7Ezu.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BWpBwxxe.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CPwDYRp8.esm.js";
@@ -1,14 +1,14 @@
1
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import "./sessionInitializer-DIZUO1VG.esm.js";
4
+ import "./sessionInitializer-D2dIk-p1.esm.js";
5
5
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
7
7
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
8
8
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CPwDYRp8.esm.js";
11
- import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
11
+ import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
12
12
  import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-BvOOxU85.esm.js";
13
13
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
14
14
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1307,6 +1307,7 @@ const faceCaptureMachine = setup({
1307
1307
  permissionResult: void 0,
1308
1308
  deepsightReady: false,
1309
1309
  manualCaptureTriggered: false,
1310
+ retainManualMode: false,
1310
1311
  captureOnlyResult: void 0,
1311
1312
  avatarCanvas: void 0
1312
1313
  };
@@ -1335,7 +1336,12 @@ const faceCaptureMachine = setup({
1335
1336
  setDeepsightNotReady: assign({ deepsightReady: () => false }),
1336
1337
  setErrorFromEvent: assign({ error: ({ event }) => String(event.error) }),
1337
1338
  setDetectionStatusDetecting: assign({ detectionStatus: ({ context }) => context.manualCaptureTriggered ? "manualCapture" : "detecting" }),
1338
- setDetectionStatusFromEvent: assign({ detectionStatus: ({ event }) => event.status }),
1339
+ setDetectionStatusFromEvent: assign({ detectionStatus: ({ context, event }) => {
1340
+ const status = event.status;
1341
+ if (context.retainManualMode && status !== "offline") return "manualCapture";
1342
+ return status;
1343
+ } }),
1344
+ retainManualModeForRetry: assign({ retainManualMode: ({ context }) => context.manualCaptureTriggered && context.config.onDeviceFaceResultsSubmissionEnabled !== true }),
1339
1345
  setManualCaptureTriggered: assign({ manualCaptureTriggered: ({ context, event }) => {
1340
1346
  const status = event.status;
1341
1347
  return context.manualCaptureTriggered || status === "manualCapture";
@@ -1472,6 +1478,7 @@ const faceCaptureMachine = setup({
1472
1478
  isCameraAndDeepsightReady: ({ context }) => context.stream !== void 0 && context.deepsightReady,
1473
1479
  hasAttemptsRemaining: ({ context }) => context.attemptsRemaining > 0,
1474
1480
  hasCapturedImage: ({ context }) => context.capturedImage !== void 0,
1481
+ isAutoCaptureAllowed: ({ context }) => !context.retainManualMode,
1475
1482
  canCommitProtectedManual: ({ context }) => context.manualCaptureTriggered && context.config.onDeviceFaceResultsSubmissionEnabled !== true,
1476
1483
  isProtectedManualRefusal: ({ event }) => event.failure.stage === "manualCommit",
1477
1484
  isProtectedUploadFailure: ({ event }) => event.failure.stage === "upload",
@@ -1502,6 +1509,7 @@ const faceCaptureMachine = setup({
1502
1509
  encryptedBase64Image: void 0,
1503
1510
  uploadRecordingId: void 0,
1504
1511
  manualCaptureTriggered: false,
1512
+ retainManualMode: false,
1505
1513
  captureOnlyResult: void 0,
1506
1514
  avatarCanvas: void 0,
1507
1515
  faceFeed: void 0,
@@ -1841,7 +1849,10 @@ const faceCaptureMachine = setup({
1841
1849
  on: {
1842
1850
  DETECTION_UPDATE: { actions: ["setDetectionStatusFromEvent", "setManualCaptureTriggered"] },
1843
1851
  AVATAR_READY: { actions: "setAvatarCanvas" },
1844
- PROTECTED_NATIVE_AUTO_CAPTURE: { actions: "sendProtectedAutoCapture" },
1852
+ PROTECTED_NATIVE_AUTO_CAPTURE: {
1853
+ guard: "isAutoCaptureAllowed",
1854
+ actions: "sendProtectedAutoCapture"
1855
+ },
1845
1856
  PROTECTED_AUTO_COMMITTED: {
1846
1857
  target: "capturing",
1847
1858
  actions: "setProtectedCommittedPreview"
@@ -1900,6 +1911,7 @@ const faceCaptureMachine = setup({
1900
1911
  reenter: true,
1901
1912
  guard: "hasAttemptsRemaining",
1902
1913
  actions: [
1914
+ "retainManualModeForRetry",
1903
1915
  "clearUploadFailure",
1904
1916
  "setDeepsightNotReady",
1905
1917
  "resetProtectedController",
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-CU54DfZY.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CJtMEsT0.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-PkgAsl2i.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-DW0Jo-d-.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-CfLLkAh7.esm.js";
2
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-CFSndsc3.esm.js";
2
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-CiZQfmzl.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-Ra23kupo.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-QshZ6_xe.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DkrCj02N.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CDGrJKT7.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
3
- import { i as toIncodeApiError } from "./apiError-DV7TbS0i.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-DC86dMi7.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,10 +1,10 @@
1
1
  import { n as getWasmStatus } from "./warmup-DMtbyb2l.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-PkgAsl2i.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-DW0Jo-d-.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-DIZUO1VG.esm.js";
4
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-D2dIk-p1.esm.js";
5
5
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-DV7TbS0i.esm.js";
7
- import "./session-CS3mKh3x.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-DC86dMi7.esm.js";
7
+ import "./session-C1haY3p6.esm.js";
8
8
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
9
9
  //#region src/modules/flow/dashboardConfig.ts
10
10
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-CzlTB3Rq.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-9CbpmB7y.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-r31PAW9N.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-DnlbrKGz.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-9CbpmB7y.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-DnlbrKGz.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-Bs3D8B_G.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
4
- import { n as isConnectivityError } from "./apiError-DV7TbS0i.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-DC86dMi7.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Dzb-Rgnl.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DkHflplT.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-CFSndsc3.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-CiZQfmzl.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
7
- import { c as processFace, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
7
+ import { c as processFace, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
8
8
  import { o as StreamCanvasProcessingSession, r as CameraCompositor } from "./multipartRecordingService-CMjkhS2x.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-xbk8nvPs.esm.js";
11
- import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-B96DqBAu.esm.js";
10
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-B6NxGZmJ.esm.js";
11
+ import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-Cji4i1_4.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-Ra23kupo.esm.js";
14
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-WnNKHZqI.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-DkrCj02N.esm.js";
14
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-K4fRHVvd.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
@@ -1,6 +1,6 @@
1
- import { a as isRedirectFlowType, h as createDeviceWalletManager, i as DIGITAL_ID_REGISTRY, m as renderWallet, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, t as idCaptureMachine, v as resolveWalletPlatform } from "./idCaptureStateMachine-wHWVgixw.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B4mymmq8.esm.js";
3
- import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-B96DqBAu.esm.js";
1
+ import { a as isRedirectFlowType, h as createDeviceWalletManager, i as DIGITAL_ID_REGISTRY, m as renderWallet, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, t as idCaptureMachine, v as resolveWalletPlatform } from "./idCaptureStateMachine-DROmlEPN.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BYWn7MNi.esm.js";
3
+ import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-Cji4i1_4.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,5 +1,5 @@
1
1
  import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-CR2MOLxh.esm.js";
2
+ import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-BXvdSsEn.esm.js";
3
3
  import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-DMtbyb2l.esm.js";
4
4
  import { i as BaseWasmProvider } from "./safeStorage-DDAHV26l.esm.js";
5
5
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,4 +1,4 @@
1
- import { l as BrowserStorageProvider } from "./setup-Dzb-Rgnl.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-DkHflplT.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { i as assign, s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
@@ -7,8 +7,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BWpBwxxe.esm.js";
7
7
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
8
8
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CPwDYRp8.esm.js";
9
9
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
10
- import { _ as mapDeviceWalletScreenName, c as createIdCaptureOnlyDeliveryActor, d as captureOnlyNeedsBack, f as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, p as pickIdCaptureOnlyConfig, s as attachIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-wHWVgixw.esm.js";
11
- import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-B96DqBAu.esm.js";
10
+ import { _ as mapDeviceWalletScreenName, c as createIdCaptureOnlyDeliveryActor, d as captureOnlyNeedsBack, f as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, p as pickIdCaptureOnlyConfig, s as attachIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-DROmlEPN.esm.js";
11
+ import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-Cji4i1_4.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Brs1lo61.esm.js";
13
13
  //#region src/modules/id/digitalUpload/instrumentation.ts
14
14
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1,5 +1,5 @@
1
- import { t as ensureWasmPipelines } from "./setup-Dzb-Rgnl.esm.js";
2
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-PkgAsl2i.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-DkHflplT.esm.js";
2
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DW0Jo-d-.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
5
5
  import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
@@ -9,7 +9,7 @@ import { l as queryCameraPermission } from "./permissionServices-CPwDYRp8.esm.js
9
9
  import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CMjkhS2x.esm.js";
10
10
  import { n as getBackCameraStream, o as isBackFacingTrack } from "./backCameraStream-CMvXj4X4.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
12
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-xbk8nvPs.esm.js";
12
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-B6NxGZmJ.esm.js";
13
13
  //#region src/internal/camera/cameraServices.ts
14
14
  function createCameraServices(camera) {
15
15
  return {
@@ -1,16 +1,16 @@
1
- import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
3
- import { l as BrowserStorageProvider } from "./setup-Dzb-Rgnl.esm.js";
3
+ import { l as BrowserStorageProvider } from "./setup-DkHflplT.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
- import { s as exposeExperimentOnce } from "./feature-management-PkgAsl2i.esm.js";
5
+ import { s as exposeExperimentOnce } from "./feature-management-DW0Jo-d-.esm.js";
6
6
  import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
8
8
  import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, v as addEvent } from "./events-CfLLkAh7.esm.js";
9
- import { t as getDisableIpify } from "./sessionInitializer-DIZUO1VG.esm.js";
9
+ import { t as getDisableIpify } from "./sessionInitializer-D2dIk-p1.esm.js";
10
10
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
11
11
  import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
12
12
  import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
13
- import "./session-CS3mKh3x.esm.js";
13
+ import "./session-C1haY3p6.esm.js";
14
14
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
15
15
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
16
16
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
@@ -26,8 +26,8 @@ import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
27
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-CW8mFdt9.esm.js";
28
28
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
29
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-xbk8nvPs.esm.js";
30
- import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-B96DqBAu.esm.js";
29
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-B6NxGZmJ.esm.js";
30
+ import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-Cji4i1_4.esm.js";
31
31
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
33
33
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1398,7 +1398,7 @@ fromPromise(async ({ input }) => {
1398
1398
  });
1399
1399
  fromPromise(async ({ input }) => {
1400
1400
  if (!input.dependencies) return;
1401
- const { loadDeepsightSession } = await import("./deepsightLoader-CV_VnHgM.esm.js");
1401
+ const { loadDeepsightSession } = await import("./deepsightLoader-DjmtJQvJ.esm.js");
1402
1402
  return loadDeepsightSession({
1403
1403
  ds: input.ds,
1404
1404
  storage: input.dependencies.storage,
@@ -1841,7 +1841,7 @@ function cleanup(service) {
1841
1841
  service.cleanup();
1842
1842
  } catch {}
1843
1843
  }
1844
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-CV_VnHgM.esm.js")).loadDeepsightSession(input)) {
1844
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DjmtJQvJ.esm.js")).loadDeepsightSession(input)) {
1845
1845
  let disposed = false;
1846
1846
  let preparation;
1847
1847
  let service;
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-Dzb-Rgnl.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-DkHflplT.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-DovOQmax.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-bhnHk13z.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CdBVHXGB.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -60,14 +60,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
60
60
  type: "clearError";
61
61
  params: NonReducibleUnknown;
62
62
  };
63
- resetContext: {
64
- type: "resetContext";
65
- params: NonReducibleUnknown;
66
- };
67
63
  toggleSigned: {
68
64
  type: "toggleSigned";
69
65
  params: NonReducibleUnknown;
70
66
  };
67
+ resetContext: {
68
+ type: "resetContext";
69
+ params: NonReducibleUnknown;
70
+ };
71
71
  }>, {
72
72
  type: "canSubmit";
73
73
  params: unknown;
@@ -1,4 +1,4 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CVLdyXdi.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager--hMtWqEK.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { C as createEventBus } from "./events-CfLLkAh7.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20261006-408d1685";
2
+ const SDK_VERSION = "0.0.0-dev-20261006-62cb6632";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
package/dist/selfie.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
- import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-tA3wd0gP.js";
2
+ import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-DDlURTwE.js";
3
3
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
4
4
  import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-CsKLnlNL.js";
5
5
  import { n as DeepsightService } from "./StreamCanvasCapture-CeBBJ_RC.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-Chxm9JRK.js";
7
+ import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-DqVFQ_8R.js";
8
8
  //#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
9
9
  type SelfieCaptureOnlyState = FaceCaptureManagerState;
10
10
  type SelfieCaptureOnlyManager = FaceCaptureManager;
@@ -1,14 +1,14 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-Dzb-Rgnl.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-DkHflplT.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
6
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-4Xg9lyTB.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BGOEuikc.esm.js";
8
- import { c as processFace } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DSdC7Ezu.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ePlaXQAa.esm.js";
8
+ import { c as processFace } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
9
9
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BvOOxU85.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-dIvusymx.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-L8E7P62r.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-Gdb2n1T6.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CtDaE2J3.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Brs1lo61.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
1
+ import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
2
2
  //#region src/modules/selfie/selfieErrorUtils.ts
3
3
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
4
4
  const isFaceErrorCode = (value) => {
@@ -1,9 +1,9 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-Dzb-Rgnl.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-DkHflplT.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BGOEuikc.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-dIvusymx.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ePlaXQAa.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-Gdb2n1T6.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-tA3wd0gP.js";
3
+ import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-DDlURTwE.js";
4
4
  //#region src/modules/selfie/selfieManager.d.ts
5
5
  type SelfieState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-Bg3FuvIs.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-4Xg9lyTB.esm.js";
4
- import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-D0subHpJ.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DSdC7Ezu.esm.js";
4
+ import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils-Cz7KbRP0.esm.js";
6
6
  /**
7
7
  * The selfie capture state machine.
8
8
  *
@@ -11,7 +11,9 @@ import { n as validateUploadResponse } from "./selfieErrorUtils-D0subHpJ.esm.js"
11
11
  */
12
12
  const selfieMachine = faceCaptureMachine.provide({
13
13
  actors: { processFace: fromPromise(async ({ input, signal }) => {
14
- if (isOnDeviceMode(input.config)) return {};
14
+ const ctx = input;
15
+ if (isOnDeviceMode(ctx.config)) return {};
16
+ if (ctx.config.skipProcessFace === true) return {};
15
17
  return processFace("selfie", signal);
16
18
  }) },
17
19
  actions: {
@@ -1,8 +1,8 @@
1
- import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-CR2MOLxh.esm.js";
1
+ import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-BXvdSsEn.esm.js";
2
2
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
3
- import "./sessionInitializer-DIZUO1VG.esm.js";
3
+ import "./sessionInitializer-D2dIk-p1.esm.js";
4
4
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-DV7TbS0i.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-DC86dMi7.esm.js";
6
6
  //#region src/internal/session/sessionService.ts
7
7
  /**
8
8
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,9 +1,9 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
3
- import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-DIZUO1VG.esm.js";
4
- import { t as IncodeApiError } from "./apiError-DV7TbS0i.esm.js";
5
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-CS3mKh3x.esm.js";
6
- import { n as getFinishStatus } from "./flowCompletionService-Ra23kupo.esm.js";
3
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-D2dIk-p1.esm.js";
4
+ import { t as IncodeApiError } from "./apiError-DC86dMi7.esm.js";
5
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-C1haY3p6.esm.js";
6
+ import { n as getFinishStatus } from "./flowCompletionService-DkrCj02N.esm.js";
7
7
  //#region src/internal/session/sessionExpired.ts
8
8
  var SessionExpiredError = class extends Error {
9
9
  constructor() {
@@ -1,8 +1,8 @@
1
- import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-CR2MOLxh.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-PkgAsl2i.esm.js";
1
+ import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-BXvdSsEn.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-DW0Jo-d-.esm.js";
3
3
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-CfLLkAh7.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-CU54DfZY.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CJtMEsT0.esm.js";
6
6
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-Dz3XWA64.esm.js";
8
8
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
@@ -1,17 +1,17 @@
1
1
  import { S as setWasmIntegrityObserver } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { D as resolveWasmConfig, S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, l as trueSightLog, o as resetTrueSight, t as finalizeTrueSight, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-CR2MOLxh.esm.js";
2
+ import { D as resolveWasmConfig, S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, l as trueSightLog, o as resetTrueSight, t as finalizeTrueSight, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-BXvdSsEn.esm.js";
3
3
  import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
4
  import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-DDAHV26l.esm.js";
5
5
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
6
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-PkgAsl2i.esm.js";
6
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DW0Jo-d-.esm.js";
7
7
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
8
8
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-CfLLkAh7.esm.js";
10
- import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-DIZUO1VG.esm.js";
10
+ import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-D2dIk-p1.esm.js";
11
11
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
12
12
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
13
13
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
14
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-CFSndsc3.esm.js";
14
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-CiZQfmzl.esm.js";
15
15
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
16
16
  var BrowserPageLifecycleProvider = class {
17
17
  sendBeacon(url, body, contentType = "application/json") {
@@ -3,7 +3,7 @@ import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.
3
3
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
5
5
  import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
6
- import { t as SDK_VERSION } from "./sdkVersion-CU54DfZY.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-CJtMEsT0.esm.js";
7
7
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
8
8
  //#region ../infra/src/wasm/wasmDefaults.ts
9
9
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
@@ -1,16 +1,16 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Dzb-Rgnl.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DkHflplT.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
5
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
6
6
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
7
- import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-CFSndsc3.esm.js";
7
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-CiZQfmzl.esm.js";
8
8
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
10
10
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
11
11
  import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CMjkhS2x.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-q_pfU3Cn.esm.js";
13
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-WnNKHZqI.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-K4fRHVvd.esm.js";
14
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
15
15
  //#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
16
16
  var wave_encoder_default = () => {
@@ -1,15 +1,15 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
4
- import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-CFSndsc3.esm.js";
4
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-CiZQfmzl.esm.js";
5
5
  import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-CPwDYRp8.esm.js";
7
- import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-TYSA0dfC.esm.js";
7
+ import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-B0WGTQYC.esm.js";
8
8
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-CMjkhS2x.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
- import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-D0subHpJ.esm.js";
12
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-xbk8nvPs.esm.js";
11
+ import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-Cz7KbRP0.esm.js";
12
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-B6NxGZmJ.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
14
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
15
15
  async function postVideoSelfieCompare(endpoint, base64Image) {
package/dist/wasm.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-CR2MOLxh.esm.js";
2
+ import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-BXvdSsEn.esm.js";
3
3
  import { o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-Dzb-Rgnl.esm.js";
4
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DkHflplT.esm.js";
5
5
  //#region src/defineWasm.ts
6
6
  function requiredModels(pipelines) {
7
7
  const models = /* @__PURE__ */ new Set();
@@ -1,29 +1,29 @@
1
- import { l as trueSightLog } from "./trueSightService-CR2MOLxh.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-PkgAsl2i.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-BXvdSsEn.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-DW0Jo-d-.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-CfLLkAh7.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DIZUO1VG.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D2dIk-p1.esm.js";
6
6
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-DV7TbS0i.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-CFSndsc3.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-DC86dMi7.esm.js";
8
+ import { v as toEkybConfig } from "./flowServices-CiZQfmzl.esm.js";
9
9
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
10
10
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-CVLdyXdi.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager--hMtWqEK.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-bbi6-rKP.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-QOXj6upI.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-D2bGeDbX.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DwLGw_a2.esm.js";
17
17
  import { t as consentMachine } from "./consentStateMachine-fvRt5D6e.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-Sf4rGn_0.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BtlZ6qoX.esm.js";
20
20
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-Bqa88zAM.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C58BS1Mo.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-C-maqdxv.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C238-jC7.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-BcMUoJ1Y.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-Lqh8tcY3.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-NiunNxhH.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-dIvusymx.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-wHWVgixw.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine-Gdb2n1T6.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-DROmlEPN.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-pue0_Jsi.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-DU28IiMQ.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DsLzqEQG.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CZK
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-OefnDFiX.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-tGbjPhIm.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-C6Wh9ylX.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-9CbpmB7y.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-DnlbrKGz.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BvvrC_3A.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-BtrFQSDe.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-BA9LVrWJ.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-Ra23kupo.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-QshZ6_xe.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DkrCj02N.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CDGrJKT7.esm.js";
41
41
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
@@ -281,6 +281,25 @@ async function resolveModule(input) {
281
281
  return entry;
282
282
  }
283
283
  //#endregion
284
+ //#region src/modules/workflow/workflowNodeConfig.ts
285
+ /**
286
+ * Overlays the Workflow engine adds on top of a node's resolved
287
+ * `moduleConfiguration`. Applied both at the child-actor boundary in
288
+ * `workflowStateMachine` and in `resolveCurrentModuleConfig`, so headless
289
+ * consumers and the UI see the same config.
290
+ */
291
+ function applyWorkflowNodeOverlays(moduleKey, config, skipFaceMatch) {
292
+ if (moduleKey === "SELFIE") return {
293
+ ...config,
294
+ skipProcessFace: true
295
+ };
296
+ if (moduleKey === "FACE_MATCH" && skipFaceMatch) return {
297
+ ...config,
298
+ skipFaceMatch: true
299
+ };
300
+ return config;
301
+ }
302
+ //#endregion
284
303
  //#region src/modules/workflow/workflowStateMachine.ts
285
304
  /**
286
305
  * Whether the desktop-to-mobile handoff may be injected. It is a pre-node
@@ -524,10 +543,7 @@ const workflowMachine = setup({
524
543
  ...context.currentNode?.moduleConfiguration,
525
544
  ds: context.workflowConfig?.ds
526
545
  }, context.configMappers);
527
- const finalConfig = context.currentNode?.moduleKey === "FACE_MATCH" && context.skipFaceMatch ? {
528
- ...config,
529
- skipFaceMatch: true
530
- } : config;
546
+ const finalConfig = applyWorkflowNodeOverlays(context.currentNode?.moduleKey, config, context.skipFaceMatch);
531
547
  return {
532
548
  machine: context.resolvedMachine,
533
549
  config: finalConfig
@@ -709,21 +725,16 @@ function deriveHomeScreen(snapshot) {
709
725
  }
710
726
  /**
711
727
  * Builds the current node's config and applies the module-specific config
712
- * mapper (if any). Single source of truth for the shape consumers see —
713
- * used by both `mapState` and `getModuleConfig`. The same `applyConfigMapper`
714
- * is invoked at the child-actor boundary in `workflowStateMachine` so all
715
- * surfaces agree.
728
+ * mapper (if any) and the Workflow node overlays. Single source of truth for
729
+ * the shape consumers see — used by both `mapState` and `getModuleConfig`. The
730
+ * same `applyConfigMapper` and `applyWorkflowNodeOverlays` run at the
731
+ * child-actor boundary in `workflowStateMachine` so all surfaces agree.
716
732
  */
717
733
  function resolveCurrentModuleConfig(moduleKey, moduleConfiguration, ds, mappers, skipFaceMatch = false) {
718
- const resolved = applyConfigMapper(moduleKey, {
734
+ return applyWorkflowNodeOverlays(moduleKey, applyConfigMapper(moduleKey, {
719
735
  ...moduleConfiguration ?? {},
720
736
  ds
721
- }, mappers);
722
- if (moduleKey === "FACE_MATCH" && skipFaceMatch) return {
723
- ...resolved,
724
- skipFaceMatch: true
725
- };
726
- return resolved;
737
+ }, mappers), skipFaceMatch);
727
738
  }
728
739
  function mapState(snapshot) {
729
740
  const { context } = snapshot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20261006-408d1685",
3
+ "version": "0.0.0-dev-20261006-62cb6632",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -276,8 +276,8 @@
276
276
  "tsdown": "^0.22.8",
277
277
  "typescript": "^5.9.3",
278
278
  "vitest": "4.1.10",
279
- "@incodetech/config": "1.0.2",
280
- "@incodetech/infra": "1.4.0"
279
+ "@incodetech/infra": "1.4.0",
280
+ "@incodetech/config": "1.0.2"
281
281
  },
282
282
  "scripts": {
283
283
  "build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",