@incodetech/core 2.4.1-agentic → 2.4.1-agentic.10

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 (239) hide show
  1. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  2. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  3. package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
  4. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  5. package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +11 -12
  6. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  7. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
  8. package/dist/MultipartRecordingProvider-BfQPSgSO.esm.js +151 -0
  9. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  10. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  11. package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
  12. package/dist/WorkerEncoderRecordingProvider-CyCrQnZR.esm.js +80 -0
  13. package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
  14. package/dist/ae-signature.esm.js +1 -1
  15. package/dist/antifraud.esm.js +2 -2
  16. package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
  17. package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
  18. package/dist/{api-BO8JA7Pf.esm.js → api-BSnbg4HO.esm.js} +4 -0
  19. package/dist/{apiError-CfuIvnUy.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
  20. package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-zQH85Elh.esm.js} +2 -2
  21. package/dist/authentication.d.ts +3 -3
  22. package/dist/authentication.esm.js +2 -2
  23. package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
  24. package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
  25. package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
  26. package/dist/avatar.d.ts +1 -1
  27. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  28. package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
  29. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
  30. package/dist/camera.d.ts +2 -2
  31. package/dist/camera.esm.js +1 -1
  32. package/dist/certificate-issuance.esm.js +2 -2
  33. package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
  34. package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
  35. package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
  36. package/dist/consent.d.ts +1 -1
  37. package/dist/consent.esm.js +2 -2
  38. package/dist/{consentManager-_q9yJUku.d.ts → consentManager-7aHaehwF.d.ts} +5 -5
  39. package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
  40. package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
  41. package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
  42. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  43. package/dist/cross-document-data-match.esm.js +1 -1
  44. package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-D7ka2qOC.esm.js} +2 -2
  45. package/dist/curp-validation.d.ts +1 -1
  46. package/dist/curp-validation.esm.js +2 -2
  47. package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
  48. package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
  49. package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
  50. package/dist/custom-fields.esm.js +1 -1
  51. package/dist/custom-watchlist.esm.js +2 -2
  52. package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
  53. package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
  54. package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
  55. package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +34 -29
  56. package/dist/definitionSource-BHNxbuiv.esm.js +184 -0
  57. package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +5 -5
  58. package/dist/document-capture.d.ts +3 -3
  59. package/dist/document-capture.esm.js +2 -2
  60. package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +3 -2
  61. package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-DDfviFg0.d.ts} +25 -4
  62. package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +67 -26
  63. package/dist/dynamic-forms.esm.js +2 -2
  64. package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
  65. package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
  66. package/dist/ekyb.d.ts +4 -4
  67. package/dist/ekyb.esm.js +3 -3
  68. package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  69. package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
  70. package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +7 -3
  71. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  72. package/dist/ekyc-prefill.d.ts +17 -0
  73. package/dist/ekyc-prefill.esm.js +3 -0
  74. package/dist/ekyc.d.ts +3 -2
  75. package/dist/ekyc.esm.js +3 -3
  76. package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
  77. package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-q1fos6IY.d.ts} +2 -1
  78. package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
  79. package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
  80. package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
  81. package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
  82. package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-DBTczgGE.esm.js} +719 -596
  83. package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-Dcff8BOD.esm.js} +103 -14
  84. package/dist/electronic-signature.esm.js +1 -1
  85. package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
  86. package/dist/email.esm.js +2 -2
  87. package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
  88. package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
  89. package/dist/{events-CQteqXfy.esm.js → events-C7h7oaTE.esm.js} +1 -1
  90. package/dist/events.esm.js +1 -1
  91. package/dist/extensibility.d.ts +20 -18
  92. package/dist/extensibility.esm.js +37 -35
  93. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  94. package/dist/face-match.d.ts +1 -1
  95. package/dist/face-match.esm.js +2 -2
  96. package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
  97. package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
  98. package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +12 -403
  99. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
  100. package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
  101. package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
  102. package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-CmKTG_T5.esm.js} +35 -21
  103. package/dist/feature-management.esm.js +1 -1
  104. package/dist/field-comparison.esm.js +1 -1
  105. package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
  106. package/dist/fiscal-qr.esm.js +1 -1
  107. package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +3 -3
  108. package/dist/flow-events.d.ts +1 -1
  109. package/dist/flow.d.ts +33 -18
  110. package/dist/flow.esm.js +82 -17
  111. package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
  112. package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Ca2vKNt2.esm.js} +84 -139
  113. package/dist/geolocation.esm.js +2 -2
  114. package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
  115. package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
  116. package/dist/government-validation.esm.js +2 -2
  117. package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
  118. package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-CeSDNgha.esm.js} +1 -1
  119. package/dist/home.d.ts +1 -1
  120. package/dist/home.esm.js +1 -1
  121. package/dist/http.esm.js +1 -1
  122. package/dist/id-ocr.d.ts +2 -2
  123. package/dist/id-ocr.esm.js +3 -19
  124. package/dist/id-selfie-flow.d.ts +3 -3
  125. package/dist/id-selfie-flow.esm.js +10 -9
  126. package/dist/id-verification.esm.js +2 -2
  127. package/dist/id.d.ts +4 -4
  128. package/dist/id.esm.js +4 -4
  129. package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
  130. package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B5xqok0L.esm.js} +9 -8
  131. package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CG8zbAp0.d.ts} +10 -8
  132. package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-BIF_7rub.esm.js} +27 -196
  133. package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +50 -22
  134. package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
  135. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-B5xeI2lg.d.ts} +3 -3
  136. package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
  137. package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
  138. package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
  139. package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
  140. package/dist/identity-reuse.esm.js +2 -2
  141. package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
  142. package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
  143. package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
  144. package/dist/{index-DMDAk85K.d.ts → index-CSPOoqah.d.ts} +1 -1
  145. package/dist/index.d.ts +1 -1
  146. package/dist/index.esm.js +1 -1
  147. package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
  148. package/dist/kyb-checks.d.ts +3 -0
  149. package/dist/kyb-checks.esm.js +3 -0
  150. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  151. package/dist/kybChecksManager-CnqwgKoV.esm.js +89 -0
  152. package/dist/kybChecksStateMachine-Be41K_NS.esm.js +719 -0
  153. package/dist/mandatory-consent.d.ts +2 -2
  154. package/dist/mandatory-consent.esm.js +2 -2
  155. package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +20 -11
  156. package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
  157. package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
  158. package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
  159. package/dist/multipartRecordingService-CCiRpByl.esm.js +407 -0
  160. package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
  161. package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-CZpORUWY.esm.js} +8 -6
  162. package/dist/phone.esm.js +2 -2
  163. package/dist/phoneFormat-DEpESpz2.esm.js +87 -0
  164. package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-C-qD3p3N.esm.js} +3 -3
  165. package/dist/phoneServices-BdR1nmSO.esm.js +77 -0
  166. package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +20 -60
  167. package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
  168. package/dist/qe-signature.esm.js +1 -1
  169. package/dist/recordingService-BVSCo0ac.esm.js +397 -0
  170. package/dist/redirect-to-mobile.esm.js +2 -2
  171. package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +3 -3
  172. package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +40 -22
  173. package/dist/resolveForm-f9PhUo9j.esm.js +143 -0
  174. package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
  175. package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
  176. package/dist/selfie.d.ts +4 -4
  177. package/dist/selfie.esm.js +10 -10
  178. package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
  179. package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
  180. package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
  181. package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
  182. package/dist/{session-DAaAewMX.esm.js → session-D0DWDKp9.esm.js} +4 -4
  183. package/dist/session.d.ts +2 -2
  184. package/dist/session.esm.js +6 -6
  185. package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-I92b2dmL.esm.js} +94 -24
  186. package/dist/{setup-CDAKwTr7.esm.js → setup-BpjzWqR1.esm.js} +25 -27
  187. package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
  188. package/dist/signature.esm.js +2 -2
  189. package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
  190. package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
  191. package/dist/{stats-BpMz-hTP.esm.js → stats-C2sigf9p.esm.js} +1 -1
  192. package/dist/stats.esm.js +1 -1
  193. package/dist/step-up.d.ts +378 -0
  194. package/dist/step-up.esm.js +639 -0
  195. package/dist/textRules-D4NRinKY.d.ts +41 -0
  196. package/dist/{tri-BajQnjbf.esm.js → tri-DaUNvo-o.esm.js} +29 -34
  197. package/dist/tri.d.ts +2 -2
  198. package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
  199. package/dist/tri.esm.js +2 -2
  200. package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
  201. package/dist/trust-graph.esm.js +1 -1
  202. package/dist/types-B-PIc0en.d.ts +115 -0
  203. package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
  204. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  205. package/dist/{types-xEEWCx1j.d.ts → types-BqlZSoZ-.d.ts} +5 -5
  206. package/dist/types-CTaL0XJz.d.ts +80 -0
  207. package/dist/{types-e8fCsvvk.d.ts → types-Cbm9J2yF.d.ts} +1 -1
  208. package/dist/{types--3HDl2SF.d.ts → types-CgihAhT_.d.ts} +3 -3
  209. package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
  210. package/dist/{types-B2FK_wYb.d.ts → types-DEa3taWc.d.ts} +9 -41
  211. package/dist/{types-PTZHRhGX.d.ts → types-P9LzsfRo.d.ts} +3 -2
  212. package/dist/{types-DuD8TRJU.d.ts → types-TisHEbBg.d.ts} +12 -4
  213. package/dist/types-kLsU6Jkt.d.ts +6 -0
  214. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  215. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  216. package/dist/video-selfie.d.ts +5 -4
  217. package/dist/video-selfie.esm.js +9 -7
  218. package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +16 -14
  219. package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
  220. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  221. package/dist/{warmup-BkfxQZsC.esm.js → warmup-9iKKNNuW.esm.js} +69 -20
  222. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  223. package/dist/wasm.d.ts +9 -3
  224. package/dist/wasm.esm.js +3 -3
  225. package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
  226. package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-C3v3s_4H.esm.js} +34 -19
  227. package/dist/watchlist-for-business.esm.js +2 -2
  228. package/dist/watchlist.esm.js +2 -2
  229. package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
  230. package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
  231. package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
  232. package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
  233. package/dist/workflow.d.ts +226 -41
  234. package/dist/workflow.esm.js +163 -67
  235. package/package.json +21 -5
  236. package/dist/addressSearch-41sMcnJk.esm.js +0 -604
  237. package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
  238. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  239. package/dist/types-D9r3zRfY.d.ts +0 -6
@@ -0,0 +1,25 @@
1
+ //#region ../infra/src/providers/browser/DateFormattingProvider.ts
2
+ var DateFormattingProvider = class {
3
+ utcToIsoDateString(value) {
4
+ if (value === void 0 || value === null || value === "") return "";
5
+ const date = new Date(value);
6
+ if (Number.isNaN(date.getTime())) return "";
7
+ return `${date.getUTCFullYear()}-${String(date.getUTCMonth() + 1).padStart(2, "0")}-${String(date.getUTCDate()).padStart(2, "0")}`;
8
+ }
9
+ parseIsoDateStringToEpochMs(value) {
10
+ return Date.parse(value);
11
+ }
12
+ getAgeInYears(birthDate, referenceEpochMs) {
13
+ const now = new Date(referenceEpochMs);
14
+ const birth = typeof birthDate === "string" && /^\d{4}-\d{2}-\d{2}$/.test(birthDate) ? (() => {
15
+ const [y, m, d] = birthDate.split("-").map(Number);
16
+ return new Date(y, m - 1, d);
17
+ })() : new Date(birthDate);
18
+ let age = now.getFullYear() - birth.getFullYear();
19
+ const monthDiff = now.getMonth() - birth.getMonth();
20
+ if (monthDiff < 0 || monthDiff === 0 && now.getDate() < birth.getDate()) age--;
21
+ return age;
22
+ }
23
+ };
24
+ //#endregion
25
+ export { DateFormattingProvider as t };
@@ -1,16 +1,15 @@
1
- import { l as wasmRuntime } from "./warmup-BkfxQZsC.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-CDAKwTr7.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-GTkoJyFY.esm.js";
4
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BujtUIW6.esm.js";
6
- import "./sessionInitializer-CWFT4dfw.esm.js";
7
- import { t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
1
+ import { l as wasmRuntime } from "./warmup-9iKKNNuW.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
4
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DHYTBCIn.esm.js";
6
+ import "./sessionInitializer-I92b2dmL.esm.js";
7
+ import { t as addDeviceStats } from "./stats-C2sigf9p.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
- import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DMBxHKS2.esm.js";
10
- import { n as hasBackCamera } from "./backCameraStream-C5_NNfUN.esm.js";
11
- import "./deepsightService-twg3bXqY.esm.js";
9
+ import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
+ import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
12
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
13
- import { n as saveProcessFaceMatch } from "./processFaceMatch-BWme3kVV.esm.js";
12
+ import { n as saveProcessFaceMatch } from "./processFaceMatch-B1YnoBer.esm.js";
14
13
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
15
14
  /**
16
15
  * On-device still-face capture is owned by the protected camera-cycle actor.
@@ -236,7 +235,7 @@ function startDetection(params) {
236
235
  };
237
236
  }
238
237
  async function initializeDeepsightSession(options) {
239
- const { loadDeepsightSession } = await import("./deepsightLoader-DMxtowCm.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-BKCT8UT1.esm.js");
240
239
  return loadDeepsightSession({
241
240
  ds: options.ds,
242
241
  storage: options.storage
@@ -1,5 +1,5 @@
1
- import "./warmup-BO57syF6.js";
2
- import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import "./warmup-BNhIuURi.js";
2
+ import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
3
3
  //#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
4
4
  /**
5
5
  * Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
@@ -1,5 +1,5 @@
1
- import { c as WasmPipeline } from "./warmup-BO57syF6.js";
2
- import { _ as MLProviderConfig } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
+ import { _ as MLProviderConfig } from "./createFaceAvatar-BimBTONm.js";
3
3
  //#region ../infra/src/capabilities/IStorageCapability.d.ts
4
4
  /**
5
5
  * Storage capability interface for abstracting storage operations.
@@ -0,0 +1,151 @@
1
+ import { n as getMultipartRecorderMimeType } from "./mediaRecorderOptions-B9-IEVtV.esm.js";
2
+ //#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
3
+ /**
4
+ * How often `MediaRecorder` hands us buffered data (incremental blobs).
5
+ * 500 ms keeps each blob — and therefore each upload chunk — small: less
6
+ * tail lost when a session is interrupted, and a smaller first blob (init
7
+ * header + keyframe), which is the largest and most timeout-prone chunk.
8
+ * Not lower: request rate doubles per halving, and browsers stop honoring
9
+ * very small timeslices reliably.
10
+ */
11
+ const TIMESLICE_MS = 500;
12
+ /**
13
+ * Encoder target for the full video-selfie session. Higher than the
14
+ * short-clip liveness path (0.5–1 Mbps) so a multi-minute session keeps
15
+ * usable quality. It's a ceiling — a still scene still encodes well below it.
16
+ */
17
+ const VIDEO_BITS_PER_SECOND = 25e5;
18
+ /**
19
+ * Records a stream and emits every `MediaRecorder` timeslice blob as its own
20
+ * part, in order. Each blob is a whole container fragment (WebM cluster /
21
+ * fMP4 `moof`+`mdat`), which is the property the video-selfie-service's
22
+ * gap-splicing depends on — parts must never cut a fragment at a byte
23
+ * offset. The service stages sub-5 MiB chunks and combines them server-side,
24
+ * so emitting the smallest whole-fragment unit (~0.5 s of video) maximizes
25
+ * what an interrupted session can salvage.
26
+ *
27
+ * Page-lifecycle orchestration lives in Core: it pauses this recorder before a
28
+ * backgrounded camera can stall, restores the camera/compositor, and only then
29
+ * resumes this same media container.
30
+ */
31
+ var MultipartRecordingProvider = class {
32
+ constructor() {
33
+ this.mediaRecorder = null;
34
+ this._isRecording = false;
35
+ this._hasError = false;
36
+ this._error = null;
37
+ this.mimeType = "";
38
+ this.partNumber = 0;
39
+ this.onPart = null;
40
+ this.settleStop = null;
41
+ }
42
+ get isRecording() {
43
+ return this._isRecording;
44
+ }
45
+ get hasError() {
46
+ return this._hasError;
47
+ }
48
+ get error() {
49
+ return this._error;
50
+ }
51
+ startRecording(stream, onPart) {
52
+ this.reset();
53
+ this.partNumber = 0;
54
+ this.onPart = onPart;
55
+ try {
56
+ this.mimeType = getMultipartRecorderMimeType();
57
+ const recorder = new MediaRecorder(stream.clone(), {
58
+ mimeType: this.mimeType,
59
+ videoBitsPerSecond: VIDEO_BITS_PER_SECOND
60
+ });
61
+ recorder.ondataavailable = (event) => {
62
+ if (event.data.size > 0 && this.onPart) {
63
+ this.partNumber += 1;
64
+ this.onPart({
65
+ chunk: event.data,
66
+ partNumber: this.partNumber
67
+ });
68
+ }
69
+ };
70
+ recorder.onerror = (event) => {
71
+ const detail = event instanceof ErrorEvent && event.error instanceof Error ? event.error.message : event.type;
72
+ this._error = `Recording error: ${detail}`;
73
+ this._isRecording = false;
74
+ this._hasError = true;
75
+ };
76
+ recorder.start(TIMESLICE_MS);
77
+ this.mediaRecorder = recorder;
78
+ this._isRecording = true;
79
+ this._error = null;
80
+ this._hasError = false;
81
+ } catch (err) {
82
+ const detail = err instanceof Error ? err.message : String(err);
83
+ this._error = `Failed to start recording: ${detail}`;
84
+ this._hasError = true;
85
+ }
86
+ }
87
+ pauseRecording() {
88
+ const recorder = this.mediaRecorder;
89
+ if (!recorder || !this._isRecording || this._hasError) return false;
90
+ if (recorder.state === "paused") return true;
91
+ if (recorder.state !== "recording") return false;
92
+ try {
93
+ recorder.pause();
94
+ return true;
95
+ } catch (err) {
96
+ const detail = err instanceof Error ? err.message : String(err);
97
+ this._error = `Failed to pause recording: ${detail}`;
98
+ this._hasError = true;
99
+ return false;
100
+ }
101
+ }
102
+ resumeRecording() {
103
+ const recorder = this.mediaRecorder;
104
+ if (!recorder || !this._isRecording || this._hasError) return false;
105
+ if (recorder.state === "recording") return true;
106
+ if (recorder.state !== "paused") return false;
107
+ try {
108
+ recorder.resume();
109
+ return true;
110
+ } catch (err) {
111
+ const detail = err instanceof Error ? err.message : String(err);
112
+ this._error = `Failed to resume recording: ${detail}`;
113
+ this._hasError = true;
114
+ return false;
115
+ }
116
+ }
117
+ stopRecording() {
118
+ const recorder = this.mediaRecorder;
119
+ return new Promise((resolve) => {
120
+ if (recorder && this._isRecording) {
121
+ this.settleStop = resolve;
122
+ recorder.onstop = () => {
123
+ this.settleStop = null;
124
+ resolve();
125
+ };
126
+ recorder.stop();
127
+ this._isRecording = false;
128
+ } else resolve();
129
+ recorder?.stream?.getTracks().forEach((track) => track.stop());
130
+ });
131
+ }
132
+ reset() {
133
+ const recorder = this.mediaRecorder;
134
+ if (recorder) {
135
+ recorder.ondataavailable = null;
136
+ recorder.onerror = null;
137
+ recorder.onstop = null;
138
+ if (recorder.state !== "inactive") recorder.stop();
139
+ recorder.stream.getTracks().forEach((track) => track.stop());
140
+ this.mediaRecorder = null;
141
+ }
142
+ this.settleStop?.();
143
+ this.settleStop = null;
144
+ this.onPart = null;
145
+ this._isRecording = false;
146
+ this._error = null;
147
+ this._hasError = false;
148
+ }
149
+ };
150
+ //#endregion
151
+ export { MultipartRecordingProvider as t };
@@ -1,5 +1,5 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
2
- import "./IWasmUtilCapability-Cqiaxydi.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
2
+ import "./IWasmUtilCapability-BRn0wz8v.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  //#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
5
5
  type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
@@ -0,0 +1,42 @@
1
+ //#region ../infra/src/media/StreamCanvasProcessingSession.ts
2
+ var StreamCanvasProcessingSession = class {
3
+ /**
4
+ * Creates a processing session that reacts to `StreamCanvasCapture` frame events
5
+ * and drives a provider's `processFrame()` method with backpressure.
6
+ */
7
+ constructor(params) {
8
+ this.disposed = false;
9
+ this.isProcessing = false;
10
+ this.onFrameEvent = () => {
11
+ if (this.disposed || this.isProcessing) return;
12
+ const frame = this.capturer.getLatestFrame();
13
+ if (!frame) return;
14
+ this.onFrame?.(frame);
15
+ this.isProcessing = true;
16
+ this.provider.processFrame(frame).catch(() => {}).finally(() => {
17
+ this.isProcessing = false;
18
+ });
19
+ };
20
+ this.capturer = params.capturer;
21
+ this.provider = params.provider;
22
+ this.onFrame = params.onFrame;
23
+ this.capturer.addEventListener("frame", this.onFrameEvent);
24
+ }
25
+ /**
26
+ * Unsubscribes from frame events and resets the provider.
27
+ */
28
+ dispose() {
29
+ if (this.disposed) return;
30
+ this.disposed = true;
31
+ this.capturer.removeEventListener("frame", this.onFrameEvent);
32
+ this.provider.reset();
33
+ }
34
+ /**
35
+ * Returns whether the session has been disposed.
36
+ */
37
+ isDisposed() {
38
+ return this.disposed;
39
+ }
40
+ };
41
+ //#endregion
42
+ export { StreamCanvasProcessingSession as t };
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-DTj9auyA.esm.js";
3
- import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BkfxQZsC.esm.js";
2
+ import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-C3v3s_4H.esm.js";
3
+ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-9iKKNNuW.esm.js";
4
4
  //#region ../infra/src/wasm/utilityWasmApi.ts
5
5
  /**
6
6
  * Utility / metadata domain facade over {@link WasmRuntime}.
@@ -0,0 +1,80 @@
1
+ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BfQPSgSO.esm.js";
3
+ //#region ../infra/src/providers/browser/WorkerEncoderRecordingProvider.ts
4
+ var WorkerEncoderRecordingProvider_exports = /* @__PURE__ */ __exportAll({ WorkerEncoderRecordingProvider: () => WorkerEncoderRecordingProvider });
5
+ /**
6
+ * Multipart recorder for a `CameraCompositor` that encodes inside its worker
7
+ * (ENG-55397): emits the worker's WebM clusters as parts, in order. When the
8
+ * compositor could not start in-worker encoding (no insertable streams or
9
+ * WebCodecs, strict CSP), it records the composite stream with
10
+ * `MediaRecorder` instead, so callers wire it unconditionally.
11
+ *
12
+ * Why not always `MediaRecorder`: Chrome hands every recorded frame through
13
+ * the page main thread and drops frames while it is blocked. On a Galaxy A01
14
+ * Core the ID flow blocks it for 3–5 s (WASM + 1080p readbacks); a
15
+ * `MediaRecorder` fed by the worker kept 74 of 149 frames under 1.5 s
16
+ * freezes, the in-worker encoder 150 of 151.
17
+ */
18
+ var WorkerEncoderRecordingProvider = class {
19
+ constructor(compositor) {
20
+ this.compositor = compositor;
21
+ this._isRecording = false;
22
+ this._error = null;
23
+ this.partNumber = 0;
24
+ this.fallback = null;
25
+ }
26
+ get isRecording() {
27
+ return this.fallback ? this.fallback.isRecording : this._isRecording;
28
+ }
29
+ get hasError() {
30
+ return this.error !== null;
31
+ }
32
+ get error() {
33
+ if (this.fallback) return this.fallback.error;
34
+ return this._error ?? this.compositor.workerRecordingErrorMessage;
35
+ }
36
+ startRecording(stream, onPart) {
37
+ this.reset();
38
+ if (!this.compositor.encodesInWorker) {
39
+ this.fallback = new MultipartRecordingProvider();
40
+ this.fallback.startRecording(stream, onPart);
41
+ return;
42
+ }
43
+ this.partNumber = 0;
44
+ const started = this.compositor.startWorkerRecording((chunk) => {
45
+ this.partNumber += 1;
46
+ onPart({
47
+ chunk,
48
+ partNumber: this.partNumber
49
+ });
50
+ });
51
+ this._isRecording = started;
52
+ this._error = started ? null : "Failed to start recording: no encoder";
53
+ }
54
+ pauseRecording() {
55
+ if (this.fallback) return this.fallback.pauseRecording();
56
+ return this._isRecording && this.compositor.pauseWorkerRecording();
57
+ }
58
+ resumeRecording() {
59
+ if (this.fallback) return this.fallback.resumeRecording();
60
+ return this._isRecording && this.compositor.resumeWorkerRecording();
61
+ }
62
+ async stopRecording() {
63
+ if (this.fallback) {
64
+ await this.fallback.stopRecording();
65
+ return;
66
+ }
67
+ if (!this._isRecording) return;
68
+ this._isRecording = false;
69
+ await this.compositor.stopWorkerRecording();
70
+ }
71
+ reset() {
72
+ this.fallback?.reset();
73
+ this.fallback = null;
74
+ this.compositor.cancelWorkerRecording();
75
+ this._isRecording = false;
76
+ this._error = null;
77
+ }
78
+ };
79
+ //#endregion
80
+ export { WorkerEncoderRecordingProvider_exports as n, WorkerEncoderRecordingProvider as t };
@@ -0,0 +1,72 @@
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
+ import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
+ //#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
5
+ /**
6
+ * The rollout switch for form definitions (ENG-59781): one all-or-nothing
7
+ * answer to "do eKYC and eKYB build their forms from catalog definitions, or
8
+ * with today's builders?". Both module adapters ask it before selecting a
9
+ * definition (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
10
+ * (`internal/forms`) knows nothing about it.
11
+ *
12
+ * Off by default, so every source and country keeps today's builder. A
13
+ * catalog-only eKYC source, one today's builder never knew, uses its
14
+ * definition either way, since it has no old path to fall back to.
15
+ *
16
+ * This is Incode's rollout decision, not the integrator's: it is not a
17
+ * `setup()` option. It stays a constant: customers move to definitions only
18
+ * once the migration is done, so it is turned on in code at that point.
19
+ */
20
+ const ENABLED_BY_DEFAULT = false;
21
+ /** Whether sources and countries with a form definition use it. */
22
+ function isFormDefinitionsEnabled() {
23
+ return ENABLED_BY_DEFAULT;
24
+ }
25
+ //#endregion
26
+ //#region src/shared/addressSearch.ts
27
+ /** Searches for address suggestions via the address autocomplete API. */
28
+ async function searchAddress(query, signal) {
29
+ const res = await api.post(endpoints.addressAutocomplete, { search: query }, { signal });
30
+ if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
31
+ return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
32
+ const addr = item.address ?? item;
33
+ return {
34
+ id: item.id ?? i,
35
+ label: addr.label ?? item.title ?? "",
36
+ street: addr.street,
37
+ city: addr.city,
38
+ stateCode: addr.stateCode ?? addr.state,
39
+ postalCode: addr.postalCode,
40
+ houseNumber: addr.houseNumber,
41
+ countryCode: addr.countryCode
42
+ };
43
+ }) } };
44
+ }
45
+ const DEBOUNCE_MS = 300;
46
+ /**
47
+ * XState callback actor that debounces address search requests.
48
+ * Cancels in-flight HTTP requests when the actor is stopped.
49
+ */
50
+ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
51
+ const timerProvider = BrowserTimerProvider.getInstance();
52
+ const controller = new AbortController();
53
+ const handle = timerProvider.setTimeout(async () => {
54
+ try {
55
+ sendBack({
56
+ type: "RESULTS",
57
+ suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
58
+ });
59
+ } catch {
60
+ if (!controller.signal.aborted) sendBack({
61
+ type: "RESULTS",
62
+ suggestions: []
63
+ });
64
+ }
65
+ }, DEBOUNCE_MS);
66
+ return () => {
67
+ timerProvider.clearTimeout(handle);
68
+ controller.abort();
69
+ };
70
+ });
71
+ //#endregion
72
+ export { searchAddress as n, isFormDefinitionsEnabled as r, debounceSearchActor as t };
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C7pqXsRm.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BKQuhJm_.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-BcsUTTIr.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CQ08atTC.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-CX9I2f3s.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BWCVkSu2.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-BcsUTTIr.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-CX9I2f3s.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/antifraud/antifraudServices.ts
@@ -64,6 +64,9 @@ const endpoints = {
64
64
  addGeolocation: "/omni/add/geolocation",
65
65
  ekycSubmit: "/omni/externalVerification/ekyc",
66
66
  ekybSubmit: "/omni/externalVerification/ekyb",
67
+ ekycPrefillSubmit: "/omni/externalVerification/ekyc-prefill",
68
+ kybForm: "/omni/kyb/form",
69
+ kybSubmit: "/omni/kyb",
67
70
  getCombinedConsent: "/omni/get/combined-consent",
68
71
  signCombinedConsent: "/omni/sign-combined-consent",
69
72
  getConsents: "/omni/consents",
@@ -78,6 +81,7 @@ const endpoints = {
78
81
  documentLegacy: "/omni/add/document",
79
82
  cfdi: "/omni/process/cfdi",
80
83
  finishStatus: "/omni/finish-status",
84
+ redirectionUrl: "/omni/redirection-url",
81
85
  sessionTotalScoreStatus: "/omni/session/total-score-status",
82
86
  updateSession: "/omni/update",
83
87
  onboardingUrl: "/omni/onboarding-url",
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-BujtUIW6.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DHYTBCIn.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,5 +1,5 @@
1
- import { r as getToken } from "./api-BO8JA7Pf.esm.js";
2
- import { a as watchConnectivity } from "./connectivity-HSl0diCx.esm.js";
1
+ import { r as getToken } from "./api-BSnbg4HO.esm.js";
2
+ import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
3
3
  //#region src/internal/session/attemptCarry.ts
4
4
  const carried = /* @__PURE__ */ new Map();
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-C-xKdj-d.js";
2
- import { t as AuthenticationConfig } from "./types-D9r3zRfY.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-C-cOki0Y.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BVwVGa3z.js";
2
+ import { t as AuthenticationConfig } from "./types-kLsU6Jkt.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CISxaY6N.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-BL2ptOA0.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DvmklBTE.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BMD1JLwr.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BoiOaB0m.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-CDAKwTr7.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-GTkoJyFY.esm.js";
3
- import { n as eventModuleNames } from "./events-CQteqXfy.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
3
+ import { n as eventModuleNames } from "./events-C7h7oaTE.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CBm05KnT.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BL2ptOA0.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ClFsByZc.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BMD1JLwr.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-C-xKdj-d.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BVwVGa3z.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BQjCbL51.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-B83VmClw.esm.js";
5
- import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-kHY2IDJi.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-9hv5GC_H.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BSLpXAGx.esm.js";
5
+ import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Dvvw7PRY.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
package/dist/avatar.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-lYX0VTYs.js";
1
+ import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-BimBTONm.js";
2
2
  export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
@@ -0,0 +1,67 @@
1
+ //#region src/internal/camera/backCameraLabel.ts
2
+ const BACK_CAMERA_KEYWORDS = [
3
+ "rear",
4
+ "back",
5
+ "rück",
6
+ "arrière",
7
+ "trasera",
8
+ "trás",
9
+ "traseira",
10
+ "posteriore",
11
+ "后面",
12
+ "後面",
13
+ "背面",
14
+ "后置",
15
+ "後置",
16
+ "背置",
17
+ "задней",
18
+ "الخلفية",
19
+ "후",
20
+ "arka",
21
+ "achterzijde",
22
+ "หลัง",
23
+ "baksidan",
24
+ "bagside",
25
+ "sau",
26
+ "bak",
27
+ "tylny",
28
+ "takakamera",
29
+ "belakang",
30
+ "אחורית",
31
+ "πίσω",
32
+ "spate",
33
+ "hátsó",
34
+ "zadní",
35
+ "darrere",
36
+ "zadná",
37
+ "задня",
38
+ "stražnja",
39
+ "बैक"
40
+ ];
41
+ function isBackCameraLabel(label) {
42
+ const lowercaseLabel = label.toLowerCase();
43
+ return BACK_CAMERA_KEYWORDS.some((keyword) => lowercaseLabel.includes(keyword));
44
+ }
45
+ function isBackFacingTrack(track) {
46
+ const settings = track.getSettings();
47
+ return isBackCameraLabel(track.label) || settings.facingMode === "environment";
48
+ }
49
+ /**
50
+ * Pick the best back-facing device from a list already filtered by label.
51
+ * Prefers the highest megapixel count when labels advertise it, else the first.
52
+ */
53
+ function selectBestBackDevice(devices) {
54
+ if (devices.length === 1) return devices[0];
55
+ const withMp = devices.map((d) => {
56
+ const match = d.label.match(/\b([0-9]+)\s*MP?\b/i);
57
+ return {
58
+ device: d,
59
+ mp: match ? parseInt(match[1], 10) : 0
60
+ };
61
+ });
62
+ const maxMp = Math.max(...withMp.map((w) => w.mp));
63
+ const best = withMp.find((w) => w.mp === maxMp);
64
+ return best ? best.device : devices[0];
65
+ }
66
+ //#endregion
67
+ export { isBackFacingTrack as n, selectBestBackDevice as r, isBackCameraLabel as t };