@incodetech/core 0.0.0-dev-20261104-4dbc3ea3 → 0.0.0-dev-20261104-49452fc0

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 (189) hide show
  1. package/dist/{FaceDetectionProvider-Clp2STaL.esm.js → FaceDetectionProvider-YEIZbGDi.esm.js} +9 -9
  2. package/dist/{WasmUtilProvider-DZOGC2HE.esm.js → WasmUtilProvider-BP6-08Yn.esm.js} +2 -2
  3. package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/antifraud.esm.js +2 -2
  6. package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
  7. package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
  8. package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
  9. package/dist/{apiError-BYiBD0Ua.esm.js → apiError-b2fuT-IQ.esm.js} +1 -1
  10. package/dist/{attemptCarry-C8NbkPlt.esm.js → attemptCarry-WOkfvFMw.esm.js} +1 -1
  11. package/dist/authentication.d.ts +3 -3
  12. package/dist/authentication.esm.js +2 -2
  13. package/dist/{authenticationManager--l6e_7Pr.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
  14. package/dist/{authenticationManager-D3MYWvA6.esm.js → authenticationManager-x8mqpHOE.esm.js} +5 -5
  15. package/dist/{authenticationStateMachine-BCTipd5K.esm.js → authenticationStateMachine-C5Jln1aT.esm.js} +3 -3
  16. package/dist/camera.d.ts +2 -2
  17. package/dist/camera.esm.js +1 -1
  18. package/dist/certificate-issuance.esm.js +2 -2
  19. package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
  20. package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
  21. package/dist/consent.d.ts +1 -1
  22. package/dist/consent.esm.js +2 -2
  23. package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
  24. package/dist/{consentManager-D8rgr5Dv.d.ts → consentManager-ybzeu6sI.d.ts} +5 -5
  25. package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
  26. package/dist/cross-document-data-match.esm.js +1 -1
  27. package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
  28. package/dist/curp-validation.d.ts +1 -1
  29. package/dist/curp-validation.esm.js +2 -2
  30. package/dist/{curpValidationManager-C7t3QLf-.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
  31. package/dist/{curpValidationManager-B9LuZ0tj.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
  32. package/dist/{curpValidationStateMachine-DAFndzpo.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
  33. package/dist/custom-fields.esm.js +1 -1
  34. package/dist/custom-watchlist.esm.js +2 -2
  35. package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
  36. package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
  37. package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
  38. package/dist/{deepsightLoader-AYvov0JE.esm.js → deepsightLoader-DEaTmOtV.esm.js} +5 -5
  39. package/dist/{desktopCameraElection-CzF8HsJn.esm.js → desktopCameraElection-CvVbR9-p.esm.js} +4 -4
  40. package/dist/document-capture.esm.js +2 -2
  41. package/dist/{documentCaptureManager-BfXguEU3.esm.js → documentCaptureManager-CNF5LNmp.esm.js} +2 -2
  42. package/dist/{documentCaptureStateMachine-DJPyCwQu.esm.js → documentCaptureStateMachine-p8yovofp.esm.js} +4 -4
  43. package/dist/dynamic-forms.esm.js +2 -2
  44. package/dist/{dynamicFormsManager-Dt8hp7Xd.esm.js → dynamicFormsManager-f8riHilf.esm.js} +2 -2
  45. package/dist/{dynamicFormsStateMachine-DLAvflmE.esm.js → dynamicFormsStateMachine-Dt4_Fsxk.esm.js} +2 -2
  46. package/dist/ekyb.d.ts +4 -4
  47. package/dist/ekyb.esm.js +2 -2
  48. package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  49. package/dist/{ekybManager-D2iEUBPj.esm.js → ekybManager-BwBdOOMz.esm.js} +2 -2
  50. package/dist/{ekybStateMachine-PH1hy6T0.esm.js → ekybStateMachine-Cr_wkUnH.esm.js} +4 -3
  51. package/dist/ekyc.d.ts +3 -2
  52. package/dist/ekyc.esm.js +3 -3
  53. package/dist/{ekycManager-Be6T7RJs.esm.js → ekycManager-CoWoHxtL.esm.js} +2 -2
  54. package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
  55. package/dist/{ekycStateMachine-DZbKVMgq.esm.js → ekycStateMachine-DOWVsq7o.esm.js} +5 -67
  56. package/dist/{ekycUtils-ChD5TcJH.esm.js → ekycUtils-as4sEjNz.esm.js} +59 -8
  57. package/dist/electronic-signature.esm.js +1 -1
  58. package/dist/{electronicSignatureManager-DDL-ylsJ.esm.js → electronicSignatureManager-DRPy_cGL.esm.js} +3 -3
  59. package/dist/email.esm.js +2 -2
  60. package/dist/{emailManager-CDhBis0c.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
  61. package/dist/{emailStateMachine-D6WedIVj.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
  62. package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
  63. package/dist/events.esm.js +1 -1
  64. package/dist/extensibility.d.ts +15 -14
  65. package/dist/extensibility.esm.js +36 -35
  66. package/dist/face-match.esm.js +2 -2
  67. package/dist/{faceCaptureManagerFactory-tFqvK5KO.esm.js → faceCaptureManagerFactory-Bl3wOB84.esm.js} +4 -4
  68. package/dist/{faceCaptureManagerFactory-BQtDMMuq.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
  69. package/dist/{faceCaptureSetup-B8W4cid6.esm.js → faceCaptureSetup-zI6zgq4z.esm.js} +11 -11
  70. package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
  71. package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
  72. package/dist/{feature-management-C5QYxdqM.esm.js → feature-management-DQFwX8Hl.esm.js} +1 -1
  73. package/dist/feature-management.esm.js +1 -1
  74. package/dist/field-comparison.esm.js +1 -1
  75. package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
  76. package/dist/fiscal-qr.esm.js +1 -1
  77. package/dist/{fiscalQrManager-Bj2YnPFD.esm.js → fiscalQrManager-BZeklojR.esm.js} +2 -2
  78. package/dist/flow-events.d.ts +1 -1
  79. package/dist/flow.d.ts +7 -7
  80. package/dist/flow.esm.js +4 -4
  81. package/dist/{flowCompletionService-CHf7rcBO.esm.js → flowCompletionService-DHFje7x-.esm.js} +2 -2
  82. package/dist/{flowServices-BWnaP5s0.esm.js → flowServices-Cb0iHJVG.esm.js} +8 -8
  83. package/dist/geolocation.esm.js +2 -2
  84. package/dist/{geolocationManager-CbRv_K1Y.esm.js → geolocationManager-Cw8v5-5V.esm.js} +2 -2
  85. package/dist/{geolocationStateMachine-BdDTTyAI.esm.js → geolocationStateMachine-ma-iPEHx.esm.js} +3 -3
  86. package/dist/government-validation.esm.js +2 -2
  87. package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
  88. package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
  89. package/dist/home.d.ts +1 -1
  90. package/dist/home.esm.js +1 -1
  91. package/dist/http.esm.js +1 -1
  92. package/dist/id-ocr.d.ts +1 -1
  93. package/dist/id-ocr.esm.js +2 -2
  94. package/dist/id-selfie-flow.d.ts +1 -1
  95. package/dist/id-selfie-flow.esm.js +8 -8
  96. package/dist/id-verification.esm.js +2 -2
  97. package/dist/id.d.ts +2 -2
  98. package/dist/id.esm.js +3 -3
  99. package/dist/{idCaptureDefaults-BOIM1God.esm.js → idCaptureDefaults-CnAGmc1o.esm.js} +3 -3
  100. package/dist/{idCaptureManager-BwnhLz9C.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +2 -2
  101. package/dist/{idCaptureManager-CWlC3EJz.esm.js → idCaptureManager-DSTzKvSp.esm.js} +8 -8
  102. package/dist/{idCaptureServices-D9d-qtrS.esm.js → idCaptureServices-DrnyYM5Z.esm.js} +5 -5
  103. package/dist/{idCaptureStateMachine-zmw_aQU4.esm.js → idCaptureStateMachine-Cx8jXNgx.esm.js} +17 -17
  104. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  105. package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
  106. package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
  107. package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
  108. package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
  109. package/dist/identity-reuse.d.ts +1 -1
  110. package/dist/identity-reuse.esm.js +2 -2
  111. package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
  112. package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
  113. package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
  114. package/dist/{index-D2xVKjpi.d.ts → index-DC0P2Vzw.d.ts} +1 -1
  115. package/dist/index.esm.js +1 -1
  116. package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
  117. package/dist/kyb-checks.d.ts +3 -0
  118. package/dist/kyb-checks.esm.js +3 -0
  119. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  120. package/dist/kybChecksManager-DswTVAz4.esm.js +89 -0
  121. package/dist/kybChecksStateMachine-DI_5RyBk.esm.js +718 -0
  122. package/dist/mandatory-consent.d.ts +2 -2
  123. package/dist/mandatory-consent.esm.js +2 -2
  124. package/dist/{mandatoryConsentManager-BeVif8kS.d.ts → mandatoryConsentManager-6e3_CcJt.d.ts} +6 -6
  125. package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
  126. package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
  127. package/dist/{multipartRecordingService-Cp2NhhmP.esm.js → multipartRecordingService-BTqkHGG9.esm.js} +1 -1
  128. package/dist/{permissionGuards-Dck-ZReK.esm.js → permissionGuards-s7Qm6q8W.esm.js} +1 -1
  129. package/dist/{permissionServices-CJSZshmj.esm.js → permissionServices-RawRSsLZ.esm.js} +8 -6
  130. package/dist/phone.esm.js +2 -2
  131. package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
  132. package/dist/{phoneManager-DLFQqWDV.esm.js → phoneManager-Dy5tODCU.esm.js} +2 -2
  133. package/dist/{phoneServices-Cn4uBGpN.esm.js → phoneServices-DJgyOzU2.esm.js} +1 -1
  134. package/dist/{phoneStateMachine-BLFIfxPy.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +19 -9
  135. package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
  136. package/dist/qe-signature.esm.js +1 -1
  137. package/dist/{recordingService-zbt2C0w0.esm.js → recordingService-CTko6Cjn.esm.js} +2 -2
  138. package/dist/redirect-to-mobile.esm.js +2 -2
  139. package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
  140. package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
  141. package/dist/resolveForm-O7-r79VA.esm.js +351 -0
  142. package/dist/{runChildModule-DqeR4WUi.esm.js → runChildModule-qXpd7G2p.esm.js} +2 -2
  143. package/dist/{sdkVersion-DvR2zcLB.esm.js → sdkVersion-WYkWwTmz.esm.js} +1 -1
  144. package/dist/selfie.d.ts +3 -3
  145. package/dist/selfie.esm.js +10 -10
  146. package/dist/{selfieErrorUtils-DfQnVgaQ.esm.js → selfieErrorUtils-f3lQlFEy.esm.js} +1 -1
  147. package/dist/{selfieManager-BDStgLz_.esm.js → selfieManager-B8swkeIe.esm.js} +5 -5
  148. package/dist/{selfieManager-DMFBTmjl.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
  149. package/dist/{selfieStateMachine-Bkwmpva6.esm.js → selfieStateMachine-CGMAbg6e.esm.js} +3 -3
  150. package/dist/{session-D8sTB7-6.esm.js → session-sPZ3TAsp.esm.js} +4 -4
  151. package/dist/session.d.ts +1 -1
  152. package/dist/session.esm.js +5 -5
  153. package/dist/{sessionInitializer-CdOpCvp3.esm.js → sessionInitializer-C2NbBy_s.esm.js} +13 -10
  154. package/dist/{setup-Cj8cl6ne.esm.js → setup-C86PfxZS.esm.js} +25 -22
  155. package/dist/signature.esm.js +2 -2
  156. package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
  157. package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
  158. package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
  159. package/dist/stats.esm.js +1 -1
  160. package/dist/textRules-D4NRinKY.d.ts +41 -0
  161. package/dist/{trueSightService-h_nIpoO_.esm.js → trueSightService-JP7_wQle.esm.js} +4 -4
  162. package/dist/trust-graph.esm.js +1 -1
  163. package/dist/{types-CfGxl1G0.d.ts → types-BEVHQbbC.d.ts} +1 -1
  164. package/dist/{types-XwxtmhWC.d.ts → types-BPm1JSu7.d.ts} +1 -1
  165. package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
  166. package/dist/{types-DPc-3Uo6.d.ts → types-CRaFu6wS.d.ts} +3 -1
  167. package/dist/types-CTaL0XJz.d.ts +80 -0
  168. package/dist/{types-bn0ZpYF1.d.ts → types-Cd0J0F9D.d.ts} +1 -1
  169. package/dist/{types-CAawq94W.d.ts → types-Csh8vzPo.d.ts} +1 -1
  170. package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
  171. package/dist/types-J6g6iKe_.d.ts +6 -0
  172. package/dist/video-selfie.d.ts +1 -1
  173. package/dist/video-selfie.esm.js +7 -7
  174. package/dist/{videoSelfieCameraWarmer-DqQPTyle.esm.js → videoSelfieCameraWarmer-gdlCA1VK.esm.js} +6 -6
  175. package/dist/{videoSelfieStepDetector-C8uL2RCz.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
  176. package/dist/{warmup-DPfXWeBq.esm.js → warmup-BUnab2eW.esm.js} +24 -17
  177. package/dist/wasm.esm.js +3 -3
  178. package/dist/{wasmDsFlagSync-Ck2Lt6OY.esm.js → wasmDsFlagSync-DhJXZ9el.esm.js} +1 -1
  179. package/dist/{wasmWebClient-DClKyqNR.esm.js → wasmWebClient-CowdFxEv.esm.js} +12 -9
  180. package/dist/watchlist-for-business.esm.js +2 -2
  181. package/dist/watchlist.esm.js +2 -2
  182. package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
  183. package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
  184. package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
  185. package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
  186. package/dist/workflow.d.ts +1 -1
  187. package/dist/workflow.esm.js +40 -40
  188. package/package.json +6 -1
  189. package/dist/types-BZ_Hjz-X.d.ts +0 -6
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
2
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
@@ -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-B9LuZ0tj.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-z8428oCM.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DAFndzpo.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-C7t3QLf-.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-B3iVsDyt.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DNpC3wyf.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,8 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
5
- import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DAFndzpo.esm.js";
5
+ import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-B3iVsDyt.esm.js";
6
6
  //#region src/modules/curp-validation/curpValidationActor.ts
7
7
  function createCurpValidationActor(options) {
8
8
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { i as FlowModuleConfig } from "./types-DPc-3Uo6.js";
4
+ import { i as FlowModuleConfig } from "./types-CRaFu6wS.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,7 +1,7 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
- import { t as carryAttempts } from "./attemptCarry-C8NbkPlt.esm.js";
4
+ import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
5
5
  import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
6
6
  //#region src/modules/curp-validation/curpValidationUtils.ts
7
7
  /** Convert YYYY-MM-DD to DD/MM/YYYY for the API */
@@ -1,2 +1,2 @@
1
- import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-DWt_0YtJ.esm.js";
1
+ import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-CvI-pDT3.esm.js";
2
2
  export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
@@ -1,3 +1,3 @@
1
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-Sbi6DIcK.esm.js";
2
- import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-D8o-2Nej.esm.js";
1
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CiVD9wyF.esm.js";
2
+ import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-BuHtUb0y.esm.js";
3
3
  export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
2
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-Sbi6DIcK.esm.js";
4
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CiVD9wyF.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
6
  function createCustomWatchlistActor() {
7
7
  return createActor(customWatchlistMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/custom-watchlist/customWatchlistServices.ts
@@ -1,10 +1,10 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-h_nIpoO_.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-DvR2zcLB.esm.js";
4
- import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-CdOpCvp3.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-JP7_wQle.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-WYkWwTmz.esm.js";
4
+ import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-C2NbBy_s.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ck2Lt6OY.esm.js";
7
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DhJXZ9el.esm.js";
8
8
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
9
9
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js";
@@ -1,10 +1,10 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-DPfXWeBq.esm.js";
3
- import { i as utilityWasmApi } from "./WasmUtilProvider-DZOGC2HE.esm.js";
4
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
2
+ import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-BUnab2eW.esm.js";
3
+ import { i as utilityWasmApi } from "./WasmUtilProvider-BP6-08Yn.esm.js";
4
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
6
  import { l as markCameraGrantedInDocument, n as enumerateVideoDevices, o as clearCameraGrantedInDocument, s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
7
- import { l as queryCameraPermission } from "./permissionServices-CJSZshmj.esm.js";
7
+ import { l as queryCameraPermission } from "./permissionServices-RawRSsLZ.esm.js";
8
8
  import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
9
9
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
10
10
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
@@ -1,3 +1,3 @@
1
- import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DJPyCwQu.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-BfXguEU3.esm.js";
1
+ import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-p8yovofp.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-CNF5LNmp.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DJPyCwQu.esm.js";
4
+ import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-p8yovofp.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,10 +1,10 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  import { a as stopCameraStream } from "./camera-E_Kcre4O.esm.js";
5
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CJSZshmj.esm.js";
6
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-Dck-ZReK.esm.js";
7
- import { t as carryAttempts } from "./attemptCarry-C8NbkPlt.esm.js";
5
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-RawRSsLZ.esm.js";
6
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-s7Qm6q8W.esm.js";
7
+ import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DLAvflmE.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Dt8hp7Xd.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dt4_Fsxk.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-f8riHilf.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DLAvflmE.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dt4_Fsxk.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,5 +1,5 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BYiBD0Ua.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-b2fuT-IQ.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import "./Manager-C9T5amUN.js";
2
- import { u as AddressSuggestion } from "./types-B2FK_wYb.js";
3
- import { i as FlowModuleConfig } from "./types-DPc-3Uo6.js";
4
- import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-C397LhmN.js";
5
- import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-TB6ZG5lX.js";
2
+ import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
3
+ import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
4
+ import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BgRHw-dR.js";
5
+ import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BLOkwmWO.js";
6
6
  //#region src/modules/ekyb/ekybServices.d.ts
7
7
  type EkybFlowConfig = FlowModuleConfig['EKYB'];
8
8
  //#endregion
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-PH1hy6T0.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-D2iEUBPj.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Cr_wkUnH.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BwBdOOMz.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,8 +1,8 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { u as AddressSuggestion } from "./types-B2FK_wYb.js";
5
- import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-C397LhmN.js";
4
+ import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
5
+ import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BgRHw-dR.js";
6
6
  //#region src/modules/ekyb/ekybStateMachine.d.ts
7
7
  declare const ekybMachine: any;
8
8
  type EkybMachine = typeof ekybMachine;
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-PH1hy6T0.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Cr_wkUnH.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,10 +1,11 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
2
- import { n as getFlow } from "./flowServices-BWnaP5s0.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
+ import { n as getFlow } from "./flowServices-Cb0iHJVG.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
6
- import { a as createBundledDefinitionSource, c as formatPostalCode, d as validatePostalCode, f as DYNAMIC_REQUIRED_KEY, g as usStateOptions, h as getStreetLevelErrorForSuggestion, i as resolveForm, l as getPostalCodeErrorKey, m as fillFromSuggestion, o as checkSupport, p as STREET_LEVEL_REQUIRED_ERROR, r as isFormDefinitionsEnabled, s as FIXED_DIGIT_POSTAL_CODE_LENGTH, t as debounceSearchActor, u as getPostalCodeMaxLength } from "./addressSearch-41sMcnJk.esm.js";
6
+ import { i as usStateOptions, n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-O7-r79VA.esm.js";
7
7
  import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
8
+ import { a as FIXED_DIGIT_POSTAL_CODE_LENGTH, c as getPostalCodeMaxLength, d as fillFromSuggestion, f as getStreetLevelErrorForSuggestion, i as createBundledDefinitionSource, l as validatePostalCode, o as formatPostalCode, r as isFormDefinitionsEnabled, s as getPostalCodeErrorKey, t as debounceSearchActor, u as STREET_LEVEL_REQUIRED_ERROR } from "./addressSearch-DzbE9Ogt.esm.js";
8
9
  //#region src/modules/ekyb/ekybValidators.ts
9
10
  const buildPostalCodeParams = (country) => {
10
11
  const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
package/dist/ekyc.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig, u as AddressSuggestion } from "./types-B2FK_wYb.js";
2
- import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-BSQteIfC.js";
1
+ import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
2
+ import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig } from "./types-CuMJ2M7D.js";
3
+ import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-DlGIn9wA.js";
3
4
  //#region src/modules/ekyc/ekycUtils.d.ts
4
5
  /**
5
6
  * Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as ekycMachine } from "./ekycStateMachine-DZbKVMgq.esm.js";
2
- import { l as toEkycConfig } from "./ekycUtils-ChD5TcJH.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-Be6T7RJs.esm.js";
1
+ import { t as ekycMachine } from "./ekycStateMachine-DOWVsq7o.esm.js";
2
+ import { l as toEkycConfig } from "./ekycUtils-as4sEjNz.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-CoWoHxtL.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekycMachine } from "./ekycStateMachine-DZbKVMgq.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-DOWVsq7o.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -1,7 +1,8 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig, u as AddressSuggestion } from "./types-B2FK_wYb.js";
4
+ import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
5
+ import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-CuMJ2M7D.js";
5
6
  //#region src/modules/ekyc/ekycStateMachine.d.ts
6
7
  declare const ekycMachine: any;
7
8
  type EkycMachine = typeof ekycMachine;
@@ -1,12 +1,14 @@
1
1
  import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
6
  import { a as isValidRut, i as isValidInDrivingLicenseNumber, n as isValidEsDni, r as isValidFiPersonalIdentityCode, t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
7
- import { _ as usStates, a as createBundledDefinitionSource, c as formatPostalCode, d as validatePostalCode, f as DYNAMIC_REQUIRED_KEY, g as usStateOptions, h as getStreetLevelErrorForSuggestion, i as resolveForm, l as getPostalCodeErrorKey, m as fillFromSuggestion, n as searchAddress, o as checkSupport, p as STREET_LEVEL_REQUIRED_ERROR, r as isFormDefinitionsEnabled, s as FIXED_DIGIT_POSTAL_CODE_LENGTH, t as debounceSearchActor, u as getPostalCodeMaxLength } from "./addressSearch-41sMcnJk.esm.js";
8
- import { C as TAX_ID_SOURCES, S as STREET_SOURCES, _ as MIDDLE_NAME_SOURCES, a as getEKYCFields, b as POSTAL_CODE_SOURCES, c as resolveEkycSource, d as APARTMENT_SOURCES, f as CITY_SOURCES, g as HOUSE_NO_SOURCES, h as EMAIL_SOURCES, i as getEKYCDisplayModes, l as toEkycConfig, m as COUNTRY_SELECTOR_DISABLED_SOURCES, o as isFieldOptional, p as COUNTRY_CODE_OMITTED_SOURCES, r as getEKYCCountry, s as mapToEKYCvalue, t as EKYC_GROUP_KEYS, u as ADDRESS_STATE_SOURCES, v as NAME_SOURCES, w as VOCABULARY, x as STATE_CODE_HINTS, y as ONE_OF_REQUIRED_GROUPS } from "./ekycUtils-ChD5TcJH.esm.js";
7
+ import { a as usStates, i as usStateOptions, n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-O7-r79VA.esm.js";
8
+ import { a as FIXED_DIGIT_POSTAL_CODE_LENGTH, c as getPostalCodeMaxLength, d as fillFromSuggestion, f as getStreetLevelErrorForSuggestion, i as createBundledDefinitionSource, l as validatePostalCode, n as searchAddress, o as formatPostalCode, r as isFormDefinitionsEnabled, s as getPostalCodeErrorKey, t as debounceSearchActor, u as STREET_LEVEL_REQUIRED_ERROR } from "./addressSearch-DzbE9Ogt.esm.js";
9
+ import { C as TAX_ID_SOURCES, S as STREET_SOURCES, _ as MIDDLE_NAME_SOURCES, a as getEKYCFields, b as POSTAL_CODE_SOURCES, c as resolveEkycSource, d as APARTMENT_SOURCES, f as CITY_SOURCES, g as HOUSE_NO_SOURCES, h as EMAIL_SOURCES, i as getEKYCDisplayModes, l as toEkycConfig, m as COUNTRY_SELECTOR_DISABLED_SOURCES, o as isFieldOptional, p as COUNTRY_CODE_OMITTED_SOURCES, r as getEKYCCountry, s as mapToEKYCvalue, t as EKYC_GROUP_KEYS, u as ADDRESS_STATE_SOURCES, v as NAME_SOURCES, w as VOCABULARY, x as STATE_CODE_HINTS, y as ONE_OF_REQUIRED_GROUPS } from "./ekycUtils-as4sEjNz.esm.js";
9
10
  import { n as DateFormattingProvider, t as validateCPF } from "./cpf-uAZTPUBy.esm.js";
11
+ import { a as hasNameCharacters, c as matchesCharTemplate, i as hasDigitCount, n as CHARACTER_CLASSES, o as isInNumericRange, r as hasAllowedCharacters, s as isNotFuture, t as formatPhoneE164 } from "./phoneFormat-JJNaWthV.esm.js";
10
12
  //#region src/internal/forms/resolvePrefill.ts
11
13
  const DISPLAY_MODES = /* @__PURE__ */ new Set([
12
14
  "editable",
@@ -89,67 +91,6 @@ function resolvePrefill(form, context, data, checks) {
89
91
  };
90
92
  }
91
93
  //#endregion
92
- //#region src/shared/validators/textRules.ts
93
- const CHARACTER_CLASSES = [
94
- "letter",
95
- "digit",
96
- "space"
97
- ];
98
- const CLASS_PATTERNS = {
99
- letter: "\\p{L}\\p{M}",
100
- digit: "0-9",
101
- space: " "
102
- };
103
- const escapeForClass = (chars) => chars.replace(/[\\\]^-]/g, "\\$&");
104
- const escapeForPattern = (chars) => chars.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
105
- const NAME_REGEX = /^[\p{L}\p{M} '’-]+$/u;
106
- /** `nameCharacters`: letters from any script, spaces, hyphens and apostrophes. */
107
- function hasNameCharacters(value) {
108
- return NAME_REGEX.test(value);
109
- }
110
- /**
111
- * `notFuture`: an ISO `YYYY-MM-DD` date on or before `today`, also ISO, in
112
- * the user's calendar. A value that isn't an ISO date passes; the date input
113
- * owns that.
114
- */
115
- function isNotFuture(value, today) {
116
- if (!/^\d{4}-\d{2}-\d{2}$/.test(value)) return true;
117
- return value <= today;
118
- }
119
- /** `digitCount`: only the digits 0-9, with a count in `lengths` or between `min` and `max`. */
120
- function hasDigitCount(value, count) {
121
- if (!/^[0-9]+$/.test(value)) return false;
122
- const { length } = value;
123
- if (count.lengths) return count.lengths.includes(length);
124
- return (count.min === void 0 || length >= count.min) && (count.max === void 0 || length <= count.max);
125
- }
126
- /** `allowedCharacters`: only characters from `classes`, plus any in `extra`. */
127
- function hasAllowedCharacters(value, classes, extra = "") {
128
- const set = classes.map((c) => CLASS_PATTERNS[c]).join("");
129
- return new RegExp(`^[${set}${escapeForClass(extra)}]+$`, "u").test(value);
130
- }
131
- /**
132
- * `charTemplate`: the whole value matches one template, where `9` is a digit,
133
- * `A` an uppercase letter A-Z and any other character stands for itself.
134
- * `ignoreCase` also accepts lowercase letters and literals in either case.
135
- */
136
- function matchesCharTemplate(value, templates, ignoreCase = false) {
137
- return templates.some((template) => {
138
- const pattern = [...template].map((char) => {
139
- if (char === "9") return "[0-9]";
140
- if (char === "A") return "[A-Z]";
141
- return escapeForPattern(char);
142
- }).join("");
143
- return new RegExp(`^${pattern}$`, ignoreCase ? "iu" : "u").test(value);
144
- });
145
- }
146
- /** `numericRange`: a whole number from `min` to `max`. */
147
- function isInNumericRange(value, min, max) {
148
- if (!/^-?[0-9]+$/.test(value)) return false;
149
- const number = Number(value);
150
- return number >= min && number <= max;
151
- }
152
- //#endregion
153
94
  //#region src/modules/ekyc/ekycValidators.ts
154
95
  async function loadPhoneValidator() {
155
96
  if (!await loadPhoneValidation()) throw new Error("Failed to load the phone validation rules");
@@ -178,9 +119,6 @@ function isPoBox(address) {
178
119
  function validatePhone(phone, country) {
179
120
  return getPhoneValidation()?.isValid(phone, country) ?? false;
180
121
  }
181
- function formatPhoneE164(phone, country) {
182
- return getPhoneValidation()?.formatE164(phone, country) ?? phone;
183
- }
184
122
  /** The phone's national significant number, or the value as typed. */
185
123
  function formatPhoneNational(phone, country) {
186
124
  return getPhoneValidation()?.nationalNumber(phone, country) ?? phone;
@@ -190,7 +190,7 @@ const EKYC_INDEX = [
190
190
  //#endregion
191
191
  //#region ../form-definitions/generated/vocabulary.ts
192
192
  const VOCABULARY = {
193
- version: "1.2",
193
+ version: "1.3",
194
194
  entries: [
195
195
  {
196
196
  id: "text",
@@ -212,6 +212,11 @@ const VOCABULARY = {
212
212
  type: "kind",
213
213
  since: "1.0"
214
214
  },
215
+ {
216
+ id: "list",
217
+ type: "kind",
218
+ since: "1.3"
219
+ },
215
220
  {
216
221
  id: "masked",
217
222
  type: "widget",
@@ -252,6 +257,11 @@ const VOCABULARY = {
252
257
  type: "keyboard",
253
258
  since: "1.0"
254
259
  },
260
+ {
261
+ id: "url",
262
+ type: "keyboard",
263
+ since: "1.3"
264
+ },
255
265
  {
256
266
  id: "givenName",
257
267
  type: "autofill",
@@ -390,8 +400,10 @@ const VOCABULARY = {
390
400
  message: "verification.errors.invalidCharacters",
391
401
  params: {
392
402
  classes: "string[]",
393
- extra: "string?"
394
- }
403
+ extra: "string?",
404
+ ascii: "boolean?"
405
+ },
406
+ paramsSince: { ascii: "1.3" }
395
407
  },
396
408
  {
397
409
  id: "charTemplate",
@@ -484,6 +496,11 @@ const VOCABULARY = {
484
496
  type: "transform",
485
497
  since: "1.0"
486
498
  },
499
+ {
500
+ id: "trim",
501
+ type: "transform",
502
+ since: "1.3"
503
+ },
487
504
  {
488
505
  id: "nationalNumber",
489
506
  type: "transform",
@@ -698,7 +715,7 @@ const VOCABULARY = {
698
715
  {
699
716
  id: "email",
700
717
  type: "group",
701
- modules: ["ekyc"],
718
+ modules: ["ekyc", "kybChecks"],
702
719
  enabledBy: ["checkEmail", "riskAddon:emailCheck"],
703
720
  sourceKey: "emailSource",
704
721
  displayModeKey: "emailDisplayMode",
@@ -707,7 +724,7 @@ const VOCABULARY = {
707
724
  {
708
725
  id: "phone",
709
726
  type: "group",
710
- modules: ["ekyc"],
727
+ modules: ["ekyc", "kybChecks"],
711
728
  enabledBy: [
712
729
  "checkPhone",
713
730
  "riskAddon:phoneCheck",
@@ -721,7 +738,11 @@ const VOCABULARY = {
721
738
  {
722
739
  id: "address",
723
740
  type: "group",
724
- modules: ["ekyc", "ekyb"],
741
+ modules: [
742
+ "ekyc",
743
+ "ekyb",
744
+ "kybChecks"
745
+ ],
725
746
  enabledBy: ["checkAddress"],
726
747
  sourceKey: "addressSource",
727
748
  displayModeKey: "addressDisplayMode",
@@ -847,14 +868,14 @@ const VOCABULARY = {
847
868
  {
848
869
  id: "businessName",
849
870
  type: "group",
850
- modules: ["ekyb"],
871
+ modules: ["ekyb", "kybChecks"],
851
872
  enabledBy: ["checkBusinessName"],
852
873
  since: "1.0"
853
874
  },
854
875
  {
855
876
  id: "taxId",
856
877
  type: "group",
857
- modules: ["ekyb"],
878
+ modules: ["ekyb", "kybChecks"],
858
879
  enabledBy: ["checkTaxId"],
859
880
  since: "1.0"
860
881
  },
@@ -865,6 +886,36 @@ const VOCABULARY = {
865
886
  enabledBy: ["checkUniqueBeneficialOwner"],
866
887
  since: "1.0"
867
888
  },
889
+ {
890
+ id: "country",
891
+ type: "group",
892
+ modules: ["kybChecks"],
893
+ since: "1.3"
894
+ },
895
+ {
896
+ id: "website",
897
+ type: "group",
898
+ modules: ["kybChecks"],
899
+ since: "1.3"
900
+ },
901
+ {
902
+ id: "alternativeNames",
903
+ type: "group",
904
+ modules: ["kybChecks"],
905
+ since: "1.3"
906
+ },
907
+ {
908
+ id: "personNames",
909
+ type: "group",
910
+ modules: ["kybChecks"],
911
+ since: "1.3"
912
+ },
913
+ {
914
+ id: "other",
915
+ type: "group",
916
+ modules: ["kybChecks"],
917
+ since: "1.3"
918
+ },
868
919
  {
869
920
  id: "editable",
870
921
  type: "displayMode",
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DDL-ylsJ.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DRPy_cGL.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
2
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BYiBD0Ua.esm.js";
4
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-b2fuT-IQ.esm.js";
5
5
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
7
  import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as emailMachine } from "./emailStateMachine-D6WedIVj.esm.js";
2
- import { t as createEmailManager } from "./emailManager-CDhBis0c.esm.js";
1
+ import { t as emailMachine } from "./emailStateMachine-KgHfDNvM.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-CGoE3CUe.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-D6WedIVj.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-KgHfDNvM.esm.js";
4
4
  import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
5
5
  //#region src/modules/email/emailActor.ts
6
6
  function createEmailActor(options) {
@@ -1,8 +1,8 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
- import { t as carryAttempts } from "./attemptCarry-C8NbkPlt.esm.js";
5
+ import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.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) {
@@ -1,5 +1,5 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api } from "./api-BO8JA7Pf.esm.js";
2
+ import { t as api } from "./api-CpP4PS4S.esm.js";
3
3
  //#region src/internal/events/eventBus.ts
4
4
  function createEventBus() {
5
5
  const listeners = [];
@@ -1,2 +1,2 @@
1
- import { C as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, y as addEvent } from "./events-CQteqXfy.esm.js";
1
+ import { C as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, y as addEvent } from "./events-ggpBBaZ8.esm.js";
2
2
  export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };