@incodetech/core 2.4.1-agentic.9 → 2.5.0-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 (308) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
  3. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
  4. package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-Dv9iXub0.esm.js} +21 -13
  5. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
  6. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +7 -6
  7. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  8. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  9. package/dist/{MotionSensorProvider-DYxh8TjR.esm.js → MotionSensorProvider-X4_2eBGd.esm.js} +15 -0
  10. package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
  11. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +25 -3
  12. package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
  13. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DVFDFlIL.esm.js} +63 -6
  14. package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
  15. package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-BKlynuBr.esm.js} +6 -7
  16. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  17. package/dist/ae-signature.d.ts +2 -2
  18. package/dist/ae-signature.esm.js +1 -1
  19. package/dist/antifraud.d.ts +1 -1
  20. package/dist/antifraud.esm.js +2 -2
  21. package/dist/{antifraudManager-CbIwM35x.esm.js → antifraudManager-BI2zr7YX.esm.js} +5 -3
  22. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  23. package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-TWUu8wLN.esm.js} +4 -6
  24. package/dist/{api-C_P9YXbL.esm.js → api-BNxrW8xK.esm.js} +4 -1
  25. package/dist/{apiError-BeWqIYu8.esm.js → apiError-BAfdBGxH.esm.js} +1 -1
  26. package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-DWM8lV9V.esm.js} +1 -1
  27. package/dist/authentication.d.ts +3 -3
  28. package/dist/authentication.esm.js +2 -2
  29. package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-BJElkTsj.d.ts} +2 -2
  30. package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-DFzByAYo.esm.js} +7 -6
  31. package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-CKTOhwwc.esm.js} +50 -18
  32. package/dist/avatar.d.ts +1 -1
  33. package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
  34. package/dist/{browser-pQZA35G2-DJEJnmCd.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
  35. package/dist/calendarDate-DcqGuEht.esm.js +35 -0
  36. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  37. package/dist/camera-9yYDUOsO.d.ts +5 -0
  38. package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
  39. package/dist/camera.d.ts +7 -3
  40. package/dist/camera.esm.js +1 -1
  41. package/dist/certificate-issuance.d.ts +1 -1
  42. package/dist/certificate-issuance.esm.js +2 -2
  43. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  44. package/dist/{certificateIssuanceManager-CrF3wjCH.esm.js → certificateIssuanceManager-P44yBRop.esm.js} +5 -3
  45. package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-BPBrILt6.esm.js} +3 -3
  46. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  47. package/dist/consent.d.ts +1 -1
  48. package/dist/consent.esm.js +2 -2
  49. package/dist/{consentManager-BD7wwgat.esm.js → consentManager-D43w2ms-.esm.js} +5 -3
  50. package/dist/{consentManager-7aHaehwF.d.ts → consentManager-Duzd8paN.d.ts} +4 -3
  51. package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-CLK8PfM4.esm.js} +6 -9
  52. package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
  53. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-Ct9QrQ66.d.ts} +1 -1
  54. package/dist/cross-document-data-match.d.ts +1 -1
  55. package/dist/cross-document-data-match.esm.js +1 -1
  56. package/dist/{crossDocumentDataMatchManager-CUc1uACE.esm.js → crossDocumentDataMatchManager-Cag_bcyW.esm.js} +6 -5
  57. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  58. package/dist/curp-DZGvefg3.esm.js +14 -0
  59. package/dist/curp-validation.d.ts +1 -1
  60. package/dist/curp-validation.esm.js +2 -2
  61. package/dist/{curpValidationManager-DBfZSQbu.esm.js → curpValidationManager-C6WmQToS.esm.js} +6 -4
  62. package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-CmL52FU8.d.ts} +4 -4
  63. package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BbJ4YAzE.esm.js} +16 -17
  64. package/dist/custom-fields.d.ts +1 -1
  65. package/dist/custom-fields.esm.js +1 -1
  66. package/dist/custom-watchlist.d.ts +1 -1
  67. package/dist/custom-watchlist.esm.js +2 -2
  68. package/dist/{customFieldsManager-BZhIPyaY.esm.js → customFieldsManager-BBy6X9nh.esm.js} +15 -17
  69. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  70. package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-CtBMy2EF.esm.js} +5 -3
  71. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  72. package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-SS2ssNCg.esm.js} +4 -6
  73. package/dist/deepsightCaptureConfig-Nm_K8twx.esm.js +70 -0
  74. package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-BInnND1H.esm.js} +7 -6
  75. package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-B-Z2EgJJ.esm.js} +51 -1
  76. package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-JNBOXqvK.esm.js} +110 -13
  77. package/dist/device.d.ts +3 -3
  78. package/dist/device.esm.js +16 -16
  79. package/dist/document-capture.d.ts +2 -2
  80. package/dist/document-capture.esm.js +2 -2
  81. package/dist/document-signature.d.ts +123 -0
  82. package/dist/document-signature.esm.js +149 -0
  83. package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-CGDtkfWj.esm.js} +5 -3
  84. package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +7 -6
  85. package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-flAt9D4q.esm.js} +11 -13
  86. package/dist/documentSignatureStateMachine-DrRyICFT.esm.js +219 -0
  87. package/dist/dynamic-forms.d.ts +1 -1
  88. package/dist/dynamic-forms.esm.js +2 -2
  89. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  90. package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-CxLq2KzT.esm.js} +5 -3
  91. package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-By-maT_4.esm.js} +12 -13
  92. package/dist/ekyb.d.ts +3 -3
  93. package/dist/ekyb.esm.js +3 -3
  94. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  95. package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-CE19Pcdb.esm.js} +5 -3
  96. package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-q7JQ-x9l.esm.js} +1214 -91
  97. package/dist/{ekybUtils-Cw8Ta9Qi.esm.js → ekybUtils-Z9MhFAer.esm.js} +11 -1
  98. package/dist/ekyc-prefill.d.ts +3 -3
  99. package/dist/ekyc-prefill.esm.js +2 -2
  100. package/dist/ekyc.d.ts +3 -3
  101. package/dist/ekyc.esm.js +3 -3
  102. package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
  103. package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-p3uenUEi.esm.js} +39 -16
  104. package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +10 -9
  105. package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-gPX3XE7u.esm.js} +3 -2
  106. package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-SBnBKPGA.esm.js} +12 -13
  107. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-BH_Ll_0A.esm.js} +201 -38
  108. package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-D0NAHzS7.esm.js} +1031 -132
  109. package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-DEvtEyBI.esm.js} +55 -43
  110. package/dist/electronic-signature.d.ts +1 -1
  111. package/dist/electronic-signature.esm.js +1 -1
  112. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  113. package/dist/{electronicSignatureManager-u3UBhWw_.esm.js → electronicSignatureManager-C1M-Yxf2.esm.js} +11 -17
  114. package/dist/email.d.ts +1 -1
  115. package/dist/email.esm.js +2 -2
  116. package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-DWnhEsUf.esm.js} +5 -3
  117. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  118. package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine--T9PHflK.esm.js} +5 -7
  119. package/dist/events-ChMS-UzR.esm.js +299 -0
  120. package/dist/events.d.ts +4 -1
  121. package/dist/events.esm.js +2 -1
  122. package/dist/extensibility.d.ts +42 -42
  123. package/dist/extensibility.esm.js +38 -38
  124. package/dist/face-match.d.ts +1 -1
  125. package/dist/face-match.esm.js +2 -2
  126. package/dist/{faceCaptureManagerFactory-DKJUjsV2.esm.js → faceCaptureManagerFactory-18QW0lmV.esm.js} +29 -12
  127. package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CHqmyOjM.d.ts} +35 -16
  128. package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-CFToXwHy.esm.js} +115 -74
  129. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
  130. package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-DIStK4qi.esm.js} +5 -3
  131. package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-DagrRdo2.esm.js} +49 -34
  132. package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-BlscKbeV.esm.js} +3 -2
  133. package/dist/feature-management.esm.js +1 -1
  134. package/dist/field-comparison.d.ts +1 -1
  135. package/dist/field-comparison.esm.js +1 -1
  136. package/dist/{fieldComparisonManager-BLLj_Ey1.esm.js → fieldComparisonManager-BnWBtMN7.esm.js} +7 -7
  137. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  138. package/dist/fiscal-qr.d.ts +1 -1
  139. package/dist/fiscal-qr.esm.js +1 -1
  140. package/dist/{fiscalQrManager-Bh3rxb7Y.esm.js → fiscalQrManager-BxXaLhin.esm.js} +9 -8
  141. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  142. package/dist/flow-events.d.ts +1 -1
  143. package/dist/flow.d.ts +50 -14
  144. package/dist/flow.esm.js +214 -58
  145. package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-DNLssMAg.esm.js} +2 -2
  146. package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-Bzq3piUR.esm.js} +378 -18
  147. package/dist/geolocation.d.ts +1 -1
  148. package/dist/geolocation.esm.js +2 -2
  149. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  150. package/dist/{geolocationManager-BA57nCxj.esm.js → geolocationManager-DoLbpx5e.esm.js} +5 -3
  151. package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-d5_E7gAm.esm.js} +8 -10
  152. package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
  153. package/dist/government-validation.d.ts +1 -1
  154. package/dist/government-validation.esm.js +2 -2
  155. package/dist/{governmentValidationManager-D5HkBqfr.esm.js → governmentValidationManager-CaZxyEOO.esm.js} +5 -3
  156. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  157. package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-DeHHhlcf.esm.js} +4 -6
  158. package/dist/home.d.ts +4 -3
  159. package/dist/home.esm.js +4 -2
  160. package/dist/http.esm.js +1 -1
  161. package/dist/id-ocr.d.ts +1 -1
  162. package/dist/id-ocr.esm.js +3 -3
  163. package/dist/id-selfie-flow.d.ts +7 -6
  164. package/dist/id-selfie-flow.esm.js +14 -13
  165. package/dist/id-verification.d.ts +1 -1
  166. package/dist/id-verification.esm.js +2 -2
  167. package/dist/id.d.ts +5 -5
  168. package/dist/id.esm.js +3 -3
  169. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-R3rHuTOE.esm.js} +4 -4
  170. package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-CgkQW3Xc.d.ts} +24 -13
  171. package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-D_YGMeCW.esm.js} +30 -22
  172. package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-CP6AxsFW.esm.js} +17 -25
  173. package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BdBtGQZP.esm.js} +114 -96
  174. package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
  175. package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-C0C7lFGd.d.ts} +4 -3
  176. package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-XTbpfHoF.esm.js} +5 -3
  177. package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B-00PgPh.esm.js} +13 -10
  178. package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-B4NYLlUl.esm.js} +5 -3
  179. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  180. package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-B48Ikl-7.esm.js} +4 -6
  181. package/dist/identity-reuse.d.ts +2 -2
  182. package/dist/identity-reuse.esm.js +2 -2
  183. package/dist/identity-search.d.ts +97 -0
  184. package/dist/identity-search.esm.js +96 -0
  185. package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +84 -17
  186. package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-tFeYm_So.esm.js} +9 -4
  187. package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-Ckf39qFu.esm.js} +24 -31
  188. package/dist/{index-DlVDVTcf.d.ts → index-CNck5TLp.d.ts} +1 -1
  189. package/dist/{index-BGnYn_4J.d.ts → index-CoePktWH.d.ts} +2 -2
  190. package/dist/index-DHuAkTe0.d.ts +1 -0
  191. package/dist/index.d.ts +1 -1
  192. package/dist/index.esm.js +1 -1
  193. package/dist/{invokeOnCaptureCallback-BkvXSZfa.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
  194. package/dist/kyb-checks.d.ts +1 -1
  195. package/dist/kyb-checks.esm.js +2 -2
  196. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  197. package/dist/{kybChecksManager-x2nBdasv.esm.js → kybChecksManager-DP76y-Qz.esm.js} +3 -2
  198. package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-OKLT8Zoc.esm.js} +11 -14
  199. package/dist/mandatory-consent.d.ts +2 -2
  200. package/dist/mandatory-consent.esm.js +2 -2
  201. package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-NX1lz6nk.esm.js} +5 -3
  202. package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-kzr5kdc_.d.ts} +5 -4
  203. package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-D1J2NQSI.esm.js} +6 -9
  204. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +21 -4
  205. package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-Cz-cWrpV.esm.js} +2 -2
  206. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-Cyh71hOt.esm.js} +1 -1
  207. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-BrtDMB0Z.esm.js} +23 -9
  208. package/dist/phone.d.ts +1 -1
  209. package/dist/phone.esm.js +2 -2
  210. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  211. package/dist/{phoneManager-BylOWecM.esm.js → phoneManager-D1QPNbu0.esm.js} +5 -3
  212. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  213. package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-DC7AuUed.esm.js} +3 -7
  214. package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-CxCPxTIy.esm.js} +4 -4
  215. package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
  216. package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-BQoiqLVh.esm.js} +1 -1
  217. package/dist/qe-signature.d.ts +2 -2
  218. package/dist/qe-signature.esm.js +1 -1
  219. package/dist/{recordingService-BUqAQd8F.esm.js → recordingService-CSCvD2tB.esm.js} +17 -10
  220. package/dist/redirect-to-mobile.d.ts +1 -1
  221. package/dist/redirect-to-mobile.esm.js +2 -2
  222. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-Db99n9Yu.d.ts} +4 -3
  223. package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-Dcpg5GfP.esm.js} +7 -4
  224. package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-BMehrtVP.esm.js} +18 -21
  225. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  226. package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-DNEmc7of.esm.js} +8 -6
  227. package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-etdZfyCR.esm.js} +1 -1
  228. package/dist/selfie.d.ts +6 -6
  229. package/dist/selfie.esm.js +15 -13
  230. package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DT-uhK20.esm.js} +1 -1
  231. package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-CdS6a7Q8.esm.js} +7 -6
  232. package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DrBYj5kA.d.ts} +2 -2
  233. package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-ChCl3nyf.esm.js} +5 -5
  234. package/dist/{session-CswNE2eZ.esm.js → session-VXYuRYzb.esm.js} +5 -4
  235. package/dist/session.d.ts +3 -13
  236. package/dist/session.esm.js +5 -5
  237. package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-BT_CmYcX.esm.js} +54 -79
  238. package/dist/{setup-Bl3CRduw.esm.js → setup-BXrgDdfx.esm.js} +14 -12
  239. package/dist/{setup-prV5HQCQ.d.ts → setup-rcXgYUcY.d.ts} +6 -5
  240. package/dist/signature.d.ts +1 -1
  241. package/dist/signature.esm.js +2 -2
  242. package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-B737Gkvk.esm.js} +5 -3
  243. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  244. package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-B-QG7fk0.esm.js} +5 -7
  245. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  246. package/dist/{stats-Bv5PiWvo.esm.js → stats-CrqhpKkP.esm.js} +1 -1
  247. package/dist/stats.esm.js +1 -1
  248. package/dist/step-up.d.ts +3 -2
  249. package/dist/step-up.esm.js +2 -1
  250. package/dist/{tri-BUFivnaE.esm.js → tri-BD9z6z0w.esm.js} +6 -3
  251. package/dist/tri.d.ts +1 -1
  252. package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
  253. package/dist/tri.esm.js +1 -1
  254. package/dist/trueSight-BymJD5cW.esm.js +1 -0
  255. package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BwyLhIAo.esm.js} +10 -8
  256. package/dist/trust-graph.d.ts +87 -27
  257. package/dist/trust-graph.esm.js +6 -25
  258. package/dist/trustGraphStateMachine-BxvReuo1.esm.js +58 -0
  259. package/dist/{types-CquDWYfv.d.ts → types-4Re9FSOw.d.ts} +68 -6
  260. package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
  261. package/dist/types-BNkzXOXE.d.ts +45 -0
  262. package/dist/types-BtrJ5fkm.d.ts +6 -0
  263. package/dist/{types-LA74KylV.d.ts → types-C1056-J1.d.ts} +1 -1
  264. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  265. package/dist/{events-kU5WJU4B.esm.js → types-CBQN04Rh.esm.js} +5 -299
  266. package/dist/{types-BD9sV5oG.d.ts → types-CEGG70FK.d.ts} +16 -3
  267. package/dist/types-CXTDuzUJ.d.ts +16 -0
  268. package/dist/{types-BEwVKkLJ.d.ts → types-CeEcakO7.d.ts} +7 -1
  269. package/dist/{types-CyNndVAT.d.ts → types-Cy6Lx3L6.d.ts} +2 -2
  270. package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
  271. package/dist/{types-0Rr7etmf.d.ts → types-DHpz4Y37.d.ts} +1 -1
  272. package/dist/{types-BpJ21a4T.d.ts → types-b0l9b83G.d.ts} +14 -7
  273. package/dist/video-selfie.d.ts +8 -7
  274. package/dist/video-selfie.esm.js +14 -13
  275. package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-DgRlU_8q.esm.js} +10 -10
  276. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  277. package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DC_Qh7qI.d.ts} +19 -9
  278. package/dist/{warmup-DtB0DJpl.esm.js → warmup-BN8dG2KX.esm.js} +192 -42
  279. package/dist/{warmup-BO57syF6.d.ts → warmup-SWu5L7cW.d.ts} +19 -2
  280. package/dist/wasm.d.ts +9 -3
  281. package/dist/wasm.esm.js +3 -3
  282. package/dist/wasmDeepsightConfigSync-DukEcrU8.esm.js +77 -0
  283. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DwBfTlgB.esm.js} +1 -1
  284. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-B2P6Vlvv.esm.js} +32 -13
  285. package/dist/watchlist-for-business.d.ts +1 -1
  286. package/dist/watchlist-for-business.esm.js +2 -2
  287. package/dist/watchlist.d.ts +1 -1
  288. package/dist/watchlist.esm.js +2 -2
  289. package/dist/{watchlistForBusinessManager-DOYmIiaj.esm.js → watchlistForBusinessManager-DxeSH80T.esm.js} +5 -3
  290. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  291. package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BC9UWLuZ.esm.js} +12 -9
  292. package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BHzmC9OC.esm.js} +5 -3
  293. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  294. package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Bxzn16iJ.esm.js} +4 -6
  295. package/dist/workflow.d.ts +6 -5
  296. package/dist/workflow.esm.js +68 -49
  297. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  298. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  299. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  300. package/package.json +13 -3
  301. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  302. package/dist/camera-9wWD-pwg.d.ts +0 -4
  303. package/dist/index-DpTj5PFb.d.ts +0 -1
  304. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  305. package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
  306. package/dist/tri.esm-DgtAka_v.esm.js +0 -2145
  307. package/dist/types-B2M1IPZn.d.ts +0 -6
  308. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
@@ -1,4 +1,4 @@
1
- import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
1
+ import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
2
2
  //#region src/modules/cross-document-data-match/types.d.ts
3
3
  /**
4
4
  * Configuration for the cross-document data match module.
@@ -1,2 +1,2 @@
1
- import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-CUc1uACE.esm.js";
1
+ import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Cag_bcyW.esm.js";
2
2
  export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
@@ -1,14 +1,15 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
2
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
- import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
7
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
6
8
  //#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
7
9
  /** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
8
10
  const MIN_DISPLAY_MS = 3e3;
9
11
  async function processCrossDocumentDataMatch(signal) {
10
12
  const [res] = await Promise.all([api.post(endpoints.processCrossDocumentDataMatch, {}, { signal }), sleep(MIN_DISPLAY_MS)]);
11
- if (!res.ok) throw new Error(`POST ${endpoints.processCrossDocumentDataMatch} failed: ${res.status} ${res.statusText}`);
12
13
  return res.data;
13
14
  }
14
15
  //#endregion
@@ -1,6 +1,6 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
4
  //#region src/modules/cross-document-data-match/crossDocumentDataMatchStateMachine.d.ts
5
5
  declare const crossDocumentDataMatchMachine: any;
6
6
  type CrossDocumentDataMatchMachine = typeof crossDocumentDataMatchMachine;
@@ -0,0 +1,14 @@
1
+ //#region src/internal/forms/checks/curp.ts
2
+ const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
3
+ /**
4
+ * Mexican CURP layout: 4 letters (the second a vowel or X), a YYMMDD birth
5
+ * date, H, M or X for sex, a state code (NE for born abroad), 3 consonants, a
6
+ * letter or digit, and a final digit. Format only: the check digit isn't
7
+ * computed, as in SDK1 (see "Gaps" in the eKYC drafts README for how to add
8
+ * it). The CURP module checks the same layout.
9
+ */
10
+ function isValidCurp(curp) {
11
+ return typeof curp === "string" && curp.length === 18 && CURP_PATTERN.test(curp.toUpperCase());
12
+ }
13
+ //#endregion
14
+ export { isValidCurp as t };
@@ -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-Crz3bnCo.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-CmL52FU8.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-DyAEyScb.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DBfZSQbu.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BbJ4YAzE.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-C6WmQToS.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,8 +1,10 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
2
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
5
- import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DyAEyScb.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
7
+ import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BbJ4YAzE.esm.js";
6
8
  //#region src/modules/curp-validation/curpValidationActor.ts
7
9
  function createCurpValidationActor(options) {
8
10
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
4
- import { i as FlowModuleConfig } from "./types-CquDWYfv.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
+ import { i as FlowModuleConfig } from "./types-4Re9FSOw.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -1,8 +1,10 @@
1
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
- import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
5
- import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
1
+ import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
+ import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
6
+ import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
7
+ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
6
8
  //#region src/modules/curp-validation/curpValidationUtils.ts
7
9
  /** Convert YYYY-MM-DD to DD/MM/YYYY for the API */
8
10
  function formatDateForApi(date) {
@@ -146,14 +148,10 @@ const mexicanStates = [
146
148
  //#endregion
147
149
  //#region src/modules/curp-validation/curpValidationServices.ts
148
150
  async function fetchOcrData(signal) {
149
- const res = await api.get(endpoints.ocrData, { signal });
150
- if (!res.ok) throw new Error(`GET ${endpoints.ocrData} failed: ${res.status} ${res.statusText}`);
151
- return res.data;
151
+ return (await api.get(endpoints.ocrData, { signal })).data;
152
152
  }
153
153
  async function addCurp(curp, signal) {
154
- const res = await api.post(endpoints.addCurp, { curp }, { signal });
155
- if (!res.ok) throw new Error(`POST ${endpoints.addCurp} failed: ${res.status} ${res.statusText}`);
156
- return res.data;
154
+ return (await api.post(endpoints.addCurp, { curp }, { signal })).data;
157
155
  }
158
156
  async function addCurpV2(form, signal) {
159
157
  const payload = {
@@ -164,9 +162,7 @@ async function addCurpV2(form, signal) {
164
162
  birthDate: formatDateForApi(form.birthDate),
165
163
  state: form.birthState
166
164
  };
167
- const res = await api.post(endpoints.addCurpV2, payload, { signal });
168
- if (!res.ok) throw new Error(`POST ${endpoints.addCurpV2} failed: ${res.status} ${res.statusText}`);
169
- return res.data;
165
+ return (await api.post(endpoints.addCurpV2, payload, { signal })).data;
170
166
  }
171
167
  //#endregion
172
168
  //#region src/modules/curp-validation/curpFields.ts
@@ -257,7 +253,10 @@ const createValidators = () => ({
257
253
  }
258
254
  });
259
255
  const normalizeFieldValue = (value) => typeof value === "string" ? value : String(value ?? "");
260
- const evaluateRules = (value, validation, validators) => {
256
+ const evaluateRules = (value, validation, validators, type) => {
257
+ const dateError = type === "date" ? calendarDateError(value.trim()) : void 0;
258
+ if (dateError) return dateError;
259
+ if (type === "date" && value.trim() > getLocalIsoDate()) return "verification.errors.futureDate";
261
260
  if (!validation) return void 0;
262
261
  for (const rule of validation) {
263
262
  const error = validators[rule.type](value);
@@ -273,7 +272,7 @@ const validateGenerateCurpForm = (data, fields) => {
273
272
  const validators = createValidators();
274
273
  return fields.reduce((errors, field) => {
275
274
  const value = normalizeFieldValue(data[field.key]);
276
- const error = evaluateRules(value, field.validation, validators);
275
+ const error = evaluateRules(value, field.validation, validators, field.type);
277
276
  if (error) errors[field.key] = error;
278
277
  return errors;
279
278
  }, {});
@@ -287,7 +286,7 @@ const validateGenerateCurpField = (data, fieldKey, fields) => {
287
286
  if (!field) return void 0;
288
287
  const validators = createValidators();
289
288
  const value = normalizeFieldValue(data[fieldKey]);
290
- return evaluateRules(value, field.validation, validators);
289
+ return evaluateRules(value, field.validation, validators, field.type);
291
290
  };
292
291
  /**
293
292
  * Runs the single CURP-entry field through its validation rules.
@@ -1,2 +1,2 @@
1
- import { a as createCustomFieldsManagerFromActor, c as customFieldsMachine, d as CustomFieldsConfig, i as createCustomFieldsManager, l as CustomField, n as CustomFieldsState, o as CustomFieldsActor, r as MappedCustomField, s as CustomFieldsValidationErrors, t as CustomFieldsManager, u as CustomFieldType } from "./customFieldsManager-CF-cO8ap.js";
1
+ import { a as createCustomFieldsManagerFromActor, c as customFieldsMachine, d as CustomFieldsConfig, i as createCustomFieldsManager, l as CustomField, n as CustomFieldsState, o as CustomFieldsActor, r as MappedCustomField, s as CustomFieldsValidationErrors, t as CustomFieldsManager, u as CustomFieldType } from "./customFieldsManager-CdWTbsew.js";
2
2
  export { type CustomField, type CustomFieldType, type CustomFieldsActor, type CustomFieldsConfig, type CustomFieldsManager, type CustomFieldsState, type CustomFieldsValidationErrors, type MappedCustomField, createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
@@ -1,2 +1,2 @@
1
- import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BZhIPyaY.esm.js";
1
+ import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BBy6X9nh.esm.js";
2
2
  export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
@@ -1,4 +1,4 @@
1
- import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, o as customWatchlistMachine, r as createCustomWatchlistManager, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
1
+ import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, o as customWatchlistMachine, r as createCustomWatchlistManager, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
2
2
  //#region src/modules/custom-watchlist/types.d.ts
3
3
  /**
4
4
  * Configuration for the custom watchlist module (INCODE_WATCHLIST flow key).
@@ -1,3 +1,3 @@
1
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-ZZoDGRAZ.esm.js";
2
- import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-B4cmxi__.esm.js";
1
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-SS2ssNCg.esm.js";
2
+ import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-CtBMy2EF.esm.js";
3
3
  export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
@@ -1,14 +1,15 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
2
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
3
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
+ import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
+ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
6
9
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
7
10
  //#region src/modules/custom-fields/customFieldsServices.ts
8
11
  async function submitCustomFields(params, signal) {
9
- const res = await api.post(endpoints.addCustomFields, params.fields, { signal });
10
- if (!res.ok) throw new Error(`POST ${endpoints.addCustomFields} failed: ${res.status} ${res.statusText}`);
11
- return res.data;
12
+ return (await api.post(endpoints.addCustomFields, params.fields, { signal })).data;
12
13
  }
13
14
  //#endregion
14
15
  //#region src/modules/custom-fields/customFieldsStateMachine.ts
@@ -19,19 +20,16 @@ function transformFields(fields, customFields) {
19
20
  else result[key] = value;
20
21
  return result;
21
22
  }
22
- function isFormComplete(fields, customFields) {
23
- return customFields.every((field) => {
24
- if (field.type === "BOOLEAN") return true;
25
- const value = fields[field.name];
26
- return value !== void 0 && value !== "";
27
- });
28
- }
29
- function validateRequiredFields(fields, customFields) {
23
+ function validateFields(fields, customFields) {
30
24
  const errors = {};
31
25
  for (const field of customFields) {
32
26
  if (field.type === "BOOLEAN") continue;
33
27
  const value = fields[field.name];
34
28
  if (value === void 0 || value === "") errors[field.name] = REQUIRED_FIELD_ERROR;
29
+ else if (field.type === "DATE") {
30
+ const dateError = calendarDateError(value);
31
+ if (dateError) errors[field.name] = dateError;
32
+ }
35
33
  }
36
34
  return Object.keys(errors).length > 0 ? errors : void 0;
37
35
  }
@@ -57,13 +55,13 @@ const customFieldsMachine = setup({
57
55
  validationErrors: Object.keys(validationErrors).length > 0 ? validationErrors : void 0
58
56
  };
59
57
  }),
60
- setValidationErrors: assign(({ context }) => ({ validationErrors: validateRequiredFields(context.fields, context.config.customFields) })),
58
+ setValidationErrors: assign(({ context }) => ({ validationErrors: validateFields(context.fields, context.config.customFields) })),
61
59
  markSuccess: assign({ result: "success" }),
62
60
  markFailed: assign({ result: "failed" })
63
61
  },
64
62
  guards: {
65
63
  apiSucceeded: ({ event }) => event.output.success,
66
- isFormComplete: ({ context }) => isFormComplete(context.fields, context.config.customFields)
64
+ isFormComplete: ({ context }) => validateFields(context.fields, context.config.customFields) === void 0
67
65
  }
68
66
  }).createMachine({
69
67
  id: "customFields",
@@ -1,6 +1,6 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
4
  //#region src/modules/custom-fields/types.d.ts
5
5
  type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
6
6
  type CustomField = {
@@ -1,7 +1,9 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
2
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-ZZoDGRAZ.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-SS2ssNCg.esm.js";
5
7
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
8
  function createCustomWatchlistActor() {
7
9
  return createActor(customWatchlistMachine).start();
@@ -1,6 +1,6 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
4
  //#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts
5
5
  type CustomWatchlistResult = 'success' | 'skipped';
6
6
  declare const customWatchlistMachine: any;
@@ -1,11 +1,9 @@
1
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
2
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/custom-watchlist/customWatchlistServices.ts
5
5
  async function processWatchlist(signal) {
6
- const res = await api.post(endpoints.processWatchlist, {}, { signal });
7
- if (!res.ok) throw new Error(`POST ${endpoints.processWatchlist} failed: ${res.status} ${res.statusText}`);
8
- return res.data;
6
+ return (await api.post(endpoints.processWatchlist, {}, { signal })).data;
9
7
  }
10
8
  //#endregion
11
9
  //#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
@@ -0,0 +1,70 @@
1
+ import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-BwyLhIAo.esm.js";
2
+ import "./trueSight-BymJD5cW.esm.js";
3
+ import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
4
+ //#region src/internal/deepsight/deepsightCaptureConfig.ts
5
+ /**
6
+ * The WASM engine's cap on the config text (ml-wasm-kit
7
+ * `DSConfig::MAX_JSON_BYTES`): the engine treats longer text as no config.
8
+ */
9
+ const MAX_CONFIG_TEXT_BYTES = 4096;
10
+ /**
11
+ * The text a module hands the WASM engine (`sdsc`): its config as
12
+ * `JSON.stringify` gives it, or `''` when it has none (see
13
+ * {@link DeepsightModuleConfig}), which also selects the v1 capture-metadata
14
+ * document.
15
+ */
16
+ function deepsightCaptureConfigText(config) {
17
+ return presentConfig(config)?.text ?? "";
18
+ }
19
+ /**
20
+ * Whether a SELFIE or AUTHENTICATION attempt records the Deepsight liveness
21
+ * clip, the local recording linked to the face upload. With a config: `ds`
22
+ * and `e.t` on. Without one: `deepsightLiveness === 'VIDEOLIVENESS'`, as
23
+ * before. The backend derives both from the same severity rule, so they agree
24
+ * in real flows.
25
+ */
26
+ function recordsLivenessClip(config) {
27
+ const present = presentConfig(config);
28
+ if (present === void 0) return config.deepsightLiveness === "VIDEOLIVENESS";
29
+ return config.ds === true && isOn(present.fields, "e", "t");
30
+ }
31
+ /**
32
+ * Whether a module asks for motion: the iOS motion prompt, the motion
33
+ * permission sheet and the WASM sensors (`rsp`/`ssl`). With a config: `ds`
34
+ * on, `b.p` or `b.y` on, and a phone or tablet. Without one: `ds`, as before.
35
+ */
36
+ function wantsDeepsightMotion(config) {
37
+ if (config.ds !== true) return false;
38
+ const present = presentConfig(config);
39
+ if (present === void 0) return true;
40
+ return (isOn(present.fields, "b", "p") || isOn(present.fields, "b", "y")) && getDeviceClass() !== "desktop";
41
+ }
42
+ function presentConfig(config) {
43
+ const field = config.deepsightCaptureConfig;
44
+ if (typeof field !== "object" || field === null || Array.isArray(field)) return;
45
+ const text = stringifyConfig(field);
46
+ if (text === void 0 || !text.startsWith("{") || utf8ByteLength(text) > MAX_CONFIG_TEXT_BYTES) return;
47
+ return {
48
+ fields: JSON.parse(text),
49
+ text
50
+ };
51
+ }
52
+ function isOn(config, group, key) {
53
+ const settings = objectAt(config, group);
54
+ return settings !== void 0 && objectAt(settings, key)?.a === true;
55
+ }
56
+ function objectAt(value, key) {
57
+ const field = value[key];
58
+ return typeof field === "object" && field !== null && !Array.isArray(field) ? field : void 0;
59
+ }
60
+ function stringifyConfig(config) {
61
+ try {
62
+ const text = JSON.stringify(config);
63
+ return typeof text === "string" ? text : void 0;
64
+ } catch {
65
+ trueSightLog("warning", "deepsight", "other", "deepsight capture config not serializable");
66
+ return;
67
+ }
68
+ }
69
+ //#endregion
70
+ export { recordsLivenessClip as n, wantsDeepsightMotion as r, deepsightCaptureConfigText as t };
@@ -1,11 +1,12 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-CDbmG-Mi.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-CinXzhdk.esm.js";
4
- import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as SDK_PLATFORM, x as IpifyProvider } from "./sessionInitializer-DFtIRfDh.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DVFDFlIL.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-BwyLhIAo.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-etdZfyCR.esm.js";
4
+ import "./trueSight-BymJD5cW.esm.js";
5
+ import { C as SDK_PLATFORM, S as fingerprintSignalsReporter, _ as isBrowserSimulation, b as IpifyProvider, n as getFingerprintEnabled, t as getDisableIpify, x as BrowserEnvironmentProvider } from "./sessionInitializer-BT_CmYcX.esm.js";
5
6
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
7
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BtiR5pig.esm.js";
8
- import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
8
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DwBfTlgB.esm.js";
9
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
9
10
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
10
11
  import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js";
11
12
  //#region src/internal/deepsight/metadataService.ts
@@ -52,6 +52,44 @@ function buildStreetValue(street, houseNumber, hasHouseNoField) {
52
52
  if (houseNumber && street) return `${houseNumber} ${street}`;
53
53
  return houseNumber ?? street ?? "";
54
54
  }
55
+ /** The suggestion-filled fields a source can show as a dropdown. */
56
+ const DROPDOWN_ADDRESS_FIELDS = ["city", "state"];
57
+ /**
58
+ * Compares ignoring case and accents, so `Istanbul` and `ISTANBUL` find
59
+ * `İstanbul`, and `Kowloon` finds `KOWLOON`.
60
+ */
61
+ const foldForMatch = (text) => text.trim().normalize("NFD").replace(/\p{M}/gu, "").toUpperCase();
62
+ /**
63
+ * Keeps an address suggestion's city and region inside their dropdowns, for a
64
+ * source that shows `city` (TR provinces) or `state` (HK regions, US states) as
65
+ * one. A suggested value that matches an option's value or label, ignoring case
66
+ * and accents, becomes that option's value. One that matches none is dropped,
67
+ * as if the suggestion had no such value, so the previous value stays if it
68
+ * matches an option the same way, also as that option's value (a prefill can
69
+ * leave `KOWLOON`, or a value no option has). Without this, a code such as `HK`
70
+ * or a district such as `Kadıköy` would pass `required` and be submitted though
71
+ * the dropdown can't show it. A free-text field takes the suggestion as it is.
72
+ * Shared between eKYC and eKYB address forms; run it on `fillFromSuggestion`'s
73
+ * values.
74
+ */
75
+ function keepSuggestionInOptions(fields, previous, next) {
76
+ let result = next;
77
+ for (const name of DROPDOWN_ADDRESS_FIELDS) {
78
+ const options = fields.find((field) => field.name === name)?.options;
79
+ const suggested = next[name];
80
+ if (!options || !suggested) continue;
81
+ const optionFor = (value) => {
82
+ const wanted = value ? foldForMatch(value) : "";
83
+ if (!wanted) return void 0;
84
+ return options.find((option) => foldForMatch(option.value) === wanted || foldForMatch(option.label) === wanted)?.value;
85
+ };
86
+ result = {
87
+ ...result,
88
+ [name]: optionFor(suggested) ?? optionFor(previous[name])
89
+ };
90
+ }
91
+ return result;
92
+ }
55
93
  const POSTAL_CODE_MAX_LENGTH_BY_COUNTRY = {
56
94
  US: 10,
57
95
  BR: 9,
@@ -100,6 +138,18 @@ function getPostalCodeErrorKey(country) {
100
138
  if (country === "US") return "verification.errors.zipCodeInvalidFormat";
101
139
  return "verification.errors.postalCodeInvalidFormat";
102
140
  }
141
+ /**
142
+ * The params of a postal code's error message: the digit count for a
143
+ * fixed-length format, otherwise the maximum length. US and BR don't count
144
+ * the dash.
145
+ */
146
+ function getPostalCodeErrorParams(country) {
147
+ const fixedLength = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
148
+ if (fixedLength !== void 0) return { length: fixedLength };
149
+ let maxLength = getPostalCodeMaxLength(country);
150
+ if (country === "US" || country === "BR") maxLength = maxLength - 1;
151
+ return { maxLength };
152
+ }
103
153
  const US_POSTAL_CODE_REGEX = /^(?:\d{5}|\d{9}|\d{5}-\d{4})$/;
104
154
  const BR_POSTAL_CODE_REGEX = /^(?:\d{5}|\d{8}|\d{5}-\d{3})$/;
105
155
  const CA_POSTAL_CODE_REGEX = /^[A-Za-z]\d[A-Za-z] \d[A-Za-z]\d$/;
@@ -181,4 +231,4 @@ function createBundledDefinitionSource(definitions) {
181
231
  return { select: (query) => byQuery.get(queryKey(query)) };
182
232
  }
183
233
  //#endregion
184
- export { getPostalCodeMaxLength as a, fillFromSuggestion as c, getPostalCodeErrorKey as i, getStreetLevelErrorForSuggestion as l, FIXED_DIGIT_POSTAL_CODE_LENGTH as n, validatePostalCode as o, formatPostalCode as r, STREET_LEVEL_REQUIRED_ERROR as s, createBundledDefinitionSource as t };
234
+ export { getPostalCodeMaxLength as a, fillFromSuggestion as c, getPostalCodeErrorParams as i, getStreetLevelErrorForSuggestion as l, formatPostalCode as n, validatePostalCode as o, getPostalCodeErrorKey as r, STREET_LEVEL_REQUIRED_ERROR as s, createBundledDefinitionSource as t, keepSuggestionInOptions as u };