@incodetech/core 2.4.1-agentic.10 → 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 (272) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
  3. package/dist/{FaceDetectionProvider-BSLpXAGx.esm.js → FaceDetectionProvider-2NzWDbV8.esm.js} +8 -8
  4. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  5. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  6. package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +1 -1
  7. package/dist/{WasmUtilProvider-C_puwvVn.esm.js → WasmUtilProvider-DdhAHHw4.esm.js} +40 -4
  8. package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
  9. package/dist/{addressSearch-B_4JYKa-.esm.js → addressSearch-Rxm1K67A.esm.js} +5 -4
  10. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  11. package/dist/ae-signature.d.ts +2 -2
  12. package/dist/ae-signature.esm.js +1 -1
  13. package/dist/antifraud.d.ts +1 -1
  14. package/dist/antifraud.esm.js +2 -2
  15. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  16. package/dist/{antifraudManager-BWCVkSu2.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  17. package/dist/{antifraudStateMachine-CX9I2f3s.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  18. package/dist/{api-BSnbg4HO.esm.js → api-CZpuJuZl.esm.js} +1 -1
  19. package/dist/{apiError-Bmwy1Fa7.esm.js → apiError-BamZ815u.esm.js} +1 -1
  20. package/dist/{attemptCarry-zQH85Elh.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
  21. package/dist/authentication.d.ts +3 -3
  22. package/dist/authentication.esm.js +2 -2
  23. package/dist/{authenticationManager-CISxaY6N.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  24. package/dist/{authenticationManager-BoiOaB0m.esm.js → authenticationManager-yBVGiIf_.esm.js} +7 -6
  25. package/dist/{authenticationStateMachine-BMD1JLwr.esm.js → authenticationStateMachine-DPqTOJPp.esm.js} +50 -18
  26. package/dist/{browser-pQZA35G2-PIj2uGBm.esm.js → browser-pQZA35G2-DxIBykpe.esm.js} +1 -1
  27. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  28. package/dist/camera.esm.js +1 -1
  29. package/dist/certificate-issuance.d.ts +1 -1
  30. package/dist/certificate-issuance.esm.js +2 -2
  31. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  32. package/dist/{certificateIssuanceManager-DzDuQTsK.esm.js → certificateIssuanceManager-Dxl9UwR0.esm.js} +5 -3
  33. package/dist/{certificateIssuanceStateMachine-BAOYLACb.esm.js → certificateIssuanceStateMachine-CM4q71h1.esm.js} +3 -3
  34. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  35. package/dist/consent.d.ts +1 -1
  36. package/dist/consent.esm.js +2 -2
  37. package/dist/{consentManager-7aHaehwF.d.ts → consentManager-B2F_VeAo.d.ts} +8 -7
  38. package/dist/{consentManager-DFSKQTcR.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
  39. package/dist/{consentStateMachine-4nZIH2O8.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
  40. package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
  41. package/dist/cross-document-data-match.d.ts +1 -1
  42. package/dist/cross-document-data-match.esm.js +1 -1
  43. package/dist/{crossDocumentDataMatchManager-D7ka2qOC.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  44. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  45. package/dist/curp-DZGvefg3.esm.js +14 -0
  46. package/dist/curp-validation.d.ts +1 -1
  47. package/dist/curp-validation.esm.js +2 -2
  48. package/dist/{curpValidationManager-BVTt7IgC.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
  49. package/dist/{curpValidationManager-DEqTUWdu.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  50. package/dist/{curpValidationStateMachine-FB_MRbZQ.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
  51. package/dist/custom-fields.d.ts +1 -1
  52. package/dist/custom-fields.esm.js +1 -1
  53. package/dist/custom-watchlist.d.ts +1 -1
  54. package/dist/custom-watchlist.esm.js +2 -2
  55. package/dist/{customFieldsManager-gbsq53p6.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  56. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  57. package/dist/{customWatchlistManager-50APwk4Z.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  58. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  59. package/dist/{customWatchlistStateMachine-CpEVPzuT.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  60. package/dist/{deepsightLoader-BKCT8UT1.esm.js → deepsightLoader-CEY2mSPM.esm.js} +5 -5
  61. package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
  62. package/dist/{desktopCameraElection-Dvvw7PRY.esm.js → desktopCameraElection-enVPfRsQ.esm.js} +4 -4
  63. package/dist/document-capture.d.ts +1 -1
  64. package/dist/document-capture.esm.js +2 -2
  65. package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +5 -4
  66. package/dist/{documentCaptureManager-BG5TuqJz.esm.js → documentCaptureManager-C11k5BO-.esm.js} +5 -3
  67. package/dist/{documentCaptureStateMachine-C7PW_Ah9.esm.js → documentCaptureStateMachine-g0gfL0_1.esm.js} +6 -6
  68. package/dist/dynamic-forms.d.ts +1 -1
  69. package/dist/dynamic-forms.esm.js +2 -2
  70. package/dist/{dynamicFormsManager-B0bpHhhJ.esm.js → dynamicFormsManager-BmfCZ2zV.esm.js} +5 -3
  71. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  72. package/dist/{dynamicFormsStateMachine-2ZHyejBc.esm.js → dynamicFormsStateMachine-B-eYytau.esm.js} +4 -4
  73. package/dist/ekyb.d.ts +3 -3
  74. package/dist/ekyb.esm.js +2 -2
  75. package/dist/{ekybManager-P9mC7W9J.esm.js → ekybManager-BPaMfbgw.esm.js} +5 -3
  76. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  77. package/dist/{ekybStateMachine-C7HKaeVr.esm.js → ekybStateMachine-C_lEw4I7.esm.js} +18 -20
  78. package/dist/ekyc-prefill.d.ts +1 -1
  79. package/dist/ekyc-prefill.esm.js +2 -2
  80. package/dist/ekyc.d.ts +2 -2
  81. package/dist/ekyc.esm.js +3 -3
  82. package/dist/{ekycManager-q1fos6IY.d.ts → ekycManager-BKVQazAb.d.ts} +47 -6
  83. package/dist/{ekycManager-CeeJoRFY.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  84. package/dist/{ekycPrefillManager-C6BFFKxc.esm.js → ekycPrefillManager-CCtbmrFd.esm.js} +3 -2
  85. package/dist/{ekycPrefillManager-PPGVZbWk.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +8 -7
  86. package/dist/{ekycPrefillStateMachine-Dku90kZL.esm.js → ekycPrefillStateMachine-XpxgCAoC.esm.js} +11 -10
  87. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-DXP2hqVw.esm.js} +198 -38
  88. package/dist/{ekycStateMachine-DBTczgGE.esm.js → ekycStateMachine-nwJRel2s.esm.js} +333 -64
  89. package/dist/{ekycUtils-Dcff8BOD.esm.js → ekycUtils-FcqA6oU4.esm.js} +44 -43
  90. package/dist/electronic-signature.d.ts +1 -1
  91. package/dist/electronic-signature.esm.js +1 -1
  92. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  93. package/dist/{electronicSignatureManager-BKQuhJm_.esm.js → electronicSignatureManager-M2O2VDks.esm.js} +7 -5
  94. package/dist/email.d.ts +1 -1
  95. package/dist/email.esm.js +2 -2
  96. package/dist/{emailManager-CGmKbsBL.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  97. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  98. package/dist/{emailStateMachine-CGY1UGs2.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
  99. package/dist/events-CP3yOzAl.esm.js +299 -0
  100. package/dist/events.d.ts +3 -1
  101. package/dist/events.esm.js +2 -1
  102. package/dist/extensibility.d.ts +39 -39
  103. package/dist/extensibility.esm.js +38 -38
  104. package/dist/face-match.d.ts +1 -1
  105. package/dist/face-match.esm.js +2 -2
  106. package/dist/{faceCaptureManagerFactory-ClFsByZc.esm.js → faceCaptureManagerFactory-3Or5qfbA.esm.js} +17 -6
  107. package/dist/{faceCaptureManagerFactory-BVwVGa3z.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +14 -7
  108. package/dist/{faceCaptureSetup-9hv5GC_H.esm.js → faceCaptureSetup-Cf87i0rT.esm.js} +46 -38
  109. package/dist/{faceMatchManager-BZtEw6bB.d.ts → faceMatchManager-C5b5WtcY.d.ts} +3 -2
  110. package/dist/{faceMatchManager-CRe7Nvm6.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  111. package/dist/{faceMatchStateMachine-EX9QhxFE.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +18 -6
  112. package/dist/{feature-management-CmKTG_T5.esm.js → feature-management-DG016L6E.esm.js} +1 -1
  113. package/dist/feature-management.esm.js +1 -1
  114. package/dist/field-comparison.d.ts +1 -1
  115. package/dist/field-comparison.esm.js +1 -1
  116. package/dist/{fieldComparisonManager-DuosZJso.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  117. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  118. package/dist/fiscal-qr.d.ts +1 -1
  119. package/dist/fiscal-qr.esm.js +1 -1
  120. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  121. package/dist/{fiscalQrManager-ji0qDaTW.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
  122. package/dist/flow-events.d.ts +1 -1
  123. package/dist/flow.d.ts +47 -11
  124. package/dist/flow.esm.js +214 -58
  125. package/dist/{flowCompletionService-DvcH16XO.esm.js → flowCompletionService-BpeAbbXc.esm.js} +2 -2
  126. package/dist/{flowServices-Ca2vKNt2.esm.js → flowServices-rDg1bAMs.esm.js} +373 -12
  127. package/dist/geolocation.d.ts +1 -1
  128. package/dist/geolocation.esm.js +2 -2
  129. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  130. package/dist/{geolocationManager-CiG32lIm.esm.js → geolocationManager-T8m4lqvF.esm.js} +5 -3
  131. package/dist/{geolocationStateMachine-5rnTEOuw.esm.js → geolocationStateMachine-NWmA1Dtn.esm.js} +5 -5
  132. package/dist/government-validation.d.ts +1 -1
  133. package/dist/government-validation.esm.js +2 -2
  134. package/dist/{governmentValidationManager-BivVZNVe.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  135. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  136. package/dist/{governmentValidationStateMachine-CeSDNgha.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  137. package/dist/home.d.ts +4 -3
  138. package/dist/home.esm.js +4 -2
  139. package/dist/http.esm.js +1 -1
  140. package/dist/id-ocr.d.ts +1 -1
  141. package/dist/id-ocr.esm.js +3 -3
  142. package/dist/id-selfie-flow.d.ts +4 -3
  143. package/dist/id-selfie-flow.esm.js +12 -11
  144. package/dist/id-verification.d.ts +1 -1
  145. package/dist/id-verification.esm.js +2 -2
  146. package/dist/id.d.ts +2 -2
  147. package/dist/id.esm.js +3 -3
  148. package/dist/{idCaptureDefaults-DBnOC28H.esm.js → idCaptureDefaults-Cjesf5i9.esm.js} +1 -1
  149. package/dist/{idCaptureManager-B5xqok0L.esm.js → idCaptureManager-5-ReVgbB.esm.js} +12 -10
  150. package/dist/{idCaptureManager-CG8zbAp0.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +7 -6
  151. package/dist/{idCaptureServices-BIF_7rub.esm.js → idCaptureServices-exB6I9lV.esm.js} +7 -7
  152. package/dist/{idCaptureStateMachine-B5cfgKvn.esm.js → idCaptureStateMachine-DQ14d3GR.esm.js} +21 -19
  153. package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
  154. package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-C0C7lFGd.d.ts} +4 -3
  155. package/dist/{idOcrManager-DNbVTMIu.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  156. package/dist/{idOcrStateMachine-MAGnpWkb.esm.js → idOcrStateMachine-B832arAl.esm.js} +4 -4
  157. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  158. package/dist/{idVerificationManager-BEAkamNm.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  159. package/dist/{idVerificationStateMachine-D5mBN2Ye.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  160. package/dist/identity-reuse.d.ts +2 -2
  161. package/dist/identity-reuse.esm.js +2 -2
  162. package/dist/identity-search.d.ts +97 -0
  163. package/dist/identity-search.esm.js +97 -0
  164. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
  165. package/dist/{identityReuseManager-M8-BTjar.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  166. package/dist/{identityReuseStateMachine-D5bXgw9h.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  167. package/dist/index-DHuAkTe0.d.ts +1 -0
  168. package/dist/{index-Btj1EhiM.d.ts → index-DM43R87x.d.ts} +1 -1
  169. package/dist/{index-CSPOoqah.d.ts → index-DxYNO94y.d.ts} +2 -2
  170. package/dist/index.d.ts +1 -1
  171. package/dist/index.esm.js +1 -1
  172. package/dist/{invokeOnCaptureCallback-C1-j4fsq.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  173. package/dist/kyb-checks.d.ts +1 -1
  174. package/dist/kyb-checks.esm.js +2 -2
  175. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  176. package/dist/{kybChecksManager-CnqwgKoV.esm.js → kybChecksManager-CZfdCkLC.esm.js} +3 -2
  177. package/dist/{kybChecksStateMachine-Be41K_NS.esm.js → kybChecksStateMachine-DkWxSU4L.esm.js} +8 -7
  178. package/dist/mandatory-consent.d.ts +2 -2
  179. package/dist/mandatory-consent.esm.js +2 -2
  180. package/dist/{mandatoryConsentManager-CYOJd_IZ.d.ts → mandatoryConsentManager-Bh1asNJh.d.ts} +9 -8
  181. package/dist/{mandatoryConsentManager-LFhUlLvO.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
  182. package/dist/{mandatoryConsentStateMachine-DTSyDqQs.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +3 -3
  183. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
  184. package/dist/{multipartRecordingService-CCiRpByl.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
  185. package/dist/{permissionGuards-DjQUR1du.esm.js → permissionGuards-D-4_VU7-.esm.js} +1 -1
  186. package/dist/{permissionServices-CZpORUWY.esm.js → permissionServices-DpccEnzE.esm.js} +1 -1
  187. package/dist/phone.d.ts +1 -1
  188. package/dist/phone.esm.js +2 -2
  189. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  190. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  191. package/dist/{phoneManager-C-qD3p3N.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
  192. package/dist/{phoneServices-BdR1nmSO.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
  193. package/dist/{phoneStateMachine-2FMTdjtJ.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
  194. package/dist/{processFaceMatch-B1YnoBer.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
  195. package/dist/qe-signature.d.ts +2 -2
  196. package/dist/qe-signature.esm.js +1 -1
  197. package/dist/{recordingService-BVSCo0ac.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
  198. package/dist/redirect-to-mobile.d.ts +1 -1
  199. package/dist/redirect-to-mobile.esm.js +2 -2
  200. package/dist/{redirectToMobileManager-CqyDfDxs.esm.js → redirectToMobileManager-DTB_pWuS.esm.js} +6 -4
  201. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
  202. package/dist/{redirectToMobileStateMachine-CXqfo2Gd.esm.js → redirectToMobileStateMachine-nP9DM01_.esm.js} +3 -3
  203. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  204. package/dist/{runChildModule-BmteMhR7.esm.js → runChildModule-CXLcOcXN.esm.js} +8 -6
  205. package/dist/{sdkVersion-KZROt6l3.esm.js → sdkVersion-fqxsdqFZ.esm.js} +1 -1
  206. package/dist/selfie.d.ts +3 -3
  207. package/dist/selfie.esm.js +13 -12
  208. package/dist/{selfieErrorUtils-fqxp645p.esm.js → selfieErrorUtils-MOfYdGPz.esm.js} +1 -1
  209. package/dist/{selfieManager-DREuBhXZ.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  210. package/dist/{selfieManager-A-n3k9Tu.esm.js → selfieManager-Dq8tIqGd.esm.js} +7 -6
  211. package/dist/{selfieStateMachine-48PKdKrw.esm.js → selfieStateMachine-BZVDQB8R.esm.js} +5 -5
  212. package/dist/{session-D0DWDKp9.esm.js → session-C7x_iJ-p.esm.js} +4 -4
  213. package/dist/session.d.ts +1 -1
  214. package/dist/session.esm.js +5 -5
  215. package/dist/{sessionInitializer-I92b2dmL.esm.js → sessionInitializer-k-hKIBg8.esm.js} +9 -8
  216. package/dist/{setup-BpjzWqR1.esm.js → setup-BRbhjHiU.esm.js} +10 -9
  217. package/dist/{setup-CG6oLkAa.d.ts → setup-CpXbdA1X.d.ts} +1 -1
  218. package/dist/signature.d.ts +1 -1
  219. package/dist/signature.esm.js +2 -2
  220. package/dist/{signatureManager-M9vQBj19.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  221. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  222. package/dist/{signatureStateMachine-0_frzAN5.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  223. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  224. package/dist/{stats-C2sigf9p.esm.js → stats-DoByUnTa.esm.js} +1 -1
  225. package/dist/stats.esm.js +1 -1
  226. package/dist/step-up.d.ts +3 -2
  227. package/dist/step-up.esm.js +2 -1
  228. package/dist/{tri-DaUNvo-o.esm.js → tri-CI2exudk.esm.js} +2 -2
  229. package/dist/tri.d.ts +1 -1
  230. package/dist/tri.esm-CxLWmTZk.esm.js +2287 -0
  231. package/dist/tri.esm.js +1 -1
  232. package/dist/{trueSightService-DHYTBCIn.esm.js → trueSightService-DhW2O8mB.esm.js} +6 -3
  233. package/dist/trust-graph.d.ts +4 -3
  234. package/dist/trust-graph.esm.js +5 -3
  235. package/dist/{types-CgihAhT_.d.ts → types-9wlf1-GE.d.ts} +1 -1
  236. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  237. package/dist/types-CE1jkHw3.d.ts +6 -0
  238. package/dist/{types-BqlZSoZ-.d.ts → types-Cpdum4vi.d.ts} +1 -1
  239. package/dist/{types-Cbm9J2yF.d.ts → types-DFP7eSle.d.ts} +1 -1
  240. package/dist/{types-P9LzsfRo.d.ts → types-DJPU3W2M.d.ts} +1 -1
  241. package/dist/{events-C7h7oaTE.esm.js → types-DYYMdAGv.esm.js} +3 -298
  242. package/dist/{types-TisHEbBg.d.ts → types-Ddc4Tr_f.d.ts} +28 -1
  243. package/dist/video-selfie.d.ts +5 -4
  244. package/dist/video-selfie.esm.js +14 -13
  245. package/dist/{videoSelfieCameraWarmer-CTOpqhov.esm.js → videoSelfieCameraWarmer-YwO_uP-b.esm.js} +6 -6
  246. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  247. package/dist/{videoSelfieStepDetector-4XE2QI5q.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +2 -2
  248. package/dist/wasm.d.ts +1 -1
  249. package/dist/wasm.esm.js +1 -1
  250. package/dist/{wasmDsFlagSync-lRIgn5Ic.esm.js → wasmDsFlagSync-D_6e8W62.esm.js} +1 -1
  251. package/dist/watchlist-for-business.d.ts +1 -1
  252. package/dist/watchlist-for-business.esm.js +2 -2
  253. package/dist/watchlist.d.ts +1 -1
  254. package/dist/watchlist.esm.js +2 -2
  255. package/dist/{watchlistForBusinessManager-C1S5y5yj.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
  256. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  257. package/dist/{watchlistForBusinessStateMachine-Bj_hnoK5.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
  258. package/dist/{watchlistManager-BpegtZbc.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  259. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  260. package/dist/{watchlistStateMachine-Bgkh1gra.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  261. package/dist/workflow.d.ts +6 -5
  262. package/dist/workflow.esm.js +51 -43
  263. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  264. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  265. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  266. package/package.json +6 -1
  267. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  268. package/dist/index-DpTj5PFb.d.ts +0 -1
  269. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  270. package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
  271. package/dist/tri.esm-Df5eKLsY.esm.js +0 -2165
  272. package/dist/types-kLsU6Jkt.d.ts +0 -6
@@ -1,18 +1,19 @@
1
- import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BRbhjHiU.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-Ca2vKNt2.esm.js";
5
- import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-BSLpXAGx.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-rDg1bAMs.esm.js";
5
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
+ import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-2NzWDbV8.esm.js";
8
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
9
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DBnOC28H.esm.js";
11
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-BIF_7rub.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Cjesf5i9.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-exB6I9lV.esm.js";
12
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { r as getFinishStatus } from "./flowCompletionService-DvcH16XO.esm.js";
14
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CTOpqhov.esm.js";
15
- import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
14
+ import { r as getFinishStatus } from "./flowCompletionService-BpeAbbXc.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-YwO_uP-b.esm.js";
16
+ import { t as CameraCompositor } from "./CameraCompositor-ppyMYVoY.esm.js";
16
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
18
  /** Default autocapture window for the selfie step. */
18
19
  const SELFIE_AUTOCAPTURE_MS = 1e4;
@@ -1,2 +1,2 @@
1
- import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
1
+ import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
2
2
  export { type IdVerificationActor, type IdVerificationConfig, type IdVerificationManager, type IdVerificationState, createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
@@ -1,3 +1,3 @@
1
- import { t as idVerificationMachine } from "./idVerificationStateMachine-D5mBN2Ye.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BEAkamNm.esm.js";
1
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-PMGM4hXY.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
- import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CG8zbAp0.js";
3
+ import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-Cqx2y_fC.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
5
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
6
- import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
6
+ import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-Cpdum4vi.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B5xqok0L.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-BIF_7rub.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-DQ14d3GR.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-5-ReVgbB.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-exB6I9lV.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,6 +1,6 @@
1
1
  import { D as WASM_MODEL_FILES, P as resolveWasmSource, w as getBarcodeEnhanceModelUrl } from "./wasmWebClient-C3v3s_4H.esm.js";
2
2
  import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-9iKKNNuW.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
4
4
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
5
5
  //#region ../infra/src/wasm/idCaptureWasmApi.ts
6
6
  var IdCaptureWasmApi = class {
@@ -1,17 +1,19 @@
1
- import { u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
3
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BRbhjHiU.esm.js";
2
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
3
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
4
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
4
5
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
- import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
+ import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
8
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
9
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
8
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-lRIgn5Ic.esm.js";
10
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-D_6e8W62.esm.js";
9
11
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
- import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CZpORUWY.esm.js";
12
+ import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DpccEnzE.esm.js";
11
13
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
13
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BIF_7rub.esm.js";
14
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-C1-j4fsq.esm.js";
14
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-DQ14d3GR.esm.js";
15
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-exB6I9lV.esm.js";
16
+ import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-lXP41N7b.esm.js";
15
17
  //#region src/modules/id/digitalUpload/instrumentation.ts
16
18
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
17
19
  function isHoldingState(value) {
@@ -1,17 +1,18 @@
1
- import { A as StateMachine, i as ActorRefFrom, l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom, j as StateMachine, l as AnyStateMachine } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
4
+ import "./Actor-DqjOqDfU.js";
4
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
5
- import "./index-DpTj5PFb.js";
6
+ import "./index-DHuAkTe0.js";
6
7
  import "./createFaceAvatar-BimBTONm.js";
7
- import { a as RegulationTypes } from "./types-TisHEbBg.js";
8
+ import { a as RegulationTypes } from "./types-Ddc4Tr_f.js";
8
9
  import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-BRn0wz8v.js";
9
10
  import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
10
11
  import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
11
12
  import { n as DeepsightService } from "./StreamCanvasCapture-ixfy84ys.js";
12
13
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
13
14
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
14
- import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
15
+ import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-Cpdum4vi.js";
15
16
  //#region src/internal/http/endpoints.d.ts
16
17
  /**
17
18
  * Backend `CaptureType` for the `captureType` query param on `add/front-id`,
@@ -1,10 +1,10 @@
1
- import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
2
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CmKTG_T5.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BRbhjHiU.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DG016L6E.esm.js";
4
4
  import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
5
5
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
7
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DBnOC28H.esm.js";
7
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Cjesf5i9.esm.js";
8
8
  //#region src/modules/id/idCameraStream.ts
9
9
  async function getIdCameraStream(deviceId) {
10
10
  return (await import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t)).getBackCameraStream(deviceId);
@@ -434,9 +434,9 @@ async function startRecordingSession(params) {
434
434
  return params.existing;
435
435
  }
436
436
  const [compositorModule, recorderModule, serviceModule] = await Promise.all([
437
- import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
438
- import("./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js").then((n) => n.n),
439
- import("./multipartRecordingService-CCiRpByl.esm.js").then((n) => n.n)
437
+ import("./CameraCompositor-ppyMYVoY.esm.js").then((n) => n.n),
438
+ import("./WorkerEncoderRecordingProvider-CsDED9UU.esm.js").then((n) => n.n),
439
+ import("./multipartRecordingService-WgK8ieRI.esm.js").then((n) => n.n)
440
440
  ]);
441
441
  const recordingSource = params.stream.clone();
442
442
  const compositor = compositorModule.createRecordingCompositor();
@@ -1,32 +1,34 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
3
- import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
4
- import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-C7h7oaTE.esm.js";
5
- import { r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
6
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DHYTBCIn.esm.js";
7
- import { n as getDisableIpify } from "./sessionInitializer-I92b2dmL.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-BRbhjHiU.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
4
+ import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
5
+ import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
6
+ import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DhW2O8mB.esm.js";
8
+ import { n as getDisableIpify } from "./sessionInitializer-k-hKIBg8.esm.js";
8
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { s as exposeExperimentOnce } from "./feature-management-CmKTG_T5.esm.js";
10
- import { t as addDeviceStats } from "./stats-C2sigf9p.esm.js";
10
+ import { s as exposeExperimentOnce } from "./feature-management-DG016L6E.esm.js";
11
+ import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
11
12
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
12
- import "./session-D0DWDKp9.esm.js";
13
- import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
14
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
13
+ import "./session-C7x_iJ-p.esm.js";
14
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
15
+ import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
16
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
15
17
  import { r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
16
18
  import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
17
- import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-CZpORUWY.esm.js";
18
- import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-Dvvw7PRY.esm.js";
19
+ import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-DpccEnzE.esm.js";
20
+ import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-enVPfRsQ.esm.js";
19
21
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
20
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DjQUR1du.esm.js";
21
- import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
22
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D-4_VU7-.esm.js";
23
+ import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
22
24
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
23
25
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
24
26
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
25
27
  import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
26
28
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
29
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
28
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DBnOC28H.esm.js";
29
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-BIF_7rub.esm.js";
30
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Cjesf5i9.esm.js";
31
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-exB6I9lV.esm.js";
30
32
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
31
33
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
32
34
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2044,7 +2046,7 @@ fromPromise(async ({ input }) => {
2044
2046
  });
2045
2047
  fromPromise(async ({ input }) => {
2046
2048
  if (!input.dependencies) return;
2047
- const { loadDeepsightSession } = await import("./deepsightLoader-BKCT8UT1.esm.js");
2049
+ const { loadDeepsightSession } = await import("./deepsightLoader-CEY2mSPM.esm.js");
2048
2050
  return loadDeepsightSession({
2049
2051
  ds: input.ds,
2050
2052
  storage: input.dependencies.storage,
@@ -2487,7 +2489,7 @@ function cleanup(service) {
2487
2489
  service.cleanup();
2488
2490
  } catch {}
2489
2491
  }
2490
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-BKCT8UT1.esm.js")).loadDeepsightSession(input)) {
2492
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-CEY2mSPM.esm.js")).loadDeepsightSession(input)) {
2491
2493
  let disposed = false;
2492
2494
  let preparation;
2493
2495
  let service;
@@ -1,4 +1,4 @@
1
- import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
1
+ import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
2
2
  //#region src/modules/id-ocr/idOcrCpfUtils.ts
3
3
  function formatCPF(value) {
4
4
  const digits = value.replace(/\D/g, "").slice(0, 11);
@@ -1,6 +1,7 @@
1
- import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
4
+ import "./Actor-DqjOqDfU.js";
4
5
  import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-Bpo97EOh.js";
5
6
  //#region src/modules/id-ocr/idOcrStateMachine.d.ts
6
7
  type IdOcrOcrDocument = 'first' | 'second';
@@ -1,6 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as idOcrStateMachine } from "./idOcrStateMachine-MAGnpWkb.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-B832arAl.esm.js";
4
6
  //#region src/modules/id-ocr/idOcrActor.ts
5
7
  function createIdOcrActor(options) {
6
8
  return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
@@ -1,9 +1,9 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
3
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
6
- import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
6
+ import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
7
7
  //#region src/modules/id-ocr/idOcrUtils.ts
8
8
  const dateFormattingInstance$1 = new DateFormattingProvider();
9
9
  const resolveFullName = (data) => {
@@ -1,6 +1,7 @@
1
- import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
4
+ import "./Actor-DqjOqDfU.js";
4
5
  //#region src/modules/id-verification/types.d.ts
5
6
  type IdVerificationConfig = {
6
7
  /** When true, verify the second captured ID via `/omni/process/second-id`. */
@@ -1,6 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as idVerificationMachine } from "./idVerificationStateMachine-D5mBN2Ye.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
4
6
  //#region src/modules/id-verification/idVerificationActor.ts
5
7
  function createIdVerificationActor(options) {
6
8
  return createActor(idVerificationMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-BSnbg4HO.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/id-verification/idVerificationServices.ts
5
5
  /**
6
6
  * Submits the captured ID for backend verification. Wraps `POST /omni/process/id`
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-ooAbp6Kc.js";
2
- export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-CZ-qJ_Aa.js";
2
+ export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,3 +1,3 @@
1
- import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-D5bXgw9h.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-M8-BTjar.esm.js";
1
+ import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-CLFjPp13.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CjFZ7WRa.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -0,0 +1,97 @@
1
+ import { O as PromiseActorLogic, T as Values, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, d as DoneActorEvent, j as StateMachine, m as EventObject, p as ErrorActorEvent, t as ActionFunction, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ //#region src/modules/identity-search/types.d.ts
4
+ /**
5
+ * Configuration options for the IdentitySearch module. It has none: the
6
+ * backend searches with the session's hint, which is the contact verified
7
+ * earlier in the session or the hint sent when the session started.
8
+ */
9
+ type IdentitySearchConfig = {};
10
+ //#endregion
11
+ //#region src/modules/identity-search/identitySearchStateMachine.d.ts
12
+ type IdentitySearchInput = {
13
+ config: IdentitySearchConfig;
14
+ };
15
+ /**
16
+ * How the search ended: the backend answered, the request failed, or the
17
+ * budget ran out. Each one finishes the step the same way.
18
+ */
19
+ type SearchOutcome = 'answered' | 'failed' | 'timedOut';
20
+ type IdentitySearchContext = {
21
+ outcome: SearchOutcome | undefined;
22
+ };
23
+ /**
24
+ * IDENTITY_SEARCH in a Flow: a step without UI that searches as soon as it
25
+ * starts. The backend keeps what it found on the session, and the reuse step
26
+ * reads it from there, so the step has no output. Nothing sends LOAD to such a
27
+ * step (see `trustGraphMachine`), and the orchestrator moves on only when the
28
+ * machine reaches its final state.
29
+ *
30
+ * It always gets there: when the backend answers, or after an error or the
31
+ * timeout. It never errors, so a failed search can't stop the flow; the reuse
32
+ * step then has nothing to offer.
33
+ */
34
+ declare const identitySearchMachine: StateMachine<IdentitySearchContext, AnyEventObject, {
35
+ [x: string]: ActorRefFromLogic<PromiseActorLogic<void, void, EventObject>> | undefined;
36
+ }, {
37
+ src: "searchIdentity";
38
+ logic: PromiseActorLogic<void, void, EventObject>;
39
+ id: string | undefined;
40
+ }, Values<{
41
+ reportSearchStarted: {
42
+ type: "reportSearchStarted";
43
+ params: unknown;
44
+ };
45
+ reportSearchFinished: {
46
+ type: "reportSearchFinished";
47
+ params: unknown;
48
+ };
49
+ }>, never, "searchTimeout", "finished" | "searching", string, IdentitySearchInput, NonReducibleUnknown, EventObject, MetaObject, {
50
+ readonly id: "identitySearch";
51
+ readonly initial: "searching";
52
+ readonly context: {
53
+ readonly outcome: undefined;
54
+ };
55
+ readonly states: {
56
+ readonly searching: {
57
+ readonly entry: "reportSearchStarted";
58
+ readonly invoke: {
59
+ readonly id: "searchIdentity";
60
+ readonly src: "searchIdentity";
61
+ readonly onDone: {
62
+ readonly target: "finished";
63
+ readonly actions: ActionFunction<IdentitySearchContext, DoneActorEvent<void, string>, AnyEventObject, undefined, {
64
+ src: "searchIdentity";
65
+ logic: PromiseActorLogic<void, void, EventObject>;
66
+ id: string | undefined;
67
+ }, never, never, never, never>;
68
+ };
69
+ readonly onError: {
70
+ readonly target: "finished";
71
+ readonly actions: ActionFunction<IdentitySearchContext, ErrorActorEvent<unknown, string>, AnyEventObject, undefined, {
72
+ src: "searchIdentity";
73
+ logic: PromiseActorLogic<void, void, EventObject>;
74
+ id: string | undefined;
75
+ }, never, never, never, never>;
76
+ };
77
+ };
78
+ readonly after: {
79
+ readonly searchTimeout: {
80
+ readonly target: "finished";
81
+ readonly actions: ActionFunction<IdentitySearchContext, AnyEventObject, AnyEventObject, undefined, {
82
+ src: "searchIdentity";
83
+ logic: PromiseActorLogic<void, void, EventObject>;
84
+ id: string | undefined;
85
+ }, never, never, never, never>;
86
+ };
87
+ };
88
+ };
89
+ readonly finished: {
90
+ readonly type: "final";
91
+ readonly entry: "reportSearchFinished";
92
+ };
93
+ };
94
+ }>;
95
+ type IdentitySearchMachine = typeof identitySearchMachine;
96
+ //#endregion
97
+ export { type IdentitySearchConfig, type IdentitySearchMachine, identitySearchMachine };
@@ -0,0 +1,97 @@
1
+ import { f as moduleClosed, g as screenOpened, m as screenClosed, n as eventModuleNames, p as moduleOpened } from "./types-DYYMdAGv.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
+ import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
+ //#region src/modules/identity-search/identitySearchServices.ts
7
+ /**
8
+ * Runs the identity search for this session. The backend searches with the
9
+ * session's hint (the contact verified earlier in the session, or the hint
10
+ * sent when the session started) and keeps what it found on the session,
11
+ * where the reuse step reads it. It answers with no result of its own. Throws
12
+ * on failure.
13
+ */
14
+ async function searchIdentity(signal) {
15
+ const res = await api.post(endpoints.identitySearch, {}, { signal });
16
+ if (!res.ok) throw new Error(`POST ${endpoints.identitySearch} failed: ${res.status} ${res.statusText}`);
17
+ }
18
+ //#endregion
19
+ //#region src/modules/identity-search/identitySearchStateMachine.ts
20
+ /**
21
+ * Budget for the whole search, waits for a lost connection included. When it
22
+ * runs out, the step finishes anyway and the flow goes on.
23
+ */
24
+ const SEARCH_TIMEOUT_MS = 1e4;
25
+ /**
26
+ * The step has no UI and no manager, so the machine reports its own
27
+ * lifecycle with the usual codes: `moduleOpened`, then the
28
+ * `IDENTITY_SEARCH.searching` screen while the request runs, then one screen
29
+ * named after the outcome, then `moduleClosed`.
30
+ */
31
+ const ANALYTICS_MODULE = eventModuleNames.identitySearch;
32
+ function analyticsScreen(name) {
33
+ return `${ANALYTICS_MODULE}.${name}`;
34
+ }
35
+ /**
36
+ * IDENTITY_SEARCH in a Flow: a step without UI that searches as soon as it
37
+ * starts. The backend keeps what it found on the session, and the reuse step
38
+ * reads it from there, so the step has no output. Nothing sends LOAD to such a
39
+ * step (see `trustGraphMachine`), and the orchestrator moves on only when the
40
+ * machine reaches its final state.
41
+ *
42
+ * It always gets there: when the backend answers, or after an error or the
43
+ * timeout. It never errors, so a failed search can't stop the flow; the reuse
44
+ * step then has nothing to offer.
45
+ */
46
+ const identitySearchMachine = setup({
47
+ types: {
48
+ context: {},
49
+ input: {}
50
+ },
51
+ actions: {
52
+ reportSearchStarted: () => {
53
+ moduleOpened(ANALYTICS_MODULE);
54
+ screenOpened(ANALYTICS_MODULE, analyticsScreen("searching"));
55
+ },
56
+ reportSearchFinished: ({ context }) => {
57
+ const outcome = analyticsScreen(context.outcome ?? "answered");
58
+ screenClosed(ANALYTICS_MODULE, analyticsScreen("searching"));
59
+ screenOpened(ANALYTICS_MODULE, outcome);
60
+ screenClosed(ANALYTICS_MODULE, outcome);
61
+ moduleClosed(ANALYTICS_MODULE);
62
+ }
63
+ },
64
+ actors: { searchIdentity: fromPromise(({ signal }) => retryAfterReconnect(() => searchIdentity(signal), signal)) },
65
+ delays: { searchTimeout: SEARCH_TIMEOUT_MS }
66
+ }).createMachine({
67
+ id: "identitySearch",
68
+ initial: "searching",
69
+ context: { outcome: void 0 },
70
+ states: {
71
+ searching: {
72
+ entry: "reportSearchStarted",
73
+ invoke: {
74
+ id: "searchIdentity",
75
+ src: "searchIdentity",
76
+ onDone: {
77
+ target: "finished",
78
+ actions: assign({ outcome: "answered" })
79
+ },
80
+ onError: {
81
+ target: "finished",
82
+ actions: assign({ outcome: "failed" })
83
+ }
84
+ },
85
+ after: { searchTimeout: {
86
+ target: "finished",
87
+ actions: assign({ outcome: "timedOut" })
88
+ } }
89
+ },
90
+ finished: {
91
+ type: "final",
92
+ entry: "reportSearchFinished"
93
+ }
94
+ }
95
+ });
96
+ //#endregion
97
+ export { identitySearchMachine };