@incodetech/core 2.2.0-rc.5 → 2.2.0-rc.7

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 (138) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-DVsBW0AN.esm.js → BrowserDiagnosticsCryptoProvider-BJSK21UY.esm.js} +1 -1
  2. package/dist/{IFeatureManagementCapability-DdEUp6tB.d.ts → IFeatureManagementCapability-De8wpbGh.d.ts} +2 -0
  3. package/dist/{addressSearch-DQyrvDQj.esm.js → addressSearch-D1XpBdUS.esm.js} +1 -1
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/antifraud.esm.js +2 -2
  6. package/dist/{antifraudManager-B8Plzf7a.esm.js → antifraudManager-CQFNgSPt.esm.js} +3 -3
  7. package/dist/{antifraudStateMachine-r4VxSBS4.esm.js → antifraudStateMachine-Bf_JVNwn.esm.js} +2 -2
  8. package/dist/{apiError-Dtho9qf_.esm.js → apiError-DLDatBW_.esm.js} +1 -1
  9. package/dist/authentication.esm.js +2 -2
  10. package/dist/{authenticationManager-DXnLy-a7.esm.js → authenticationManager-08-DeHG7.esm.js} +4 -4
  11. package/dist/{authenticationStateMachine-CRJ6ilTX.esm.js → authenticationStateMachine-DXsm3ZJN.esm.js} +4 -4
  12. package/dist/certificate-issuance.esm.js +3 -3
  13. package/dist/{certificateIssuanceStateMachine-COd7_l2T.esm.js → certificateIssuanceStateMachine-D_R92TYu.esm.js} +2 -2
  14. package/dist/consent.d.ts +1 -1
  15. package/dist/consent.esm.js +2 -2
  16. package/dist/{consentManager-BApTlfA0.esm.js → consentManager-BxjpLZAG.esm.js} +3 -3
  17. package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
  18. package/dist/{consentStateMachine-WD-S-Yhs.esm.js → consentStateMachine-D9D4ON8Z.esm.js} +2 -2
  19. package/dist/cross-document-data-match.esm.js +1 -1
  20. package/dist/{crossDocumentDataMatchManager-OmYvyung.esm.js → crossDocumentDataMatchManager-CGT0V6RV.esm.js} +3 -3
  21. package/dist/curp-validation.esm.js +2 -2
  22. package/dist/{curpValidationManager-UZxcrsrz.esm.js → curpValidationManager-6Nmkn5u1.esm.js} +3 -3
  23. package/dist/{curpValidationStateMachine-9KwnqeoB.esm.js → curpValidationStateMachine-Ds7KMacK.esm.js} +2 -2
  24. package/dist/custom-fields.esm.js +3 -3
  25. package/dist/custom-watchlist.esm.js +3 -3
  26. package/dist/{customWatchlistStateMachine-B_ey3TFj.esm.js → customWatchlistStateMachine-YWSgKLbF.esm.js} +2 -2
  27. package/dist/{deepsightLoader-zdZnx5Ny.esm.js → deepsightLoader-BENyeSyy.esm.js} +3 -3
  28. package/dist/document-capture.d.ts +1 -1
  29. package/dist/document-capture.esm.js +2 -2
  30. package/dist/document-upload.esm.js +3 -3
  31. package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-B4Kivr8_.d.ts} +5 -5
  32. package/dist/{documentCaptureManager-DszmcU-l.esm.js → documentCaptureManager-DsQQhWry.esm.js} +3 -3
  33. package/dist/{documentCaptureStateMachine-D2jBwwVb.esm.js → documentCaptureStateMachine-BM4Ex_5x.esm.js} +2 -2
  34. package/dist/dynamic-forms.esm.js +2 -2
  35. package/dist/{dynamicFormsManager-DT3BoUBK.esm.js → dynamicFormsManager-CGIITYpf.esm.js} +3 -3
  36. package/dist/{dynamicFormsStateMachine-vrCtQ3gW.esm.js → dynamicFormsStateMachine-CjT9ACFu.esm.js} +3 -3
  37. package/dist/ekyb.esm.js +3 -3
  38. package/dist/{ekybManager-DmIGaEK6.esm.js → ekybManager-FH5H9w4I.esm.js} +3 -3
  39. package/dist/{ekybStateMachine-32IR4TYs.esm.js → ekybStateMachine-DF4TSEo5.esm.js} +4 -4
  40. package/dist/ekyc.esm.js +2 -2
  41. package/dist/{ekycManager-oTstTJuL.esm.js → ekycManager-DgT48ky6.esm.js} +3 -3
  42. package/dist/{ekycStateMachine-DHvksnrr.esm.js → ekycStateMachine-CQwqiR-R.esm.js} +3 -3
  43. package/dist/electronic-signature.esm.js +1 -1
  44. package/dist/{electronicSignatureManager-BsDoCdF_.esm.js → electronicSignatureManager-BFoQXHgw.esm.js} +4 -4
  45. package/dist/email.esm.js +2 -2
  46. package/dist/{emailManager-tE-YvNtS.esm.js → emailManager-BY0jeYwR.esm.js} +3 -3
  47. package/dist/{emailStateMachine-Bm894MHB.esm.js → emailStateMachine-Crw8QVmc.esm.js} +2 -2
  48. package/dist/{events-CxfNJVZW.esm.js → events-DYiyoSlx.esm.js} +5 -6
  49. package/dist/events.d.ts +11 -9
  50. package/dist/events.esm.js +1 -1
  51. package/dist/extensibility.d.ts +5 -5
  52. package/dist/extensibility.esm.js +28 -28
  53. package/dist/face-match.esm.js +2 -2
  54. package/dist/{faceCaptureManagerFactory-BHCXTj9J.esm.js → faceCaptureManagerFactory-BOXOVkzQ.esm.js} +3 -3
  55. package/dist/{faceCaptureSetup-eqC24yO9.esm.js → faceCaptureSetup-CSRoNVVa.esm.js} +4 -4
  56. package/dist/{faceMatchManager-BXp2WUT-.esm.js → faceMatchManager-Ri4UbNz0.esm.js} +3 -3
  57. package/dist/{faceMatchStateMachine-CJiO2yLO.esm.js → faceMatchStateMachine-20DdZ3jg.esm.js} +2 -2
  58. package/dist/{feature-management-DS_Nj5Gg.esm.js → feature-management-BNQRs-_1.esm.js} +31 -40
  59. package/dist/feature-management.d.ts +41 -33
  60. package/dist/feature-management.esm.js +1 -1
  61. package/dist/field-comparison.esm.js +1 -1
  62. package/dist/{fieldComparisonManager-DhnYdYZ2.esm.js → fieldComparisonManager-Cg6kPQQx.esm.js} +3 -3
  63. package/dist/fiscal-qr.esm.js +3 -3
  64. package/dist/flow.d.ts +1 -1
  65. package/dist/flow.esm.js +6 -6
  66. package/dist/{flowCompletionService-Bg3Wlac8.esm.js → flowCompletionService-BSJ-_sjm.esm.js} +1 -1
  67. package/dist/{flowServices-D4A-aOqa.esm.js → flowServices-yVZNf0k-.esm.js} +4 -4
  68. package/dist/geolocation.esm.js +2 -2
  69. package/dist/{geolocationManager-CtE8v1SL.esm.js → geolocationManager-B3gAX5hk.esm.js} +3 -3
  70. package/dist/{geolocationStateMachine-BeWhwin9.esm.js → geolocationStateMachine-BNfb_jIM.esm.js} +3 -3
  71. package/dist/government-validation.esm.js +3 -3
  72. package/dist/{governmentValidationStateMachine-BYKYUdza.esm.js → governmentValidationStateMachine-CK9DrZXX.esm.js} +2 -2
  73. package/dist/home.esm.js +2 -2
  74. package/dist/id-ocr.esm.js +2 -2
  75. package/dist/id-selfie-flow.esm.js +8 -8
  76. package/dist/id-verification.esm.js +2 -2
  77. package/dist/id.d.ts +2 -2
  78. package/dist/id.esm.js +7 -7
  79. package/dist/{idCaptureManager-BGq73YE-.esm.js → idCaptureManager-Cf6LiYpF.esm.js} +13 -17
  80. package/dist/{idCaptureManager-BjU-Wyow.d.ts → idCaptureManager-CqrqSjJV.d.ts} +20 -10
  81. package/dist/{idCaptureServices-CqquDPJK.esm.js → idCaptureServices-tPKuX2tk.esm.js} +143 -17
  82. package/dist/{idCaptureStateMachine-C77vPrfK.esm.js → idCaptureStateMachine-Bmxbuam2.esm.js} +446 -55
  83. package/dist/{idOcrManager-CvJZhmBR.esm.js → idOcrManager-BIQYQXXj.esm.js} +3 -3
  84. package/dist/{idOcrStateMachine-Bq_e3l4E.esm.js → idOcrStateMachine-cSxzHpHt.esm.js} +2 -2
  85. package/dist/{idVerificationManager-CduNXhWd.esm.js → idVerificationManager-JpV_SAsl.esm.js} +3 -3
  86. package/dist/{idVerificationStateMachine-GEQWUPU2.esm.js → idVerificationStateMachine-nPeUNyFq.esm.js} +2 -2
  87. package/dist/identity-reuse.esm.js +2 -2
  88. package/dist/{identityReuseManager-D5vXknnJ.esm.js → identityReuseManager-kNCg9AbD.esm.js} +3 -3
  89. package/dist/{identityReuseStateMachine-AubRPhIi.esm.js → identityReuseStateMachine-DyulxDjP.esm.js} +2 -2
  90. package/dist/index.d.ts +1 -1
  91. package/dist/index.esm.js +1 -1
  92. package/dist/{invokeOnCaptureCallback-1m1VJ3Q4.esm.js → invokeOnCaptureCallback-GpvMuz9o.esm.js} +1 -1
  93. package/dist/mandatory-consent.d.ts +1 -1
  94. package/dist/mandatory-consent.esm.js +2 -2
  95. package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-B29kR0XA.d.ts} +4 -4
  96. package/dist/{mandatoryConsentManager-BeELm1zS.esm.js → mandatoryConsentManager-B4Niyg_u.esm.js} +3 -3
  97. package/dist/{mandatoryConsentStateMachine-zroQGzwb.esm.js → mandatoryConsentStateMachine-B4-1u-L8.esm.js} +2 -2
  98. package/dist/{onDeviceFaceResults-W-0feT1M.esm.js → onDeviceFaceResults-c2C3f8aJ.esm.js} +3 -3
  99. package/dist/personhood.esm.js +6 -6
  100. package/dist/phone.esm.js +2 -2
  101. package/dist/{phoneManager-Cpiai2IM.esm.js → phoneManager-FsJ0W2Ei.esm.js} +3 -3
  102. package/dist/{phoneStateMachine-E1fUUcNM.esm.js → phoneStateMachine-Ba0wKHyX.esm.js} +2 -2
  103. package/dist/qe-signature.esm.js +1 -1
  104. package/dist/{recordingService-DGUDVjsC.esm.js → recordingService-B4lWwVvx.esm.js} +1 -1
  105. package/dist/redirect-to-mobile.esm.js +2 -2
  106. package/dist/{redirectToMobileManager-C0dfc7f6.esm.js → redirectToMobileManager-y4VQB11M.esm.js} +4 -4
  107. package/dist/{redirectToMobileStateMachine-C9SYCJcH.esm.js → redirectToMobileStateMachine-Cyv2x0PP.esm.js} +2 -2
  108. package/dist/{runChildModule-C8zmFi0v.esm.js → runChildModule-CJmel52G.esm.js} +4 -4
  109. package/dist/sdkVersion-BdayV33Z.esm.js +4 -0
  110. package/dist/selfie.esm.js +8 -8
  111. package/dist/{selfieManager-nF1U2HVv.esm.js → selfieManager-D0n-sWLB.esm.js} +4 -4
  112. package/dist/{selfieStateMachine-WweUsh9j.esm.js → selfieStateMachine-CwVVWkl4.esm.js} +4 -4
  113. package/dist/{session-CSiLRkhY.esm.js → session-ClKGwEr_.esm.js} +4 -4
  114. package/dist/session.esm.js +4 -4
  115. package/dist/{sessionInitializer-Cryl_eFw.esm.js → sessionInitializer-DeBJtwsx.esm.js} +5 -4
  116. package/dist/{setup-DywQeePQ.d.ts → setup-BgoWtvIS.d.ts} +13 -1
  117. package/dist/{setup-Pq3OUa24.esm.js → setup-D__MD20t.esm.js} +7 -6
  118. package/dist/signature.esm.js +2 -2
  119. package/dist/{signatureManager-DdPgcmou.esm.js → signatureManager-Ca43yhwk.esm.js} +3 -3
  120. package/dist/{signatureStateMachine-Cf73DGWO.esm.js → signatureStateMachine-K1LMRrxG.esm.js} +2 -2
  121. package/dist/trueSight-D7taBQCC.esm.js +1 -0
  122. package/dist/{trueSightService-g7xYcH1C.esm.js → trueSightService-dcIpUbq3.esm.js} +4 -6
  123. package/dist/trust-graph.esm.js +2 -2
  124. package/dist/{types-M6eb82ra2.d.ts → types-Bdf8_LYB2.d.ts} +69 -13
  125. package/dist/video-selfie.esm.js +5 -5
  126. package/dist/{videoSelfieCameraWarmer-DvbVY391.esm.js → videoSelfieCameraWarmer-spkca8yr.esm.js} +2 -2
  127. package/dist/wasm.d.ts +1 -1
  128. package/dist/wasm.esm.js +1 -1
  129. package/dist/watchlist-for-business.esm.js +3 -3
  130. package/dist/watchlist.esm.js +2 -2
  131. package/dist/{watchlistForBusinessStateMachine-BcBMkMvV.esm.js → watchlistForBusinessStateMachine-CxFnlshm.esm.js} +2 -2
  132. package/dist/{watchlistManager-CjSMmbyq.esm.js → watchlistManager-LoNZH9qm.esm.js} +3 -3
  133. package/dist/{watchlistStateMachine-Bl7Wy9Cm.esm.js → watchlistStateMachine-DIKQDoUT.esm.js} +2 -2
  134. package/dist/workflow.esm.js +37 -37
  135. package/dist/{xstate-actors.esm-CtI5S0f4.esm.js → xstate-actors.esm-BXeQ-Ucz.esm.js} +1 -1
  136. package/dist/{xstate.esm-Cf4e0Cfd.esm.js → xstate.esm-BuFLFuzz.esm.js} +1 -1
  137. package/package.json +1 -1
  138. package/dist/trueSight-BG20aur1.esm.js +0 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("8UCgebEFs270pm2XV2rgasjLMd/wb8D6VvrP83WaDKI=", "Oo76JJ1vnFQb8J7Yj2UCjpMgdqqsRyG529tb887CBcs=");
21
+ const key = decodeTruesightKey("Z81vFTKkdtv+zt/OzJnJ/CwkXVil6jqK6kIvzmU+xEY=", "gm7HNDmneMKWP/JbLqC3hPuSLzFfbrddNLfcpks4dXc=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1061,6 +1061,8 @@ type FeatureManagementRedactedUserInfo = { [K in keyof Omit<StatsigUser, 'custom
1061
1061
  type FeatureManagementUserUpdate = {
1062
1062
  customIDs?: FeatureManagementCustomIDs;
1063
1063
  custom?: Record<string, unknown>;
1064
+ /** See {@link FeatureManagementConfig.appVersion}. */
1065
+ appVersion?: string;
1064
1066
  };
1065
1067
  type FeatureManagementEventMetadataValue = boolean | number | string | Record<string, boolean | number | string>;
1066
1068
  type FeatureManagementEventMetadata = Record<string, FeatureManagementEventMetadataValue>;
@@ -1,7 +1,7 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
- import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  const usStateOptions = Object.values({
6
6
  AL: {
7
7
  code: "AL",
@@ -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-BsDoCdF_.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BFoQXHgw.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-r4VxSBS4.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-B8Plzf7a.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-Bf_JVNwn.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CQFNgSPt.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-r4VxSBS4.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-Bf_JVNwn.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  //#region src/modules/antifraud/antifraudServices.ts
6
6
  async function processAntifraud(signal) {
7
7
  const res = await api.get(endpoints.processAntifraud, { signal });
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-g7xYcH1C.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-dcIpUbq3.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-CRJ6ilTX.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DXnLy-a7.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DXsm3ZJN.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-08-DeHG7.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
- import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BHCXTj9J.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CRJ6ilTX.esm.js";
3
+ import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
4
+ import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BOXOVkzQ.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DXsm3ZJN.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,10 +1,10 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
- import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-eqC24yO9.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-W-0feT1M.esm.js";
4
+ import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CSRoNVVa.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-c2C3f8aJ.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-COd7_l2T.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
3
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-D_R92TYu.esm.js";
4
4
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
5
5
  /**
6
6
  * Creates and starts a certificate issuance actor.
@@ -1,7 +1,7 @@
1
1
  import { n as getApi, r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
6
6
  //#region src/modules/certificate-issuance/certificateIssuanceServices.ts
7
7
  function buildIssueCertificateUrl(baseURL) {
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-3Pbtj-RV.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-uhDPdU6i.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,3 +1,3 @@
1
- import { t as consentMachine } from "./consentStateMachine-WD-S-Yhs.esm.js";
2
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BApTlfA0.esm.js";
1
+ import { t as consentMachine } from "./consentStateMachine-D9D4ON8Z.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BxjpLZAG.esm.js";
3
3
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as consentMachine } from "./consentStateMachine-WD-S-Yhs.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as consentMachine } from "./consentStateMachine-D9D4ON8Z.esm.js";
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {
7
7
  return createActor(consentMachine, { input: { config: options.config } }).start();
@@ -82,6 +82,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
82
82
  type: "clearError";
83
83
  params: NonReducibleUnknown;
84
84
  };
85
+ resetContext: {
86
+ type: "resetContext";
87
+ params: NonReducibleUnknown;
88
+ };
85
89
  setConsentData: {
86
90
  type: "setConsentData";
87
91
  params: NonReducibleUnknown;
@@ -90,10 +94,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
90
94
  type: "toggleCheckbox";
91
95
  params: NonReducibleUnknown;
92
96
  };
93
- resetContext: {
94
- type: "resetContext";
95
- params: NonReducibleUnknown;
96
- };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  //#region src/modules/consent/consentServices.ts
6
6
  async function fetchCombinedConsent(consentId, language, signal) {
7
7
  if (!consentId) throw new Error("Combined consent id is required");
@@ -1,2 +1,2 @@
1
- import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-OmYvyung.esm.js";
1
+ import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-CGT0V6RV.esm.js";
2
2
  export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
- import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
7
7
  //#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
8
8
  /** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
@@ -1,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-9KwnqeoB.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-UZxcrsrz.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-Ds7KMacK.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-6Nmkn5u1.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as curpValidationMachine } from "./curpValidationStateMachine-9KwnqeoB.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as curpValidationMachine } from "./curpValidationStateMachine-Ds7KMacK.esm.js";
5
5
  //#region src/modules/curp-validation/curpValidationActor.ts
6
6
  function createCurpValidationActor(options) {
7
7
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  //#region src/modules/curp-validation/curpValidationUtils.ts
6
6
  const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
7
7
  function isValidCurp(curp) {
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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 { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
6
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
7
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
8
8
  //#region src/modules/custom-fields/customFieldsServices.ts
9
9
  async function submitCustomFields(params, signal) {
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B_ey3TFj.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-YWSgKLbF.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
6
  function createCustomWatchlistActor() {
7
7
  return createActor(customWatchlistMachine).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistServices.ts
6
6
  async function processWatchlist(signal) {
7
7
  const res = await api.post(endpoints.processWatchlist, {}, { signal });
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-g7xYcH1C.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-Cryl_eFw.esm.js";
5
- import "./trueSight-BG20aur1.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-dcIpUbq3.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DeBJtwsx.esm.js";
5
+ import "./trueSight-D7taBQCC.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-B3t0ydtg.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-B4Kivr8_.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-D2jBwwVb.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DszmcU-l.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-BM4Ex_5x.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DsQQhWry.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
7
7
  import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
8
8
  //#region src/modules/document-upload/documentUploadServices.ts
@@ -98,10 +98,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
98
98
  id: string | undefined;
99
99
  };
100
100
  }>, Values<{
101
- decrementAttemptsRemaining: {
102
- type: "decrementAttemptsRemaining";
103
- params: NonReducibleUnknown;
104
- };
105
101
  setStream: {
106
102
  type: "setStream";
107
103
  params: NonReducibleUnknown;
@@ -118,6 +114,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
118
114
  type: "stopStream";
119
115
  params: NonReducibleUnknown;
120
116
  };
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
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- 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-D2jBwwVb.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-BM4Ex_5x.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();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
6
6
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
7
7
  import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-vrCtQ3gW.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DT3BoUBK.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CjT9ACFu.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-CGIITYpf.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-vrCtQ3gW.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CjT9ACFu.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,8 +1,8 @@
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-Dtho9qf_.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-DLDatBW_.esm.js";
4
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsFields.ts
8
8
  function getEffectiveType(question) {
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-D4A-aOqa.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-32IR4TYs.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DmIGaEK6.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-yVZNf0k-.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-DF4TSEo5.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-FH5H9w4I.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-32IR4TYs.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-DF4TSEo5.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,9 +1,9 @@
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-D4A-aOqa.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
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";
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-yVZNf0k-.esm.js";
4
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
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-D1XpBdUS.esm.js";
7
7
  //#region src/modules/ekyb/ekybValidators.ts
8
8
  function cleanCnpjString(cnpj) {
9
9
  return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
2
- import { t as ekycMachine } from "./ekycStateMachine-DHvksnrr.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-oTstTJuL.esm.js";
2
+ import { t as ekycMachine } from "./ekycStateMachine-CQwqiR-R.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-DgT48ky6.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekycMachine } from "./ekycStateMachine-DHvksnrr.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-CQwqiR-R.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { a as ADDRESS_STATE_SOURCES, c as EMAIL_SOURCES, d as NAME_SOURCES, f as POSTAL_CODE_SOURCES, h as TAX_ID_SOURCES, i as toEkycConfig, l as HOUSE_NO_SOURCES, m as STREET_SOURCES, n as getEKYCFields, o as CITY_SOURCES, p as STATE_CODE_HINTS, r as isFieldOptional, s as COUNTRY_SELECTOR_DISABLED_SOURCES, t as getEKYCCountry, u as MIDDLE_NAME_SOURCES } from "./ekycUtils-Dew1rBG0.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
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";
4
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
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-D1XpBdUS.esm.js";
7
7
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
8
8
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
9
9
  var metadata_min_json_default = {
@@ -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-BsDoCdF_.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-BFoQXHgw.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,10 +1,10 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
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-Dtho9qf_.esm.js";
6
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-DLDatBW_.esm.js";
6
+ import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
7
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
9
9
  //#region src/modules/electronic-signature/electronicSignatureServices.ts
10
10
  async function fetchUnsignedDocuments(signal) {
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as emailMachine } from "./emailStateMachine-Bm894MHB.esm.js";
2
- import { t as createEmailManager } from "./emailManager-tE-YvNtS.esm.js";
1
+ import { t as emailMachine } from "./emailStateMachine-Crw8QVmc.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-BY0jeYwR.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-Bm894MHB.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-Crw8QVmc.esm.js";
4
4
  //#region src/modules/email/emailActor.ts
5
5
  function createEmailActor(options) {
6
6
  return createActor(emailMachine, { input: { config: options.config } }).start();
@@ -1,8 +1,8 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
7
7
  //#region src/modules/email/emailServices.ts
8
8
  function getEmailServerFailureReason(error, invalidStatus) {
@@ -242,13 +242,12 @@ function experimentAssigned(module, payload, screen) {
242
242
  const assignedExperiments = /* @__PURE__ */ new Set();
243
243
  /**
244
244
  * Records an `experimentsAssigned` interview-event, but only the first time
245
- * for a given `payload.flagKey` since the last `resetExperimentAssignments()`
246
- * call. Cleared by `resetExperimentAssignments()` on SDK `reset()` so a new
247
- * session can re-log assignments.
245
+ * for a given `dedupeKey` (pass the experiment's `storeParam`) since the
246
+ * last `resetExperimentAssignments()` call.
248
247
  */
249
- function recordExperimentAssignmentOnce(module, payload, screenName) {
250
- if (assignedExperiments.has(payload.flagKey)) return;
251
- assignedExperiments.add(payload.flagKey);
248
+ function recordExperimentAssignmentOnce(module, dedupeKey, payload, screenName) {
249
+ if (assignedExperiments.has(dedupeKey)) return;
250
+ assignedExperiments.add(dedupeKey);
252
251
  experimentAssigned(module, payload, screenName);
253
252
  }
254
253
  /** Clears the assignment dedup guard. Called from `reset()`. */