@incodetech/core 2.1.0-rc.2 → 2.1.0-rc.3

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 (259) hide show
  1. package/dist/3dAvatarProvider-ChciZmjE.esm.js +28214 -0
  2. package/dist/{BrowserStorageProvider-D5xc7Lqo.esm.js → BrowserStorageProvider-CrrN540a.esm.js} +1 -25
  3. package/dist/BrowserVisibilityObserverProvider-rim9Jrz-.esm.js +25 -0
  4. package/dist/Face2DProvider-BeLlYBbB.esm.js +824 -0
  5. package/dist/FaceDetectionProvider-B78455D4.d.ts +119 -0
  6. package/dist/IVisibilityObserverCapability-BbWjgpiF.d.ts +12 -0
  7. package/dist/IWasmUtilCapability-d2XvzaCk.d.ts +145 -0
  8. package/dist/IpifyProvider-BRW14_uo.esm.js +51 -0
  9. package/dist/{Manager-B2OEDYqf.d.ts → Manager-CJ3G2zqi.d.ts} +1 -4
  10. package/dist/{OpenViduRecordingProvider-DF7A4ZNJ.esm.js → OpenViduRecordingProvider-B_0GKkzc.esm.js} +1 -1
  11. package/dist/PrivacyLensProvider-hDzaDzZ6.esm.js +339 -0
  12. package/dist/StateMachine-C_AY4cs7.d.ts +2 -0
  13. package/dist/{StreamCanvasCapture-Dr5n_iK1.esm.js → StreamCanvasCapture-Bz17q4FP.esm.js} +1 -1
  14. package/dist/StreamCanvasCapture-DS1TOoiH.d.ts +42 -0
  15. package/dist/{WasmUtilProvider-CIu373BZ.esm.js → WasmUtilProvider-ADG54T6M.esm.js} +16 -1
  16. package/dist/{addressSearch-BH96a3fq.esm.js → addressSearch-DJyNTg5S.esm.js} +4 -4
  17. package/dist/{ae-signature-CDEN8y-w.esm.js → ae-signature-DlElqFrZ.esm.js} +1 -1
  18. package/dist/ae-signature.d.ts +4 -3
  19. package/dist/ae-signature.esm.js +10 -9
  20. package/dist/antifraud.d.ts +4 -3
  21. package/dist/antifraud.esm.js +7 -6
  22. package/dist/{antifraudManager-DZifA5zX.esm.js → antifraudManager-BKdQoMFf.esm.js} +4 -3
  23. package/dist/{antifraudManager-B7WQTIdu.d.ts → antifraudManager-DpIvbrZP.d.ts} +2 -2
  24. package/dist/{antifraudStateMachine-DlKrK2hL.esm.js → antifraudStateMachine-C0NGnP9W.esm.js} +3 -3
  25. package/dist/{api-DUZwyz0o.esm.js → api-DsbUi7TO.esm.js} +21 -2
  26. package/dist/authentication.d.ts +19 -12
  27. package/dist/authentication.esm.js +33 -27
  28. package/dist/{authenticationManager-Dve7mGLe.d.ts → authenticationManager-CdPbNS2H.d.ts} +3 -3
  29. package/dist/{authenticationManager-BM4LzyV7.esm.js → authenticationManager-Dtl1vcET.esm.js} +6 -6
  30. package/dist/{authenticationStateMachine-Chx3ySdT.esm.js → authenticationStateMachine-D-hOlg8p.esm.js} +8 -8
  31. package/dist/avatar.d.ts +3 -0
  32. package/dist/avatar.esm.js +3 -0
  33. package/dist/{backCameraStream-iftkf3rd.esm.js → backCameraStream-ZyqrFyjO.esm.js} +3 -3
  34. package/dist/{browser-DlFgHpoC-7tbRR1aR.esm.js → browser-DlFgHpoC-qLKs75Qp.esm.js} +1 -1
  35. package/dist/{browserSimulation-CGjpdNA1.esm.js → browserSimulation-TsSoavQv.esm.js} +153 -1216
  36. package/dist/camera-DUkgmYMo.esm.js +79 -0
  37. package/dist/camera.d.ts +7 -1
  38. package/dist/camera.esm.js +4 -4
  39. package/dist/{StreamCanvasCapture-Ctgyx-oD.d.ts → canvas-CJUmoXSD.d.ts} +1 -41
  40. package/dist/certificate-issuance.d.ts +31 -30
  41. package/dist/certificate-issuance.esm.js +8 -7
  42. package/dist/{certificateIssuanceStateMachine-CLNXtXaC.esm.js → certificateIssuanceStateMachine-C07m7qtP.esm.js} +4 -4
  43. package/dist/clientLifecycle-Ct7h9uxx.esm.js +534 -0
  44. package/dist/consent.d.ts +4 -3
  45. package/dist/consent.esm.js +7 -6
  46. package/dist/{consentManager-psDCeJ0E.esm.js → consentManager-BtnPZUW4.esm.js} +4 -3
  47. package/dist/{consentManager-BqUGU_YD.d.ts → consentManager-DufVo9D9.d.ts} +52 -52
  48. package/dist/{consentStateMachine-DRsFFSHE.esm.js → consentStateMachine-DO2JqoZW.esm.js} +3 -3
  49. package/dist/cpf-ocr.d.ts +4 -3
  50. package/dist/cpf-ocr.esm.js +7 -6
  51. package/dist/{cpfOcrManager-BxcgxvgO.esm.js → cpfOcrManager-C4rLgKsu.esm.js} +6 -5
  52. package/dist/{cpfOcrManager-B2u9hMzd.d.ts → cpfOcrManager-DqZZ94Gt.d.ts} +19 -19
  53. package/dist/createFaceAvatar-B8pFpy6o.d.ts +401 -0
  54. package/dist/createFaceAvatar-BOHDKQRq.esm.js +46 -0
  55. package/dist/cross-document-data-match.d.ts +2 -1
  56. package/dist/cross-document-data-match.esm.js +6 -5
  57. package/dist/curp-validation.d.ts +10 -7
  58. package/dist/curp-validation.esm.js +7 -6
  59. package/dist/{curpValidationManager-BgLDw0Ub.esm.js → curpValidationManager-BafobPXC.esm.js} +4 -3
  60. package/dist/{curpValidationManager-Bt6CVD8b.d.ts → curpValidationManager-Co6LZAHT.d.ts} +3 -3
  61. package/dist/{curpValidationStateMachine-BK_wJ48C.esm.js → curpValidationStateMachine-DXTPK6vI.esm.js} +3 -3
  62. package/dist/custom-fields.d.ts +3 -2
  63. package/dist/custom-fields.esm.js +6 -5
  64. package/dist/custom-watchlist.d.ts +2 -1
  65. package/dist/custom-watchlist.esm.js +6 -5
  66. package/dist/{customWatchlistStateMachine-Bi4P59HM.esm.js → customWatchlistStateMachine-B4G3Chkx.esm.js} +3 -3
  67. package/dist/{deepsightLoader-BMmvk0X6.esm.js → deepsightLoader-DHSVD776.esm.js} +14 -13
  68. package/dist/{deepsightService-CEZrdiW0.esm.js → deepsightService-CDahSjGP.esm.js} +9 -38
  69. package/dist/deepsightService-CMB9XjES.d.ts +69 -0
  70. package/dist/device.d.ts +9 -1
  71. package/dist/device.esm.js +5 -5
  72. package/dist/document-capture.d.ts +175 -174
  73. package/dist/document-capture.esm.js +14 -13
  74. package/dist/document-upload.d.ts +48 -47
  75. package/dist/document-upload.esm.js +9 -8
  76. package/dist/{documentCaptureStateMachine-MpwpJO7t.esm.js → documentCaptureStateMachine-DSOX2epf.esm.js} +7 -7
  77. package/dist/dynamic-forms.d.ts +4 -192
  78. package/dist/dynamic-forms.esm.js +8 -160
  79. package/dist/dynamicFormsManager-BOefZbyF.esm.js +168 -0
  80. package/dist/dynamicFormsManager-CUYLOj9g.d.ts +239 -0
  81. package/dist/{dynamicFormsStateMachine-Do84A4uU.esm.js → dynamicFormsStateMachine-BXHcaocI.esm.js} +4 -4
  82. package/dist/ekyb.d.ts +9 -6
  83. package/dist/ekyb.esm.js +20 -17
  84. package/dist/{ekybStateMachine-nsuPOw3f.esm.js → ekybStateMachine-CCSeqjCt.esm.js} +5 -5
  85. package/dist/ekyc.d.ts +4 -3
  86. package/dist/ekyc.esm.js +9 -8
  87. package/dist/{ekycStateMachine-DcynX0rj.esm.js → ekycStateMachine-DkLVTOyA.esm.js} +5 -5
  88. package/dist/electronic-signature.d.ts +4 -3
  89. package/dist/electronic-signature.esm.js +9 -8
  90. package/dist/{electronicSignatureManager-B63aAuI5.esm.js → electronicSignatureManager-DjzUzqZj.esm.js} +50 -87
  91. package/dist/email.d.ts +5 -4
  92. package/dist/email.esm.js +9 -8
  93. package/dist/{emailManager-DxHjAe5u.esm.js → emailManager-B_XzEsXH.esm.js} +5 -4
  94. package/dist/{emailManager-C6D2u4mQ.d.ts → emailManager-fHASH6uo.d.ts} +3 -3
  95. package/dist/{emailStateMachine-758f34gg.esm.js → emailStateMachine-fqJ42b19.esm.js} +5 -5
  96. package/dist/{endpoints-BM2_j_IE.esm.js → endpoints-BzMJFAPV.esm.js} +13 -0
  97. package/dist/{events-DN-u67gb.esm.js → events-CqGY1yMq.esm.js} +2 -188
  98. package/dist/events.d.ts +2 -0
  99. package/dist/events.esm.js +3 -2
  100. package/dist/extensibility.d.ts +37 -26
  101. package/dist/extensibility.esm.js +74 -59
  102. package/dist/{externalFetch-crimxkN9.esm.js → externalFetch-CyhBfD-n.esm.js} +1 -1
  103. package/dist/face-match.d.ts +2 -2
  104. package/dist/face-match.esm.js +6 -5
  105. package/dist/{faceCaptureManagerFactory-BNXZchWX.esm.js → faceCaptureManagerFactory-2brKTzMb.esm.js} +25 -16
  106. package/dist/faceCaptureManagerFactory-CGKbf7zt.d.ts +400 -0
  107. package/dist/{faceCaptureSetup-Dqb09D24.esm.js → faceCaptureSetup-CDUVU1nl.esm.js} +97 -13
  108. package/dist/{faceMatchStateMachine-FikRaUZH.esm.js → faceMatchStateMachine-DUeUjEPx.esm.js} +3 -3
  109. package/dist/field-comparison.d.ts +4 -3
  110. package/dist/field-comparison.esm.js +6 -5
  111. package/dist/{fieldComparisonManager-Dic0DVgl.esm.js → fieldComparisonManager-B9W0a9A5.esm.js} +5 -4
  112. package/dist/{fieldComparisonManager-BXc6-DJv.d.ts → fieldComparisonManager-DdLqDeB2.d.ts} +2 -2
  113. package/dist/fiscal-qr.d.ts +5 -3
  114. package/dist/fiscal-qr.esm.js +13 -12
  115. package/dist/flow-events.d.ts +8 -6
  116. package/dist/flow.d.ts +21 -13
  117. package/dist/flow.esm.js +28 -19
  118. package/dist/{flowCompletionService-CdGDKv0z.d.ts → flowCompletionService-BIqSTZcd.d.ts} +2 -1
  119. package/dist/{flowCompletionService-D_CsiDZM.esm.js → flowCompletionService-qEqh_g14.esm.js} +3 -3
  120. package/dist/{flowServices-ar5DXv71.esm.js → flowServices-C4piblgx.esm.js} +24 -9
  121. package/dist/geolocation.d.ts +4 -127
  122. package/dist/geolocation.esm.js +8 -115
  123. package/dist/geolocationManager-BP2Do9O-.esm.js +123 -0
  124. package/dist/geolocationManager-Cs50eRlC.d.ts +156 -0
  125. package/dist/{geolocationStateMachine-BWjrMGS_.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +4 -4
  126. package/dist/{getDeviceClass-rXKlXywy.esm.js → getDeviceClass-DGGzzfqm.esm.js} +1 -1
  127. package/dist/getDeviceData-TrKM8NPh.esm.js +101 -0
  128. package/dist/government-validation.d.ts +4 -3
  129. package/dist/government-validation.esm.js +8 -7
  130. package/dist/{governmentValidationStateMachine-BoF7U1of.esm.js → governmentValidationStateMachine-CwoPPO8b.esm.js} +5 -5
  131. package/dist/home.d.ts +18 -15
  132. package/dist/home.esm.js +4 -3
  133. package/dist/http.esm.js +2 -2
  134. package/dist/id-ocr.d.ts +4 -625
  135. package/dist/id-ocr.esm.js +8 -84
  136. package/dist/id-verification.d.ts +28 -27
  137. package/dist/id-verification.esm.js +6 -5
  138. package/dist/id.d.ts +16 -11
  139. package/dist/id.esm.js +39 -32
  140. package/dist/idCaptureDefaults-DNJON8Xo.esm.js +188 -0
  141. package/dist/{idCaptureManager-BvGUSN2e.d.ts → idCaptureManager-BVdvfJys.d.ts} +40 -10
  142. package/dist/{idCaptureManager-Bm6Wm6Qv.esm.js → idCaptureManager-Bo9DCQSU.esm.js} +14 -11
  143. package/dist/{idCaptureStateMachine-D1YhOj6n.esm.js → idCaptureStateMachine-BeDidMLU.esm.js} +395 -382
  144. package/dist/idOcrManager-BkRDrpZu.esm.js +92 -0
  145. package/dist/idOcrManager-CJzrmM91.d.ts +641 -0
  146. package/dist/{idOcrStateMachine-YMCDGplq.esm.js → idOcrStateMachine-DRZc4FBl.esm.js} +5 -5
  147. package/dist/{idVerificationStateMachine-Bo1IYuZH.esm.js → idVerificationStateMachine-oqiERKpg.esm.js} +3 -3
  148. package/dist/identity-reuse.d.ts +4 -3
  149. package/dist/identity-reuse.esm.js +7 -6
  150. package/dist/{identityReuseManager-D0knIrOy.esm.js → identityReuseManager-Bu62LToE.esm.js} +4 -3
  151. package/dist/{identityReuseManager-DcWSvC-A.d.ts → identityReuseManager-TWKbXuvY.d.ts} +33 -33
  152. package/dist/{identityReuseStateMachine-CSQfZOqD.esm.js → identityReuseStateMachine-BmONeF6B.esm.js} +3 -3
  153. package/dist/{index-BgxYUYuD.d.ts → index-DtUlD-bz.d.ts} +2 -2
  154. package/dist/{index-DV134v62.d.ts → index-Icld-cKW.d.ts} +175 -295
  155. package/dist/index.d.ts +3 -3
  156. package/dist/index.esm.js +16 -13
  157. package/dist/{invokeOnCaptureCallback-Dzemudhk.esm.js → invokeOnCaptureCallback-v_PV_IJz.esm.js} +1 -1
  158. package/dist/{lib-7ZQ9BdKH.esm.js → lib-B050WTth.esm.js} +1 -1
  159. package/dist/mandatory-consent.d.ts +10 -7
  160. package/dist/mandatory-consent.esm.js +7 -6
  161. package/dist/{mandatoryConsentManager-Tzl5Qd35.d.ts → mandatoryConsentManager-Bmdjo14S.d.ts} +50 -50
  162. package/dist/{mandatoryConsentManager-Lon46nPQ.esm.js → mandatoryConsentManager-CQ3jirlZ.esm.js} +4 -3
  163. package/dist/{mandatoryConsentStateMachine-D_dZ7IF6.esm.js → mandatoryConsentStateMachine-DkJJLHqC.esm.js} +3 -3
  164. package/dist/mediaRecorderOptions-C3NAkVgK.esm.js +42 -0
  165. package/dist/mediapipeShared-CRAKVElv.esm.js +67 -0
  166. package/dist/{recordingService-CxMJP4tQ.esm.js → onDeviceFaceResults-DVBggeq8.esm.js} +71 -389
  167. package/dist/{openviduLazy-oAXXI9w_.esm.js → openviduLazy-BTOIauGP.esm.js} +2 -2
  168. package/dist/openviduLazy-Dov8oKfL.esm.js +3 -0
  169. package/dist/{permissionGuards-D-Z-lgNj.esm.js → permissionGuards-BR2oN573.esm.js} +1 -1
  170. package/dist/{permissionServices-CPDboRoE.esm.js → permissionServices-BJhGL13R.esm.js} +7 -4
  171. package/dist/personhood.d.ts +534 -0
  172. package/dist/personhood.esm.js +1494 -0
  173. package/dist/phone.d.ts +5 -4
  174. package/dist/phone.esm.js +9 -8
  175. package/dist/{phoneManager-TSq1Ief6.d.ts → phoneManager-BOTcjXgs.d.ts} +3 -3
  176. package/dist/{phoneManager-Blt4Oc2P.esm.js → phoneManager-BWlxqbyD.esm.js} +5 -4
  177. package/dist/{phoneStateMachine-W3c6Z8sj.esm.js → phoneStateMachine-B_V9nODs.esm.js} +5 -5
  178. package/dist/{qe-signature-CQLK6LKE.esm.js → qe-signature-BhFnI9pT.esm.js} +1 -1
  179. package/dist/qe-signature.d.ts +4 -3
  180. package/dist/qe-signature.esm.js +10 -9
  181. package/dist/recordingService-m_1xCthr.esm.js +347 -0
  182. package/dist/redirect-to-mobile.d.ts +4 -3
  183. package/dist/redirect-to-mobile.esm.js +9 -8
  184. package/dist/{redirectToMobileManager-DCvpKdkD.esm.js → redirectToMobileManager-BaAo9rgi.esm.js} +5 -4
  185. package/dist/{redirectToMobileManager-yOHAmwg-.d.ts → redirectToMobileManager-Br0KZK1G.d.ts} +2 -2
  186. package/dist/{redirectToMobileStateMachine-DC9z4Vfu.esm.js → redirectToMobileStateMachine-DoAnf2ql.esm.js} +10 -12
  187. package/dist/{runChildModule-C9G0wfVC.esm.js → runChildModule-0nQfjVVo.esm.js} +3 -3
  188. package/dist/selfie.d.ts +19 -12
  189. package/dist/selfie.esm.js +34 -28
  190. package/dist/{selfieManager-BRL6c_Oc.esm.js → selfieManager-D_ZFERsE.esm.js} +6 -6
  191. package/dist/{selfieManager-imY2dAcH.d.ts → selfieManager-R0Jw5sjb.d.ts} +3 -3
  192. package/dist/{selfieStateMachine-D2Q0uwDK.esm.js → selfieStateMachine-CIgeeiN9.esm.js} +4 -4
  193. package/dist/{session-Be_IA1e0.esm.js → session-9jIfKFCc.esm.js} +3 -3
  194. package/dist/session.d.ts +7 -5
  195. package/dist/session.esm.js +16 -14
  196. package/dist/{sessionInitializer-CaiGA8GP.esm.js → sessionInitializer-C_TYIgyk.esm.js} +11 -107
  197. package/dist/{setup-BJZAkajt.d.ts → setup-CpRnXxn8.d.ts} +16 -3
  198. package/dist/setup-DHc6OaHm.esm.js +562 -0
  199. package/dist/signature.d.ts +3 -2
  200. package/dist/signature.esm.js +6 -5
  201. package/dist/{signatureStateMachine-DAxXmMrk.esm.js → signatureStateMachine-DtoiPzys.esm.js} +3 -3
  202. package/dist/{stats-DntyIiGr.esm.js → stats-CYcScXcO.esm.js} +2 -2
  203. package/dist/stats.esm.js +3 -3
  204. package/dist/thumbmarkAdapter-fHBUDlAP.esm.js +1194 -0
  205. package/dist/{tri-CtxWthxz.esm.js → tri-BG1iJsr4.esm.js} +12 -2
  206. package/dist/tri.d.ts +1 -1
  207. package/dist/{tri.esm-CrWAulDi.esm.js → tri.esm-DUC01NgO.esm.js} +27 -23
  208. package/dist/tri.esm.js +2 -2
  209. package/dist/trust-graph.d.ts +4 -3
  210. package/dist/trust-graph.esm.js +4 -3
  211. package/dist/{types-DpTWgfKY.d.ts → types-BklZ_Wne.d.ts} +1 -1
  212. package/dist/{types-Dv-9WPJX.d.ts → types-BsYXnC5s.d.ts} +39 -3
  213. package/dist/types-CxW2e0Ar.d.ts +132 -0
  214. package/dist/{types-Z9wv19v2.d.ts → types-DgGlgyZT.d.ts} +1 -1
  215. package/dist/types-ElOJAGaM.esm.js +189 -0
  216. package/dist/video-C2WIj6TS.esm.js +36 -0
  217. package/dist/video-selfie.d.ts +351 -0
  218. package/dist/video-selfie.esm.js +1509 -0
  219. package/dist/videoSelfieSteps-7M5vxKn-.esm.js +58 -0
  220. package/dist/{warmup--6HA3yUR.d.ts → warmup-BJZPQIiX.d.ts} +5 -1
  221. package/dist/wasm.d.ts +4 -4
  222. package/dist/wasm.esm.js +17 -14
  223. package/dist/watchlist-for-business.d.ts +2 -1
  224. package/dist/watchlist-for-business.esm.js +6 -5
  225. package/dist/watchlist.d.ts +2 -1
  226. package/dist/watchlist.esm.js +6 -5
  227. package/dist/{watchlistForBusinessStateMachine-DtefJb-D.esm.js → watchlistForBusinessStateMachine-DvEunDxs.esm.js} +3 -3
  228. package/dist/{watchlistStateMachine-B0aIS2_n.esm.js → watchlistStateMachine-AHXVf-TB.esm.js} +3 -3
  229. package/dist/workflow.d.ts +230 -98
  230. package/dist/workflow.esm.js +123 -79
  231. package/dist/{xstate.esm-Dkm1jy5u.esm.js → xstate.esm-Bomq1a0z.esm.js} +41 -1
  232. package/package.json +16 -1
  233. package/dist/IpifyProvider-oZf7Ke1O.esm.js +0 -167
  234. package/dist/camera-x4LjGTjZ.esm.js +0 -22
  235. package/dist/deepsightService-ByNKY5Jv.d.ts +0 -276
  236. package/dist/faceCaptureManagerFactory-CL-7T_vH.d.ts +0 -731
  237. package/dist/getBrowser-Dv8LZyHE.esm.js +0 -8
  238. package/dist/openviduLazy-B_s6jnEk.esm.js +0 -3
  239. package/dist/setup-C7tintPc.esm.js +0 -1064
  240. /package/dist/{Actor-fIPLXfoi.d.ts → Actor-CGEelYtQ.d.ts} +0 -0
  241. /package/dist/{BrowserTimerProvider-BVgutW_b.esm.js → BrowserTimerProvider-CHloo0eQ.esm.js} +0 -0
  242. /package/dist/{ITimerCapability-BvH0pDwp.esm.js → ITimerCapability-pltuG1E8.esm.js} +0 -0
  243. /package/dist/{MotionSensorProvider-C9fPAJdS.esm.js → MotionSensorProvider-DCbId4De.esm.js} +0 -0
  244. /package/dist/{apiError-D-GTvFrH.esm.js → apiError-DNS2OCEX.esm.js} +0 -0
  245. /package/dist/{camera-biGPWlmx.d.ts → camera-CNVUo-bC.d.ts} +0 -0
  246. /package/dist/{canvas-7uX2izHb.esm.js → canvas-_I95hkPg.esm.js} +0 -0
  247. /package/dist/{chunk-BK1xu56N.esm.js → chunk-CIKcdghV.esm.js} +0 -0
  248. /package/dist/{cpf-xBg-DFNn.esm.js → cpf-BKaho0j_.esm.js} +0 -0
  249. /package/dist/{dateUtils-8dCcuArE.esm.js → dateUtils-7-tQYRNN.esm.js} +0 -0
  250. /package/dist/{getDeviceClass-C0zrM97a.esm.js → getDeviceClass-DavNdcxh.esm.js} +0 -0
  251. /package/dist/{http-CfVTgMfU.esm.js → http-BkiUT7EB.esm.js} +0 -0
  252. /package/dist/{index-52_qi4bd.d.ts → index-XTtxaahe.d.ts} +0 -0
  253. /package/dist/{otp-D87RTwrx.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
  254. /package/dist/{otp-BHJnjEEc.d.ts → otp-M4iy57XY.d.ts} +0 -0
  255. /package/dist/{platform-BfoqeM61.esm.js → platform-uIVQUnJP.esm.js} +0 -0
  256. /package/dist/{types-BdVOWGGW.esm.js → types-CMcxlSmH.esm.js} +0 -0
  257. /package/dist/{types-DYZja-k9.d.ts → types-D_IceWxT.d.ts} +0 -0
  258. /package/dist/{types-F0IXbaCB.d.ts → types-Duy2rDxF.d.ts} +0 -0
  259. /package/dist/{urlUtils-8RNHyW3x.esm.js → urlUtils-BZqFU9rR.esm.js} +0 -0
@@ -0,0 +1,168 @@
1
+ import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
2
+ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
3
+ import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BXHcaocI.esm.js";
5
+
6
+ //#region src/modules/dynamic-forms/dynamicFormsActor.ts
7
+ function createDynamicFormsActor(options) {
8
+ return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
9
+ }
10
+
11
+ //#endregion
12
+ //#region src/modules/dynamic-forms/dynamicFormsManager.ts
13
+ /**
14
+ * @module @incodetech/core/dynamic-forms
15
+ *
16
+ * Dynamic Forms module for the Incode Web SDK.
17
+ * Drives multi-screen forms defined by backend configuration.
18
+ *
19
+ * @example Headless usage
20
+ * ```typescript
21
+ * import { createDynamicFormsManager } from '@incodetech/core/dynamic-forms';
22
+ * import { setup } from '@incodetech/core';
23
+ *
24
+ * setup({ apiURL: 'https://api.example.com', token: 'your-token' });
25
+ *
26
+ * const manager = createDynamicFormsManager({
27
+ * config: { flowId: 'flow-123' },
28
+ * });
29
+ *
30
+ * manager.subscribe((state) => {
31
+ * if (state.status === 'inputting') {
32
+ * console.log('Screen:', state.currentScreen.title);
33
+ * }
34
+ * if (state.status === 'finished') {
35
+ * console.log('Result:', state.result); // 'completed' | 'skipped'
36
+ * }
37
+ * });
38
+ *
39
+ * manager.load();
40
+ * manager.stop();
41
+ * ```
42
+ */
43
+ function hasNoErrors(errors) {
44
+ return Object.keys(errors ?? {}).length === 0;
45
+ }
46
+ function hasAnyAnswer(answers) {
47
+ for (const value of Object.values(answers)) if (typeof value === "string" && value.length > 0) return true;
48
+ return false;
49
+ }
50
+ /**
51
+ * Maps a Dynamic Forms state-machine snapshot to the exact Figma
52
+ * "Tracked Events" screen name. Source: Forms and Data entry Figma file
53
+ * (`https://www.figma.com/design/N6otHMuY2Hha5eBqRz0uC3/Forms-and-Data-entry---Latest-Designs?node-id=53-60567`).
54
+ * Family is `forms.*` with a single longform sub-family.
55
+ *
56
+ * `idle`, `loadingScreens`, `submitting`, `misconfigured`, and `closed` are
57
+ * intentionally unmapped — the Figma canvas does not define discrete
58
+ * tracked-event surfaces for them. They fall back to the generic
59
+ * `<module>.<state>` default.
60
+ */
61
+ function getDynamicFormsScreenName(snapshot) {
62
+ const stateName = topLevelStateName(snapshot.value);
63
+ if (stateName === void 0) return void 0;
64
+ switch (stateName) {
65
+ case "inputting": return hasAnyAnswer(snapshot.context.answers) ? "forms.longform.filled" : "forms.longform.default";
66
+ case "success":
67
+ case "finished": return "forms.success";
68
+ default: return;
69
+ }
70
+ }
71
+ function mapState(snapshot) {
72
+ const typedSnapshot = snapshot;
73
+ const { context } = typedSnapshot;
74
+ if (typedSnapshot.matches("idle")) return { status: "idle" };
75
+ if (typedSnapshot.matches("loadingScreens")) return { status: "loadingScreens" };
76
+ if (typedSnapshot.matches("inputting")) return {
77
+ status: "inputting",
78
+ currentScreen: context.screens[context.currentScreenIndex],
79
+ screenIndex: context.currentScreenIndex,
80
+ totalScreens: context.screens.length,
81
+ answers: context.answers,
82
+ answerValidity: context.answerValidity,
83
+ validationErrors: context.validationErrors,
84
+ canSubmit: hasNoErrors(context.validationErrors)
85
+ };
86
+ if (typedSnapshot.matches("submitting")) {
87
+ const currentScreen = context.screens[context.currentScreenIndex];
88
+ return {
89
+ status: "submitting",
90
+ screenIndex: context.currentScreenIndex,
91
+ totalScreens: context.screens.length,
92
+ currentScreen,
93
+ answers: context.answers,
94
+ answerValidity: context.answerValidity,
95
+ validationErrors: context.validationErrors
96
+ };
97
+ }
98
+ if (typedSnapshot.matches("success")) return { status: "success" };
99
+ if (typedSnapshot.matches("finished")) return {
100
+ status: "finished",
101
+ result: context.result
102
+ };
103
+ if (typedSnapshot.matches("misconfigured")) return { status: "misconfigured" };
104
+ if (typedSnapshot.matches("closed")) return { status: "closed" };
105
+ return { status: "idle" };
106
+ }
107
+ function createApi({ actor, trackElementClicked }) {
108
+ return {
109
+ load() {
110
+ actor.send({ type: "LOAD" });
111
+ },
112
+ setAnswer(questionId, value) {
113
+ actor.send({
114
+ type: "ANSWER_CHANGED",
115
+ questionId,
116
+ value
117
+ });
118
+ },
119
+ setAnswerValidity(questionId, isValid) {
120
+ actor.send({
121
+ type: "ANSWER_VALIDITY_CHANGED",
122
+ questionId,
123
+ isValid
124
+ });
125
+ },
126
+ validateField(questionId) {
127
+ actor.send({
128
+ type: "VALIDATE_FIELD",
129
+ questionId
130
+ });
131
+ },
132
+ submit() {
133
+ trackElementClicked?.("submit");
134
+ actor.send({ type: "SUBMIT" });
135
+ },
136
+ close() {
137
+ trackElementClicked?.("close");
138
+ actor.send({ type: "CLOSE" });
139
+ }
140
+ };
141
+ }
142
+ /**
143
+ * Creates a dynamic forms manager for headless or UI-driven usage.
144
+ *
145
+ * @param options - Configuration options
146
+ * @param options.config - Dynamic forms configuration (flowId or pre-loaded screens)
147
+ *
148
+ * @returns Dynamic forms manager with state, API methods, and subscription
149
+ */
150
+ function createDynamicFormsManager(options) {
151
+ return createManager({
152
+ actor: createDynamicFormsActor(options),
153
+ mapState,
154
+ createApi,
155
+ instrumentation: createManagerInstrumentation(eventModuleNames.forms, { getEventScreenName: getDynamicFormsScreenName })
156
+ });
157
+ }
158
+ function createDynamicFormsManagerFromActor(actor) {
159
+ return createManager({
160
+ actor,
161
+ mapState,
162
+ createApi,
163
+ instrumentation: createManagerInstrumentation(eventModuleNames.forms, { getEventScreenName: getDynamicFormsScreenName })
164
+ });
165
+ }
166
+
167
+ //#endregion
168
+ export { createDynamicFormsManagerFromActor as n, createDynamicFormsManager as t };
@@ -0,0 +1,239 @@
1
+ import { t as Manager } from "./Manager-CJ3G2zqi.js";
2
+ import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
3
+
4
+ //#region src/modules/dynamic-forms/types.d.ts
5
+
6
+ /**
7
+ * Input types supported by dynamic form questions.
8
+ * `inputType` on `Question` is optional so unknown future API values degrade
9
+ * gracefully to the text fallback rather than requiring this union to be widened.
10
+ */
11
+ type InputType = 'TEXT' | 'DATE' | 'COUNTRY' | 'NATIONALITY' | 'NUMBER' | 'EMAIL' | 'PHONE' | 'CPF' | 'NAME' | 'YESNO' | 'SELECT' | 'MULTISELECT';
12
+ /**
13
+ * A single question within a dynamic form screen.
14
+ */
15
+ type Question = {
16
+ questionId: string;
17
+ /** Display label shown to the user */
18
+ question: string;
19
+ inputType?: InputType;
20
+ /** Fallback type used when `inputType` is absent */
21
+ overrides?: InputType;
22
+ isPredefined?: boolean;
23
+ isOptional?: boolean;
24
+ options?: string[];
25
+ };
26
+ /**
27
+ * A single screen within the dynamic form flow.
28
+ */
29
+ type Screen = {
30
+ title?: string;
31
+ hideTitle?: boolean;
32
+ questions: Question[];
33
+ };
34
+ /**
35
+ * Configuration for the dynamic forms module.
36
+ * Provide either `screens` (pre-loaded) or `flowId` (fetched from API).
37
+ */
38
+ type DynamicFormsConfig = {
39
+ /** Flow ID used to fetch screens from the API when `screens` is not provided */
40
+ flowId?: string;
41
+ /** Pre-loaded screens — skips the API fetch when provided */
42
+ screens?: Screen[];
43
+ };
44
+ //#endregion
45
+ //#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
46
+ /** Map of `questionId` → currently-displayed i18n error key. */
47
+ type DynamicFormsValidationErrors = Partial<Record<string, string>>;
48
+ //#endregion
49
+ //#region src/modules/dynamic-forms/dynamicFormsStateMachine.d.ts
50
+ /** Whether the form completed normally or was skipped due to a screen-loading failure. */
51
+ type DynamicFormsResult = 'completed' | 'skipped';
52
+ declare const dynamicFormsMachine: any;
53
+ type DynamicFormsMachine = typeof dynamicFormsMachine;
54
+ //#endregion
55
+ //#region src/modules/dynamic-forms/dynamicFormsActor.d.ts
56
+ type CreateDynamicFormsActorOptions = {
57
+ config: DynamicFormsConfig;
58
+ };
59
+ type DynamicFormsActor = ActorRefFrom<DynamicFormsMachine>;
60
+ //#endregion
61
+ //#region src/modules/dynamic-forms/dynamicFormsManager.d.ts
62
+ /** Dynamic forms manager is in initial state, waiting for `load()` */
63
+ type DynamicFormsIdleState = {
64
+ status: 'idle';
65
+ };
66
+ /** Fetching screen configuration from the backend */
67
+ type DynamicFormsLoadingState = {
68
+ status: 'loadingScreens';
69
+ };
70
+ /**
71
+ * Ready for user input on the current screen.
72
+ * @property currentScreen - The screen definition to render
73
+ * @property screenIndex - 0-based index of the current screen
74
+ * @property totalScreens - Total number of screens in the form
75
+ * @property answers - Current answer values keyed by questionId
76
+ * @property answerValidity - Per-question format validity reported via `setAnswerValidity` (phone, email, CPF, etc.)
77
+ * @property validationErrors - Errors currently surfaced to the user, keyed by questionId. Entries appear on blur or submit, clear on type. Render as-is — no further UI-side gating.
78
+ * @property canSubmit - True when no validation errors are currently displayed. Optimistic semantic: enabled on initial empty form; disables only after a submit attempt populates errors.
79
+ */
80
+ type DynamicFormsInputtingState = {
81
+ status: 'inputting';
82
+ currentScreen: Screen;
83
+ screenIndex: number;
84
+ totalScreens: number;
85
+ answers: Record<string, string>;
86
+ answerValidity: Record<string, boolean>;
87
+ validationErrors?: DynamicFormsValidationErrors;
88
+ canSubmit: boolean;
89
+ };
90
+ /**
91
+ * Submitting the current screen's answers to the backend.
92
+ * The screen data is preserved so the UI can keep the form visible (with
93
+ * disabled fields and a button spinner) while the request is in-flight.
94
+ * @property screenIndex - Index of the screen being submitted
95
+ * @property totalScreens - Total number of screens in the form
96
+ * @property currentScreen - The screen whose answers are being submitted
97
+ * @property answers - Frozen answer values at submission time
98
+ * @property answerValidity - Frozen validity flags at submission time
99
+ */
100
+ type DynamicFormsSubmittingState = {
101
+ status: 'submitting';
102
+ screenIndex: number;
103
+ totalScreens: number;
104
+ currentScreen: Screen;
105
+ answers: Record<string, string>;
106
+ answerValidity: Record<string, boolean>;
107
+ validationErrors?: DynamicFormsValidationErrors;
108
+ };
109
+ /**
110
+ * All screens submitted — success screen visible for ~3 s before
111
+ * transitioning to `finished`.
112
+ */
113
+ type DynamicFormsSuccessState = {
114
+ status: 'success';
115
+ };
116
+ /**
117
+ * All screens completed or skipped.
118
+ * @property result - `'completed'` when all screens were submitted successfully;
119
+ * `'skipped'` when screen configuration could not be loaded (fire-and-forget).
120
+ */
121
+ type DynamicFormsFinishedState = {
122
+ status: 'finished';
123
+ result: DynamicFormsResult;
124
+ };
125
+ /**
126
+ * Neither `screens` nor `flowId` was provided — misconfiguration, not a runtime error.
127
+ * Call `close()` to dismiss. Fix the config (provide `screens` or `flowId`) instead.
128
+ */
129
+ type DynamicFormsMisconfiguredState = {
130
+ status: 'misconfigured';
131
+ };
132
+ /** User dismissed the module */
133
+ type DynamicFormsClosedState = {
134
+ status: 'closed';
135
+ };
136
+ /**
137
+ * Union of all possible dynamic forms manager states.
138
+ */
139
+ type DynamicFormsState = DynamicFormsIdleState | DynamicFormsLoadingState | DynamicFormsInputtingState | DynamicFormsSubmittingState | DynamicFormsSuccessState | DynamicFormsFinishedState | DynamicFormsMisconfiguredState | DynamicFormsClosedState;
140
+ /**
141
+ * Creates a dynamic forms manager for headless or UI-driven usage.
142
+ *
143
+ * @param options - Configuration options
144
+ * @param options.config - Dynamic forms configuration (flowId or pre-loaded screens)
145
+ *
146
+ * @returns Dynamic forms manager with state, API methods, and subscription
147
+ */
148
+ declare function createDynamicFormsManager(options: CreateDynamicFormsActorOptions): Manager<DynamicFormsState> & {
149
+ /**
150
+ * Initializes the dynamic forms flow.
151
+ * Transitions from 'idle' to 'loadingScreens' or 'inputting'.
152
+ * Must be called before any other method.
153
+ */
154
+ load(): void;
155
+ /**
156
+ * Updates the answer value for a single question.
157
+ * Should be called when state is 'inputting'.
158
+ *
159
+ * @param questionId - The question ID from the screen definition
160
+ * @param value - The raw user input value (formatting is stripped in Core before submission)
161
+ */
162
+ setAnswer(questionId: string, value: string): void;
163
+ /**
164
+ * Reports the format validity of a question's current value.
165
+ * Used for fields with format constraints (PHONE, EMAIL, CPF).
166
+ * A `false` entry feeds into the `formatViaAnswerValidity` validation rule
167
+ * and surfaces as a `validationErrors[questionId]` entry once validated.
168
+ *
169
+ * @param questionId - The question ID from the screen definition
170
+ * @param isValid - Whether the current value passes format validation
171
+ */
172
+ setAnswerValidity(questionId: string, isValid: boolean): void;
173
+ /**
174
+ * Triggers validation for a single field (e.g., on blur).
175
+ * Populates or clears `validationErrors[questionId]` accordingly.
176
+ *
177
+ * @param questionId - The question ID from the screen definition
178
+ */
179
+ validateField(questionId: string): void;
180
+ /**
181
+ * Submits the current screen's answers.
182
+ * Transitions to 'submitting', then advances to the next screen or 'finished'.
183
+ * Answer submission failures are fire-and-forget and do not block progression.
184
+ */
185
+ submit(): void;
186
+ /**
187
+ * Dismisses the module from 'misconfigured' state.
188
+ * Fix the config (provide `screens` or `flowId`) rather than calling `reset()`.
189
+ */
190
+ close(): void;
191
+ };
192
+ declare function createDynamicFormsManagerFromActor(actor: DynamicFormsActor): Manager<DynamicFormsState> & {
193
+ /**
194
+ * Initializes the dynamic forms flow.
195
+ * Transitions from 'idle' to 'loadingScreens' or 'inputting'.
196
+ * Must be called before any other method.
197
+ */
198
+ load(): void;
199
+ /**
200
+ * Updates the answer value for a single question.
201
+ * Should be called when state is 'inputting'.
202
+ *
203
+ * @param questionId - The question ID from the screen definition
204
+ * @param value - The raw user input value (formatting is stripped in Core before submission)
205
+ */
206
+ setAnswer(questionId: string, value: string): void;
207
+ /**
208
+ * Reports the format validity of a question's current value.
209
+ * Used for fields with format constraints (PHONE, EMAIL, CPF).
210
+ * A `false` entry feeds into the `formatViaAnswerValidity` validation rule
211
+ * and surfaces as a `validationErrors[questionId]` entry once validated.
212
+ *
213
+ * @param questionId - The question ID from the screen definition
214
+ * @param isValid - Whether the current value passes format validation
215
+ */
216
+ setAnswerValidity(questionId: string, isValid: boolean): void;
217
+ /**
218
+ * Triggers validation for a single field (e.g., on blur).
219
+ * Populates or clears `validationErrors[questionId]` accordingly.
220
+ *
221
+ * @param questionId - The question ID from the screen definition
222
+ */
223
+ validateField(questionId: string): void;
224
+ /**
225
+ * Submits the current screen's answers.
226
+ * Transitions to 'submitting', then advances to the next screen or 'finished'.
227
+ * Answer submission failures are fire-and-forget and do not block progression.
228
+ */
229
+ submit(): void;
230
+ /**
231
+ * Dismisses the module from 'misconfigured' state.
232
+ * Fix the config (provide `screens` or `flowId`) rather than calling `reset()`.
233
+ */
234
+ close(): void;
235
+ };
236
+ /** Type representing a dynamic forms manager instance. */
237
+ type DynamicFormsManager = ReturnType<typeof createDynamicFormsManager>;
238
+ //#endregion
239
+ export { DynamicFormsActor as a, DynamicFormsValidationErrors as c, Question as d, Screen as f, createDynamicFormsManagerFromActor as i, DynamicFormsConfig as l, DynamicFormsState as n, DynamicFormsResult as o, createDynamicFormsManager as r, dynamicFormsMachine as s, DynamicFormsManager as t, InputType as u };
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-DUZwyz0o.esm.js";
2
- import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
4
- import { t as isoDateToMs } from "./dateUtils-8dCcuArE.esm.js";
1
+ import { t as api } from "./api-DsbUi7TO.esm.js";
2
+ import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
3
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
4
+ import { t as isoDateToMs } from "./dateUtils-7-tQYRNN.esm.js";
5
5
 
6
6
  //#region src/modules/dynamic-forms/dynamicFormsFields.ts
7
7
  function getEffectiveType(question) {
package/dist/ekyb.d.ts CHANGED
@@ -1,9 +1,12 @@
1
- import { t as Manager } from "./Manager-B2OEDYqf.js";
2
- import "./Actor-fIPLXfoi.js";
3
- import "./camera-biGPWlmx.js";
4
- import "./types-Z9wv19v2.js";
5
- import { c as AddressSuggestion, l as FieldDef } from "./types-DYZja-k9.js";
6
- import { i as FlowModuleConfig } from "./types-Dv-9WPJX.js";
1
+ import "./StateMachine-C_AY4cs7.js";
2
+ import { t as Manager } from "./Manager-CJ3G2zqi.js";
3
+ import "./Actor-CGEelYtQ.js";
4
+ import "./camera-CNVUo-bC.js";
5
+ import "./types-DgGlgyZT.js";
6
+ import { c as AddressSuggestion, l as FieldDef } from "./types-D_IceWxT.js";
7
+ import "./canvas-CJUmoXSD.js";
8
+ import "./createFaceAvatar-B8pFpy6o.js";
9
+ import { i as FlowModuleConfig } from "./types-BsYXnC5s.js";
7
10
 
8
11
  //#region src/modules/ekyb/types.d.ts
9
12
  type UboEntry = {
package/dist/ekyb.esm.js CHANGED
@@ -1,20 +1,23 @@
1
- import "./BrowserTimerProvider-BVgutW_b.esm.js";
2
- import "./api-DUZwyz0o.esm.js";
3
- import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
4
- import "./endpoints-BM2_j_IE.esm.js";
5
- import "./stats-DntyIiGr.esm.js";
6
- import "./IpifyProvider-oZf7Ke1O.esm.js";
7
- import "./browserSimulation-CGjpdNA1.esm.js";
8
- import "./sessionInitializer-CaiGA8GP.esm.js";
9
- import "./platform-BfoqeM61.esm.js";
10
- import "./getBrowser-Dv8LZyHE.esm.js";
11
- import "./tri-CtxWthxz.esm.js";
12
- import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
13
- import "./apiError-D-GTvFrH.esm.js";
14
- import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-nsuPOw3f.esm.js";
15
- import "./addressSearch-BH96a3fq.esm.js";
16
- import "./session-Be_IA1e0.esm.js";
17
- import "./flowServices-ar5DXv71.esm.js";
1
+ import "./BrowserTimerProvider-CHloo0eQ.esm.js";
2
+ import "./api-DsbUi7TO.esm.js";
3
+ import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
4
+ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
5
+ import "./endpoints-BzMJFAPV.esm.js";
6
+ import "./stats-CYcScXcO.esm.js";
7
+ import "./browserSimulation-TsSoavQv.esm.js";
8
+ import "./sessionInitializer-C_TYIgyk.esm.js";
9
+ import "./getDeviceData-TrKM8NPh.esm.js";
10
+ import "./thumbmarkAdapter-fHBUDlAP.esm.js";
11
+ import "./IpifyProvider-BRW14_uo.esm.js";
12
+ import "./platform-uIVQUnJP.esm.js";
13
+ import "./tri-BG1iJsr4.esm.js";
14
+ import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
15
+ import "./apiError-DNS2OCEX.esm.js";
16
+ import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-CCSeqjCt.esm.js";
17
+ import "./addressSearch-DJyNTg5S.esm.js";
18
+ import "./session-9jIfKFCc.esm.js";
19
+ import "./videoSelfieSteps-7M5vxKn-.esm.js";
20
+ import "./flowServices-C4piblgx.esm.js";
18
21
 
19
22
  //#region src/modules/ekyb/ekybActor.ts
20
23
  /**
@@ -1,8 +1,8 @@
1
- import { t as api } from "./api-DUZwyz0o.esm.js";
2
- import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
4
- import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-BH96a3fq.esm.js";
5
- import { t as getFlow } from "./flowServices-ar5DXv71.esm.js";
1
+ import { t as api } from "./api-DsbUi7TO.esm.js";
2
+ import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
3
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
4
+ import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DJyNTg5S.esm.js";
5
+ import { t as getFlow } from "./flowServices-C4piblgx.esm.js";
6
6
 
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  const UBO_INPUT_LIMIT = 8;
package/dist/ekyc.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { t as Manager } from "./Manager-B2OEDYqf.js";
2
- import "./Actor-fIPLXfoi.js";
3
- import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-DYZja-k9.js";
1
+ import "./StateMachine-C_AY4cs7.js";
2
+ import { t as Manager } from "./Manager-CJ3G2zqi.js";
3
+ import "./Actor-CGEelYtQ.js";
4
+ import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-D_IceWxT.js";
4
5
 
5
6
  //#region src/modules/ekyc/ekycStateMachine.d.ts
6
7
  declare const ekycMachine: any;
package/dist/ekyc.esm.js CHANGED
@@ -1,11 +1,12 @@
1
- import "./BrowserTimerProvider-BVgutW_b.esm.js";
2
- import "./api-DUZwyz0o.esm.js";
3
- import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
4
- import "./endpoints-BM2_j_IE.esm.js";
5
- import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
6
- import "./cpf-xBg-DFNn.esm.js";
7
- import "./addressSearch-BH96a3fq.esm.js";
8
- import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DcynX0rj.esm.js";
1
+ import "./BrowserTimerProvider-CHloo0eQ.esm.js";
2
+ import "./api-DsbUi7TO.esm.js";
3
+ import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
4
+ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
5
+ import "./endpoints-BzMJFAPV.esm.js";
6
+ import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
7
+ import "./cpf-BKaho0j_.esm.js";
8
+ import "./addressSearch-DJyNTg5S.esm.js";
9
+ import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DkLVTOyA.esm.js";
9
10
 
10
11
  //#region src/modules/ekyc/ekycActor.ts
11
12
  /**
@@ -1,8 +1,8 @@
1
- import { t as api } from "./api-DUZwyz0o.esm.js";
2
- import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
4
- import { t as validateCPF } from "./cpf-xBg-DFNn.esm.js";
5
- import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-BH96a3fq.esm.js";
1
+ import { t as api } from "./api-DsbUi7TO.esm.js";
2
+ import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
3
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
4
+ import { t as validateCPF } from "./cpf-BKaho0j_.esm.js";
5
+ import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DJyNTg5S.esm.js";
6
6
 
7
7
  //#region src/modules/ekyc/ekycConsts.ts
8
8
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
@@ -1,4 +1,5 @@
1
- import "./Manager-B2OEDYqf.js";
2
- import "./Actor-fIPLXfoi.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-DV134v62.js";
1
+ import "./StateMachine-C_AY4cs7.js";
2
+ import "./Manager-CJ3G2zqi.js";
3
+ import "./Actor-CGEelYtQ.js";
4
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-Icld-cKW.js";
4
5
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,10 +1,11 @@
1
- import "./api-DUZwyz0o.esm.js";
2
- import "./events-DN-u67gb.esm.js";
3
- import "./endpoints-BM2_j_IE.esm.js";
4
- import "./xstate.esm-Dkm1jy5u.esm.js";
5
- import "./apiError-D-GTvFrH.esm.js";
6
- import "./urlUtils-8RNHyW3x.esm.js";
7
- import "./externalFetch-crimxkN9.esm.js";
8
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-B63aAuI5.esm.js";
1
+ import "./api-DsbUi7TO.esm.js";
2
+ import "./events-CqGY1yMq.esm.js";
3
+ import "./types-ElOJAGaM.esm.js";
4
+ import "./endpoints-BzMJFAPV.esm.js";
5
+ import "./xstate.esm-Bomq1a0z.esm.js";
6
+ import "./urlUtils-BZqFU9rR.esm.js";
7
+ import "./externalFetch-CyhBfD-n.esm.js";
8
+ import "./apiError-DNS2OCEX.esm.js";
9
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DjzUzqZj.esm.js";
9
10
 
10
11
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };