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

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 (290) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
  3. package/dist/{FaceDetectionProvider-BSLpXAGx.esm.js → FaceDetectionProvider-WtuJ6QBK.esm.js} +16 -11
  4. package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
  5. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  6. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  7. package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
  8. package/dist/{StreamCanvasCapture-ixfy84ys.d.ts → StreamCanvasCapture-BnBfA6fb.d.ts} +24 -2
  9. package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
  10. package/dist/{WasmUtilProvider-C_puwvVn.esm.js → WasmUtilProvider-D5RMElzw.esm.js} +47 -4
  11. package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
  12. package/dist/{addressSearch-B_4JYKa-.esm.js → addressSearch-BzAy6lhp.esm.js} +6 -7
  13. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  14. package/dist/ae-signature.d.ts +2 -2
  15. package/dist/ae-signature.esm.js +1 -1
  16. package/dist/antifraud.d.ts +1 -1
  17. package/dist/antifraud.esm.js +2 -2
  18. package/dist/{antifraudManager-BWCVkSu2.esm.js → antifraudManager-Bw5nw5fh.esm.js} +5 -3
  19. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  20. package/dist/{antifraudStateMachine-CX9I2f3s.esm.js → antifraudStateMachine-kOfsaAuT.esm.js} +4 -6
  21. package/dist/{api-BSnbg4HO.esm.js → api-DSZSaaWr.esm.js} +3 -1
  22. package/dist/{apiError-Bmwy1Fa7.esm.js → apiError-BDuL1wTs.esm.js} +1 -1
  23. package/dist/{attemptCarry-zQH85Elh.esm.js → attemptCarry-QFQkA3na.esm.js} +1 -1
  24. package/dist/authentication.d.ts +3 -3
  25. package/dist/authentication.esm.js +2 -2
  26. package/dist/{authenticationManager-BoiOaB0m.esm.js → authenticationManager-B0SioAdd.esm.js} +7 -6
  27. package/dist/{authenticationManager-CISxaY6N.d.ts → authenticationManager-eYcurNiS.d.ts} +2 -2
  28. package/dist/{authenticationStateMachine-BMD1JLwr.esm.js → authenticationStateMachine-n1OrhPTv.esm.js} +50 -18
  29. package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
  30. package/dist/{browser-pQZA35G2-PIj2uGBm.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
  31. package/dist/calendarDate-DcqGuEht.esm.js +35 -0
  32. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  33. package/dist/camera-9yYDUOsO.d.ts +5 -0
  34. package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
  35. package/dist/camera.d.ts +2 -2
  36. package/dist/camera.esm.js +1 -1
  37. package/dist/certificate-issuance.d.ts +1 -1
  38. package/dist/certificate-issuance.esm.js +2 -2
  39. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  40. package/dist/{certificateIssuanceManager-DzDuQTsK.esm.js → certificateIssuanceManager-DPT8E9zV.esm.js} +5 -3
  41. package/dist/{certificateIssuanceStateMachine-BAOYLACb.esm.js → certificateIssuanceStateMachine-BwDb3ezx.esm.js} +3 -3
  42. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  43. package/dist/consent.d.ts +1 -1
  44. package/dist/consent.esm.js +2 -2
  45. package/dist/{consentManager-7aHaehwF.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -8
  46. package/dist/{consentManager-DFSKQTcR.esm.js → consentManager-DRMJ3O4r.esm.js} +5 -3
  47. package/dist/{consentStateMachine-4nZIH2O8.esm.js → consentStateMachine-Br0JbW7k.esm.js} +6 -9
  48. package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
  49. package/dist/cross-document-data-match.d.ts +1 -1
  50. package/dist/cross-document-data-match.esm.js +1 -1
  51. package/dist/{crossDocumentDataMatchManager-D7ka2qOC.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +6 -5
  52. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  53. package/dist/curp-DZGvefg3.esm.js +14 -0
  54. package/dist/curp-validation.d.ts +1 -1
  55. package/dist/curp-validation.esm.js +2 -2
  56. package/dist/{curpValidationManager-BVTt7IgC.esm.js → curpValidationManager-BKUDQ55W.esm.js} +6 -4
  57. package/dist/{curpValidationManager-DEqTUWdu.d.ts → curpValidationManager-DgUZySoq.d.ts} +4 -4
  58. package/dist/{curpValidationStateMachine-FB_MRbZQ.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +16 -17
  59. package/dist/custom-fields.d.ts +1 -1
  60. package/dist/custom-fields.esm.js +1 -1
  61. package/dist/custom-watchlist.d.ts +1 -1
  62. package/dist/custom-watchlist.esm.js +2 -2
  63. package/dist/{customFieldsManager-gbsq53p6.esm.js → customFieldsManager-CPhONu5i.esm.js} +15 -17
  64. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  65. package/dist/{customWatchlistManager-50APwk4Z.esm.js → customWatchlistManager-cN57usIW.esm.js} +5 -3
  66. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  67. package/dist/{customWatchlistStateMachine-CpEVPzuT.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +4 -6
  68. package/dist/{deepsightLoader-BKCT8UT1.esm.js → deepsightLoader-ClCQCdeL.esm.js} +5 -5
  69. package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
  70. package/dist/{desktopCameraElection-Dvvw7PRY.esm.js → desktopCameraElection-btFONYx6.esm.js} +23 -11
  71. package/dist/device.d.ts +3 -3
  72. package/dist/device.esm.js +15 -15
  73. package/dist/document-capture.d.ts +2 -2
  74. package/dist/document-capture.esm.js +2 -2
  75. package/dist/document-signature.d.ts +123 -0
  76. package/dist/document-signature.esm.js +149 -0
  77. package/dist/{documentCaptureManager-BG5TuqJz.esm.js → documentCaptureManager-5I3lKDVW.esm.js} +5 -3
  78. package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-BkaPpoKy.d.ts} +6 -5
  79. package/dist/{documentCaptureStateMachine-C7PW_Ah9.esm.js → documentCaptureStateMachine-jtQHasPA.esm.js} +9 -12
  80. package/dist/documentSignatureStateMachine-DKtU0H-F.esm.js +218 -0
  81. package/dist/dynamic-forms.d.ts +1 -1
  82. package/dist/dynamic-forms.esm.js +2 -2
  83. package/dist/{dynamicFormsManager-B0bpHhhJ.esm.js → dynamicFormsManager-B6Bv32wU.esm.js} +5 -3
  84. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  85. package/dist/{dynamicFormsStateMachine-2ZHyejBc.esm.js → dynamicFormsStateMachine-Kauq2oB-.esm.js} +12 -13
  86. package/dist/ekyb.d.ts +3 -3
  87. package/dist/ekyb.esm.js +2 -2
  88. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  89. package/dist/{ekybManager-P9mC7W9J.esm.js → ekybManager-wi135kG-.esm.js} +5 -3
  90. package/dist/{ekybStateMachine-C7HKaeVr.esm.js → ekybStateMachine-Vjb6_mFt.esm.js} +19 -23
  91. package/dist/ekyc-prefill.d.ts +1 -1
  92. package/dist/ekyc-prefill.esm.js +2 -2
  93. package/dist/ekyc.d.ts +2 -2
  94. package/dist/ekyc.esm.js +3 -3
  95. package/dist/{ekycManager-q1fos6IY.d.ts → ekycManager-BKVQazAb.d.ts} +47 -6
  96. package/dist/{ekycManager-CeeJoRFY.esm.js → ekycManager-DWCL912J.esm.js} +39 -16
  97. package/dist/{ekycPrefillManager-PPGVZbWk.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -3
  98. package/dist/{ekycPrefillManager-C6BFFKxc.esm.js → ekycPrefillManager-C27Cu6rn.esm.js} +3 -2
  99. package/dist/{ekycPrefillStateMachine-Dku90kZL.esm.js → ekycPrefillStateMachine-DqXvupSw.esm.js} +12 -13
  100. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-1hyjJ6bw.esm.js} +201 -38
  101. package/dist/{ekycStateMachine-DBTczgGE.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +478 -73
  102. package/dist/{ekycUtils-Dcff8BOD.esm.js → ekycUtils-D9ui9Ztp.esm.js} +49 -43
  103. package/dist/electronic-signature.d.ts +1 -1
  104. package/dist/electronic-signature.esm.js +1 -1
  105. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  106. package/dist/{electronicSignatureManager-BKQuhJm_.esm.js → electronicSignatureManager-BHnxFx7u.esm.js} +11 -17
  107. package/dist/email.d.ts +1 -1
  108. package/dist/email.esm.js +2 -2
  109. package/dist/{emailManager-CGmKbsBL.esm.js → emailManager-CfvR6pQN.esm.js} +5 -3
  110. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  111. package/dist/{emailStateMachine-CGY1UGs2.esm.js → emailStateMachine-C4FouMzc.esm.js} +5 -7
  112. package/dist/events-CsPmTidH.esm.js +299 -0
  113. package/dist/events.d.ts +4 -1
  114. package/dist/events.esm.js +2 -1
  115. package/dist/extensibility.d.ts +41 -41
  116. package/dist/extensibility.esm.js +38 -38
  117. package/dist/face-match.d.ts +1 -1
  118. package/dist/face-match.esm.js +2 -2
  119. package/dist/{faceCaptureManagerFactory-ClFsByZc.esm.js → faceCaptureManagerFactory-BjVIUTMM.esm.js} +17 -6
  120. package/dist/{faceCaptureManagerFactory-BVwVGa3z.d.ts → faceCaptureManagerFactory-DhDPxxp-.d.ts} +23 -10
  121. package/dist/{faceCaptureSetup-9hv5GC_H.esm.js → faceCaptureSetup-q33e6ah9.esm.js} +61 -42
  122. package/dist/{faceMatchManager-BZtEw6bB.d.ts → faceMatchManager-C5b5WtcY.d.ts} +3 -2
  123. package/dist/{faceMatchManager-CRe7Nvm6.esm.js → faceMatchManager-CsPFaja4.esm.js} +5 -3
  124. package/dist/{faceMatchStateMachine-EX9QhxFE.esm.js → faceMatchStateMachine-Co2S7iN8.esm.js} +24 -23
  125. package/dist/{feature-management-CmKTG_T5.esm.js → feature-management-BhRKAG--.esm.js} +3 -2
  126. package/dist/feature-management.esm.js +1 -1
  127. package/dist/field-comparison.d.ts +1 -1
  128. package/dist/field-comparison.esm.js +1 -1
  129. package/dist/{fieldComparisonManager-DuosZJso.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +7 -7
  130. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  131. package/dist/fiscal-qr.d.ts +1 -1
  132. package/dist/fiscal-qr.esm.js +1 -1
  133. package/dist/{fiscalQrManager-ji0qDaTW.esm.js → fiscalQrManager-CpX6MOy_.esm.js} +9 -8
  134. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  135. package/dist/flow-events.d.ts +1 -1
  136. package/dist/flow.d.ts +48 -12
  137. package/dist/flow.esm.js +214 -58
  138. package/dist/{flowCompletionService-DvcH16XO.esm.js → flowCompletionService-E_6ChYsV.esm.js} +2 -2
  139. package/dist/{flowServices-Ca2vKNt2.esm.js → flowServices-C23o7MqO.esm.js} +375 -13
  140. package/dist/geolocation.d.ts +1 -1
  141. package/dist/geolocation.esm.js +2 -2
  142. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  143. package/dist/{geolocationManager-CiG32lIm.esm.js → geolocationManager-dgMVi0ed.esm.js} +5 -3
  144. package/dist/{geolocationStateMachine-5rnTEOuw.esm.js → geolocationStateMachine-CCVd9xGh.esm.js} +8 -10
  145. package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
  146. package/dist/government-validation.d.ts +1 -1
  147. package/dist/government-validation.esm.js +2 -2
  148. package/dist/{governmentValidationManager-BivVZNVe.esm.js → governmentValidationManager-D2KGYDws.esm.js} +5 -3
  149. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  150. package/dist/{governmentValidationStateMachine-CeSDNgha.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +4 -6
  151. package/dist/home.d.ts +4 -3
  152. package/dist/home.esm.js +4 -2
  153. package/dist/http.esm.js +1 -1
  154. package/dist/id-ocr.d.ts +1 -1
  155. package/dist/id-ocr.esm.js +3 -3
  156. package/dist/id-selfie-flow.d.ts +5 -4
  157. package/dist/id-selfie-flow.esm.js +13 -12
  158. package/dist/id-verification.d.ts +1 -1
  159. package/dist/id-verification.esm.js +2 -2
  160. package/dist/id.d.ts +3 -3
  161. package/dist/id.esm.js +3 -3
  162. package/dist/{idCaptureDefaults-DBnOC28H.esm.js → idCaptureDefaults-BivjtJka.esm.js} +1 -1
  163. package/dist/{idCaptureManager-B5xqok0L.esm.js → idCaptureManager-B_deOVCC.esm.js} +15 -15
  164. package/dist/{idCaptureManager-CG8zbAp0.d.ts → idCaptureManager-DzAMWmRO.d.ts} +17 -9
  165. package/dist/{idCaptureServices-BIF_7rub.esm.js → idCaptureServices-BFCsusKB.esm.js} +17 -25
  166. package/dist/{idCaptureStateMachine-B5cfgKvn.esm.js → idCaptureStateMachine--CMATkG9.esm.js} +52 -57
  167. package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
  168. package/dist/{idOcrManager-DNbVTMIu.esm.js → idOcrManager-C-_bzBSX.esm.js} +5 -3
  169. package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-DflRx-_u.d.ts} +5 -4
  170. package/dist/{idOcrStateMachine-MAGnpWkb.esm.js → idOcrStateMachine-BNtBkAXC.esm.js} +13 -10
  171. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  172. package/dist/{idVerificationManager-BEAkamNm.esm.js → idVerificationManager-CdvGdtg2.esm.js} +5 -3
  173. package/dist/{idVerificationStateMachine-D5mBN2Ye.esm.js → idVerificationStateMachine-mozw0CIg.esm.js} +4 -6
  174. package/dist/identity-reuse.d.ts +2 -2
  175. package/dist/identity-reuse.esm.js +2 -2
  176. package/dist/identity-search.d.ts +97 -0
  177. package/dist/identity-search.esm.js +96 -0
  178. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
  179. package/dist/{identityReuseManager-M8-BTjar.esm.js → identityReuseManager-Z1Re4UGd.esm.js} +9 -4
  180. package/dist/{identityReuseStateMachine-D5bXgw9h.esm.js → identityReuseStateMachine-C_3fSFCw.esm.js} +24 -31
  181. package/dist/{index-CSPOoqah.d.ts → index-C0WIMlJE.d.ts} +2 -2
  182. package/dist/{index-Btj1EhiM.d.ts → index-CNck5TLp.d.ts} +1 -1
  183. package/dist/index-DHuAkTe0.d.ts +1 -0
  184. package/dist/index.d.ts +1 -1
  185. package/dist/index.esm.js +1 -1
  186. package/dist/{invokeOnCaptureCallback-C1-j4fsq.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
  187. package/dist/kyb-checks.d.ts +1 -1
  188. package/dist/kyb-checks.esm.js +2 -2
  189. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  190. package/dist/{kybChecksManager-CnqwgKoV.esm.js → kybChecksManager-D-mVF14T.esm.js} +3 -2
  191. package/dist/{kybChecksStateMachine-Be41K_NS.esm.js → kybChecksStateMachine-BARZh9GN.esm.js} +11 -14
  192. package/dist/mandatory-consent.d.ts +2 -2
  193. package/dist/mandatory-consent.esm.js +2 -2
  194. package/dist/{mandatoryConsentManager-LFhUlLvO.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +5 -3
  195. package/dist/{mandatoryConsentManager-CYOJd_IZ.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +10 -9
  196. package/dist/{mandatoryConsentStateMachine-DTSyDqQs.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +6 -9
  197. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +21 -4
  198. package/dist/{multipartRecordingService-CCiRpByl.esm.js → multipartRecordingService-CEtaAPz4.esm.js} +2 -2
  199. package/dist/{permissionGuards-DjQUR1du.esm.js → permissionGuards-BJIaHxvI.esm.js} +1 -1
  200. package/dist/{permissionServices-CZpORUWY.esm.js → permissionServices-6Mdq1hDk.esm.js} +8 -5
  201. package/dist/phone.d.ts +1 -1
  202. package/dist/phone.esm.js +2 -2
  203. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  204. package/dist/{phoneManager-C-qD3p3N.esm.js → phoneManager-D8-l6-0y.esm.js} +5 -3
  205. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  206. package/dist/{phoneServices-BdR1nmSO.esm.js → phoneServices-C9lFIuCM.esm.js} +3 -7
  207. package/dist/{phoneStateMachine-2FMTdjtJ.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +4 -4
  208. package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
  209. package/dist/{processFaceMatch-B1YnoBer.esm.js → processFaceMatch-B1Mhqkep.esm.js} +1 -1
  210. package/dist/qe-signature.d.ts +2 -2
  211. package/dist/qe-signature.esm.js +1 -1
  212. package/dist/{recordingService-BVSCo0ac.esm.js → recordingService-CLGnDCDl.esm.js} +7 -6
  213. package/dist/redirect-to-mobile.d.ts +1 -1
  214. package/dist/redirect-to-mobile.esm.js +2 -2
  215. package/dist/{redirectToMobileManager-CqyDfDxs.esm.js → redirectToMobileManager-Djb_daci.esm.js} +6 -4
  216. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
  217. package/dist/{redirectToMobileStateMachine-CXqfo2Gd.esm.js → redirectToMobileStateMachine-BCyQFlpn.esm.js} +9 -19
  218. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  219. package/dist/{runChildModule-BmteMhR7.esm.js → runChildModule-DF2c6TxC.esm.js} +8 -6
  220. package/dist/{sdkVersion-KZROt6l3.esm.js → sdkVersion-B5_kVegT.esm.js} +1 -1
  221. package/dist/selfie.d.ts +5 -5
  222. package/dist/selfie.esm.js +13 -12
  223. package/dist/{selfieErrorUtils-fqxp645p.esm.js → selfieErrorUtils-BVuv5qO7.esm.js} +1 -1
  224. package/dist/{selfieManager-DREuBhXZ.d.ts → selfieManager-C5a6Fw6W.d.ts} +2 -2
  225. package/dist/{selfieManager-A-n3k9Tu.esm.js → selfieManager-Dnb5h3qV.esm.js} +7 -6
  226. package/dist/{selfieStateMachine-48PKdKrw.esm.js → selfieStateMachine-BT69FLFb.esm.js} +5 -5
  227. package/dist/{session-D0DWDKp9.esm.js → session-OCc4b-Iv.esm.js} +4 -4
  228. package/dist/session.d.ts +1 -1
  229. package/dist/session.esm.js +5 -5
  230. package/dist/{sessionInitializer-I92b2dmL.esm.js → sessionInitializer-BUUpdBy6.esm.js} +11 -12
  231. package/dist/{setup-CG6oLkAa.d.ts → setup-BpD7lYSf.d.ts} +5 -4
  232. package/dist/{setup-BpjzWqR1.esm.js → setup-CJMohzTE.esm.js} +10 -9
  233. package/dist/signature.d.ts +1 -1
  234. package/dist/signature.esm.js +2 -2
  235. package/dist/{signatureManager-M9vQBj19.esm.js → signatureManager-B6dRieBV.esm.js} +5 -3
  236. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  237. package/dist/{signatureStateMachine-0_frzAN5.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +5 -7
  238. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  239. package/dist/{stats-C2sigf9p.esm.js → stats-VqHbD5rn.esm.js} +1 -1
  240. package/dist/stats.esm.js +1 -1
  241. package/dist/step-up.d.ts +3 -2
  242. package/dist/step-up.esm.js +2 -1
  243. package/dist/{tri-DaUNvo-o.esm.js → tri-B5Yh5glk.esm.js} +2 -2
  244. package/dist/tri.d.ts +1 -1
  245. package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
  246. package/dist/tri.esm.js +1 -1
  247. package/dist/{trueSightService-DHYTBCIn.esm.js → trueSightService-D9D2IdEj.esm.js} +8 -6
  248. package/dist/trust-graph.d.ts +4 -3
  249. package/dist/trust-graph.esm.js +5 -3
  250. package/dist/{types-TisHEbBg.d.ts → types-B2DGXHe6.d.ts} +30 -1
  251. package/dist/{types-BqlZSoZ-.d.ts → types-BBHnkH6S.d.ts} +4 -4
  252. package/dist/types-BNkzXOXE.d.ts +45 -0
  253. package/dist/{types-P9LzsfRo.d.ts → types-BkWUNheX.d.ts} +1 -1
  254. package/dist/types-C2uJrJrS.d.ts +6 -0
  255. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  256. package/dist/{events-C7h7oaTE.esm.js → types-CBQN04Rh.esm.js} +5 -299
  257. package/dist/{types-CyNndVAT.d.ts → types-CaVUb1DL.d.ts} +1 -1
  258. package/dist/{types-Cbm9J2yF.d.ts → types-Crg7oL-l.d.ts} +1 -1
  259. package/dist/{types-CgihAhT_.d.ts → types-x5MQKskR.d.ts} +4 -2
  260. package/dist/video-selfie.d.ts +6 -5
  261. package/dist/video-selfie.esm.js +14 -13
  262. package/dist/{videoSelfieCameraWarmer-CTOpqhov.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js} +9 -9
  263. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  264. package/dist/{videoSelfieStepDetector-4XE2QI5q.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts} +18 -8
  265. package/dist/wasm.d.ts +1 -1
  266. package/dist/wasm.esm.js +1 -1
  267. package/dist/{wasmDsFlagSync-lRIgn5Ic.esm.js → wasmDsFlagSync-BNttW5Sm.esm.js} +1 -1
  268. package/dist/watchlist-for-business.d.ts +1 -1
  269. package/dist/watchlist-for-business.esm.js +2 -2
  270. package/dist/watchlist.d.ts +1 -1
  271. package/dist/watchlist.esm.js +2 -2
  272. package/dist/{watchlistForBusinessManager-C1S5y5yj.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +5 -3
  273. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  274. package/dist/{watchlistForBusinessStateMachine-Bj_hnoK5.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +12 -9
  275. package/dist/{watchlistManager-BpegtZbc.esm.js → watchlistManager-CGXbemnp.esm.js} +5 -3
  276. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  277. package/dist/{watchlistStateMachine-Bgkh1gra.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +4 -6
  278. package/dist/workflow.d.ts +6 -5
  279. package/dist/workflow.esm.js +53 -43
  280. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  281. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  282. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  283. package/package.json +11 -1
  284. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  285. package/dist/camera-9wWD-pwg.d.ts +0 -4
  286. package/dist/index-DpTj5PFb.d.ts +0 -1
  287. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  288. package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
  289. package/dist/tri.esm-Df5eKLsY.esm.js +0 -2165
  290. package/dist/types-kLsU6Jkt.d.ts +0 -6
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-DaUNvo-o.esm.js";
1
+ import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-B5Yh5glk.esm.js";
2
2
  export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,9 @@
1
1
  import { E as resolveWasmConfig, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, v as emitWasmDiagnostic } from "./wasmWebClient-C3v3s_4H.esm.js";
2
2
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
- import { C as subscribeEvent, n as eventModuleNames } from "./events-C7h7oaTE.esm.js";
4
- import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-KZROt6l3.esm.js";
3
+ import { S as subscribeEvent, n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
4
+ import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
5
+ import "./events-CsPmTidH.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-B5_kVegT.esm.js";
6
7
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
8
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
9
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -680,9 +681,7 @@ function isFeatureEnabled(feature, features) {
680
681
  */
681
682
  async function fetchFeatureConfig(signal) {
682
683
  if (cachedFeatures) return cachedFeatures;
683
- const response = await api.get(endpoints.featureConfig, { signal });
684
- if (!response.ok) throw new Error(`Failed to fetch feature config: ${response.status} ${response.statusText}`);
685
- cachedFeatures = response.data;
684
+ cachedFeatures = (await api.get(endpoints.featureConfig, { signal })).data;
686
685
  return cachedFeatures;
687
686
  }
688
687
  /**
@@ -1302,9 +1301,12 @@ const MODULE_SUBSYSTEMS = {
1302
1301
  [eventModuleNames.geolocation]: "module.geolocation",
1303
1302
  [eventModuleNames.ekyb]: "module.e-kyb",
1304
1303
  [eventModuleNames.identityReuse]: "module.identity-reuse",
1304
+ [eventModuleNames.identityReusePath]: "module.identity-reuse-path",
1305
+ [eventModuleNames.identitySearch]: "module.identity-search",
1305
1306
  [eventModuleNames.antifraud]: "module.antifraud",
1306
1307
  [eventModuleNames.aeSignature]: "module.ae-signature",
1307
1308
  [eventModuleNames.qeSignature]: "module.qe-signature",
1309
+ [eventModuleNames.documentSignature]: "module.document-signature",
1308
1310
  [eventModuleNames.crossDocumentDataMatch]: "module.cross-document-data-match",
1309
1311
  [eventModuleNames.customFields]: "module.custom-fields",
1310
1312
  [eventModuleNames.fieldComparison]: "module.field-comparison",
@@ -1,5 +1,6 @@
1
- import { A as StateMachine, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
1
+ import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
4
  //#region src/modules/trust-graph/trustGraphManager.d.ts
4
5
  type TrustGraphIdleState = {
5
6
  status: 'idle';
@@ -55,7 +56,7 @@ type TrustGraphContext = Record<string, never>;
55
56
  * external event (e.g. `LOAD`) would therefore never complete inside a flow,
56
57
  * leaving an empty shell on screen and the session permanently incomplete.
57
58
  *
58
- * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
59
+ * Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
59
60
  * start directly in the `final` state.
60
61
  */
61
62
  declare const trustGraphMachine: StateMachine<TrustGraphContext, AnyEventObject, {}, never, never, never, never, "finished", string, NonReducibleUnknown, NonReducibleUnknown, EventObject, MetaObject, {
@@ -1,5 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
- import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
5
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
6
  /**
5
7
  * Trust-graph is a headless "skip" module: it has no UI and the SDK performs no
@@ -12,7 +14,7 @@ import { s as createActor, t as setup, u as createManager } from "./xstate.esm-D
12
14
  * external event (e.g. `LOAD`) would therefore never complete inside a flow,
13
15
  * leaving an empty shell on screen and the session permanently incomplete.
14
16
  *
15
- * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
17
+ * Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
16
18
  * start directly in the `final` state.
17
19
  */
18
20
  const trustGraphMachine = setup({ types: { context: {} } }).createMachine({
@@ -1,3 +1,4 @@
1
+ import { t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
1
2
  import { u as RiskAddon } from "./types-DEa3taWc.js";
2
3
  import "./createFaceAvatar-BimBTONm.js";
3
4
  import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
@@ -87,6 +88,17 @@ type FlowModuleConfig = {
87
88
  * + docs/features/FACE_AVATAR.md).
88
89
  */
89
90
  selfieConcealmentOption?: SelfieConcealmentOption;
91
+ /**
92
+ * Set by the SDK on the AUTHENTICATION step of a Flow with identity
93
+ * reuse. The backend never sends it, and `modulesConfig` can't set it. A
94
+ * spoof then ends the module at once, with no retry, with
95
+ * `SPOOF_ATTEMPT_DETECTED`. When the attempts run out, the module ends
96
+ * with `NO_MORE_ATTEMPTS` only if an attempt came back
97
+ * USER_IS_NOT_RECOGNIZED; otherwise it ends with the last attempt's code,
98
+ * such as `BAD_PHOTO_QUALITY`. The flow fails on the spoof and on the last
99
+ * attempt's code, and moves on after `NO_MORE_ATTEMPTS`.
100
+ */
101
+ identityReuseOutcomes?: boolean;
90
102
  };
91
103
  ADDRESS: {
92
104
  disableSkipPoa: boolean;
@@ -131,7 +143,7 @@ type FlowModuleConfig = {
131
143
  EKYB_CHECKS: KybChecksConfig;
132
144
  EKYC_PREFILL: EkycPrefillModuleConfig;
133
145
  EXTERNAL_VERIFICATION: {
134
- source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
146
+ source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'HK_RESIDENT_REGISTER' | 'RISK_ADDONS_ONLY';
135
147
  /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
136
148
  autoExecution?: boolean;
137
149
  checkName: boolean;
@@ -204,6 +216,13 @@ type FlowModuleConfig = {
204
216
  TUTORIAL_ID: TutorialIdConfig;
205
217
  ID: TutorialIdConfig;
206
218
  SECOND_ID: TutorialIdConfig;
219
+ /**
220
+ * The backend's ID Validation module (key `ID` right after TUTORIAL_ID),
221
+ * kept as its own step in a Flow with identity reuse. It runs only after a
222
+ * shared identity, and validates the imported document. Every other Flow
223
+ * merges it into the `ID` step.
224
+ */
225
+ ID_VALIDATION: TutorialIdConfig;
207
226
  /** @deprecated Third ID step is deprecated; SDK skips this step and continues flow */
208
227
  THIRD_ID: {
209
228
  documentType: string;
@@ -273,6 +292,7 @@ type FlowModuleConfig = {
273
292
  title: string;
274
293
  subTitle: string;
275
294
  };
295
+ DOCUMENT_SIGNATURE: DocumentSignatureConfig;
276
296
  USER_CONSENT: {
277
297
  title: string;
278
298
  text: string;
@@ -346,6 +366,8 @@ type FlowModuleConfig = {
346
366
  FISCAL_QR: EmptyConfig;
347
367
  GENERATE_QR: EmptyConfig;
348
368
  HOME: EmptyConfig;
369
+ IDENTITY_REUSE: EmptyConfig;
370
+ IDENTITY_SEARCH: EmptyConfig;
349
371
  INSTANT_VERIFY: EmptyConfig;
350
372
  IP_ADDRESS: EmptyConfig;
351
373
  NAME_CAPTURE: EmptyConfig;
@@ -394,6 +416,13 @@ type Flow = {
394
416
  getEnableIdOnlyIdentity?: boolean;
395
417
  ds?: boolean;
396
418
  oauth2Secured?: boolean;
419
+ /**
420
+ * True when the integrator sent the identity search hint through the
421
+ * backend API at session start. A Flow with identity reuse then skips the
422
+ * EMAIL and PHONE steps in front of the group, since the hint stands in for
423
+ * the contact.
424
+ */
425
+ identitySearchHintProvided?: boolean;
397
426
  };
398
427
  //#endregion
399
428
  export { RegulationTypes as a, FlowModuleConfig as i, Flow as n, TutorialIdConfig as o, FlowModule as r, SelfieConcealmentOption as s, EmptyConfig as t };
@@ -1,9 +1,9 @@
1
1
  import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
2
- import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-TisHEbBg.js";
3
- import { a as IStorageCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-B2DGXHe6.js";
3
+ import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-ixfy84ys.js";
6
- import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BnBfA6fb.js";
6
+ import { t as CameraStream } from "./camera-9yYDUOsO.js";
7
7
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
8
8
  import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
9
9
  //#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
@@ -0,0 +1,45 @@
1
+ //#region src/modules/document-signature/types.d.ts
2
+ /**
3
+ * Configuration of the Document Signature module (`DOCUMENT_SIGNATURE`).
4
+ * The backend sends these fields in the flow or workflow module configuration.
5
+ */
6
+ type DocumentSignatureConfig = {
7
+ /** Screen title. When empty, the UI shows its default title. */
8
+ title?: string;
9
+ /** Screen subtitle. When empty, the UI shows its default subtitle. Backend field name: `subTitle`. */
10
+ subTitle?: string;
11
+ /**
12
+ * When true, Sign stays disabled until the user scrolls every document to its end.
13
+ * @default true
14
+ */
15
+ requireScrollToEnd?: boolean;
16
+ /** Consent text shown next to the signature. The backend prints the same text on the signature page. */
17
+ consentText?: string;
18
+ /** When true, the user can open the signed PDFs after signing. */
19
+ allowDownload?: boolean;
20
+ };
21
+ type SignatureDocumentFormat = 'PDF' | 'MARKDOWN';
22
+ /**
23
+ * One document of the session, as `GET /omni/document-signature/documents` returns it.
24
+ * The backend omits fields that have no value, so optional fields can be missing.
25
+ */
26
+ type SignatureDocument = {
27
+ documentId: string;
28
+ order: number;
29
+ name: string;
30
+ format: SignatureDocumentFormat;
31
+ sha256: string;
32
+ sizeBytes: number;
33
+ signedAt?: number | null;
34
+ signatureId?: string | null;
35
+ /** Markdown text. Only for `MARKDOWN` documents. */
36
+ content?: string | null;
37
+ /** Presigned link to the original file, valid for one hour. */
38
+ url?: string | null;
39
+ /** Presigned link to the signed PDF. Only when signed and `allowDownload` is true. */
40
+ signedUrl?: string | null;
41
+ };
42
+ /** How the user signs in the sign sheet. */
43
+ type SignatureMethod = 'draw' | 'type';
44
+ //#endregion
45
+ export { SignatureMethod as i, SignatureDocument as n, SignatureDocumentFormat as r, DocumentSignatureConfig as t };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-TisHEbBg.js";
1
+ import { a as RegulationTypes } from "./types-B2DGXHe6.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-x5MQKskR.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -1,5 +1,5 @@
1
- import { l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
2
- import "./Manager-C9T5amUN.js";
1
+ import { l as AnyStateMachine } from "./spawn-COZKetCS.js";
2
+ import "./Manager-DufwKlav.js";
3
3
  //#region src/internal/orchestration/types.d.ts
4
4
  /** Eager module: a pre-imported state machine. */
5
5
  type EagerModule = AnyStateMachine;
@@ -42,9 +42,11 @@ type RunChildModuleInput = {
42
42
  type RunChildModuleEvent = {
43
43
  type: 'MODULE_COMPLETE';
44
44
  output?: unknown;
45
+ fromChild: true;
45
46
  } | {
46
47
  type: 'MODULE_ERROR';
47
48
  error: unknown;
49
+ fromChild: true;
48
50
  };
49
51
  //#endregion
50
52
  export { WorkflowModuleRegistry as a, RunChildModuleInput as i, ModuleRegistry as n, RunChildModuleEvent as r, ModuleConfigMappers as t };
@@ -1,5 +1,4 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api } from "./api-BSnbg4HO.esm.js";
3
2
  //#region src/internal/events/eventBus.ts
4
3
  function createEventBus() {
5
4
  const listeners = [];
@@ -139,188 +138,6 @@ function addEvent(event) {
139
138
  analyticsBatcher.enqueue(entry);
140
139
  }
141
140
  //#endregion
142
- //#region src/internal/events/AnalyticsBatchingService.ts
143
- const DEFAULT_MAX_BATCH_SIZE = 50;
144
- const MAX_STATE_BATCH_SIZE = 50;
145
- const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
146
- const DEFAULT_MAX_RETRIES = 2;
147
- const RETRY_BASE_DELAY_MS = 250;
148
- function isTransientStatus(status) {
149
- return status === 0 || status >= 500 || status === 408 || status === 429;
150
- }
151
- function createAnalyticsBatchingService(options) {
152
- const { endpoint, authToken, pageLifecycle, timer, apiBaseUrl, apiClient = api, maxBatchSize = DEFAULT_MAX_BATCH_SIZE, maxBatchAgeMs = DEFAULT_MAX_BATCH_AGE_MS, maxRetries = DEFAULT_MAX_RETRIES } = options;
153
- let buffer = [];
154
- let stateBuffer = [];
155
- let stateToken = null;
156
- let stateBatches = [];
157
- let stateRequestInFlight = false;
158
- let started = false;
159
- let disposed = false;
160
- let ageTimerHandle = null;
161
- let unsubscribeLifecycle = null;
162
- let warnedNullToken = false;
163
- function clearAgeTimer() {
164
- if (ageTimerHandle !== null) {
165
- timer.clearTimeout(ageTimerHandle);
166
- ageTimerHandle = null;
167
- }
168
- }
169
- function armAgeTimerIfNeeded() {
170
- if (ageTimerHandle === null) ageTimerHandle = timer.setTimeout(() => {
171
- ageTimerHandle = null;
172
- flush();
173
- }, maxBatchAgeMs);
174
- }
175
- function dropTokenless() {
176
- if (!warnedNullToken) {
177
- warnedNullToken = true;
178
- console.warn("[AnalyticsBatchingService] Dropping batch: no auth token at flush time.");
179
- }
180
- }
181
- function sendBatch(batch, attempt) {
182
- let promise;
183
- try {
184
- promise = apiClient.post(endpoint, batch, { keepalive: true });
185
- } catch (error) {
186
- handleSendError(batch, error, attempt);
187
- return;
188
- }
189
- promise.catch((error) => handleSendError(batch, error, attempt));
190
- }
191
- function handleSendError(batch, error, attempt) {
192
- if (disposed) return;
193
- if (!isTransientStatus(error && typeof error === "object" && "status" in error ? Number(error.status) || 0 : 0)) return;
194
- if (attempt >= maxRetries) return;
195
- const delay = RETRY_BASE_DELAY_MS * 2 ** attempt;
196
- timer.setTimeout(() => {
197
- if (disposed) return;
198
- sendBatch(batch, attempt + 1);
199
- }, delay);
200
- }
201
- function flush() {
202
- if (disposed || buffer.length === 0) return;
203
- const batch = buffer;
204
- buffer = [];
205
- clearAgeTimer();
206
- if (!authToken()) {
207
- dropTokenless();
208
- return;
209
- }
210
- sendBatch(batch, 0);
211
- }
212
- function syncStateToken() {
213
- const token = authToken();
214
- if (token !== stateToken) {
215
- stateBuffer = [];
216
- stateBatches = [];
217
- stateToken = token;
218
- }
219
- return token;
220
- }
221
- function sendNextStateBatch() {
222
- if (disposed || !started || stateRequestInFlight || stateBatches.length === 0) return;
223
- const token = syncStateToken();
224
- const batch = stateBatches.shift();
225
- if (!batch || !token) return;
226
- stateRequestInFlight = true;
227
- const onSettled = () => {
228
- stateRequestInFlight = false;
229
- sendNextStateBatch();
230
- };
231
- try {
232
- apiClient.post(endpoint, batch.events, {
233
- keepalive: true,
234
- headers: { "X-Incode-Hardware-Id": batch.token }
235
- }).then(onSettled, onSettled);
236
- } catch {
237
- Promise.resolve().then(onSettled);
238
- }
239
- }
240
- function flushStateChanges() {
241
- if (disposed) return;
242
- const token = syncStateToken();
243
- if (!token || stateBuffer.length === 0) return;
244
- stateBatches.push({
245
- events: stateBuffer,
246
- token
247
- });
248
- stateBuffer = [];
249
- sendNextStateBatch();
250
- }
251
- function sendBeacon(batch, token) {
252
- const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
253
- const body = JSON.stringify({
254
- token,
255
- events: batch
256
- });
257
- pageLifecycle.sendBeacon(url, body);
258
- }
259
- function handlePageHide() {
260
- if (disposed) return;
261
- const token = syncStateToken();
262
- const pendingStates = stateBatches;
263
- stateBatches = [];
264
- if (token && stateBuffer.length > 0) pendingStates.push({
265
- events: stateBuffer,
266
- token
267
- });
268
- stateBuffer = [];
269
- for (const batch of pendingStates) sendBeacon(batch.events, batch.token);
270
- if (buffer.length === 0) return;
271
- const batch = buffer;
272
- buffer = [];
273
- clearAgeTimer();
274
- if (!token) {
275
- dropTokenless();
276
- return;
277
- }
278
- sendBeacon(batch, token);
279
- }
280
- function enqueue(entry) {
281
- if (disposed) return;
282
- if (entry.code === "stateChanged") {
283
- if (!syncStateToken()) return;
284
- stateBuffer.push(entry);
285
- if (stateBuffer.length === MAX_STATE_BATCH_SIZE) flushStateChanges();
286
- return;
287
- }
288
- buffer.push(entry);
289
- if (entry.code === "captureAttemptFinished" || entry.code === "moduleClosed" || entry.code === "errorTriggered" || entry.code === "background") flushStateChanges();
290
- if (!started) return;
291
- if (buffer.length >= maxBatchSize) {
292
- flush();
293
- return;
294
- }
295
- armAgeTimerIfNeeded();
296
- }
297
- function start() {
298
- if (started || disposed) return;
299
- started = true;
300
- unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
301
- if (buffer.length > 0) flush();
302
- sendNextStateBatch();
303
- }
304
- function dispose() {
305
- if (disposed) return;
306
- disposed = true;
307
- clearAgeTimer();
308
- unsubscribeLifecycle?.();
309
- unsubscribeLifecycle = null;
310
- buffer = [];
311
- stateBuffer = [];
312
- stateBatches = [];
313
- stateToken = null;
314
- }
315
- return {
316
- enqueue,
317
- start,
318
- flush,
319
- flushStateChanges,
320
- dispose
321
- };
322
- }
323
- //#endregion
324
141
  //#region src/internal/events/helpers.ts
325
142
  function screenEvent(params) {
326
143
  addEvent({
@@ -423,120 +240,6 @@ function experimentAssigned(module, payload, screen) {
423
240
  });
424
241
  }
425
242
  //#endregion
426
- //#region src/internal/events/experimentAssignment.ts
427
- const assignedExperiments = /* @__PURE__ */ new Set();
428
- /**
429
- * Records an `experimentAssigned` interview-event, but only the first time
430
- * for a given `dedupeKey` (pass the experiment's `storeParam`) since the
431
- * last `resetExperimentAssignments()` call.
432
- */
433
- function recordExperimentAssignmentOnce(module, dedupeKey, payload, screenName) {
434
- if (assignedExperiments.has(dedupeKey)) return;
435
- assignedExperiments.add(dedupeKey);
436
- experimentAssigned(module, payload, screenName);
437
- }
438
- /** Clears the assignment dedup guard. Called from `reset()`. */
439
- function resetExperimentAssignments() {
440
- assignedExperiments.clear();
441
- }
442
- //#endregion
443
- //#region src/internal/events/managerInstrumentation.ts
444
- function stateValueToScreenSegment(value) {
445
- if (typeof value === "string" || typeof value === "number") {
446
- const segment = String(value).trim();
447
- return segment.length > 0 ? segment : void 0;
448
- }
449
- if (typeof value !== "object" || value === null) return;
450
- const entries = Object.entries(value).sort(([left], [right]) => {
451
- if (left < right) return -1;
452
- if (left > right) return 1;
453
- return 0;
454
- });
455
- if (entries.length === 0) return;
456
- const branches = entries.map(([key, nestedValue]) => {
457
- const trimmedKey = key.trim();
458
- const nestedSegment = stateValueToScreenSegment(nestedValue);
459
- if (trimmedKey.length === 0) return nestedSegment;
460
- if (nestedSegment === void 0) return trimmedKey;
461
- return `${trimmedKey}.${nestedSegment}`;
462
- }).filter((branch) => branch !== void 0 && branch.length > 0);
463
- if (branches.length === 0) return;
464
- return branches.join("+");
465
- }
466
- function buildScreenName(moduleName, screenName) {
467
- const trimmedModuleName = typeof moduleName === "string" ? moduleName.trim() : "";
468
- const trimmedScreen = screenName.trim();
469
- if (trimmedModuleName.length === 0) return trimmedScreen;
470
- if (trimmedScreen.length === 0) return trimmedModuleName;
471
- return `${trimmedModuleName}.${trimmedScreen}`;
472
- }
473
- function getDefaultManagerScreenName(snapshot) {
474
- return stateValueToScreenSegment(snapshot.value);
475
- }
476
- function getManagerScreenName(moduleName, snapshot, options) {
477
- const eventScreen = options?.getEventScreenName?.(snapshot);
478
- if (eventScreen !== void 0) {
479
- const trimmed = eventScreen.trim();
480
- return trimmed.length > 0 ? trimmed : void 0;
481
- }
482
- const mappedScreen = options?.getScreenName?.(snapshot) ?? getDefaultManagerScreenName(snapshot);
483
- if (mappedScreen === void 0) return;
484
- return buildScreenName(moduleName, mappedScreen);
485
- }
486
- function isErrorLikeSegment(segment) {
487
- const lower = segment.toLowerCase();
488
- return lower === "error" || lower.includes("error") || lower.includes("failed") || lower.includes("failure");
489
- }
490
- function getDefaultManagerErrorName(snapshot) {
491
- const screenSegment = stateValueToScreenSegment(snapshot.value);
492
- if (screenSegment === void 0) return;
493
- const trimmedSegment = screenSegment.trim();
494
- if (trimmedSegment.length === 0) return;
495
- if (trimmedSegment.toLowerCase() === "error") return "error.unknown";
496
- if (!isErrorLikeSegment(trimmedSegment)) return;
497
- return `error.${trimmedSegment}`;
498
- }
499
- function createManagerInstrumentation(moduleName, options) {
500
- const visibilityObserver = options?.visibilityObserver;
501
- return {
502
- moduleName,
503
- onModuleOpened: moduleOpened,
504
- onModuleClosed: moduleClosed,
505
- onScreenOpened: screenOpened,
506
- onScreenClosed: options?.getEventStateName ? (moduleName, screenName) => {
507
- getAnalyticsBatcher()?.flushStateChanges?.();
508
- screenClosed(moduleName, screenName);
509
- } : screenClosed,
510
- onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
511
- onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
512
- errorName,
513
- ...payload
514
- }),
515
- subscribeVisibility: visibilityObserver ? (onChange) => visibilityObserver.onVisibilityChange(onChange) : void 0,
516
- getInitialVisibility: visibilityObserver ? () => visibilityObserver.isVisible() : void 0,
517
- onBackground: visibilityObserver ? background : void 0,
518
- onForeground: visibilityObserver ? foreground : void 0,
519
- onElementClicked: (moduleName, screenName, payload) => elementClicked(moduleName, screenName, payload),
520
- onCaptureAttemptFinished: (moduleName, screenName, payload) => captureAttemptFinished(moduleName, screenName, payload),
521
- getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, {
522
- getEventScreenName: options?.getEventScreenName,
523
- getScreenName: options?.getScreenName
524
- }),
525
- getStateName: (snapshot) => {
526
- const stateName = options?.getEventStateName?.(snapshot);
527
- if (stateName === void 0) return;
528
- const trimmed = stateName.trim();
529
- return trimmed.length > 0 ? trimmed : void 0;
530
- },
531
- getErrorName: (snapshot) => {
532
- const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
533
- if (mappedError === void 0) return;
534
- return buildScreenName(moduleName, mappedError);
535
- },
536
- getErrorPayload: (snapshot) => options?.getErrorPayload?.(snapshot)
537
- };
538
- }
539
- //#endregion
540
243
  //#region src/internal/events/types.ts
541
244
  const eventModuleNames = {
542
245
  selfie: "SELFIE",
@@ -575,6 +278,8 @@ const eventModuleNames = {
575
278
  geolocation: "Geolocation",
576
279
  ekyb: "eKYB",
577
280
  identityReuse: "IDENTITY_REUSE",
281
+ identitySearch: "IDENTITY_SEARCH",
282
+ identityReusePath: "IDENTITY_REUSE_PATH",
578
283
  antifraud: "antifraud",
579
284
  aeSignature: "AdSign",
580
285
  qeSignature: "QSign",
@@ -589,7 +294,8 @@ const eventModuleNames = {
589
294
  documentUpload: "document-upload",
590
295
  home: "home",
591
296
  workflow: "workflow",
592
- fiscalQr: "FISCAL_QR"
297
+ fiscalQr: "FISCAL_QR",
298
+ documentSignature: "DOCUMENT_SIGNATURE"
593
299
  };
594
300
  const eventScreenNames = {
595
301
  faceMatch: "FACE_MATCH",
@@ -725,4 +431,4 @@ const cameraScreenNamesMapper = {
725
431
  document: "document"
726
432
  };
727
433
  //#endregion
728
- export { subscribeEvent as C, setAnalyticsBatcher as S, stateChanged as _, videoSelfieEvents as a, getAnalyticsBatcher as b, resetExperimentAssignments as c, experimentAssigned as d, moduleClosed as f, screenOpened as g, screenEvent as h, tutorialScreenNamesMapper as i, captureAttemptFinished as l, screenClosed as m, eventModuleNames as n, createManagerInstrumentation as o, moduleOpened as p, eventScreenNames as r, recordExperimentAssignmentOnce as s, cameraScreenNamesMapper as t, elementClicked as u, createAnalyticsBatchingService as v, createEventBus as w, resetAnalyticsBatcher as x, addEvent as y };
434
+ export { createEventBus as C, subscribeEvent as S, stateChanged as _, videoSelfieEvents as a, resetAnalyticsBatcher as b, elementClicked as c, foreground as d, moduleClosed as f, screenOpened as g, screenEvent as h, tutorialScreenNamesMapper as i, errorTriggered as l, screenClosed as m, eventModuleNames as n, background as o, moduleOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, experimentAssigned as u, addEvent as v, setAnalyticsBatcher as x, getAnalyticsBatcher as y };
@@ -1,5 +1,5 @@
1
1
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
2
- import { t as CameraStream } from "./camera-9wWD-pwg.js";
2
+ import { t as CameraStream } from "./camera-9yYDUOsO.js";
3
3
  //#region src/modules/document-capture/types.d.ts
4
4
  type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE' | 'signature' | 'document' | 'medicalDoc' | 'thirdId' | 'contract' | 'asyncProcessCarInvoice' | 'asyncProcessCirculationCard';
5
5
  declare const DOCUMENT_CAPTURE_ERROR_CODES: {
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-TisHEbBg.js";
1
+ import { a as RegulationTypes } from "./types-B2DGXHe6.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,6 +1,6 @@
1
1
  import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-TisHEbBg.js";
3
- import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-B2DGXHe6.js";
3
+ import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -48,6 +48,8 @@ type BaseFaceCaptureConfig = {
48
48
  deepsightLiveness?: 'SINGLE_FRAME' | 'MULTIMODAL' | 'VIDEOLIVENESS';
49
49
  cameraResolution?: CameraResolution;
50
50
  ageAssurance?: boolean;
51
+ /** Records microphone audio with the face recording, for the merged session video. */
52
+ mergeSessionRecordings?: boolean;
51
53
  ds?: Flow['ds'];
52
54
  /**
53
55
  * When true, face analysis runs on-device via the OnDevice WASM workflow
@@ -1,11 +1,12 @@
1
1
  import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
- import { A as StateMachine, _ as MachineContext, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
3
- import { t as Manager } from "./Manager-C9T5amUN.js";
4
- import "./Actor-DpTj5PFb.js";
2
+ import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, v as MachineContext, y as MetaObject } from "./spawn-COZKetCS.js";
3
+ import "./xstate.cjs-D6Ur0X1F.js";
4
+ import { t as Manager } from "./Manager-DufwKlav.js";
5
+ import "./Actor-DqjOqDfU.js";
5
6
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
- import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
+ import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
7
8
  import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
8
- import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-4XE2QI5q.js";
9
+ import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-DGXi_TXk.js";
9
10
  //#region ../infra/src/capabilities/ITimerCapability.d.ts
10
11
  type TimerHandle = ReturnType<typeof setTimeout>;
11
12
  type ITimerCapability = {