@incodetech/core 0.0.0-dev-20260819-1c04894b → 0.0.0-dev-20260819-8e2b6120

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 (103) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-BzL_V7yb.esm.js → BrowserDiagnosticsCryptoProvider-CIFvfYjU.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-jP0cswDJ.esm.js → apiError-CmLuTu8c.esm.js} +1 -1
  4. package/dist/authentication.d.ts +3 -3
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-Bo5oW5Rh.d.ts → authenticationManager-CG7g38ad.d.ts} +1 -1
  7. package/dist/{authenticationManager-CQsYqM6S.esm.js → authenticationManager-DrtfRp1Z.esm.js} +2 -2
  8. package/dist/{authenticationStateMachine-jNp2tJ6j.esm.js → authenticationStateMachine-CmRwiE9P.esm.js} +2 -2
  9. package/dist/{backCameraStream-BMGalshK.esm.js → backCameraStream-DtkmDQo7.esm.js} +6 -2
  10. package/dist/camera.esm.js +1 -1
  11. package/dist/curp-validation.d.ts +1 -1
  12. package/dist/{curpValidationManager-BAE-uh7L.d.ts → curpValidationManager-DrMLHzVF.d.ts} +1 -1
  13. package/dist/{deepsightLoader-BDlGUqao.esm.js → deepsightLoader-BtPlGn0u.esm.js} +3 -3
  14. package/dist/document-capture.d.ts +1 -1
  15. package/dist/document-capture.esm.js +2 -2
  16. package/dist/document-upload.d.ts +4 -4
  17. package/dist/document-upload.esm.js +1 -1
  18. package/dist/{documentCaptureManager-CIQSsmZe.d.ts → documentCaptureManager-BykkLCQD.d.ts} +5 -5
  19. package/dist/{documentCaptureManager-2FoxNacZ.esm.js → documentCaptureManager-qEXTbJmQ.esm.js} +1 -1
  20. package/dist/{documentCaptureStateMachine-fk7MDfSZ.esm.js → documentCaptureStateMachine-DXfStru4.esm.js} +3 -3
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-f7Y9kUiR.esm.js → dynamicFormsManager-K2fns0Ev.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-CDmy6eXI.esm.js → dynamicFormsStateMachine-XXg2mOsk.esm.js} +1 -1
  24. package/dist/ekyb.d.ts +1 -1
  25. package/dist/ekyb.esm.js +3 -3
  26. package/dist/{ekybManager-DQ_SfoWF.esm.js → ekybManager-CG4KreIp.esm.js} +1 -1
  27. package/dist/{ekybStateMachine-ZzqtUkd-.esm.js → ekybStateMachine-L-QYBjhK.esm.js} +1 -1
  28. package/dist/electronic-signature.esm.js +1 -1
  29. package/dist/{electronicSignatureManager-D633yGbz.esm.js → electronicSignatureManager-DRIGL3o_.esm.js} +1 -1
  30. package/dist/extensibility.d.ts +10 -10
  31. package/dist/extensibility.esm.js +12 -12
  32. package/dist/{faceCaptureManagerFactory-C8MlI6-0.d.ts → faceCaptureManagerFactory-D6qnBVUw.d.ts} +3 -3
  33. package/dist/{faceCaptureManagerFactory-CPf4an47.esm.js → faceCaptureManagerFactory-PDJ6EyX8.esm.js} +2 -2
  34. package/dist/{faceCaptureSetup-XzhL3jrY.esm.js → faceCaptureSetup-vjurLoly.esm.js} +4 -4
  35. package/dist/{feature-management-CkGxQul1.esm.js → feature-management-C1AcD5rd.esm.js} +1 -1
  36. package/dist/feature-management.esm.js +1 -1
  37. package/dist/fiscal-qr.esm.js +1 -1
  38. package/dist/{fiscalQrManager-DEgB0YYR.esm.js → fiscalQrManager-CP5XlFP0.esm.js} +1 -1
  39. package/dist/flow-events.d.ts +1 -1
  40. package/dist/flow.d.ts +5 -5
  41. package/dist/flow.esm.js +3 -3
  42. package/dist/{flowCompletionService-YG3VycUU.esm.js → flowCompletionService-oTn3ibc4.esm.js} +1 -1
  43. package/dist/{flowServices-C_Z7Pjvd.esm.js → flowServices-Dhk1DZqo.esm.js} +4 -4
  44. package/dist/geolocation.esm.js +2 -2
  45. package/dist/{geolocationManager-AmYuocQ3.esm.js → geolocationManager-DI8eqB0U.esm.js} +1 -1
  46. package/dist/{geolocationStateMachine-DSe6SL-7.esm.js → geolocationStateMachine-CdCv3jmy.esm.js} +1 -1
  47. package/dist/government-validation.d.ts +1 -1
  48. package/dist/government-validation.esm.js +2 -2
  49. package/dist/{governmentValidationManager-DUzWUMjT.d.ts → governmentValidationManager-D02vT4yY.d.ts} +11 -44
  50. package/dist/governmentValidationManager-DnVUyppQ.esm.js +79 -0
  51. package/dist/governmentValidationStateMachine-CNzJ5UQb.esm.js +54 -0
  52. package/dist/home.d.ts +1 -1
  53. package/dist/id-selfie-flow.d.ts +1 -1
  54. package/dist/id-selfie-flow.esm.js +6 -6
  55. package/dist/id.d.ts +2 -2
  56. package/dist/id.esm.js +3 -3
  57. package/dist/{idCaptureManager-CykSLyn3.esm.js → idCaptureManager-BBvsIuTk.esm.js} +4 -3
  58. package/dist/{idCaptureManager-LCsgD9lb.d.ts → idCaptureManager-CfE4iEi0.d.ts} +6 -2
  59. package/dist/{idCaptureServices-DoVKk86g.esm.js → idCaptureServices-B8O7BWFE.esm.js} +187 -5
  60. package/dist/{idCaptureStateMachine-D4UGjQNy.esm.js → idCaptureStateMachine-jQwNzDxH.esm.js} +36 -17
  61. package/dist/{index-LHJIYIKJ.d.ts → index-LA6R9BLR.d.ts} +1 -1
  62. package/dist/index.esm.js +1 -1
  63. package/dist/mandatory-consent.d.ts +2 -2
  64. package/dist/{mandatoryConsentManager-Cz98fh9O.d.ts → mandatoryConsentManager-CwDsLyCw.d.ts} +1 -1
  65. package/dist/{onDeviceFaceResults-BYl2hbuy.esm.js → onDeviceFaceResults-BEaYEAQR.esm.js} +4 -4
  66. package/dist/{permissionGuards-BEgOUwwQ.esm.js → permissionGuards-DJNYwEOq.esm.js} +1 -1
  67. package/dist/{permissionServices-BPUkbztJ.esm.js → permissionServices-Dgtg_4Lv.esm.js} +1 -1
  68. package/dist/personhood.d.ts +1 -1
  69. package/dist/personhood.esm.js +4 -4
  70. package/dist/qe-signature.esm.js +1 -1
  71. package/dist/{recordingService-DxbuJNac.esm.js → recordingService-BRONjqTm.esm.js} +1 -1
  72. package/dist/{runChildModule-CkKzUrQR.esm.js → runChildModule-D3A5YiBu.esm.js} +1 -1
  73. package/dist/{sdkVersion-_0-FMgKd.esm.js → sdkVersion-CtvWM_fR.esm.js} +1 -1
  74. package/dist/selfie.d.ts +3 -3
  75. package/dist/selfie.esm.js +4 -4
  76. package/dist/{selfieManager-DhPMKYxo.esm.js → selfieManager-SsncUMZ7.esm.js} +2 -2
  77. package/dist/{selfieManager-yz6zt2t0.d.ts → selfieManager-dki4G9tK.d.ts} +1 -1
  78. package/dist/{selfieStateMachine-DkECDdim.esm.js → selfieStateMachine-C2sW_CdL.esm.js} +2 -2
  79. package/dist/{session-BoCg9kCK.esm.js → session-DMNhhabt.esm.js} +4 -4
  80. package/dist/session.d.ts +1 -1
  81. package/dist/session.esm.js +4 -4
  82. package/dist/{sessionInitializer-DtcaH34N.esm.js → sessionInitializer-B6oG_vuC.esm.js} +4 -4
  83. package/dist/{setup-Ccd6xV05.esm.js → setup-BeHCJ_bb.esm.js} +5 -5
  84. package/dist/trueSight-ChG3BEfd.esm.js +1 -0
  85. package/dist/{trueSightService-CTZ8wqNF.esm.js → trueSightService-CyI6jCxv.esm.js} +2 -2
  86. package/dist/{types-DNNUCM_n.d.ts → types-BqezaTnP.d.ts} +0 -2
  87. package/dist/{types-BNs7Klh_.d.ts → types-C6pPfQxo.d.ts} +1 -1
  88. package/dist/{types-DqtyPNWa.d.ts → types-D10PIjOT.d.ts} +1 -1
  89. package/dist/types-DQpi7nkW.d.ts +6 -0
  90. package/dist/{types-CaqgEfzk.d.ts → types-KeV54Tt6.d.ts} +1 -1
  91. package/dist/{types-XXfuK9d8.d.ts → types-isCyg__O.d.ts} +3 -1
  92. package/dist/video-selfie.d.ts +1 -1
  93. package/dist/video-selfie.esm.js +3 -3
  94. package/dist/{videoSelfieCameraWarmer-DxxDSvmQ.esm.js → videoSelfieCameraWarmer-1XBjf6Me.esm.js} +4 -4
  95. package/dist/{videoSelfieStepDetector-CcBSD8Gc.d.ts → videoSelfieStepDetector-tHovquP4.d.ts} +2 -2
  96. package/dist/wasm.esm.js +1 -1
  97. package/dist/workflow.d.ts +5 -5
  98. package/dist/workflow.esm.js +17 -17
  99. package/package.json +3 -3
  100. package/dist/governmentValidationManager-Dheo7fh_.esm.js +0 -123
  101. package/dist/governmentValidationStateMachine-BYKYUdza.esm.js +0 -226
  102. package/dist/trueSight-Bl-iCeAC.esm.js +0 -1
  103. package/dist/types-Dm7dzIXw.d.ts +0 -6
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("To4GhQYmnpyUw63y5tAPy+cbXY5g40gSmKLgLIdbzI4=", "YqEl1lyvsOvVVmJvrEjw7vbgExsWqICWC7cKY0JK7QU=");
21
+ const key = decodeTruesightKey("cBkZ8XsFrd3KtKUj/loi1LV0EdJGNxQmM5pNm5+HTJ0=", "WgySzoAvo9VCSRYSj3uxsIHowgOchZ/EZPtWRZYW2a4=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,4 +1,4 @@
1
- import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-D633yGbz.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DRIGL3o_.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-CTZ8wqNF.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-CyI6jCxv.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-C8MlI6-0.js";
2
- import { t as AuthenticationConfig } from "./types-Dm7dzIXw.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-Bo5oW5Rh.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D6qnBVUw.js";
2
+ import { t as AuthenticationConfig } from "./types-DQpi7nkW.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CG7g38ad.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-jNp2tJ6j.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CQsYqM6S.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CmRwiE9P.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DrtfRp1Z.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.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-C8MlI6-0.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D6qnBVUw.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CPf4an47.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-jNp2tJ6j.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-PDJ6EyX8.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CmRwiE9P.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-XzhL3jrY.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BYl2hbuy.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-vjurLoly.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BEaYEAQR.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -46,6 +46,10 @@ function isBackCameraLabel(label) {
46
46
  const lowercaseLabel = label.toLowerCase();
47
47
  return BACK_CAMERA_KEYWORDS.some((keyword) => lowercaseLabel.includes(keyword));
48
48
  }
49
+ function isBackFacingTrack(track) {
50
+ const settings = track.getSettings();
51
+ return isBackCameraLabel(track.label) || settings.facingMode === "environment";
52
+ }
49
53
  function classifyCamera(device, index, totalDevices) {
50
54
  let cameraType;
51
55
  if (device.label === "") cameraType = totalDevices === 1 || index + 1 <= totalDevices / 2 ? "front" : "back";
@@ -97,7 +101,7 @@ function selectMainCameraFromStream(track, cameras) {
97
101
  const settings = track.getSettings();
98
102
  const activeCamera = cameras.find((c) => c.deviceId === settings.deviceId || c.label !== "" && c.label === track.label);
99
103
  if (!activeCamera) return void 0;
100
- if ((settings.facingMode === "environment" || isBackCameraLabel(track.label)) && cameras.length > 1) {
104
+ if (isBackFacingTrack(track) && cameras.length > 1) {
101
105
  cameras.forEach((camera) => {
102
106
  if (camera.deviceId === activeCamera.deviceId) camera.cameraType = "back";
103
107
  else if (!isBackCameraLabel(camera.label)) camera.cameraType = "front";
@@ -439,4 +443,4 @@ async function getBackCameraStream(deviceId) {
439
443
  return { stream: await getDesktopBackCameraStream(deviceId) };
440
444
  }
441
445
  //#endregion
442
- export { hasBackCamera as i, getBackCameraStream as n, getDesktopCameraStream as r, ensureFrontCameraStream as t };
446
+ export { isBackFacingTrack as a, hasBackCamera as i, getBackCameraStream as n, getDesktopCameraStream as r, ensureFrontCameraStream as t };
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-BPUkbztJ.esm.js";
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
@@ -1,4 +1,4 @@
1
- import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-BAE-uh7L.js";
1
+ import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DrMLHzVF.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-CQQ99QOI.js";
3
3
  import "./Actor-iTq7YY48.js";
4
- import { i as FlowModuleConfig } from "./types-DNNUCM_n.js";
4
+ import { i as FlowModuleConfig } from "./types-BqezaTnP.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-CTZ8wqNF.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DtcaH34N.esm.js";
5
- import "./trueSight-Bl-iCeAC.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-CyI6jCxv.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-B6oG_vuC.esm.js";
5
+ import "./trueSight-ChG3BEfd.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-DelMqZLe.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CIQSsmZe.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-BykkLCQD.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 };
@@ -1,3 +1,3 @@
1
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-fk7MDfSZ.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-2FoxNacZ.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DXfStru4.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-qEXTbJmQ.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -38,6 +38,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
+ setError: {
42
+ type: "setError";
43
+ params: NonReducibleUnknown;
44
+ };
41
45
  setStream: {
42
46
  type: "setStream";
43
47
  params: NonReducibleUnknown;
@@ -50,10 +54,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
50
54
  type: "setProgress";
51
55
  params: NonReducibleUnknown;
52
56
  };
53
- setError: {
54
- type: "setError";
55
- params: NonReducibleUnknown;
56
- };
57
57
  clearError: {
58
58
  type: "clearError";
59
59
  params: NonReducibleUnknown;
@@ -4,7 +4,7 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-DtkmDQo7.esm.js";
8
8
  //#region src/modules/document-upload/documentUploadServices.ts
9
9
  async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
10
10
  const url = `${endpoints.addDocument}?type=${encodeURIComponent(documentType)}`;
@@ -98,6 +98,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
98
98
  id: string | undefined;
99
99
  };
100
100
  }>, Values<{
101
+ decrementAttemptsRemaining: {
102
+ type: "decrementAttemptsRemaining";
103
+ params: NonReducibleUnknown;
104
+ };
101
105
  setStream: {
102
106
  type: "setStream";
103
107
  params: NonReducibleUnknown;
@@ -114,10 +118,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
114
118
  type: "stopStream";
115
119
  params: NonReducibleUnknown;
116
120
  };
117
- decrementAttemptsRemaining: {
118
- type: "decrementAttemptsRemaining";
119
- params: NonReducibleUnknown;
120
- };
121
121
  setCapturedDocument: {
122
122
  type: "setCapturedDocument";
123
123
  params: NonReducibleUnknown;
@@ -251,7 +251,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
251
251
  type: "fileSizeOkForNonGallery";
252
252
  params: unknown;
253
253
  };
254
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "tutorial" | "preview" | "failure" | "nextPage" | "finalizing" | {
254
+ }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "failure" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
255
255
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
256
256
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
257
257
  readonly id: "documentCapture";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-fk7MDfSZ.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DXfStru4.esm.js";
5
5
  //#region src/modules/document-capture/documentCaptureActor.ts
6
6
  function createDocumentCaptureActor(options) {
7
7
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -3,9 +3,9 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
6
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BPUkbztJ.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
8
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BEgOUwwQ.esm.js";
6
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-DtkmDQo7.esm.js";
8
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DJNYwEOq.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
11
11
  processV5CLogbook: "v5cMultiPageLogbook",
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CDmy6eXI.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-f7Y9kUiR.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-XXg2mOsk.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-K2fns0Ev.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CDmy6eXI.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-XXg2mOsk.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-jP0cswDJ.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-CmLuTu8c.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./StateMachine-EDpYWy0i.js";
2
2
  import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
3
- import { i as FlowModuleConfig } from "./types-DNNUCM_n.js";
3
+ import { i as FlowModuleConfig } from "./types-BqezaTnP.js";
4
4
  import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BfHiko5D.js";
5
5
  import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
6
6
  //#region src/modules/ekyb/ekybServices.d.ts
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-C_Z7Pjvd.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-ZzqtUkd-.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DQ_SfoWF.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-Dhk1DZqo.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-L-QYBjhK.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CG4KreIp.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-DYiyoSlx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-ZzqtUkd-.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-L-QYBjhK.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-C_Z7Pjvd.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-Dhk1DZqo.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-D633yGbz.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-DRIGL3o_.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-jP0cswDJ.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-CmLuTu8c.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -5,40 +5,40 @@ import "./Actor-iTq7YY48.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-DVmXIdzW.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.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-C8MlI6-0.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-D6qnBVUw.js";
9
9
  import "./createFaceAvatar-pUEkdk4X.js";
10
10
  import { i as IStorageCapability, n as VirtualCameraCheckOutput, r as WasmUtilConfig, t as IWasmUtilCapability } from "./IWasmUtilCapability-5-Pncgma.js";
11
11
  import { n as BaseWasmProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
12
12
  import "./deepsightService-Dr7sNZ5r.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Bo5oW5Rh.js";
13
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CG7g38ad.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
15
15
  import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
17
- import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BAE-uh7L.js";
17
+ import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DrMLHzVF.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CIQSsmZe.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BykkLCQD.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-DhveFHPS.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
23
23
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
24
24
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
25
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-yz6zt2t0.js";
26
- import { n as CaptureIdResponse } from "./types-XXfuK9d8.js";
27
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-LCsgD9lb.js";
25
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-dki4G9tK.js";
26
+ import { n as CaptureIdResponse } from "./types-isCyg__O.js";
27
+ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CfE4iEi0.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Cz98fh9O.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CwDsLyCw.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
36
36
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
37
- import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-DUzWUMjT.js";
37
+ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-D02vT4yY.js";
38
38
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
39
39
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
40
40
  import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-CHcBJwUM.js";
41
- import "./types-BNs7Klh_.js";
41
+ import "./types-C6pPfQxo.js";
42
42
  //#region src/modules/authentication/authenticationUploadService.d.ts
43
43
  type AuthenticationUploadResponse = {
44
44
  overallStatus: 'PASS' | 'FAIL';
@@ -1,25 +1,25 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DtcaH34N.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B6oG_vuC.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-D633yGbz.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DRIGL3o_.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-BMZvuxv0.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-XzhL3jrY.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CQsYqM6S.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-vjurLoly.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DrtfRp1Z.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-buCaNcxx.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-DyBXdkFn.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-pNkutndd.esm.js";
13
13
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DEesnLee.esm.js";
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-Dgy3Hi0q.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-BlJTcPKK.esm.js";
16
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-2FoxNacZ.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-f7Y9kUiR.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-DQ_SfoWF.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-qEXTbJmQ.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-K2fns0Ev.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-CG4KreIp.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-CasdX1Ou.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-NLzaP12q.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-DhPMKYxo.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CykSLyn3.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-SsncUMZ7.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BBvsIuTk.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-B_03mKyi.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CPBZnFYj.esm.js";
25
25
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CzLZNgdh.esm.js";
@@ -28,9 +28,9 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
28
28
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-D_2k-6Vv.esm.js";
29
29
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Bgo6eqri.esm.js";
30
30
  import { n as createSignatureManagerFromActor } from "./signatureManager-DoACIR02.esm.js";
31
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-AmYuocQ3.esm.js";
32
- import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-Dheo7fh_.esm.js";
31
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DI8eqB0U.esm.js";
32
+ import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-DnVUyppQ.esm.js";
33
33
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DdlrWSSB.esm.js";
34
34
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-DEVhhdf4.esm.js";
35
- import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-DEgB0YYR.esm.js";
35
+ import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-CP5XlFP0.esm.js";
36
36
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -6,11 +6,11 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
6
6
  import "./index-B8weJxmL.js";
7
7
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
8
8
  import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-pUEkdk4X.js";
9
- import { i as FlowModuleConfig } from "./types-DNNUCM_n.js";
9
+ import { i as FlowModuleConfig } from "./types-BqezaTnP.js";
10
10
  import "./IWasmUtilCapability-5-Pncgma.js";
11
11
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
12
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-CaqgEfzk.js";
13
- import { t as AuthenticationConfig } from "./types-Dm7dzIXw.js";
12
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-KeV54Tt6.js";
13
+ import { t as AuthenticationConfig } from "./types-DQpi7nkW.js";
14
14
  import { t as FaceDetectionProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
15
15
  import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dr7sNZ5r.js";
16
16
  //#region src/modules/authentication/authenticationStateMachine.d.ts
@@ -1,10 +1,10 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-DYiyoSlx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-XzhL3jrY.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-vjurLoly.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BPUkbztJ.esm.js";
7
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Dgtg_4Lv.esm.js";
8
8
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
9
9
  function getPermissionStatus(snapshot) {
10
10
  if (!snapshot.matches("permissions")) return;
@@ -1,14 +1,14 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as sendTo, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BPUkbztJ.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BYl2hbuy.esm.js";
4
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BEaYEAQR.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BEgOUwwQ.esm.js";
9
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DJNYwEOq.esm.js";
10
10
  import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-DxbuJNac.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-BRONjqTm.esm.js";
12
12
  //#region src/internal/avatar/concealment.ts
13
13
  /**
14
14
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -1,5 +1,5 @@
1
1
  import { a as __toESM } from "./rolldown-runtime-FZ4Itg2g.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-_0-FMgKd.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CtvWM_fR.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-CkGxQul1.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-C1AcD5rd.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 };
@@ -1,2 +1,2 @@
1
- import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-DEgB0YYR.esm.js";
1
+ import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-CP5XlFP0.esm.js";
2
2
  export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
@@ -5,7 +5,7 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
5
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
8
- import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
8
+ import { n as getBackCameraStream } from "./backCameraStream-DtkmDQo7.esm.js";
9
9
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
10
10
  import { BrowserQRCodeReader } from "@zxing/browser";
11
11
  //#region src/modules/fiscal-qr/fiscalQrConstants.ts
@@ -1,2 +1,2 @@
1
- import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-LHJIYIKJ.js";
1
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-LA6R9BLR.js";
2
2
  export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
package/dist/flow.d.ts CHANGED
@@ -4,17 +4,17 @@ import "./StateMachine-EDpYWy0i.js";
4
4
  import { t as Manager } from "./Manager-CQQ99QOI.js";
5
5
  import { a as ElectronicSignatureConfig } from "./types-DVmXIdzW.js";
6
6
  import { t as EkycConfig } from "./types-Bk_6dmDa.js";
7
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DNNUCM_n.js";
8
- import { t as AuthenticationConfig } from "./types-Dm7dzIXw.js";
7
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BqezaTnP.js";
8
+ import { t as AuthenticationConfig } from "./types-DQpi7nkW.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-DelMqZLe.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
- import { c as IdCaptureConfig } from "./types-XXfuK9d8.js";
13
- import { r as MandatoryConsentConfig } from "./types-DqtyPNWa.js";
12
+ import { c as IdCaptureConfig } from "./types-isCyg__O.js";
13
+ import { r as MandatoryConsentConfig } from "./types-D10PIjOT.js";
14
14
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
16
16
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
17
- import { o as FlowEventSubscribable } from "./index-LHJIYIKJ.js";
17
+ import { o as FlowEventSubscribable } from "./index-LA6R9BLR.js";
18
18
  import { n as ModuleRegistry } from "./types-BfgmV7s7.js";
19
19
  //#region src/modules/flow/flowUtils.d.ts
20
20
  type NormalizeFlowModulesOptions = {
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-DYiyoSlx.esm.js";
2
- import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-C_Z7Pjvd.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-Dhk1DZqo.esm.js";
3
3
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-YG3VycUU.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CkKzUrQR.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-oTn3ibc4.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D3A5YiBu.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-jP0cswDJ.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-CmLuTu8c.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}` : ""}`;