@incodetech/core 0.0.0-dev-20260929-b49bbd0c → 0.0.0-dev-20260929-43912c0b

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 (59) hide show
  1. package/dist/{FaceDetectionProvider-hKtP6qpS.esm.js → FaceDetectionProvider-ChDf8HXD.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-BCElLfAr.esm.js → apiError-fme5FjWK.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-DPUWXXxk.esm.js → authenticationManager-LB8m0sus.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-Cc39Ykkx.esm.js → authenticationStateMachine-B2oLfmpy.esm.js} +3 -3
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-Cv_0QKLD.d.ts} +8 -8
  9. package/dist/{createCameraCycleOwnership-CQIv3cR9.esm.js → createCameraCycleOwnership-26-cuXnc.esm.js} +44 -2
  10. package/dist/{deepsightLoader-4Ti7lNvp.esm.js → deepsightLoader-C7UK1K0n.esm.js} +3 -3
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-z_tNQ4Jw.esm.js → dynamicFormsManager-BH3e6qF5.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-DIrb7tOs.esm.js → dynamicFormsStateMachine-BPtt33eF.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybManager-BpqFT8Tc.esm.js → ekybManager-BOiu4nW9.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-COtLonZW.esm.js → ekybStateMachine-DeXhNaJG.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-CDDTnxc1.esm.js → electronicSignatureManager-COTGR6o_.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +4 -4
  20. package/dist/extensibility.esm.js +10 -10
  21. package/dist/{faceCaptureManagerFactory-oUxMV9zI.esm.js → faceCaptureManagerFactory-BYspzRda.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-Cs-hZXm9.esm.js → faceCaptureSetup-BBWergLj.esm.js} +4 -4
  23. package/dist/{feature-management-5sHvTHRx.esm.js → feature-management-rL7weJTm.esm.js} +1 -1
  24. package/dist/feature-management.esm.js +1 -1
  25. package/dist/flow.d.ts +1 -1
  26. package/dist/flow.esm.js +3 -3
  27. package/dist/{flowCompletionService-BS5y4kYp.esm.js → flowCompletionService-BAJ2NuvS.esm.js} +1 -1
  28. package/dist/{flowServices-qVkZm7Ml.esm.js → flowServices-DI6j--gt.esm.js} +4 -4
  29. package/dist/geolocation.esm.js +2 -2
  30. package/dist/{geolocationManager-BX4p2B4x.esm.js → geolocationManager-Cleh9ROG.esm.js} +1 -1
  31. package/dist/{geolocationStateMachine-B_Fi7SWH.esm.js → geolocationStateMachine-DdxVcwad.esm.js} +1 -1
  32. package/dist/id-selfie-flow.esm.js +7 -7
  33. package/dist/id.d.ts +2 -2
  34. package/dist/id.esm.js +3 -3
  35. package/dist/{idCaptureDefaults-CjaKVRyo.esm.js → idCaptureDefaults-D8WyAUB4.esm.js} +1 -1
  36. package/dist/{idCaptureManager-BQNdhFid.d.ts → idCaptureManager-BtH7mD0W.d.ts} +8 -1
  37. package/dist/{idCaptureManager-Cyep9h0f.esm.js → idCaptureManager-KeVe4IQe.esm.js} +18 -5
  38. package/dist/{idCaptureServices-DRfUda5k.esm.js → idCaptureServices-B23xnQo2.esm.js} +3 -3
  39. package/dist/{idCaptureStateMachine-CF7iJmpG.esm.js → idCaptureStateMachine-CURe9NQG.esm.js} +194 -114
  40. package/dist/index.esm.js +1 -1
  41. package/dist/mandatory-consent.d.ts +1 -1
  42. package/dist/{mandatoryConsentManager-qcGR_MQW.d.ts → mandatoryConsentManager-06tiNuCR.d.ts} +4 -4
  43. package/dist/qe-signature.esm.js +1 -1
  44. package/dist/{runChildModule-DPY1pi87.esm.js → runChildModule-BCW4sQqh.esm.js} +1 -1
  45. package/dist/{sdkVersion-uVDjoGrM.esm.js → sdkVersion-CSblH7sX.esm.js} +1 -1
  46. package/dist/selfie.esm.js +6 -6
  47. package/dist/{selfieManager-4iSUYCaG.esm.js → selfieManager-BUE0Njoe.esm.js} +3 -3
  48. package/dist/{selfieStateMachine-CR_gGPCk.esm.js → selfieStateMachine-Bllrzlth.esm.js} +2 -2
  49. package/dist/{session-DMKlmBum.esm.js → session-Cpp2V_GL.esm.js} +3 -3
  50. package/dist/session.esm.js +4 -4
  51. package/dist/{sessionInitializer-C4kwZzmT.esm.js → sessionInitializer-CZ1I_kmc.esm.js} +3 -3
  52. package/dist/{setup-BpcRuub8.esm.js → setup-Bgtiw0Y8.esm.js} +4 -4
  53. package/dist/{trueSightService-BDcqmaet.esm.js → trueSightService-B8LHD3k_.esm.js} +1 -1
  54. package/dist/{types-D8MFaAoY2.d.ts → types-BNqkP6RF2.d.ts} +6 -0
  55. package/dist/video-selfie.esm.js +3 -3
  56. package/dist/{videoSelfieCameraWarmer-CJqJKXtw.esm.js → videoSelfieCameraWarmer-CJww5cwy.esm.js} +3 -3
  57. package/dist/wasm.esm.js +2 -2
  58. package/dist/workflow.esm.js +14 -14
  59. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BDcqmaet.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-B8LHD3k_.esm.js";
2
2
  import { s as wasmRuntime } from "./warmup-DLq_t-Zu.esm.js";
3
3
  import { i as BaseWasmProvider } from "./safeStorage-Q_iUpxa8.esm.js";
4
- import { t as ensureWasmPipelines } from "./setup-BpcRuub8.esm.js";
5
- import "./sessionInitializer-C4kwZzmT.esm.js";
4
+ import { t as ensureWasmPipelines } from "./setup-Bgtiw0Y8.esm.js";
5
+ import "./sessionInitializer-CZ1I_kmc.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
7
7
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
@@ -156,7 +156,7 @@ function startDetection(params) {
156
156
  };
157
157
  }
158
158
  async function initializeDeepsightSession(options) {
159
- const { loadDeepsightSession } = await import("./deepsightLoader-4Ti7lNvp.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-C7UK1K0n.esm.js");
160
160
  return loadDeepsightSession({
161
161
  ds: options.ds,
162
162
  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-CDDTnxc1.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-COTGR6o_.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-BDcqmaet.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-B8LHD3k_.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-Cc39Ykkx.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DPUWXXxk.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-B2oLfmpy.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-LB8m0sus.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-BpcRuub8.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Bgtiw0Y8.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-oUxMV9zI.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-Cc39Ykkx.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BYspzRda.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-B2oLfmpy.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,9 +1,9 @@
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-Cs-hZXm9.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-hKtP6qpS.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BBWergLj.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-ChDf8HXD.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
- import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CQIv3cR9.esm.js";
6
+ import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-26-cuXnc.esm.js";
7
7
  //#region src/modules/authentication/authenticationErrorUtils.ts
8
8
  const AUTH_ERROR_MAP = {
9
9
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
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-Ca8FHlC4.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 };
@@ -77,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
77
77
  type: "setError";
78
78
  params: NonReducibleUnknown;
79
79
  };
80
- setConsentData: {
81
- type: "setConsentData";
82
- params: NonReducibleUnknown;
83
- };
84
- toggleCheckbox: {
85
- type: "toggleCheckbox";
86
- params: NonReducibleUnknown;
87
- };
88
80
  clearError: {
89
81
  type: "clearError";
90
82
  params: NonReducibleUnknown;
@@ -93,6 +85,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
93
85
  type: "resetContext";
94
86
  params: NonReducibleUnknown;
95
87
  };
88
+ setConsentData: {
89
+ type: "setConsentData";
90
+ params: NonReducibleUnknown;
91
+ };
92
+ toggleCheckbox: {
93
+ type: "toggleCheckbox";
94
+ params: NonReducibleUnknown;
95
+ };
96
96
  }>, {
97
97
  type: "canSubmit";
98
98
  params: unknown;
@@ -177,6 +177,9 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
177
177
  let deliveryInFlight = false;
178
178
  let delivered = false;
179
179
  let consuming = false;
180
+ let detectionPaused = false;
181
+ let detectionGeneration = 0;
182
+ let pendingDetectionReset;
180
183
  let recorderStarted = false;
181
184
  let recorderOperationInFlight = false;
182
185
  let recorderPrepared = false;
@@ -289,6 +292,16 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
289
292
  reportFailure("recorder", "protected-attempt-background-pause-failed");
290
293
  }
291
294
  };
295
+ const resumeDetection = () => {
296
+ if (!active || !ready || committed || backgrounded || detectionPaused || pendingDetectionReset === void 0) return;
297
+ input.resumeDetection?.(pendingDetectionReset);
298
+ pendingDetectionReset = void 0;
299
+ if (!input.cycle.setWorkflowConsuming(input.workflow, true)) {
300
+ failClosed("consume", "protected-attempt-consume-failed");
301
+ return;
302
+ }
303
+ consuming = true;
304
+ };
292
305
  const startConsumingAndAnnounceReady = (displayStream) => {
293
306
  const consume = measure(() => input.cycle.setWorkflowConsuming(input.workflow, true));
294
307
  if (!consume.value) {
@@ -381,7 +394,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
381
394
  }
382
395
  };
383
396
  const commitAutoCapture = (preview) => {
384
- if (!active || !ready || backgrounded || committed) return;
397
+ if (!active || !ready || backgrounded || detectionPaused || committed) return;
385
398
  if (!stopConsuming()) {
386
399
  failClosed("consume", "protected-attempt-stop-consuming-failed");
387
400
  return;
@@ -400,7 +413,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
400
413
  });
401
414
  };
402
415
  const commitManualCapture = () => {
403
- if (!active || !ready || backgrounded || committed) return;
416
+ if (!active || !ready || backgrounded || detectionPaused || committed) return;
404
417
  let preview;
405
418
  try {
406
419
  preview = input.cycle.captureProtectedFrame(input.target);
@@ -646,6 +659,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
646
659
  await uploadFaceResults(command);
647
660
  return;
648
661
  case "BACKGROUND": return;
662
+ case "PAUSE_DETECTION": return;
663
+ case "RESUME_DETECTION": return;
649
664
  case "FOREGROUND": {
650
665
  if (!backgrounded) return;
651
666
  if (receivedVisibilityGeneration !== visibilityGeneration) return;
@@ -675,6 +690,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
675
690
  }
676
691
  }
677
692
  backgrounded = false;
693
+ resumeDetection();
678
694
  if (pendingReadyStream) {
679
695
  const readyStream = resumedStream ?? pendingReadyStream;
680
696
  try {
@@ -721,6 +737,32 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
721
737
  return;
722
738
  }
723
739
  if (!active) return;
740
+ if (command.type === "PAUSE_DETECTION") {
741
+ if (!ready || committed) return;
742
+ detectionPaused = true;
743
+ detectionGeneration += 1;
744
+ pendingDetectionReset = void 0;
745
+ try {
746
+ input.pauseDetection?.();
747
+ if (!stopConsuming()) failClosed("consume", "protected-attempt-stop-consuming-failed");
748
+ } catch {
749
+ failClosed("consume", "protected-attempt-pause-detection-failed");
750
+ }
751
+ return;
752
+ }
753
+ if (command.type === "RESUME_DETECTION") {
754
+ if (!detectionPaused) return;
755
+ const generation = detectionGeneration;
756
+ commandQueue = commandQueue.then(() => {
757
+ if (!active || generation !== detectionGeneration || !detectionPaused) return;
758
+ detectionPaused = false;
759
+ pendingDetectionReset = command.reset;
760
+ resumeDetection();
761
+ }).catch(() => {
762
+ failClosed("consume", "protected-attempt-resume-detection-failed");
763
+ });
764
+ return;
765
+ }
724
766
  const receivedVisibilityGeneration = command.type === "FOREGROUND" ? visibilityGeneration : void 0;
725
767
  if (command.type === "FOREGROUND" && startup === null) {
726
768
  if (receivedVisibilityGeneration !== visibilityGeneration) return;
@@ -1,7 +1,7 @@
1
- import { l as trueSightLog } from "./trueSightService-BDcqmaet.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-B8LHD3k_.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-C4kwZzmT.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-uVDjoGrM.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-CZ1I_kmc.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-CSblH7sX.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DyNj8RY_.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DIrb7tOs.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-z_tNQ4Jw.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BPtt33eF.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-BH3e6qF5.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.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-DIrb7tOs.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BPtt33eF.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-BCElLfAr.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-fme5FjWK.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-qVkZm7Ml.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-COtLonZW.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-BpqFT8Tc.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-DI6j--gt.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-DeXhNaJG.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BOiu4nW9.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-ijlbX_Wx.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-COtLonZW.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-DeXhNaJG.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-qVkZm7Ml.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-DI6j--gt.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-CDDTnxc1.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-COTGR6o_.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-ijlbX_Wx.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-BCElLfAr.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-fme5FjWK.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";
@@ -11,7 +11,7 @@ import { i as IStorageCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
11
11
  import "./StreamCanvasCapture-CeBBJ_RC.js";
12
12
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-C_cujb6s.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-Ca8FHlC4.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-kDsAANm7.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
@@ -22,14 +22,14 @@ import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as E
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-CSNRbrBe.js";
23
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
24
24
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BQRdCEGx.js";
25
- import { i as CaptureIdResponse } from "./types-D8MFaAoY2.js";
26
- import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-BQNdhFid.js";
25
+ import { i as CaptureIdResponse } from "./types-BNqkP6RF2.js";
26
+ import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-BtH7mD0W.js";
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-D4FVaENS.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
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-ooAbp6Kc.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-DN9b5rtc.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-qcGR_MQW.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-06tiNuCR.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-Q_iUpxa8.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-BpcRuub8.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-C4kwZzmT.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Bgtiw0Y8.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-CZ1I_kmc.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-CDDTnxc1.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-COTGR6o_.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-GZ1hVKjb.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Cs-hZXm9.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DPUWXXxk.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BBWergLj.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-LB8m0sus.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-J6v-R_BZ.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-C-G9BmH0.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-De2pPrbH.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-Dv6q4FDh.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DEBrvDy2.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-D7qUUMWK.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-z_tNQ4Jw.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-BpqFT8Tc.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BH3e6qF5.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-BOiu4nW9.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-DExptxPG.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-BG1i_Sg_.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-4iSUYCaG.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Cyep9h0f.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BUE0Njoe.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-KeVe4IQe.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-D46pkVfg.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-C2fFRjfx.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-Lcvy9ZUU.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-rcTMBnAD.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BV0CBEHA.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-CmIjQ-cK.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-BX4p2B4x.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-Cleh9ROG.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-BLo9Ai_v.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BE5cnWcf.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-DmDy-g8s.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.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-Cs-hZXm9.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-BBWergLj.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DyNj8RY_.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B9IqVf3c.esm.js";
@@ -1,16 +1,16 @@
1
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-BDcqmaet.esm.js";
1
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-B8LHD3k_.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-C4kwZzmT.esm.js";
4
+ import "./sessionInitializer-CZ1I_kmc.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 isAndroid } from "./platform-DkcRc9JV.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-B9IqVf3c.esm.js";
11
- import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-hKtP6qpS.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-ChDf8HXD.esm.js";
12
12
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
13
- import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-CQIv3cR9.esm.js";
13
+ import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-26-cuXnc.esm.js";
14
14
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
16
16
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DS36X5Hh.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-uVDjoGrM.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CSblH7sX.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-5sHvTHRx.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-rL7weJTm.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.d.ts CHANGED
@@ -8,7 +8,7 @@ import { t as AuthenticationConfig } from "./types-BG1FQKeS.js";
8
8
  import { r as DocumentCaptureConfig } from "./types-BjSly8cp.js";
9
9
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
10
10
  import { t as EkybConfig } from "./types-DCYnayP-.js";
11
- import { u as IdCaptureConfig } from "./types-D8MFaAoY2.js";
11
+ import { u as IdCaptureConfig } from "./types-BNqkP6RF2.js";
12
12
  import { r as MandatoryConsentConfig } from "./types-B8aLmVz7.js";
13
13
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
14
14
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-ijlbX_Wx.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-qVkZm7Ml.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-DI6j--gt.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-BS5y4kYp.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DPY1pi87.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BAJ2NuvS.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BCW4sQqh.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = 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-BCElLfAr.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-fme5FjWK.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-DLq_t-Zu.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-5sHvTHRx.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-rL7weJTm.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-C4kwZzmT.esm.js";
4
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-CZ1I_kmc.esm.js";
5
5
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-BCElLfAr.esm.js";
7
- import "./session-DMKlmBum.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-fme5FjWK.esm.js";
7
+ import "./session-Cpp2V_GL.esm.js";
8
8
  import { a as toEkycConfig } from "./ekycUtils-BpizZaIl.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-BX4p2B4x.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-B_Fi7SWH.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-Cleh9ROG.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-DdxVcwad.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-B_Fi7SWH.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-DdxVcwad.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-BCElLfAr.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-fme5FjWK.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,18 +1,18 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BpcRuub8.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Bgtiw0Y8.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-qVkZm7Ml.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-DI6j--gt.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 { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-hKtP6qpS.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-ChDf8HXD.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
10
  import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-CtHekDP4.esm.js";
11
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CjaKVRyo.esm.js";
12
- import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-DRfUda5k.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-D8WyAUB4.esm.js";
12
+ import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-B23xnQo2.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-BS5y4kYp.esm.js";
15
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CJqJKXtw.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-BAJ2NuvS.esm.js";
15
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CJww5cwy.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
18
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.d.ts CHANGED
@@ -2,8 +2,8 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
5
- import { A as DeviceWalletDecision, B as DigitalIdFunnelEntry, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DeviceWalletProvider, G as DigitalIdProviderId, H as ResolvedDigitalIdRoute, L as DIGITAL_ID_DOCUMENT_TYPES, M as DeviceWalletFailReason, N as DeviceWalletOutput, O as UploadIdResponse, P as DeviceWalletPlatform, R as DIGITAL_ID_REGISTRY, S as IdCaptureThresholds, T as IdError, U as isRedirectFlowType, V as DigitalIdPlatformSupport, W as resolveDigitalIdImplementation, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DeviceWalletDecryptResponse, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as RedirectReturnParams, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DigitalIdDocumentType } from "./types-D8MFaAoY2.js";
6
- import { A as barcodeToBase64, B as startRecordingSession, C as FinalizedIdRecording, D as UploadIdImageParams, E as StartRecordingParams, F as isSuspendableRecordingSession, H as stopStream, I as pauseRecordingForAttempt, L as prepareRecordingForCameraRetry, M as finalizeRecordingSession, N as getRealQualityValue, O as ValidationError, P as initializeIdCapture, R as processId, S as AddBarcodeParams, T as InitializeIdCaptureParams, U as uploadIdImage, V as stopRecording, W as validateUploadResponse, _ as CreateIdCaptureActorOptions, a as RenderWalletError, b as IdCaptureMachine, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as CreateIdCaptureOnlyActorOptions, g as idCaptureOnlyMachine, h as IdCaptureOnlyMachine, j as disposeRecordingSession, k as addBarcode, l as DeviceWalletState, m as createIdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as IdCaptureOnlyActor, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as IdCaptureActor, w as IdCaptureInitResult, x as idCaptureMachine, y as createIdCaptureActor, z as resumeRecordingAfterPause } from "./idCaptureManager-BQNdhFid.js";
5
+ import { A as DeviceWalletDecision, B as DigitalIdFunnelEntry, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DeviceWalletProvider, G as DigitalIdProviderId, H as ResolvedDigitalIdRoute, L as DIGITAL_ID_DOCUMENT_TYPES, M as DeviceWalletFailReason, N as DeviceWalletOutput, O as UploadIdResponse, P as DeviceWalletPlatform, R as DIGITAL_ID_REGISTRY, S as IdCaptureThresholds, T as IdError, U as isRedirectFlowType, V as DigitalIdPlatformSupport, W as resolveDigitalIdImplementation, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DeviceWalletDecryptResponse, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as RedirectReturnParams, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DigitalIdDocumentType } from "./types-BNqkP6RF2.js";
6
+ import { A as barcodeToBase64, B as startRecordingSession, C as FinalizedIdRecording, D as UploadIdImageParams, E as StartRecordingParams, F as isSuspendableRecordingSession, H as stopStream, I as pauseRecordingForAttempt, L as prepareRecordingForCameraRetry, M as finalizeRecordingSession, N as getRealQualityValue, O as ValidationError, P as initializeIdCapture, R as processId, S as AddBarcodeParams, T as InitializeIdCaptureParams, U as uploadIdImage, V as stopRecording, W as validateUploadResponse, _ as CreateIdCaptureActorOptions, a as RenderWalletError, b as IdCaptureMachine, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as CreateIdCaptureOnlyActorOptions, g as idCaptureOnlyMachine, h as IdCaptureOnlyMachine, j as disposeRecordingSession, k as addBarcode, l as DeviceWalletState, m as createIdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as IdCaptureOnlyActor, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as IdCaptureActor, w as IdCaptureInitResult, x as idCaptureMachine, y as createIdCaptureActor, z as resumeRecordingAfterPause } from "./idCaptureManager-BtH7mD0W.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { i as assign, s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
4
- import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-CF7iJmpG.esm.js";
5
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Cyep9h0f.esm.js";
6
- import { _ 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, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-DRfUda5k.esm.js";
4
+ import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-CURe9NQG.esm.js";
5
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-KeVe4IQe.esm.js";
6
+ import { _ 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, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-B23xnQo2.esm.js";
7
7
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
8
8
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-DPPQlS-U.esm.js";
2
- import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-BDcqmaet.esm.js";
2
+ import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-B8LHD3k_.esm.js";
3
3
  import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-DLq_t-Zu.esm.js";
4
4
  import { i as BaseWasmProvider } from "./safeStorage-Q_iUpxa8.esm.js";
5
5
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";