@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,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, f as DoneStateEvent, 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/identity-reuse/types.d.ts
5
6
  /**
6
7
  * Configuration options for the IdentityReuse module.
@@ -45,8 +46,9 @@ type ReusableDocument = {
45
46
  type FetchDocumentsResponse = ReusableDocument[];
46
47
  /**
47
48
  * Name of the organization receiving the reused document, as resolved by the
48
- * `fetchCompanyName` actor, or `undefined` when the backend does not provide
49
- * one. Use it to type a `fetchCompanyName` override passed to `.provide()`.
49
+ * `fetchCompanyName` actor. The backend has no route for it, so the default
50
+ * actor resolves `undefined`. Use it to type a `fetchCompanyName` override
51
+ * passed to `.provide()` that supplies the name.
50
52
  */
51
53
  type FetchCompanyNameResponse = string | undefined;
52
54
  /**
@@ -61,8 +63,26 @@ type SubmitParams = {
61
63
  } | {
62
64
  accepted: false;
63
65
  };
64
- /** @internal Response from POST /omni/identity-reuse/submit — shape TBD */
65
- type SubmitResponse = {};
66
+ /**
67
+ * @internal Response from POST /omni/identity-reuse/submit.
68
+ *
69
+ * `identityShared` is true only when the backend imported the accepted
70
+ * document into this session. A backend that doesn't send it counts as no
71
+ * share. Other fields are allowed, so a `.provide()` override written for an
72
+ * earlier version, which returned other fields, still compiles.
73
+ */
74
+ type SubmitResponse = {
75
+ identityShared?: boolean;
76
+ [key: string]: unknown;
77
+ };
78
+ /**
79
+ * Terminal output of the IdentityReuse module. `identityShared` is true only
80
+ * when the backend imported a document the person accepted. Every other way
81
+ * the step ends reports false: a new scan, a skip, or no reusable documents.
82
+ */
83
+ type IdentityReuseOutput = {
84
+ identityShared: boolean;
85
+ };
66
86
  //#endregion
67
87
  //#region src/modules/identity-reuse/identityReuseStateMachine.d.ts
68
88
  /**
@@ -77,6 +97,8 @@ type IdentityReuseContext = {
77
97
  selectedDocumentId: SelectedDocumentId | undefined;
78
98
  companyName: string | undefined;
79
99
  error: string | undefined;
100
+ /** The backend imported the document the person accepted. */
101
+ identityShared: boolean;
80
102
  };
81
103
  type IdentityReuseInput = {
82
104
  config: IdentityReuseConfig;
@@ -132,6 +154,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
132
154
  type: "setCompanyName";
133
155
  params: NonReducibleUnknown;
134
156
  };
157
+ setIdentityShared: {
158
+ type: "setIdentityShared";
159
+ params: NonReducibleUnknown;
160
+ };
135
161
  }>, Values<{
136
162
  hasDocuments: {
137
163
  type: "hasDocuments";
@@ -150,7 +176,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
150
176
  documents: "done" | "fetching";
151
177
  company: "done" | "fetching" | "check";
152
178
  };
153
- }, string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
179
+ }, string, IdentityReuseInput, IdentityReuseOutput, EventObject, MetaObject, {
154
180
  readonly id: "identityReuse";
155
181
  readonly initial: "idle";
156
182
  readonly context: ({ input }: {
@@ -256,6 +282,38 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
256
282
  selectedDocumentId: undefined;
257
283
  companyName: undefined;
258
284
  error: undefined;
285
+ identityShared: false;
286
+ };
287
+ readonly output: ({ context }: {
288
+ context: IdentityReuseContext;
289
+ event: DoneStateEvent<unknown>;
290
+ self: ActorRef<MachineSnapshot<IdentityReuseContext, {
291
+ type: "LOAD";
292
+ } | {
293
+ type: "DOCUMENT_CHOSEN";
294
+ documentId: SelectedDocumentId;
295
+ } | {
296
+ type: "SUBMIT";
297
+ documentId?: SelectedDocumentId;
298
+ } | {
299
+ type: "SKIP";
300
+ } | {
301
+ type: "RETRY";
302
+ }, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
303
+ type: "LOAD";
304
+ } | {
305
+ type: "DOCUMENT_CHOSEN";
306
+ documentId: SelectedDocumentId;
307
+ } | {
308
+ type: "SUBMIT";
309
+ documentId?: SelectedDocumentId;
310
+ } | {
311
+ type: "SKIP";
312
+ } | {
313
+ type: "RETRY";
314
+ }, AnyEventObject>;
315
+ }) => {
316
+ identityShared: boolean;
259
317
  };
260
318
  readonly states: {
261
319
  readonly idle: {
@@ -357,6 +415,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
357
415
  }) => SubmitParams;
358
416
  readonly onDone: {
359
417
  readonly target: "finished";
418
+ readonly actions: "setIdentityShared";
360
419
  };
361
420
  readonly onError: {
362
421
  readonly target: "error";
@@ -401,10 +460,11 @@ type IdentityReuseIdleState = {
401
460
  status: 'idle';
402
461
  };
403
462
  /**
404
- * Fetching reusable documents and, in parallel, the name of the organization
405
- * receiving them. The name lookup is non-fatal and never keeps this state
406
- * longer than one second after loading starts, unless the documents
407
- * themselves take longer.
463
+ * Fetching reusable documents. A host that supplies the receiving
464
+ * organization's name through a `fetchCompanyName` override runs it in
465
+ * parallel; that lookup is non-fatal and never keeps this state longer than
466
+ * one second after loading starts, unless the documents themselves take
467
+ * longer. By default there is no lookup.
408
468
  */
409
469
  type IdentityReuseLoadingState = {
410
470
  status: 'loading';
@@ -419,7 +479,8 @@ type IdentityReuseLoadingState = {
419
479
  * `'scanNew'` if the user picked the scan-new row. Auto-populated to
420
480
  * `documents[0].id` on entry, so a bare `submit()` reuses the best match.
421
481
  * @property companyName - Name of the organization receiving the reused
422
- * document. Absent when the backend does not provide one.
482
+ * document. The backend doesn't provide it, so it is absent unless a host
483
+ * supplies it through a `fetchCompanyName` override.
423
484
  */
424
485
  type IdentityReuseDocumentsFoundState = {
425
486
  status: 'documentsFound';
@@ -431,9 +492,15 @@ type IdentityReuseDocumentsFoundState = {
431
492
  type IdentityReuseSubmittingState = {
432
493
  status: 'submitting';
433
494
  };
434
- /** Module completed successfully */
495
+ /**
496
+ * Module completed successfully
497
+ * @property output - Whether a document was shared (`identityShared`). A flow
498
+ * reads it to skip the ID capture, so forward it with
499
+ * `flowManager.completeModule(output)`.
500
+ */
435
501
  type IdentityReuseFinishedState = {
436
502
  status: 'finished';
503
+ output?: IdentityReuseOutput;
437
504
  };
438
505
  /**
439
506
  * A recoverable error occurred — user can retry or skip
@@ -538,4 +605,4 @@ declare function createIdentityReuseManagerFromActor(actor: IdentityReuseActor):
538
605
  };
539
606
  type IdentityReuseManager = ReturnType<typeof createIdentityReuseManager>;
540
607
  //#endregion
541
- export { IdentityReuseActor as a, identityReuseMachine as c, IdentityReuseConfig as d, ReusableDocument as f, createIdentityReuseManagerFromActor as i, FetchCompanyNameResponse as l, IdentityReuseState as n, SCAN_NEW_DOCUMENT as o, SubmitResponse as p, createIdentityReuseManager as r, SelectedDocumentId as s, IdentityReuseManager as t, FetchDocumentsResponse as u };
608
+ export { IdentityReuseActor as a, identityReuseMachine as c, IdentityReuseConfig as d, IdentityReuseOutput as f, createIdentityReuseManagerFromActor as i, FetchCompanyNameResponse as l, SubmitResponse as m, IdentityReuseState as n, SCAN_NEW_DOCUMENT as o, ReusableDocument as p, createIdentityReuseManager as r, SelectedDocumentId as s, IdentityReuseManager as t, FetchDocumentsResponse as u };
@@ -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 { n as identityReuseMachine } from "./identityReuseStateMachine-D5bXgw9h.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 { n as identityReuseMachine } from "./identityReuseStateMachine-CLFjPp13.esm.js";
4
6
  //#region src/modules/identity-reuse/identityReuseActor.ts
5
7
  /**
6
8
  * Creates and starts an IdentityReuse actor.
@@ -23,7 +25,10 @@ function mapState(snapshot) {
23
25
  ...context.companyName !== void 0 && { companyName: context.companyName }
24
26
  };
25
27
  if (snapshot.matches("submitting")) return { status: "submitting" };
26
- if (snapshot.matches("finished")) return { status: "finished" };
28
+ if (snapshot.matches("finished")) return {
29
+ status: "finished",
30
+ output: snapshot.output
31
+ };
27
32
  if (snapshot.matches("error")) return {
28
33
  status: "error",
29
34
  error: context.error ?? "An error occurred"
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/identity-reuse/identityReuseServices.ts
5
5
  function lowerFirstLetter(value) {
6
6
  if (!value) return value;
@@ -35,18 +35,6 @@ async function fetchDocuments(signal) {
35
35
  if (!res.ok) throw new Error(`GET ${endpoints.identityReuseDocuments} failed: ${res.status} ${res.statusText} — ${JSON.stringify(res.data)}`);
36
36
  return (res.data?.documents ?? []).map(adaptDocument);
37
37
  }
38
- /**
39
- * Fetches the name of the organization receiving the reused document.
40
- * Resolves `undefined` when the name is missing or blank. Throws on failure.
41
- */
42
- async function fetchCompanyName(signal) {
43
- const res = await api.get(endpoints.identityReuseCandidates, { signal });
44
- if (!res.ok) throw new Error(`GET ${endpoints.identityReuseCandidates} failed: ${res.status} ${res.statusText} — ${JSON.stringify(res.data)}`);
45
- const name = res.data?.currentOrganizationName;
46
- if (typeof name !== "string") return void 0;
47
- const trimmed = name.trim();
48
- return trimmed.length > 0 ? trimmed : void 0;
49
- }
50
38
  /** Submits the chosen document (or scan-new) for reuse. Throws on failure. */
51
39
  async function submitDocument(params, signal) {
52
40
  const res = await api.post(endpoints.identityReuseSubmit, params, { signal });
@@ -61,9 +49,10 @@ async function submitDocument(params, signal) {
61
49
  */
62
50
  const SCAN_NEW_DOCUMENT = "scanNew";
63
51
  /**
64
- * Budget for the company-name lookup, counted from the start of loading. The
65
- * name is cosmetic copy: once the budget runs out the picker opens as soon as
66
- * the documents are in and the UI falls back to name-less copy.
52
+ * Budget for a host-provided company-name lookup, counted from the start of
53
+ * loading. The name is cosmetic copy: once the budget runs out the picker
54
+ * opens as soon as the documents are in and the UI falls back to name-less
55
+ * copy. The default lookup answers at once.
67
56
  */
68
57
  const COMPANY_NAME_TIMEOUT_MS = 1e3;
69
58
  function deriveSubmitParams(selectedDocumentId) {
@@ -77,15 +66,14 @@ const identityReuseMachine = setup({
77
66
  types: {
78
67
  context: {},
79
68
  events: {},
80
- input: {}
69
+ input: {},
70
+ output: {}
81
71
  },
82
72
  actors: {
83
73
  fetchDocuments: fromPromise(async ({ signal }) => {
84
74
  return fetchDocuments(signal);
85
75
  }),
86
- fetchCompanyName: fromPromise(async ({ signal }) => {
87
- return fetchCompanyName(signal);
88
- }),
76
+ fetchCompanyName: fromPromise(async () => void 0),
89
77
  submitDocument: fromPromise(async ({ input, signal }) => {
90
78
  return submitDocument(input, signal);
91
79
  })
@@ -103,7 +91,11 @@ const identityReuseMachine = setup({
103
91
  }),
104
92
  setCompanyName: assign(({ event }) => ({ companyName: event.output })),
105
93
  setError: assign(({ event }) => ({ error: String(event.error) })),
106
- clearError: assign({ error: () => void 0 })
94
+ clearError: assign({ error: () => void 0 }),
95
+ setIdentityShared: assign(({ context, event }) => {
96
+ const output = event.output;
97
+ return { identityShared: deriveSubmitParams(context.selectedDocumentId).accepted && output?.identityShared === true };
98
+ })
107
99
  },
108
100
  guards: {
109
101
  hasDocuments: ({ context }) => context.documents.length > 0,
@@ -122,8 +114,10 @@ const identityReuseMachine = setup({
122
114
  documents: [],
123
115
  selectedDocumentId: void 0,
124
116
  companyName: void 0,
125
- error: void 0
117
+ error: void 0,
118
+ identityShared: false
126
119
  }),
120
+ output: ({ context }) => ({ identityShared: context.identityShared }),
127
121
  states: {
128
122
  idle: { on: { LOAD: { target: "loading" } } },
129
123
  loading: {
@@ -191,7 +185,10 @@ const identityReuseMachine = setup({
191
185
  id: "submitDocument",
192
186
  src: "submitDocument",
193
187
  input: ({ context }) => deriveSubmitParams(context.selectedDocumentId),
194
- onDone: { target: "finished" },
188
+ onDone: {
189
+ target: "finished",
190
+ actions: "setIdentityShared"
191
+ },
195
192
  onError: {
196
193
  target: "error",
197
194
  actions: "setError"
@@ -0,0 +1 @@
1
+ import "./Manager-DufwKlav.js";
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261112162640-0cc1fcb5184789f8e4473bfd48740731dbeb295a/node_modules/@incodetech/tri-sdk/dist/index.d.ts
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261116191152-a41c6976608191fa0c97dbf43a4ba2877182acac/node_modules/@incodetech/tri-sdk/dist/index.d.ts
2
2
  type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | 'fpsignals';
3
3
  /**
4
4
  * The configurable sub-events of each collector key. For a key in
@@ -1,5 +1,5 @@
1
- import "./Manager-C9T5amUN.js";
2
- import { n as Flow } from "./types-TisHEbBg.js";
1
+ import "./Manager-DufwKlav.js";
2
+ import { n as Flow } from "./types-Ddc4Tr_f.js";
3
3
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CG6oLkAa.js";
1
+ import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CpXbdA1X.js";
2
2
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-BpjzWqR1.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-BRbhjHiU.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,4 +1,4 @@
1
- import { y as addEvent } from "./events-C7h7oaTE.esm.js";
1
+ import { v as addEvent } from "./types-DYYMdAGv.esm.js";
2
2
  //#region src/internal/captureOnly/invokeOnCaptureCallback.ts
3
3
  /**
4
4
  * Invokes an integrator-provided `onCapture` callback with the assembled
@@ -1,3 +1,3 @@
1
1
  import { a as KybChecksSection, c as KybFieldValue, d as KybText, f as KybUnsupportedModule, i as KybChecksResult, l as KybFieldValues, n as KybChecksConfig, o as KybFieldDef, p as KybValidationRule, r as KybChecksErrorKind, s as KybFieldErrors, t as KybCheckModuleKey, u as KybFormLevelRule } from "./types-CTaL0XJz.js";
2
- import { a as KybChecksLoadingState, c as KybChecksState, i as KybChecksFormState, l as KybChecksSubmittingState, n as KybChecksErrorState, o as KybChecksManager, p as kybChecksMachine, r as KybChecksFinishedState, s as KybChecksMisconfiguredState, t as KybChecksClosedState, u as createKybChecksManager } from "./kybChecksManager-CblEL97E.js";
2
+ import { a as KybChecksLoadingState, c as KybChecksState, i as KybChecksFormState, l as KybChecksSubmittingState, n as KybChecksErrorState, o as KybChecksManager, p as kybChecksMachine, r as KybChecksFinishedState, s as KybChecksMisconfiguredState, t as KybChecksClosedState, u as createKybChecksManager } from "./kybChecksManager-B7Di9auB.js";
3
3
  export { type KybCheckModuleKey, type KybChecksClosedState, type KybChecksConfig, type KybChecksErrorKind, type KybChecksErrorState, type KybChecksFinishedState, type KybChecksFormState, type KybChecksLoadingState, type KybChecksManager, type KybChecksMisconfiguredState, type KybChecksResult, type KybChecksSection, type KybChecksState, type KybChecksSubmittingState, type KybFieldDef, type KybFieldErrors, type KybFieldValue, type KybFieldValues, type KybFormLevelRule, type KybText, type KybUnsupportedModule, type KybValidationRule, createKybChecksManager, kybChecksMachine };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-Be41K_NS.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-CnqwgKoV.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-DkWxSU4L.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-CZfdCkLC.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -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
  import { a as KybChecksSection, c as KybFieldValue, d as KybText, f as KybUnsupportedModule, i as KybChecksResult, l as KybFieldValues, n as KybChecksConfig, r as KybChecksErrorKind, s as KybFieldErrors } from "./types-CTaL0XJz.js";
5
5
  //#region src/modules/kyb-checks/kybChecksStateMachine.d.ts
6
6
  declare const kybChecksMachine: any;
@@ -1,5 +1,6 @@
1
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
2
- import { t as kybChecksMachine } from "./kybChecksStateMachine-Be41K_NS.esm.js";
1
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-DkWxSU4L.esm.js";
3
4
  //#region src/modules/kyb-checks/kybChecksActor.ts
4
5
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
5
6
  function createKybChecksActor(options = {}) {
@@ -1,11 +1,11 @@
1
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-Bmwy1Fa7.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BamZ815u.esm.js";
3
3
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
4
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.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
6
  import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
7
- import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
8
- import { r as hasAllowedCharacters, t as formatPhoneE164 } from "./phoneFormat-DEpESpz2.esm.js";
7
+ import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
8
+ import { n as hasAllowedCharacters, t as formatPhoneE164 } from "./phoneFormat-C3q0Ukh4.esm.js";
9
9
  function isSupportedSchema(form) {
10
10
  return String(form.schemaVersion).split(".")[0] === "1";
11
11
  }
@@ -61,7 +61,8 @@ const KYB_CHECKS_SUPPORTED_IDS = {
61
61
  groupRules: /* @__PURE__ */ new Set(["oneOfRequired"]),
62
62
  optionLists: /* @__PURE__ */ new Set(["US_STATES"]),
63
63
  conditions: /* @__PURE__ */ new Set(),
64
- prefillSources: /* @__PURE__ */ new Set()
64
+ prefillSources: /* @__PURE__ */ new Set(),
65
+ flags: /* @__PURE__ */ new Set(["payload.omitWhenEmpty"])
65
66
  };
66
67
  /** A served regex of the one shape `allowedCharacters` can express: `^[…]{1,n}$` or `^[…]+$`. */
67
68
  const CHARACTER_CLASS_REGEX = /^\^\[([^\]]+)\](?:\{[01],(\d+)\}|\+)\$$/;
@@ -1,3 +1,3 @@
1
- import { r as MandatoryConsentConfig } from "./types-P9LzsfRo.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CYOJd_IZ.js";
1
+ import { r as MandatoryConsentConfig } from "./types-DJPU3W2M.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-Bh1asNJh.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,3 +1,3 @@
1
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DTSyDqQs.esm.js";
2
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-LFhUlLvO.esm.js";
1
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BjuI72HZ.esm.js";
2
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-Dh3pBhOe.esm.js";
3
3
  export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,7 +1,8 @@
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";
4
- import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-P9LzsfRo.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";
5
+ import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-DJPU3W2M.js";
5
6
  //#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
6
7
  type MandatoryConsentContext = {
7
8
  config: MandatoryConsentConfig;
@@ -57,14 +58,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
57
58
  type: "setError";
58
59
  params: NonReducibleUnknown;
59
60
  };
60
- clearError: {
61
- type: "clearError";
62
- params: NonReducibleUnknown;
63
- };
64
61
  setLoadError: {
65
62
  type: "setLoadError";
66
63
  params: NonReducibleUnknown;
67
64
  };
65
+ clearError: {
66
+ type: "clearError";
67
+ params: NonReducibleUnknown;
68
+ };
68
69
  resetContext: {
69
70
  type: "resetContext";
70
71
  params: NonReducibleUnknown;
@@ -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 mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DTSyDqQs.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 mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BjuI72HZ.esm.js";
4
6
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
5
7
  function createMandatoryConsentActor(options) {
6
8
  return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/mandatory-consent/mandatoryConsentServices.ts
5
5
  async function fetchMandatoryConsent(regulationType, language, type, signal) {
6
6
  const res = await api.get(endpoints.getConsents, {
@@ -23,11 +23,28 @@ function getMultipartRecorderMimeType() {
23
23
  return getSupportedMediaRecorderMimeType();
24
24
  }
25
25
  /**
26
- * `MediaRecorder` options tuned per platform — a higher bitrate on iOS, lower
27
- * elsewhere — paired with the supported mime type.
26
+ * Mime type for a recording of the camera track itself (the Deepsight video
27
+ * liveness clip, `LocalRecordingProvider`). Such a track keeps the camera's
28
+ * sensor orientation, so the container has to carry the rotation. WebM has no
29
+ * rotation field, and Safari on iOS 18.4 and 18.5 writes the sensor frames
30
+ * into WebM without turning them (WebKit bug 290223), so the face lies
31
+ * sideways and Deepsight finds none. MP4 carries the rotation matrix, so iOS
32
+ * records MP4 whenever it can; other platforms keep the WebM-first order.
33
+ *
34
+ * The multipart recordings keep WebM: they record the compositor's canvas,
35
+ * whose pixels are already drawn upright.
36
+ */
37
+ function getCameraRecorderMimeType() {
38
+ if (isIOS() && MediaRecorder.isTypeSupported("video/mp4")) return "video/mp4";
39
+ return getSupportedMediaRecorderMimeType();
40
+ }
41
+ /**
42
+ * `MediaRecorder` options for a recording of the camera track — a higher
43
+ * bitrate on iOS, lower elsewhere — paired with
44
+ * {@link getCameraRecorderMimeType}.
28
45
  */
29
46
  function getAdaptiveMediaRecorderOptions() {
30
- const mimeType = getSupportedMediaRecorderMimeType();
47
+ const mimeType = getCameraRecorderMimeType();
31
48
  if (isIOS()) return {
32
49
  mimeType,
33
50
  videoBitsPerSecond: 1e6,
@@ -1,8 +1,8 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
5
- import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BfQPSgSO.esm.js";
5
+ import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-CduV32Qa.esm.js";
6
6
  //#region src/internal/recordings/videoSelfieUploadService.ts
7
7
  /**
8
8
  * Opens a scoped multipart video upload session. Idempotent server-side: if
@@ -1,4 +1,4 @@
1
- import { s as isWasmMotionPrimedForModule } from "./permissionServices-CZpORUWY.esm.js";
1
+ import { s as isWasmMotionPrimedForModule } from "./permissionServices-DpccEnzE.esm.js";
2
2
  //#region src/internal/permissions/permissionGuards.ts
3
3
  function resolveStoredPermissionResult(fromEvent, fromContext) {
4
4
  if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
@@ -1,4 +1,4 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
2
2
  import { n as isAndroidWebView } from "./platform-aPh7gTWh.esm.js";
3
3
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
4
4
  import { a as stopCameraStream, c as isCameraGrantedInDocument, o as clearCameraGrantedInDocument, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
package/dist/phone.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-6nrJkvkG.js";
1
+ import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
2
2
  export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
package/dist/phone.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as phoneMachine } from "./phoneStateMachine-2FMTdjtJ.esm.js";
2
- import { t as createPhoneManager } from "./phoneManager-C-qD3p3N.esm.js";
1
+ import { t as phoneMachine } from "./phoneStateMachine-DKdY2Scx.esm.js";
2
+ import { t as createPhoneManager } from "./phoneManager-rA7updqF.esm.js";
3
3
  export { createPhoneManager, phoneMachine };
@@ -0,0 +1,27 @@
1
+ import { t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
2
+ //#region src/internal/forms/checks/allowedCharacters.ts
3
+ const CLASS_PATTERNS = {
4
+ letter: "\\p{L}\\p{M}",
5
+ digit: "0-9",
6
+ space: " "
7
+ };
8
+ const escapeForClass = (chars) => chars.replace(/[\\\]^-]/g, "\\$&");
9
+ /**
10
+ * `allowedCharacters`: only characters from `classes`, plus any in `extra`.
11
+ * With `ascii`, `letter` means A-Z in either case instead of any script.
12
+ */
13
+ function hasAllowedCharacters(value, classes, extra = "", ascii = false) {
14
+ const set = classes.map((c) => ascii && c === "letter" ? "A-Za-z" : CLASS_PATTERNS[c]).join("");
15
+ return new RegExp(`^[${set}${escapeForClass(extra)}]+$`, "u").test(value);
16
+ }
17
+ //#endregion
18
+ //#region src/shared/phoneFormat.ts
19
+ /**
20
+ * The phone in E.164, or the value as typed when the rules are not loaded
21
+ * (`loadPhoneValidation()`) or the number is not valid.
22
+ */
23
+ function formatPhoneE164(phone, country) {
24
+ return getPhoneValidation()?.formatE164(phone, country) ?? phone;
25
+ }
26
+ //#endregion
27
+ export { hasAllowedCharacters as n, formatPhoneE164 as t };
@@ -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
  import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
5
5
  //#region ../infra/src/capabilities/IPhoneValidationCapability.d.ts
6
6
  type IPhoneValidationCapability = {
@@ -1,8 +1,10 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.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 { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
4
6
  import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
5
- import { t as phoneMachine } from "./phoneStateMachine-2FMTdjtJ.esm.js";
7
+ import { t as phoneMachine } from "./phoneStateMachine-DKdY2Scx.esm.js";
6
8
  //#region src/modules/phone/phoneActor.ts
7
9
  function createPhoneActor(options) {
8
10
  return createActor(phoneMachine, { input: { config: options.config } }).start();
@@ -1,4 +1,4 @@
1
- import { r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
1
+ import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
2
  //#region src/modules/phone/phoneServices.ts
3
3
  function getPhoneServerFailureReason(error, invalidStatus) {
4
4
  if (error.status === invalidStatus) return "invalidPhone";
@@ -1,9 +1,9 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
3
- import { i as fetchStartInfo, n as addPhoneInstantVerify, o as sendOtp, r as fetchPhone, s as verifyOtp, t as addPhone } from "./phoneServices-BdR1nmSO.esm.js";
4
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
3
+ import { i as fetchStartInfo, n as addPhoneInstantVerify, o as sendOtp, r as fetchPhone, s as verifyOtp, t as addPhone } from "./phoneServices-CFXcwCFr.esm.js";
4
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
+ import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
7
7
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
8
8
  //#region src/modules/phone/phoneStateMachine.ts
9
9
  const RESEND_TIMER_SECONDS = 30;