@incodetech/core 2.4.0 → 2.4.1-agentic

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 (228) hide show
  1. package/dist/{FaceDetectionProvider-DcPOC2gS.esm.js → FaceDetectionProvider-B83VmClw.esm.js} +29 -64
  2. package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
  3. package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
  4. package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-Cqiaxydi.d.ts} +31 -4
  5. package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
  6. package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-C3xNfOsv.d.ts} +12 -3
  7. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-GTkoJyFY.esm.js} +75 -22
  8. package/dist/{addressSearch-DPjIKJrX.esm.js → addressSearch-41sMcnJk.esm.js} +72 -31
  9. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-k-U-cL5m.esm.js} +1 -2
  10. package/dist/ae-signature.esm.js +1 -1
  11. package/dist/antifraud.esm.js +2 -2
  12. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-CQ08atTC.esm.js} +2 -2
  13. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-BcsUTTIr.esm.js} +1 -1
  14. package/dist/{api-Cz90EHyu.esm.js → api-BO8JA7Pf.esm.js} +6 -5
  15. package/dist/{apiError-DPwFas2f.esm.js → apiError-CfuIvnUy.esm.js} +1 -1
  16. package/dist/attemptCarry-BjTJ6bMQ.esm.js +45 -0
  17. package/dist/authentication.d.ts +3 -3
  18. package/dist/authentication.esm.js +2 -2
  19. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-C-cOki0Y.d.ts} +1 -1
  20. package/dist/{authenticationManager-2Lr5V_7p.esm.js → authenticationManager-DvmklBTE.esm.js} +5 -5
  21. package/dist/{authenticationStateMachine-C99B0GFP.esm.js → authenticationStateMachine-BL2ptOA0.esm.js} +3 -3
  22. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-C5_NNfUN.esm.js} +3 -43
  23. package/dist/{browser-DlFgHpoC-DnyrCR8r.esm.js → browser-pQZA35G2-DtkAf6sn.esm.js} +161 -150
  24. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  25. package/dist/camera.esm.js +1 -1
  26. package/dist/certificate-issuance.esm.js +2 -2
  27. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-CM0fuqDC.esm.js} +2 -2
  28. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-kksIUOPD.esm.js} +2 -2
  29. package/dist/cnpj-Co1ottYN.esm.js +77 -0
  30. package/dist/connectivity-HSl0diCx.esm.js +133 -0
  31. package/dist/consent.d.ts +1 -1
  32. package/dist/consent.esm.js +2 -2
  33. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-CBwFozhv.esm.js} +4 -3
  34. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-_q9yJUku.d.ts} +14 -7
  35. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-CpmRAcr2.esm.js} +20 -7
  36. package/dist/cross-document-data-match.esm.js +1 -1
  37. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-64O8t10a.esm.js} +2 -2
  38. package/dist/curp-validation.d.ts +1 -1
  39. package/dist/curp-validation.esm.js +2 -2
  40. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-CLgJQcx0.esm.js} +3 -2
  41. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-CXpFE-Mv.d.ts} +1 -1
  42. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-Bx9YhVkJ.esm.js} +28 -20
  43. package/dist/custom-fields.esm.js +1 -1
  44. package/dist/custom-watchlist.esm.js +2 -2
  45. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-DWt_0YtJ.esm.js} +2 -2
  46. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-D8o-2Nej.esm.js} +2 -2
  47. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-Sbi6DIcK.esm.js} +1 -1
  48. package/dist/{deepsightLoader-DeNvGU3c.esm.js → deepsightLoader-DMxtowCm.esm.js} +6 -28
  49. package/dist/{deepsightService-CKTYDIXD.esm.js → deepsightService-twg3bXqY.esm.js} +20 -59
  50. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-kHY2IDJi.esm.js} +177 -40
  51. package/dist/device.esm.js +2 -2
  52. package/dist/document-capture.d.ts +2 -2
  53. package/dist/document-capture.esm.js +2 -2
  54. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-6tnnDkMX.d.ts} +14 -2
  55. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-CMSC_Mhd.esm.js} +26 -19
  56. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-BCwD5Rto.esm.js} +43 -35
  57. package/dist/dynamic-forms.d.ts +2 -2
  58. package/dist/dynamic-forms.esm.js +2 -2
  59. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
  60. package/dist/{dynamicFormsManager-DiKYjcF3.esm.js → dynamicFormsManager-DU6W1e20.esm.js} +2 -2
  61. package/dist/{dynamicFormsStateMachine-DEI45xYW.esm.js → dynamicFormsStateMachine-C8Z7k3vo.esm.js} +2 -2
  62. package/dist/ekyb.d.ts +4 -4
  63. package/dist/ekyb.esm.js +3 -3
  64. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-TB6ZG5lX.d.ts} +2 -2
  65. package/dist/{ekybManager-8WLkNcqg.esm.js → ekybManager-TGfqyjuu.esm.js} +2 -2
  66. package/dist/{ekybStateMachine-BLRT45Ex.esm.js → ekybStateMachine-DBgFuEPK.esm.js} +26 -44
  67. package/dist/ekyc.d.ts +3 -3
  68. package/dist/ekyc.esm.js +3 -3
  69. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-BSQteIfC.d.ts} +1 -1
  70. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-C2cgG2Pl.esm.js} +2 -2
  71. package/dist/ekycStateMachine-CuNF7z4O.esm.js +7505 -0
  72. package/dist/ekycUtils-BFncpC4F.esm.js +1401 -0
  73. package/dist/electronic-signature.esm.js +1 -1
  74. package/dist/{electronicSignatureManager-CcIMOb_Y.esm.js → electronicSignatureManager-C7pqXsRm.esm.js} +4 -4
  75. package/dist/email.esm.js +2 -2
  76. package/dist/{emailManager-ButFktRm.esm.js → emailManager-FH_CP0cT.esm.js} +2 -2
  77. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-Cx-uTaBV.esm.js} +32 -20
  78. package/dist/{events-Du2A4-Qr.esm.js → events-CQteqXfy.esm.js} +2 -2
  79. package/dist/events.esm.js +1 -1
  80. package/dist/extensibility.d.ts +34 -20
  81. package/dist/extensibility.esm.js +34 -34
  82. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  83. package/dist/face-match.d.ts +1 -1
  84. package/dist/face-match.esm.js +2 -2
  85. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-C-xKdj-d.d.ts} +71 -66
  86. package/dist/{faceCaptureManagerFactory-BlGvXzXA.esm.js → faceCaptureManagerFactory-CBm05KnT.esm.js} +4 -4
  87. package/dist/{faceCaptureSetup-TY8RXc2N.esm.js → faceCaptureSetup-BQjCbL51.esm.js} +82 -64
  88. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-B2zp7yP4.esm.js} +2 -2
  89. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
  90. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-ByTMQCUC.esm.js} +40 -27
  91. package/dist/{feature-management-B5rR10uS.esm.js → feature-management-DjAG5lsJ.esm.js} +1 -1
  92. package/dist/feature-management.esm.js +1 -1
  93. package/dist/field-comparison.esm.js +1 -1
  94. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-CC0vKmpf.esm.js} +2 -2
  95. package/dist/fiscal-qr.esm.js +1 -1
  96. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-Be-r4oZj.esm.js} +4 -4
  97. package/dist/flow-events.d.ts +1 -1
  98. package/dist/flow.d.ts +10 -10
  99. package/dist/flow.esm.js +8 -11
  100. package/dist/{flowCompletionService-BDI5QpfR.esm.js → flowCompletionService-ChMU2v79.esm.js} +2 -2
  101. package/dist/{flowServices-roD0oIQL.esm.js → flowServices-g2tVWsJl.esm.js} +8 -50
  102. package/dist/geolocation.d.ts +1 -1
  103. package/dist/geolocation.esm.js +2 -2
  104. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-6e1i9UIR.d.ts} +15 -17
  105. package/dist/{geolocationManager-DnONzWL5.esm.js → geolocationManager-DLbvZwUB.esm.js} +6 -8
  106. package/dist/{geolocationStateMachine-eWy_G4Os.esm.js → geolocationStateMachine-CAJVongM.esm.js} +12 -8
  107. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  108. package/dist/government-validation.esm.js +2 -2
  109. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-CkX9TEkh.esm.js} +2 -2
  110. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-PTPCP26N.esm.js} +1 -1
  111. package/dist/home.d.ts +1 -1
  112. package/dist/home.esm.js +1 -1
  113. package/dist/http.esm.js +1 -1
  114. package/dist/id-ocr.esm.js +2 -2
  115. package/dist/id-selfie-flow.d.ts +1 -1
  116. package/dist/id-selfie-flow.esm.js +9 -9
  117. package/dist/id-verification.esm.js +2 -2
  118. package/dist/id.d.ts +3 -16
  119. package/dist/id.esm.js +3 -3
  120. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-MSQoqScU.esm.js} +3 -3
  121. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-DzTfQ1Am.d.ts} +66 -5
  122. package/dist/{idCaptureManager-BrfYjCm_.esm.js → idCaptureManager-zZdTcpG1.esm.js} +63 -17
  123. package/dist/{idCaptureServices-BSj6EH2l.esm.js → idCaptureServices-8OHinO0N.esm.js} +9 -9
  124. package/dist/{idCaptureStateMachine-dXKBYHQp.esm.js → idCaptureStateMachine-B3G6XoDG.esm.js} +914 -536
  125. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-B64-fjWg.esm.js} +2 -2
  126. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-B1aZnobs.esm.js} +2 -2
  127. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-_Kebv-Ue.esm.js} +2 -2
  128. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DQn6c84z.esm.js} +1 -1
  129. package/dist/identity-reuse.esm.js +2 -2
  130. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-DDXkNVZi.esm.js} +2 -2
  131. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-Bcnkbjf8.esm.js} +1 -1
  132. package/dist/{index-BKOWUhxG.d.ts → index-DEfwds5y.d.ts} +55 -8
  133. package/dist/{index-CKQ9QBZP.d.ts → index-DMDAk85K.d.ts} +1 -1
  134. package/dist/index.d.ts +1 -1
  135. package/dist/index.esm.js +1 -1
  136. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-CXIBwBeE.esm.js} +1 -1
  137. package/dist/mandatory-consent.d.ts +2 -2
  138. package/dist/mandatory-consent.esm.js +2 -2
  139. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-43W5d_8G.esm.js} +4 -3
  140. package/dist/{mandatoryConsentManager-BQ43yndC.d.ts → mandatoryConsentManager-xx3mY-xw.d.ts} +11 -4
  141. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-CVlgdlnt.esm.js} +20 -7
  142. package/dist/{multipartRecordingService-CLwrF5wD.esm.js → multipartRecordingService-DMBxHKS2.esm.js} +3 -13
  143. package/dist/nationalIds-B91f_RuB.esm.js +99 -0
  144. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-B3OPL8Si.esm.js} +1 -1
  145. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-DnBAN_hW.esm.js} +4 -4
  146. package/dist/phone-number.d.ts +7 -1
  147. package/dist/phone-number.esm.js +15 -2
  148. package/dist/phone.d.ts +1 -1
  149. package/dist/phone.esm.js +2 -2
  150. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-6nrJkvkG.d.ts} +5 -0
  151. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-C6jut_pz.esm.js} +3 -3
  152. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-T1-drWfG.esm.js} +37 -25
  153. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  154. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  155. package/dist/processFaceMatch-BWme3kVV.esm.js +21 -0
  156. package/dist/qe-signature.esm.js +1 -1
  157. package/dist/redirect-to-mobile.d.ts +2 -2
  158. package/dist/redirect-to-mobile.esm.js +2 -2
  159. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-BJXC6Kx9.esm.js} +4 -3
  160. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
  161. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-BBMAc2Gb.esm.js} +27 -6
  162. package/dist/{runChildModule-BF_atgNx.esm.js → runChildModule-DPHTqSdF.esm.js} +3 -3
  163. package/dist/{sdkVersion-CsIbltJF.esm.js → sdkVersion-C3_P-Qbq.esm.js} +1 -1
  164. package/dist/selfie.d.ts +4 -4
  165. package/dist/selfie.esm.js +10 -10
  166. package/dist/{selfieErrorUtils-BY0-YbPW.esm.js → selfieErrorUtils-BL0BLMnp.esm.js} +1 -1
  167. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-BMmpUii2.d.ts} +1 -1
  168. package/dist/{selfieManager-vAAwzsHk.esm.js → selfieManager-Cbliomv7.esm.js} +5 -5
  169. package/dist/{selfieStateMachine-BFVp3ElQ.esm.js → selfieStateMachine-B5m_Kn0O.esm.js} +3 -3
  170. package/dist/{session-CpwfoVdH.esm.js → session-DAaAewMX.esm.js} +77 -9
  171. package/dist/session.d.ts +96 -10
  172. package/dist/session.esm.js +7 -6
  173. package/dist/{sessionInitializer-BTjYgE-V.esm.js → sessionInitializer-CWFT4dfw.esm.js} +402 -202
  174. package/dist/{setup-BInNAvQw.esm.js → setup-CDAKwTr7.esm.js} +32 -19
  175. package/dist/{setup-YPKTUCY5.d.ts → setup-D9qt8YVU.d.ts} +2 -2
  176. package/dist/signature.esm.js +2 -2
  177. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-BeEVCcsC.esm.js} +2 -2
  178. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-_1c1vSid.esm.js} +1 -1
  179. package/dist/{stats-BEvexnKC.esm.js → stats-BpMz-hTP.esm.js} +1 -1
  180. package/dist/stats.esm.js +1 -1
  181. package/dist/{tri-xzRLIIMN.esm.js → tri-BajQnjbf.esm.js} +142 -8
  182. package/dist/tri.d.ts +1 -1
  183. package/dist/tri.esm-CzTNi5Q_.esm.js +3826 -0
  184. package/dist/tri.esm.js +1 -1
  185. package/dist/{trueSightService-BMT-TubT.esm.js → trueSightService-BujtUIW6.esm.js} +19 -10
  186. package/dist/trust-graph.esm.js +1 -1
  187. package/dist/{types-yPH8lAH-.d.ts → types--3HDl2SF.d.ts} +2 -2
  188. package/dist/types-B2FK_wYb.d.ts +249 -0
  189. package/dist/types-B9C8W01q.d.ts +34 -0
  190. package/dist/{types-0L-eFDmr.d.ts → types-C397LhmN.d.ts} +1 -1
  191. package/dist/types-D9r3zRfY.d.ts +6 -0
  192. package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
  193. package/dist/{types-B6HsSzpk.d.ts → types-DuD8TRJU.d.ts} +3 -2
  194. package/dist/{types-Ckir_BEs.d.ts → types-PTZHRhGX.d.ts} +1 -1
  195. package/dist/{types-DUnFZ08M.d.ts → types-ZTZelfbM.d.ts} +2 -2
  196. package/dist/{types-CK8Jbjkp.d.ts → types-e8fCsvvk.d.ts} +1 -1
  197. package/dist/{types-BAxn7MpY.d.ts → types-xEEWCx1j.d.ts} +123 -48
  198. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  199. package/dist/video-selfie.d.ts +8 -8
  200. package/dist/video-selfie.esm.js +95 -22
  201. package/dist/{videoSelfieCameraWarmer-D1xA0u8y.esm.js → videoSelfieCameraWarmer-DjkPpoj_.esm.js} +18 -21
  202. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-RfSmlFFW.d.ts} +9 -4
  203. package/dist/{warmup-BElYWRh7.esm.js → warmup-BkfxQZsC.esm.js} +175 -11
  204. package/dist/wasm.d.ts +2 -2
  205. package/dist/wasm.esm.js +3 -3
  206. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-BhU5H2oR.esm.js} +1 -1
  207. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  208. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-DTj9auyA.esm.js} +43 -17
  209. package/dist/watchlist-for-business.d.ts +2 -1
  210. package/dist/watchlist-for-business.esm.js +2 -2
  211. package/dist/watchlist.esm.js +2 -2
  212. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-CVay6-9A.esm.js} +37 -7
  213. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
  214. package/dist/watchlistForBusinessStateMachine-DA6K5na4.esm.js +166 -0
  215. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-B8gQ_rw3.esm.js} +2 -2
  216. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-CSi_ZhtT.esm.js} +1 -1
  217. package/dist/workflow.d.ts +5 -2
  218. package/dist/workflow.esm.js +57 -47
  219. package/package.json +2 -1
  220. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  221. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  222. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  223. package/dist/thumbmark.esm-CRc0cYvz.esm.js +0 -1242
  224. package/dist/tri.esm-BIjHhBJ2.esm.js +0 -2620
  225. package/dist/types-BvLo3U4u.d.ts +0 -134
  226. package/dist/types-zOgZqMni.d.ts +0 -6
  227. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  228. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
@@ -1,10 +1,11 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BO8JA7Pf.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 { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
5
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Ca-tSNhT.esm.js";
6
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-gcy3U0SL.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
4
+ import { a as stopCameraStream } from "./camera-E_Kcre4O.esm.js";
5
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DnBAN_hW.esm.js";
6
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-B3OPL8Si.esm.js";
7
+ import { t as carryAttempts } from "./attemptCarry-BjTJ6bMQ.esm.js";
8
+ import { t as getBackCameraStream } from "./backCameraStream-C5_NNfUN.esm.js";
8
9
  //#region src/modules/document-capture/types.ts
9
10
  const PROCESSING_TYPE_MAP = {
10
11
  processV5CLogbook: "v5cMultiPageLogbook",
@@ -193,6 +194,7 @@ const documentCaptureMachine = setup({
193
194
  })
194
195
  },
195
196
  guards: {
197
+ isOutOfAttempts: ({ context }) => context.attemptsRemaining <= 0 && context.attemptsRemaining < context.config.captureAttempts,
196
198
  allowSkip: ({ context }) => context.config.allowSkipDocumentCapture && context.pageNumber === 1,
197
199
  fileSizeOk: ({ context, event }) => {
198
200
  return event.file.size <= context.config.maxFileSize;
@@ -222,7 +224,7 @@ const documentCaptureMachine = setup({
222
224
  id: "documentCapture",
223
225
  initial: "tutorial",
224
226
  on: { CLOSE: ".closed" },
225
- context: ({ input }) => {
227
+ context: ({ input, self }) => {
226
228
  const { processingType = "addressStatement", captureMode, allowSkipDocumentCapture, disableSkipPoa, captureAttempts = 3, sendBase64 = false, maxFileSize = DEFAULT_MAX_FILE_SIZE, onlyPdf = false, title, text, step2Title, step2Text } = input.config;
227
229
  return {
228
230
  config: {
@@ -247,42 +249,48 @@ const documentCaptureMachine = setup({
247
249
  helpOpen: false,
248
250
  progress: 0,
249
251
  error: void 0,
250
- attemptsRemaining: captureAttempts,
252
+ attemptsRemaining: carryAttempts("documentCapture", self, (s) => ({ attemptsRemaining: s.context.attemptsRemaining })).attemptsRemaining ?? captureAttempts,
251
253
  pageNumber: 1,
252
254
  nextPageType: "none"
253
255
  };
254
256
  },
255
257
  states: {
256
- tutorial: { on: {
257
- OPEN_METHOD_SELECTION: { actions: "openMethodSelection" },
258
- CLOSE_METHOD_SELECTION: { actions: ["closeMethodSelection", "clearCaptureMethod"] },
259
- SELECT_UPLOAD_METHOD: { actions: "setCaptureMethodFile" },
260
- DESELECT_UPLOAD_METHOD: { actions: "clearCaptureMethod" },
261
- CAPTURE: [{
262
- target: "permissions",
263
- guard: "allowsCameraCapture",
264
- actions: ["closeMethodSelection", "clearCaptureMethod"]
265
- }, {
266
- target: "capturing",
267
- actions: ["closeMethodSelection", "clearCaptureMethod"]
268
- }],
269
- FILE_SELECTED: [{
270
- target: "preview",
271
- guard: "fileSizeOk",
272
- actions: [
273
- "setCapturedDocument",
274
- "setCaptureMethodFile",
275
- "closeMethodSelection"
276
- ]
277
- }, {
278
- target: "tutorial",
279
- actions: ["setFileTooLargeError", "closeMethodSelection"]
280
- }],
281
- SKIP: {
258
+ tutorial: {
259
+ always: {
282
260
  target: "finished",
283
- guard: "allowSkip"
261
+ guard: "isOutOfAttempts"
262
+ },
263
+ on: {
264
+ OPEN_METHOD_SELECTION: { actions: "openMethodSelection" },
265
+ CLOSE_METHOD_SELECTION: { actions: ["closeMethodSelection", "clearCaptureMethod"] },
266
+ SELECT_UPLOAD_METHOD: { actions: "setCaptureMethodFile" },
267
+ DESELECT_UPLOAD_METHOD: { actions: "clearCaptureMethod" },
268
+ CAPTURE: [{
269
+ target: "permissions",
270
+ guard: "allowsCameraCapture",
271
+ actions: ["closeMethodSelection", "clearCaptureMethod"]
272
+ }, {
273
+ target: "capturing",
274
+ actions: ["closeMethodSelection", "clearCaptureMethod"]
275
+ }],
276
+ FILE_SELECTED: [{
277
+ target: "preview",
278
+ guard: "fileSizeOk",
279
+ actions: [
280
+ "setCapturedDocument",
281
+ "setCaptureMethodFile",
282
+ "closeMethodSelection"
283
+ ]
284
+ }, {
285
+ target: "tutorial",
286
+ actions: ["setFileTooLargeError", "closeMethodSelection"]
287
+ }],
288
+ SKIP: {
289
+ target: "finished",
290
+ guard: "allowSkip"
291
+ }
284
292
  }
285
- } },
293
+ },
286
294
  permissions: {
287
295
  initial: "idle",
288
296
  states: {
@@ -1,3 +1,3 @@
1
- import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
2
- import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-C0dHs1ty.js";
1
+ import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
2
+ import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
3
3
  export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DEI45xYW.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DiKYjcF3.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C8Z7k3vo.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DU6W1e20.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -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 Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
4
+ import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
6
6
  /** Map of `questionId` → currently-displayed i18n error key. */
7
7
  type DynamicFormsValidationErrors = Partial<Record<string, string>>;
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.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-DEI45xYW.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C8Z7k3vo.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-Cz90EHyu.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DPwFas2f.esm.js";
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-CfuIvnUy.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 { c as AddressSuggestion } from "./types-BvLo3U4u.js";
3
- import { i as FlowModuleConfig } from "./types-B6HsSzpk.js";
4
- import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-0L-eFDmr.js";
5
- import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BaZ_7CEu.js";
2
+ import { u as AddressSuggestion } from "./types-B2FK_wYb.js";
3
+ import { i as FlowModuleConfig } from "./types-DuD8TRJU.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";
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
- import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-roD0oIQL.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-BLRT45Ex.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-8WLkNcqg.esm.js";
1
+ import { E as isSupportedCountry, b as ALL_COUNTRIES, v as toEkybConfig, w as SUPPORTED_COUNTRIES, x as DEV_ONLY_COUNTRIES } from "./flowServices-g2tVWsJl.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-DBgFuEPK.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-TGfqyjuu.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 { c as AddressSuggestion } from "./types-BvLo3U4u.js";
5
- import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-0L-eFDmr.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";
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-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.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-BLRT45Ex.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-DBgFuEPK.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,34 +1,10 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
2
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-roD0oIQL.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
2
+ import { C as FIELD_ORDER, E as isSupportedCountry, S as FIELD_NAME_MAPPING, T as UBO_FIELD_LABELS, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, y as ADDRESS_FIELDS } from "./flowServices-g2tVWsJl.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
- import { a as FIXED_DIGIT_POSTAL_CODE_LENGTH, c as getPostalCodeMaxLength, d as STREET_LEVEL_REQUIRED_ERROR, f as fillFromSuggestion, i as checkSupport, l as validatePostalCode, m as usStateOptions, n as resolveForm, o as formatPostalCode, p as getStreetLevelErrorForSuggestion, r as createBundledDefinitionSource, s as getPostalCodeErrorKey, t as debounceSearchActor, u as DYNAMIC_REQUIRED_KEY } from "./addressSearch-DPjIKJrX.esm.js";
5
+ 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 { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
6
7
  //#region src/modules/ekyb/ekybValidators.ts
7
- function cleanCnpjString(cnpj) {
8
- return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
9
- }
10
- function calculateVerificationDigit(cnpjString, factors) {
11
- let digit = 11 - factors.reduce((acc, factor, index) => acc + Number.parseInt(cnpjString.charAt(index), 10) * factor, 0) % 11;
12
- if (digit >= 10) digit = 0;
13
- return digit.toString();
14
- }
15
- /**
16
- * Validates a Brazilian CNPJ number (14-digit checksum).
17
- * Accepts formatted (00.000.000/0000-00) or unformatted input.
18
- */
19
- function validateCNPJ(cnpjInput) {
20
- if (!cnpjInput || typeof cnpjInput !== "string") return false;
21
- let cnpj = cnpjInput.trim();
22
- if (cnpj.length === 18) cnpj = cleanCnpjString(cnpj);
23
- if (cnpj.length !== 14) return false;
24
- if (!/^\d+$/.test(cnpj)) return false;
25
- if (INVALID_CNPJ_PATTERNS.includes(cnpj)) return false;
26
- const first = calculateVerificationDigit(cnpj, CNPJ_FIRST_DIGIT_FACTORS);
27
- if (cnpj.charAt(12) !== first) return false;
28
- const second = calculateVerificationDigit(cnpj, CNPJ_SECOND_DIGIT_FACTORS);
29
- if (cnpj.charAt(13) !== second) return false;
30
- return true;
31
- }
32
8
  const buildPostalCodeParams = (country) => {
33
9
  const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
34
10
  if (fixedLen !== void 0) return { length: fixedLen };
@@ -169,10 +145,6 @@ function validateEkybUboField(ubos, fieldKey) {
169
145
  params: { fieldName: UBO_FIELD_LABELS[field] }
170
146
  };
171
147
  }
172
- /** Returns true when CNPJ validation applies for the given country. */
173
- function requiresCnpjValidation(country) {
174
- return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
175
- }
176
148
  //#endregion
177
149
  //#region ../form-definitions/generated/ekyb.ts
178
150
  const EKYB_DEFINITIONS = {
@@ -331,7 +303,8 @@ const EKYB_DEFINITIONS = {
331
303
  * verification fields from module configuration, and projects the result to
332
304
  * today's public `EkybFieldDef[]` shape. A country without a projectable
333
305
  * definition, or a custom field list that can't be expressed as groups, keeps
334
- * the current builder.
306
+ * the current builder, and so does every country while the form definitions
307
+ * rollout is off.
335
308
  */
336
309
  /** eKYB group id → the verification-field entries that turn it on. */
337
310
  const EKYB_GROUP_ENTRIES = {
@@ -366,7 +339,8 @@ const EKYB_SUPPORTED_IDS = {
366
339
  transforms: /* @__PURE__ */ new Set(),
367
340
  groupRules: /* @__PURE__ */ new Set(),
368
341
  optionLists: new Set(Object.keys(OPTION_LISTS)),
369
- conditions: /* @__PURE__ */ new Set()
342
+ conditions: /* @__PURE__ */ new Set(),
343
+ prefillSources: /* @__PURE__ */ new Set()
370
344
  };
371
345
  /** Today's UBO actions use a fixed limit and a single collection. */
372
346
  const UBO_COLLECTION = "ubos";
@@ -434,8 +408,12 @@ function toEkybResolveContext(config, verificationFields) {
434
408
  return { groups };
435
409
  }
436
410
  const bundled = createBundledDefinitionSource(EKYB_DEFINITIONS);
437
- /** The resolved definition for this country and configuration, if one applies. */
438
- function selectEkybForm(config, verificationFields, country) {
411
+ /**
412
+ * The resolved definition for this country and configuration, if one applies
413
+ * and the rollout is on. Every country has a builder today, so none is exempt.
414
+ */
415
+ function selectEkybForm(config, verificationFields, country, useDefinitions = isFormDefinitionsEnabled()) {
416
+ if (!useDefinitions) return void 0;
439
417
  const context = toEkybResolveContext(config, verificationFields);
440
418
  if (!context) return void 0;
441
419
  const definition = bundled.select({
@@ -492,10 +470,11 @@ function buildEkybValidationRules(fieldName, required, country) {
492
470
  * Fields and beneficial-owner state for a country. A country with a form
493
471
  * definition (`packages/form-definitions/catalog/ekyb`) reads it; any other
494
472
  * country, or a custom field list that isn't whole groups, keeps the current
495
- * builder and its UBO rule.
473
+ * builder and its UBO rule. `useDefinitions` is the rollout answer the
474
+ * machine read once, when it was created (`selectEkybForm`).
496
475
  */
497
- function buildEkybForm(config, verificationFields, country) {
498
- const form = selectEkybForm(config, verificationFields, country);
476
+ function buildEkybForm(config, verificationFields, country, useDefinitions) {
477
+ const form = selectEkybForm(config, verificationFields, country, useDefinitions);
499
478
  if (form) return {
500
479
  fields: projectEkybFields(form, country),
501
480
  hasUbos: hasUboCollection(form)
@@ -625,7 +604,7 @@ const ekybMachine = setup({
625
604
  debounceSearch: debounceSearchActor
626
605
  },
627
606
  actions: {
628
- applyFetchedConfig: assign(({ event }) => {
607
+ applyFetchedConfig: assign(({ context, event }) => {
629
608
  const fetched = event.output;
630
609
  const config = {
631
610
  checkBusinessName: fetched.checkBusinessName,
@@ -634,7 +613,7 @@ const ekybMachine = setup({
634
613
  checkUniqueBeneficialOwner: fetched.checkUniqueBeneficialOwner
635
614
  };
636
615
  const country = "US";
637
- const { fields, hasUbos } = buildEkybForm(config, getDefaultVerificationFields(config), country);
616
+ const { fields, hasUbos } = buildEkybForm(config, getDefaultVerificationFields(config), country, context._formDefinitions);
638
617
  return {
639
618
  config,
640
619
  country,
@@ -657,7 +636,7 @@ const ekybMachine = setup({
657
636
  setCountry: assign(({ context, event }) => {
658
637
  const { country } = event;
659
638
  const vFields = getDefaultVerificationFields(context.config);
660
- const { fields, hasUbos } = buildEkybForm(context.config, vFields, country);
639
+ const { fields, hasUbos } = buildEkybForm(context.config, vFields, country, context._formDefinitions);
661
640
  let nextId = context._nextUboId;
662
641
  let ubos;
663
642
  if (hasUbos) if (context.ubos.length > 0) ubos = context.ubos;
@@ -810,7 +789,9 @@ const ekybMachine = setup({
810
789
  context: ({ input }) => {
811
790
  const config = toEkybConfig(input.config);
812
791
  const country = "US";
813
- const { fields, hasUbos } = buildEkybForm(config, getDefaultVerificationFields(config), country);
792
+ const vFields = getDefaultVerificationFields(config);
793
+ const formDefinitions = isFormDefinitionsEnabled();
794
+ const { fields, hasUbos } = buildEkybForm(config, vFields, country, formDefinitions);
814
795
  return {
815
796
  config,
816
797
  country,
@@ -828,7 +809,8 @@ const ekybMachine = setup({
828
809
  errorMessage: "",
829
810
  addressSuggestions: [],
830
811
  _nextUboId: 2,
831
- _searchQuery: ""
812
+ _searchQuery: "",
813
+ _formDefinitions: formDefinitions
832
814
  };
833
815
  },
834
816
  states: {
package/dist/ekyc.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, o as EkycValidationErrors, t as EkycConfig } from "./types-BvLo3U4u.js";
2
- import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-DW-ynodd.js";
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";
3
3
  //#region src/modules/ekyc/ekycUtils.d.ts
4
4
  /**
5
5
  * Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
@@ -18,4 +18,4 @@ import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycMana
18
18
  */
19
19
  declare function toEkycConfig(config: Partial<EkycModuleConfig> & Partial<EkycConfig>): EkycConfig;
20
20
  //#endregion
21
- export { type AddressSuggestion, type EkycConfig, type EkycManager, type EkycModuleConfig, type EkycState, type EkycValidationError, type EkycValidationErrors, createEkycManager, ekycMachine, toEkycConfig };
21
+ export { type AddressSuggestion, type EkycConfig, type EkycDisplayModes, type EkycFieldDisplayMode, type EkycManager, type EkycModuleConfig, type EkycState, type EkycValidationError, type EkycValidationErrors, createEkycManager, ekycMachine, toEkycConfig };
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as toEkycConfig } from "./ekycUtils-zY8CdKJL.esm.js";
2
- import { t as ekycMachine } from "./ekycStateMachine-CDnI_NRq.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-BO-Lui3t.esm.js";
1
+ import { c as toEkycConfig } from "./ekycUtils-BFncpC4F.esm.js";
2
+ import { t as ekycMachine } from "./ekycStateMachine-CuNF7z4O.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-C2cgG2Pl.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -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 { c as AddressSuggestion, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-BvLo3U4u.js";
4
+ import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig, u as AddressSuggestion } from "./types-B2FK_wYb.js";
5
5
  //#region src/modules/ekyc/ekycStateMachine.d.ts
6
6
  declare const ekycMachine: any;
7
7
  type EkycMachine = typeof ekycMachine;
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.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-CDnI_NRq.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-CuNF7z4O.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.