@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.11

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 (289) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  3. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
  4. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  5. package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-2NzWDbV8.esm.js} +9 -9
  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/Manager-BvXAwDv9.esm.js +125 -0
  9. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  10. package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +6 -1
  11. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  12. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DdhAHHw4.esm.js} +42 -6
  13. package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
  14. package/dist/addressSearch-Rxm1K67A.esm.js +73 -0
  15. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  16. package/dist/ae-signature.d.ts +2 -2
  17. package/dist/ae-signature.esm.js +1 -1
  18. package/dist/antifraud.d.ts +1 -1
  19. package/dist/antifraud.esm.js +2 -2
  20. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  21. package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  22. package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  23. package/dist/{api-CpP4PS4S.esm.js → api-CZpuJuZl.esm.js} +3 -1
  24. package/dist/{apiError-DH-CH4Nz.esm.js → apiError-BamZ815u.esm.js} +1 -1
  25. package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
  26. package/dist/authentication.d.ts +3 -3
  27. package/dist/authentication.esm.js +2 -2
  28. package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  29. package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-yBVGiIf_.esm.js} +7 -6
  30. package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-DPqTOJPp.esm.js} +50 -18
  31. package/dist/avatar.d.ts +1 -1
  32. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-DxIBykpe.esm.js} +1 -1
  33. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  34. package/dist/camera.esm.js +1 -1
  35. package/dist/certificate-issuance.d.ts +1 -1
  36. package/dist/certificate-issuance.esm.js +2 -2
  37. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  38. package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-Dxl9UwR0.esm.js} +5 -3
  39. package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-CM4q71h1.esm.js} +4 -4
  40. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  41. package/dist/consent.d.ts +1 -1
  42. package/dist/consent.esm.js +2 -2
  43. package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-B2F_VeAo.d.ts} +12 -11
  44. package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
  45. package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
  46. package/dist/cpf-DDXMTLYr.esm.js +37 -0
  47. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  48. package/dist/cross-document-data-match.d.ts +1 -1
  49. package/dist/cross-document-data-match.esm.js +1 -1
  50. package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  51. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  52. package/dist/curp-DZGvefg3.esm.js +14 -0
  53. package/dist/curp-validation.d.ts +1 -1
  54. package/dist/curp-validation.esm.js +2 -2
  55. package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
  56. package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  57. package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
  58. package/dist/custom-fields.d.ts +1 -1
  59. package/dist/custom-fields.esm.js +1 -1
  60. package/dist/custom-watchlist.d.ts +1 -1
  61. package/dist/custom-watchlist.esm.js +2 -2
  62. package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  63. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  64. package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  65. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  66. package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  67. package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-CEY2mSPM.esm.js} +5 -5
  68. package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-Nw0YCbpe.esm.js} +39 -72
  69. package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-enVPfRsQ.esm.js} +5 -5
  70. package/dist/document-capture.d.ts +1 -1
  71. package/dist/document-capture.esm.js +2 -2
  72. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +4 -3
  73. package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-C11k5BO-.esm.js} +5 -3
  74. package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-g0gfL0_1.esm.js} +6 -6
  75. package/dist/dynamic-forms.d.ts +1 -1
  76. package/dist/dynamic-forms.esm.js +2 -2
  77. package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-BmfCZ2zV.esm.js} +5 -3
  78. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  79. package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-B-eYytau.esm.js} +4 -4
  80. package/dist/ekyb.d.ts +3 -3
  81. package/dist/ekyb.esm.js +2 -2
  82. package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-BPaMfbgw.esm.js} +5 -3
  83. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  84. package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C_lEw4I7.esm.js} +19 -19
  85. package/dist/ekyc-prefill.d.ts +17 -0
  86. package/dist/ekyc-prefill.esm.js +3 -0
  87. package/dist/ekyc.d.ts +3 -3
  88. package/dist/ekyc.esm.js +3 -3
  89. package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
  90. package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  91. package/dist/ekycPrefillManager-CCtbmrFd.esm.js +103 -0
  92. package/dist/ekycPrefillManager-DOTl3Y2w.d.ts +566 -0
  93. package/dist/ekycPrefillStateMachine-XpxgCAoC.esm.js +687 -0
  94. package/dist/ekycRules-DXP2hqVw.esm.js +479 -0
  95. package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-nwJRel2s.esm.js} +915 -596
  96. package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-FcqA6oU4.esm.js} +68 -49
  97. package/dist/electronic-signature.d.ts +1 -1
  98. package/dist/electronic-signature.esm.js +1 -1
  99. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  100. package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-M2O2VDks.esm.js} +8 -6
  101. package/dist/email.d.ts +1 -1
  102. package/dist/email.esm.js +2 -2
  103. package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  104. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  105. package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
  106. package/dist/events-CP3yOzAl.esm.js +299 -0
  107. package/dist/events.d.ts +3 -1
  108. package/dist/events.esm.js +2 -1
  109. package/dist/extensibility.d.ts +43 -42
  110. package/dist/extensibility.esm.js +39 -38
  111. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  112. package/dist/face-match.d.ts +1 -1
  113. package/dist/face-match.esm.js +2 -2
  114. package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-3Or5qfbA.esm.js} +17 -6
  115. package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +18 -11
  116. package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-Cf87i0rT.esm.js} +46 -38
  117. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
  118. package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  119. package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +44 -18
  120. package/dist/{feature-management-BbCIA4og.esm.js → feature-management-DG016L6E.esm.js} +1 -1
  121. package/dist/feature-management.esm.js +1 -1
  122. package/dist/field-comparison.d.ts +1 -1
  123. package/dist/field-comparison.esm.js +1 -1
  124. package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  125. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  126. package/dist/fiscal-qr.d.ts +1 -1
  127. package/dist/fiscal-qr.esm.js +1 -1
  128. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  129. package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
  130. package/dist/flow-events.d.ts +1 -1
  131. package/dist/flow.d.ts +71 -20
  132. package/dist/flow.esm.js +285 -68
  133. package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-BpeAbbXc.esm.js} +24 -3
  134. package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-rDg1bAMs.esm.js} +393 -13
  135. package/dist/geolocation.d.ts +1 -1
  136. package/dist/geolocation.esm.js +2 -2
  137. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  138. package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-T8m4lqvF.esm.js} +5 -3
  139. package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-NWmA1Dtn.esm.js} +5 -5
  140. package/dist/government-validation.d.ts +1 -1
  141. package/dist/government-validation.esm.js +2 -2
  142. package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  143. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  144. package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  145. package/dist/home.d.ts +4 -3
  146. package/dist/home.esm.js +4 -2
  147. package/dist/http.esm.js +1 -1
  148. package/dist/id-ocr.d.ts +2 -2
  149. package/dist/id-ocr.esm.js +3 -19
  150. package/dist/id-selfie-flow.d.ts +6 -5
  151. package/dist/id-selfie-flow.esm.js +12 -11
  152. package/dist/id-verification.d.ts +1 -1
  153. package/dist/id-verification.esm.js +2 -2
  154. package/dist/id.d.ts +3 -3
  155. package/dist/id.esm.js +3 -3
  156. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-Cjesf5i9.esm.js} +3 -3
  157. package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-5-ReVgbB.esm.js} +12 -10
  158. package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +12 -11
  159. package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-exB6I9lV.esm.js} +7 -7
  160. package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-DQ14d3GR.esm.js} +51 -21
  161. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +18 -0
  162. package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-C0C7lFGd.d.ts} +6 -5
  163. package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  164. package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-B832arAl.esm.js} +10 -9
  165. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  166. package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  167. package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  168. package/dist/identity-reuse.d.ts +2 -2
  169. package/dist/identity-reuse.esm.js +2 -2
  170. package/dist/identity-search.d.ts +97 -0
  171. package/dist/identity-search.esm.js +97 -0
  172. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
  173. package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  174. package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  175. package/dist/index-DHuAkTe0.d.ts +1 -0
  176. package/dist/{index-DEfwds5y.d.ts → index-DM43R87x.d.ts} +43 -19
  177. package/dist/{index-DC0P2Vzw.d.ts → index-DxYNO94y.d.ts} +2 -2
  178. package/dist/index.d.ts +1 -1
  179. package/dist/index.esm.js +1 -1
  180. package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  181. package/dist/kyb-checks.d.ts +1 -1
  182. package/dist/kyb-checks.esm.js +2 -2
  183. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  184. package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CZfdCkLC.esm.js} +3 -2
  185. package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-DkWxSU4L.esm.js} +9 -7
  186. package/dist/mandatory-consent.d.ts +2 -2
  187. package/dist/mandatory-consent.esm.js +2 -2
  188. package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-Bh1asNJh.d.ts} +24 -14
  189. package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
  190. package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +13 -7
  191. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
  192. package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
  193. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-D-4_VU7-.esm.js} +1 -1
  194. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-DpccEnzE.esm.js} +1 -1
  195. package/dist/phone.d.ts +1 -1
  196. package/dist/phone.esm.js +2 -2
  197. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  198. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  199. package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
  200. package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
  201. package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
  202. package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
  203. package/dist/qe-signature.d.ts +2 -2
  204. package/dist/qe-signature.esm.js +1 -1
  205. package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
  206. package/dist/redirect-to-mobile.d.ts +1 -1
  207. package/dist/redirect-to-mobile.esm.js +2 -2
  208. package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-DTB_pWuS.esm.js} +6 -4
  209. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
  210. package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-nP9DM01_.esm.js} +4 -4
  211. package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-DaaQSVWp.esm.js} +8 -213
  212. package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-CXLcOcXN.esm.js} +8 -6
  213. package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-fqxsdqFZ.esm.js} +1 -1
  214. package/dist/selfie.d.ts +4 -4
  215. package/dist/selfie.esm.js +13 -12
  216. package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-MOfYdGPz.esm.js} +1 -1
  217. package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  218. package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-Dq8tIqGd.esm.js} +7 -6
  219. package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-BZVDQB8R.esm.js} +5 -5
  220. package/dist/{session-CdSX4wsZ.esm.js → session-C7x_iJ-p.esm.js} +4 -4
  221. package/dist/session.d.ts +2 -2
  222. package/dist/session.esm.js +5 -5
  223. package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-k-hKIBg8.esm.js} +21 -9
  224. package/dist/{setup-DDahygZs.esm.js → setup-BRbhjHiU.esm.js} +13 -15
  225. package/dist/{setup-D9qt8YVU.d.ts → setup-CpXbdA1X.d.ts} +2 -2
  226. package/dist/signature.d.ts +1 -1
  227. package/dist/signature.esm.js +2 -2
  228. package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  229. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  230. package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  231. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  232. package/dist/{stats-CatA2dea.esm.js → stats-DoByUnTa.esm.js} +1 -1
  233. package/dist/stats.esm.js +1 -1
  234. package/dist/step-up.d.ts +379 -0
  235. package/dist/step-up.esm.js +640 -0
  236. package/dist/{tri-DG6priFa.esm.js → tri-CI2exudk.esm.js} +29 -34
  237. package/dist/tri.d.ts +2 -2
  238. package/dist/tri.esm-CxLWmTZk.esm.js +2287 -0
  239. package/dist/tri.esm.js +2 -2
  240. package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-DhW2O8mB.esm.js} +7 -4
  241. package/dist/trust-graph.d.ts +4 -3
  242. package/dist/trust-graph.esm.js +5 -3
  243. package/dist/{types-BEVHQbbC.d.ts → types-9wlf1-GE.d.ts} +3 -3
  244. package/dist/types-B-PIc0en.d.ts +115 -0
  245. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  246. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  247. package/dist/types-CE1jkHw3.d.ts +6 -0
  248. package/dist/{types-BPm1JSu7.d.ts → types-Cpdum4vi.d.ts} +5 -5
  249. package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
  250. package/dist/{types-Csh8vzPo.d.ts → types-DFP7eSle.d.ts} +1 -1
  251. package/dist/{types-Cd0J0F9D.d.ts → types-DJPU3W2M.d.ts} +3 -2
  252. package/dist/{events-ggpBBaZ8.esm.js → types-DYYMdAGv.esm.js} +3 -298
  253. package/dist/{types-CRaFu6wS.d.ts → types-Ddc4Tr_f.d.ts} +37 -4
  254. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  255. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  256. package/dist/video-selfie.d.ts +9 -7
  257. package/dist/video-selfie.esm.js +14 -13
  258. package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-YwO_uP-b.esm.js} +14 -12
  259. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  260. package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +4 -4
  261. package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
  262. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  263. package/dist/wasm.d.ts +9 -3
  264. package/dist/wasm.esm.js +3 -3
  265. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-D_6e8W62.esm.js} +1 -1
  266. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
  267. package/dist/watchlist-for-business.d.ts +1 -1
  268. package/dist/watchlist-for-business.esm.js +2 -2
  269. package/dist/watchlist.d.ts +1 -1
  270. package/dist/watchlist.esm.js +2 -2
  271. package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
  272. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  273. package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
  274. package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  275. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  276. package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  277. package/dist/workflow.d.ts +230 -44
  278. package/dist/workflow.esm.js +171 -67
  279. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  280. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  281. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  282. package/package.json +16 -1
  283. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  284. package/dist/cpf-uAZTPUBy.esm.js +0 -61
  285. package/dist/index-DpTj5PFb.d.ts +0 -1
  286. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  287. package/dist/phoneFormat-JJNaWthV.esm.js +0 -75
  288. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  289. package/dist/types-J6g6iKe_.d.ts +0 -6
@@ -0,0 +1 @@
1
+ import "./xstate.cjs-D6Ur0X1F.js";
@@ -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/wasm/WasmPipelineType.d.ts
4
4
  declare enum WasmPipelineType {
5
5
  IdBlurGlarePipeline = 0,
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { r as getWorkerRecordingProfile } from "./mediaRecorderOptions-B9-IEVtV.esm.js";
2
+ import { r as getWorkerRecordingProfile } from "./mediaRecorderOptions-g1TwTlhd.esm.js";
3
3
  //#region ../infra/src/media/cameraCompositorWorker.ts
4
4
  /**
5
5
  * Whether the worker transport is available here. Every probe must hold;
@@ -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,15 +1,15 @@
1
- import { l as wasmRuntime } from "./warmup-DtB0DJpl.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DDahygZs.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
4
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-GuLthUVK.esm.js";
6
- import "./sessionInitializer-DsL7X2j9.esm.js";
7
- import { t as addDeviceStats } from "./stats-CatA2dea.esm.js";
1
+ import { l as wasmRuntime } from "./warmup-9iKKNNuW.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BRbhjHiU.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
4
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DhW2O8mB.esm.js";
6
+ import "./sessionInitializer-k-hKIBg8.esm.js";
7
+ import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
10
  import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { n as saveProcessFaceMatch } from "./processFaceMatch-Bst83HaS.esm.js";
12
+ import { n as saveProcessFaceMatch } from "./processFaceMatch-B_DkDTE5.esm.js";
13
13
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
14
14
  /**
15
15
  * On-device still-face capture is owned by the protected camera-cycle actor.
@@ -235,7 +235,7 @@ function startDetection(params) {
235
235
  };
236
236
  }
237
237
  async function initializeDeepsightSession(options) {
238
- const { loadDeepsightSession } = await import("./deepsightLoader-B7DEYoyY.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-CEY2mSPM.esm.js");
239
239
  return loadDeepsightSession({
240
240
  ds: options.ds,
241
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,125 @@
1
+ //#region ../infra/src/manager/Manager.ts
2
+ /**
3
+ * Creates a manager that wraps a state machine actor with a clean public API.
4
+ *
5
+ * The manager provides:
6
+ * - `getState()` - Returns the mapped public state
7
+ * - `subscribe()` - Listen to state changes
8
+ * - `stop()` - Stop the actor
9
+ * - Plus any custom API methods from `createApi`
10
+ *
11
+ * @template TMachine - The state machine type
12
+ * @template TMapState - Function type that maps raw snapshot to public state
13
+ * @template TCreateApi - Function type that creates the custom API
14
+ *
15
+ * @param options - Configuration options
16
+ * @param options.actor - The started actor instance
17
+ * @param options.mapState - Function to transform raw snapshot into public state
18
+ * @param options.createApi - Factory function to create custom API methods
19
+ *
20
+ * @returns Combined manager with base methods and custom API
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const manager = createManager({
25
+ * actor: createActor(myMachine).start(),
26
+ * mapState: (snapshot) => ({ status: snapshot.value }),
27
+ * createApi: ({ actor }) => ({
28
+ * doSomething() { actor.send({ type: 'DO_IT' }); }
29
+ * }),
30
+ * });
31
+ * ```
32
+ */
33
+ function createManager(options) {
34
+ const { actor, mapState, createApi, instrumentation } = options;
35
+ function getSnapshot() {
36
+ return actor.getSnapshot();
37
+ }
38
+ function getState() {
39
+ return mapState(getSnapshot());
40
+ }
41
+ function subscribe(listener) {
42
+ const subscription = actor.subscribe(() => {
43
+ listener(getState());
44
+ });
45
+ return () => subscription.unsubscribe();
46
+ }
47
+ let currentScreenName = instrumentation?.getScreenName(getSnapshot());
48
+ let currentStateName = instrumentation?.getStateName?.(getSnapshot());
49
+ let currentErrorName = instrumentation?.getErrorName(getSnapshot());
50
+ let currentErrorPayload = instrumentation?.getErrorPayload(getSnapshot());
51
+ const api = createApi({
52
+ actor,
53
+ getSnapshot,
54
+ trackElementClicked: instrumentation ? (elementName, payload) => {
55
+ instrumentation.onElementClicked?.(instrumentation.moduleName, currentStateName ?? currentScreenName, {
56
+ element: elementName,
57
+ action: payload?.action,
58
+ metadata: payload?.metadata
59
+ });
60
+ } : void 0,
61
+ trackCaptureAttemptFinished: instrumentation ? (payload) => {
62
+ instrumentation.onCaptureAttemptFinished?.(instrumentation.moduleName, currentStateName ?? currentScreenName, { logs: payload.logs });
63
+ } : void 0
64
+ });
65
+ instrumentation?.onModuleOpened(instrumentation.moduleName);
66
+ if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, currentScreenName);
67
+ if (instrumentation && currentErrorName !== void 0) instrumentation.onErrorTriggered(instrumentation.moduleName, currentErrorName, currentScreenName, currentErrorPayload);
68
+ let lastVisible = instrumentation?.getInitialVisibility?.();
69
+ if (instrumentation && lastVisible === false) instrumentation.onBackground?.(instrumentation.moduleName, currentScreenName);
70
+ const stopVisibility = instrumentation?.subscribeVisibility?.((visible) => {
71
+ if (visible === lastVisible) return;
72
+ lastVisible = visible;
73
+ if (visible) instrumentation.onForeground?.(instrumentation.moduleName, currentScreenName);
74
+ else instrumentation.onBackground?.(instrumentation.moduleName, currentScreenName);
75
+ });
76
+ const actorSubscription = instrumentation ? actor.subscribe((snapshot) => {
77
+ const nextScreenName = instrumentation.getScreenName(snapshot);
78
+ const nextErrorName = instrumentation.getErrorName(snapshot);
79
+ const nextErrorPayload = instrumentation.getErrorPayload(snapshot);
80
+ const nextStateName = instrumentation.getStateName?.(snapshot);
81
+ if (currentScreenName === nextScreenName) {
82
+ const previousStateName = currentStateName;
83
+ currentStateName = nextStateName;
84
+ if (currentScreenName !== void 0 && nextStateName !== void 0 && nextStateName !== previousStateName) instrumentation.onStateChanged?.(instrumentation.moduleName, currentScreenName, nextStateName);
85
+ if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, currentScreenName, nextErrorPayload);
86
+ currentErrorName = nextErrorName;
87
+ currentErrorPayload = nextErrorPayload;
88
+ return;
89
+ }
90
+ if (currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
91
+ if (nextScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, nextScreenName);
92
+ currentScreenName = nextScreenName;
93
+ currentStateName = nextStateName;
94
+ if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, nextScreenName, nextErrorPayload);
95
+ currentErrorName = nextErrorName;
96
+ currentErrorPayload = nextErrorPayload;
97
+ }) : void 0;
98
+ let isStopped = false;
99
+ return Object.defineProperties({
100
+ getState,
101
+ subscribe,
102
+ stop() {
103
+ if (isStopped) return;
104
+ isStopped = true;
105
+ try {
106
+ if (actor.getSnapshot().status === "active") options.beforeStop?.();
107
+ } finally {
108
+ try {
109
+ actorSubscription?.unsubscribe();
110
+ stopVisibility?.();
111
+ if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
112
+ currentScreenName = void 0;
113
+ currentStateName = void 0;
114
+ currentErrorName = void 0;
115
+ currentErrorPayload = void 0;
116
+ instrumentation?.onModuleClosed(instrumentation.moduleName);
117
+ } finally {
118
+ actor.stop();
119
+ }
120
+ }
121
+ }
122
+ }, Object.getOwnPropertyDescriptors(api));
123
+ }
124
+ //#endregion
125
+ export { createManager as t };
@@ -1,10 +1,4 @@
1
- //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/declarations/src/index.d.ts
2
- declare global {
3
- interface SymbolConstructor {
4
- readonly observable: symbol;
5
- }
6
- }
7
- //#endregion
1
+ import "./xstate.cjs-D6Ur0X1F.js";
8
2
  //#region ../infra/src/manager/Manager.d.ts
9
3
  /**
10
4
  * Base manager interface providing state access, subscriptions, and lifecycle control.
@@ -1,4 +1,4 @@
1
- import { n as getMultipartRecorderMimeType } from "./mediaRecorderOptions-B9-IEVtV.esm.js";
1
+ import { n as getMultipartRecorderMimeType } from "./mediaRecorderOptions-g1TwTlhd.esm.js";
2
2
  //#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
3
3
  /**
4
4
  * How often `MediaRecorder` hands us buffered data (incremental blobs).
@@ -37,6 +37,7 @@ var MultipartRecordingProvider = class {
37
37
  this.mimeType = "";
38
38
  this.partNumber = 0;
39
39
  this.onPart = null;
40
+ this.settleStop = null;
40
41
  }
41
42
  get isRecording() {
42
43
  return this._isRecording;
@@ -117,7 +118,9 @@ var MultipartRecordingProvider = class {
117
118
  const recorder = this.mediaRecorder;
118
119
  return new Promise((resolve) => {
119
120
  if (recorder && this._isRecording) {
121
+ this.settleStop = resolve;
120
122
  recorder.onstop = () => {
123
+ this.settleStop = null;
121
124
  resolve();
122
125
  };
123
126
  recorder.stop();
@@ -136,6 +139,8 @@ var MultipartRecordingProvider = class {
136
139
  recorder.stream.getTracks().forEach((track) => track.stop());
137
140
  this.mediaRecorder = null;
138
141
  }
142
+ this.settleStop?.();
143
+ this.settleStop = null;
139
144
  this.onPart = null;
140
145
  this._isRecording = false;
141
146
  this._error = null;
@@ -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';
@@ -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-BDrax6Eu.esm.js";
3
- import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-DtB0DJpl.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}.
@@ -21,10 +21,12 @@ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatu
21
21
  *
22
22
  * `fpPrefetch_` is a third, derived piece of JS state: the memoized `ppf` poll
23
23
  * that `getFPData` awaits, keyed by the embind handle it was started on.
24
+ * `pidReady_` is a fourth: the memoized `ppi` poll that a PID read races
25
+ * against that prefetch, keyed by the prefetch run it watches.
24
26
  *
25
27
  * `poc`/`rsp` are the only methods here that hold the ML semaphore (the camera
26
28
  * step's `cst` holds it from `WasmRuntime`).
27
- * `ssl`/`stl`/`osv`/`oev`/`ckvcks`/`sbc`/`ppf` and everything else are unlocked **by design**
29
+ * `ssl`/`stl`/`osv`/`oev`/`ckvcks`/`sbc`/`ppf`/`ppi` and everything else are unlocked **by design**
28
30
  * (decision D6) — never add locking.
29
31
  *
30
32
  * Three members are deprecated native-free shims for bindings ml-wasm-kit
@@ -55,7 +57,8 @@ const SignalDataType = {
55
57
  Pid: 3
56
58
  };
57
59
  /**
58
- * Poll bound for the `ppf` fingerprint prefetch. Larger than
60
+ * Poll bound for the `ppf` fingerprint prefetch, and for the `ppi` poll a PID
61
+ * read races against it. Larger than
59
62
  * {@link ML_CALL_MAX_POLLS} because the prefetch waits on async browser APIs
60
63
  * (storage estimate, persistent ID) rather than camera frames, and it is
61
64
  * unlocked, so a stuck poll cannot freeze detection — it only delays signals.
@@ -66,6 +69,7 @@ var UtilityWasmApi = class {
66
69
  this.runtime = runtime;
67
70
  this.inspectorOpened_ = false;
68
71
  this.fpPrefetch_ = null;
72
+ this.pidReady_ = null;
69
73
  this.dsEnabled_ = false;
70
74
  }
71
75
  ens(image) {
@@ -183,7 +187,12 @@ var UtilityWasmApi = class {
183
187
  }
184
188
  /**
185
189
  * Reads one fingerprint signal bucket (see {@link SignalDataType}), encrypted
186
- * by the native module. Waits for the one-time async prefetch (`ppf`) first.
190
+ * by the native module. Device and Behaviour wait for the one-time async
191
+ * prefetch (`ppf`) first. Pid waits only until the persistent-id resolver is
192
+ * done (`ppi`), or the prefetch settles, whichever is first: the prefetch
193
+ * still drives the resolver, and its failure still rejects the read. On a
194
+ * build without `ppi` (the pinned release included) Pid waits for the
195
+ * prefetch like the other buckets.
187
196
  * An empty string means the bucket has no data.
188
197
  *
189
198
  * @throws If the WASM C++ API has not been initialized yet.
@@ -191,7 +200,8 @@ var UtilityWasmApi = class {
191
200
  async getFPData(signalsType = SignalDataType.Device) {
192
201
  const message = "Unable to get fingerprint data, cpp API hasn't been initialized";
193
202
  const handle = this.runtime.requireUtilityApi(message);
194
- await this.prefetchFingerprintData(handle, message);
203
+ const prefetch = this.prefetchFingerprintData(handle, message);
204
+ await (signalsType === SignalDataType.Pid && handle.ppi ? Promise.race([this.persistentIdReady(prefetch, message), prefetch]) : prefetch);
195
205
  return this.runtime.requireUtilityApi(message).getFPData(signalsType);
196
206
  }
197
207
  /**
@@ -221,6 +231,32 @@ var UtilityWasmApi = class {
221
231
  return promise;
222
232
  }
223
233
  /**
234
+ * Polls `ppi` (the persistent-id resolver finished) for one prefetch run.
235
+ * `ppi` only reads the resolver; the `ppf` poll is what moves it, so this poll
236
+ * also stops as soon as that run settles, success or failure.
237
+ */
238
+ persistentIdReady(prefetch, message) {
239
+ if (this.pidReady_?.prefetch === prefetch) return this.pidReady_.promise;
240
+ let prefetchSettled = false;
241
+ const markSettled = () => {
242
+ prefetchSettled = true;
243
+ };
244
+ prefetch.then(markSettled, markSettled);
245
+ const promise = wasmCallWrapper(this.runtime.mlCallSemaphore, () => prefetchSettled || (this.runtime.requireUtilityApi(message).ppi?.() ?? false), false, {
246
+ maxPolls: FP_PREFETCH_MAX_POLLS,
247
+ label: "ppi"
248
+ });
249
+ const entry = {
250
+ prefetch,
251
+ promise
252
+ };
253
+ this.pidReady_ = entry;
254
+ promise.catch(() => {
255
+ if (this.pidReady_ === entry) this.pidReady_ = null;
256
+ });
257
+ return promise;
258
+ }
259
+ /**
224
260
  * @deprecated Resolves without doing anything. ml-wasm-kit v2.14.52 removed
225
261
  * `prc`: the pre-capture check runs inside the protected camera step
226
262
  * (`ICameraCycleCapability.startCameraCycle`), which holds the ML semaphore
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-D9mauUdS.esm.js";
2
+ import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-CduV32Qa.esm.js";
3
3
  //#region ../infra/src/providers/browser/WorkerEncoderRecordingProvider.ts
4
4
  var WorkerEncoderRecordingProvider_exports = /* @__PURE__ */ __exportAll({ WorkerEncoderRecordingProvider: () => WorkerEncoderRecordingProvider });
5
5
  /**
@@ -0,0 +1,73 @@
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
+ import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.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?". The eKYC and eKYB machines read it once, when
9
+ * they're created, and pass the answer to the module adapters
10
+ * (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
11
+ * (`internal/forms`) knows nothing about it.
12
+ *
13
+ * Off by default, so every source and country keeps today's builder. A
14
+ * catalog-only eKYC source, one today's builder never knew, uses its
15
+ * definition either way, since it has no old path to fall back to.
16
+ *
17
+ * This is Incode's rollout decision, not the integrator's: it is not a
18
+ * `setup()` option. It stays a constant: customers move to definitions only
19
+ * once the migration is done, so it is turned on in code at that point.
20
+ */
21
+ const ENABLED_BY_DEFAULT = false;
22
+ /** Whether sources and countries with a form definition use it. */
23
+ function isFormDefinitionsEnabled() {
24
+ return ENABLED_BY_DEFAULT;
25
+ }
26
+ //#endregion
27
+ //#region src/shared/addressSearch.ts
28
+ /** Searches for address suggestions via the address autocomplete API. */
29
+ async function searchAddress(query, signal) {
30
+ const res = await api.post(endpoints.addressAutocomplete, { search: query }, { signal });
31
+ if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
32
+ return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
33
+ const addr = item.address ?? item;
34
+ return {
35
+ id: item.id ?? i,
36
+ label: addr.label ?? item.title ?? "",
37
+ street: addr.street,
38
+ city: addr.city,
39
+ stateCode: addr.stateCode ?? addr.state,
40
+ postalCode: addr.postalCode,
41
+ houseNumber: addr.houseNumber,
42
+ countryCode: addr.countryCode
43
+ };
44
+ }) } };
45
+ }
46
+ const DEBOUNCE_MS = 300;
47
+ /**
48
+ * XState callback actor that debounces address search requests.
49
+ * Cancels in-flight HTTP requests when the actor is stopped.
50
+ */
51
+ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
52
+ const timerProvider = BrowserTimerProvider.getInstance();
53
+ const controller = new AbortController();
54
+ const handle = timerProvider.setTimeout(async () => {
55
+ try {
56
+ sendBack({
57
+ type: "RESULTS",
58
+ suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
59
+ });
60
+ } catch {
61
+ if (!controller.signal.aborted) sendBack({
62
+ type: "RESULTS",
63
+ suggestions: []
64
+ });
65
+ }
66
+ }, DEBOUNCE_MS);
67
+ return () => {
68
+ timerProvider.clearTimeout(handle);
69
+ controller.abort();
70
+ };
71
+ });
72
+ //#endregion
73
+ export { searchAddress as n, isFormDefinitionsEnabled as r, debounceSearchActor as t };
@@ -7,6 +7,9 @@ const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION
7
7
  * "retryable" (the module's own concern): it only decides what the flow does
8
8
  * *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
9
9
  * `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
10
+ * In a Flow with identity reuse, face authentication ends with
11
+ * `NO_MORE_ATTEMPTS` only after a not-recognized attempt, and with a code that
12
+ * isn't listed here otherwise, so the flow fails.
10
13
  * The face codes are literals (checked against `FaceErrorCode`), so modules
11
14
  * without face capture do not bundle `FACE_ERROR_CODES`.
12
15
  */
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-C9T5amUN.js";
1
+ import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, i as ConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS } from "./types-D0gekt4U.js";
3
- import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-DTSLOvKR.js";
3
+ import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-5tYz-a4o.js";
4
4
  import "./electronic-signature.js";
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
  type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
@@ -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-BCE3uA3z.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-M2O2VDks.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
1
+ import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
2
2
  //#region src/modules/antifraud/types.d.ts
3
3
  /**
4
4
  * Configuration options for the antifraud module.
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BObuHBjn.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DKNOi9-z.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,6 +1,6 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
4
  //#region src/modules/antifraud/antifraudStateMachine.d.ts
5
5
  declare const antifraudMachine: any;
6
6
  type AntifraudMachine = typeof antifraudMachine;
@@ -1,7 +1,9 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
5
7
  //#region src/modules/antifraud/antifraudActor.ts
6
8
  function createAntifraudActor() {
7
9
  return createActor(antifraudMachine).start();
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
- import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/antifraud/antifraudServices.ts
5
5
  async function processAntifraud(signal) {
6
6
  const res = await api.get(endpoints.processAntifraud, { signal });
@@ -64,6 +64,7 @@ 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",
67
68
  kybForm: "/omni/kyb/form",
68
69
  kybSubmit: "/omni/kyb",
69
70
  getCombinedConsent: "/omni/get/combined-consent",
@@ -80,6 +81,7 @@ const endpoints = {
80
81
  documentLegacy: "/omni/add/document",
81
82
  cfdi: "/omni/process/cfdi",
82
83
  finishStatus: "/omni/finish-status",
84
+ redirectionUrl: "/omni/redirection-url",
83
85
  sessionTotalScoreStatus: "/omni/session/total-score-status",
84
86
  updateSession: "/omni/update",
85
87
  onboardingUrl: "/omni/onboarding-url",
@@ -88,9 +90,9 @@ const endpoints = {
88
90
  qrValidateUuid: "/omni/qr/validate",
89
91
  addSignature: "/omni/add/signature",
90
92
  addSignatureV2: "/omni/add/signature/v2",
91
- identityReuseCandidates: "/omni/identity-reuse/candidates",
92
93
  identityReuseDocuments: "/omni/identity-reuse/documents",
93
94
  identityReuseSubmit: "/omni/identity-reuse/submit",
95
+ identitySearch: "/omni/identity-search",
94
96
  processAntifraud: "/omni/process/antifraud",
95
97
  processGlobalWatchlist: "/omni/process/global-watchlist",
96
98
  processWatchlist: "/omni/process/watchlist",
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-GuLthUVK.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DhW2O8mB.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { r as getToken } from "./api-CpP4PS4S.esm.js";
1
+ import { r as getToken } from "./api-CZpuJuZl.esm.js";
2
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();
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DV2ULUYS.js";
2
- import { t as AuthenticationConfig } from "./types-J6g6iKe_.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CWmh7aSY.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CRGajjZ4.js";
2
+ import { t as AuthenticationConfig } from "./types-CE1jkHw3.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DRaugLgH.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-BMbZL8wm.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DjX0XDyH.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DPqTOJPp.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-yBVGiIf_.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-C9T5amUN.js";
1
+ import { t as Manager } from "./Manager-DufwKlav.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-DV2ULUYS.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CRGajjZ4.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,9 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-DDahygZs.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
3
- import { n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
4
- import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dp90bedH.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BMbZL8wm.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BRbhjHiU.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
3
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
+ import "./events-CP3yOzAl.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-3Or5qfbA.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-DPqTOJPp.esm.js";
7
8
  //#region src/modules/authentication/authenticationActor.ts
8
9
  function createAuthenticationActor(options) {
9
10
  const dependencies = options.dependencies ?? {