@incodetech/core 2.3.2-rc.4 → 2.4.0-rc.0

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 (267) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1243 -3
  2. package/dist/Actor-DpTj5PFb.d.ts +1 -0
  3. package/dist/{BaseWasmProvider-Dyi6dKp1.d.ts → BaseWasmProvider-BL9wIRnN.d.ts} +2 -2
  4. package/dist/{FaceDetectionProvider-B5Fxc_y9.esm.js → FaceDetectionProvider-BjTer9h3.esm.js} +126 -10
  5. package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
  6. package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-DBsv9-7M.d.ts} +2 -2
  7. package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-CPX0RGdQ.d.ts} +28 -5
  8. package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
  9. package/dist/{MotionSensorProvider-DyhbM4Si.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
  10. package/dist/{ekycStateMachine-UeJRO8_p.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +232 -827
  11. package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-DVmzJux5.d.ts} +2 -2
  12. package/dist/{safeStorage-BdU9_m2E.esm.js → WasmUtilProvider-CIdnE7Fx.esm.js} +95 -46
  13. package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-BiYZjvp3.esm.js} +143 -4
  14. package/dist/{advanceableErrors-CpF2cBy6.esm.js → advanceableErrors-q_pfU3Cn.esm.js} +5 -4
  15. package/dist/ae-signature.d.ts +2 -2
  16. package/dist/ae-signature.esm.js +1 -1
  17. package/dist/antifraud.d.ts +1 -1
  18. package/dist/antifraud.esm.js +2 -2
  19. package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
  20. package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-HL08jeDX.esm.js} +3 -3
  21. package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-DoJVzblM.esm.js} +3 -3
  22. package/dist/{apiError--p429c2X.esm.js → apiError-DcSWedC6.esm.js} +2 -1
  23. package/dist/authentication.d.ts +3 -3
  24. package/dist/authentication.esm.js +2 -2
  25. package/dist/{authenticationManager-CboRCl_N.d.ts → authenticationManager-CANv5-W5.d.ts} +2 -8
  26. package/dist/{authenticationManager-CWmZMFJH.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
  27. package/dist/{authenticationStateMachine-BQ7ZW-8a.esm.js → authenticationStateMachine-CHSxmV7z.esm.js} +5 -6
  28. package/dist/avatar.d.ts +1 -1
  29. package/dist/{backCameraStream-B0-YgP_y.esm.js → backCameraStream-CMvXj4X4.esm.js} +1 -1
  30. package/dist/camera.esm.js +1 -1
  31. package/dist/certificate-issuance.d.ts +1 -1
  32. package/dist/certificate-issuance.esm.js +2 -2
  33. package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-CMg4SgL4.esm.js} +3 -3
  34. package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
  35. package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Cs64QmYH.esm.js} +4 -4
  36. package/dist/consent.d.ts +1 -1
  37. package/dist/consent.esm.js +2 -2
  38. package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-CjrxY737.esm.js} +3 -3
  39. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-DgzWQpAR.d.ts} +11 -12
  40. package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-BCj5Jb3g.esm.js} +3 -3
  41. package/dist/{createCameraCycleOwnership-DnwTl1ad.esm.js → createCameraCycleOwnership-kdlhkmmY.esm.js} +71 -65
  42. package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-DXgmQmQy.d.ts} +1 -1
  43. package/dist/cross-document-data-match.d.ts +1 -1
  44. package/dist/cross-document-data-match.esm.js +1 -1
  45. package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-BHnGRsto.esm.js} +4 -4
  46. package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
  47. package/dist/curp-validation.d.ts +1 -1
  48. package/dist/curp-validation.esm.js +2 -2
  49. package/dist/{curpValidationManager-DNuZn9fn.d.ts → curpValidationManager-B-1EZbP_.d.ts} +3 -3
  50. package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-DBNIn8BF.esm.js} +15 -22
  51. package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-DAxImy8p.esm.js} +4 -4
  52. package/dist/custom-fields.d.ts +1 -1
  53. package/dist/custom-fields.esm.js +1 -1
  54. package/dist/custom-watchlist.d.ts +1 -1
  55. package/dist/custom-watchlist.esm.js +2 -2
  56. package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-BV6UyLFV.esm.js} +4 -4
  57. package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
  58. package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-DML0UPzf.esm.js} +3 -3
  59. package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
  60. package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-D9gI5uu7.esm.js} +3 -3
  61. package/dist/deepsightLoader-DvfAYnzg.esm.js +55 -0
  62. package/dist/{deepsightLoader-BtYvACzG.esm.js → deepsightService-DLGO9yv1.esm.js} +51 -56
  63. package/dist/device.esm.js +1 -1
  64. package/dist/document-capture.d.ts +2 -2
  65. package/dist/document-capture.esm.js +2 -2
  66. package/dist/{documentCaptureManager-BRPxqYD2.esm.js → documentCaptureManager-C9XUnYU6.esm.js} +17 -18
  67. package/dist/{documentCaptureManager-lEtCM320.d.ts → documentCaptureManager-DkyDtm3Y.d.ts} +11 -34
  68. package/dist/{documentCaptureStateMachine-D312sSIu.esm.js → documentCaptureStateMachine-BHDsCfhL.esm.js} +55 -58
  69. package/dist/dynamic-forms.d.ts +2 -2
  70. package/dist/dynamic-forms.esm.js +2 -2
  71. package/dist/{dynamicFormsManager-66GzzBTx.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
  72. package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
  73. package/dist/{dynamicFormsStateMachine-DLnr2ZtX.esm.js → dynamicFormsStateMachine-DQmok084.esm.js} +4 -4
  74. package/dist/ekyb.d.ts +5 -5
  75. package/dist/ekyb.esm.js +3 -3
  76. package/dist/{ekybManager-BwRuGAwt.d.ts → ekybManager-BaZ_7CEu.d.ts} +4 -4
  77. package/dist/{ekybManager-CsQMgJDL.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
  78. package/dist/{ekybStateMachine-DBeQNOMo.esm.js → ekybStateMachine-hstiCNmW.esm.js} +338 -13
  79. package/dist/ekyc.d.ts +2 -2
  80. package/dist/ekyc.esm.js +3 -3
  81. package/dist/{ekycManager-BX2d46FY.esm.js → ekycManager-BdJRUsz0.esm.js} +29 -36
  82. package/dist/{ekycManager-DLzDuBzI.d.ts → ekycManager-DW-ynodd.d.ts} +3 -3
  83. package/dist/ekycStateMachine-x6Klot8g.esm.js +1444 -0
  84. package/dist/{ekycUtils-D6wfSpPN.esm.js → ekycUtils-zY8CdKJL.esm.js} +53 -3
  85. package/dist/electronic-signature.d.ts +1 -1
  86. package/dist/electronic-signature.esm.js +1 -1
  87. package/dist/{electronicSignatureManager-Boj_xbGN.esm.js → electronicSignatureManager-Bc8spG8p.esm.js} +10 -10
  88. package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
  89. package/dist/email.d.ts +1 -1
  90. package/dist/email.esm.js +2 -2
  91. package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-CtlKRRaR.esm.js} +20 -26
  92. package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
  93. package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-5Neq3rE5.esm.js} +4 -4
  94. package/dist/{endpoints-B-3Q-LUw.esm.js → endpoints-DHzlkQNe.esm.js} +2 -0
  95. package/dist/{events-ijlbX_Wx.esm.js → events-CAgFE-k3.esm.js} +19 -7
  96. package/dist/events.d.ts +3 -2
  97. package/dist/events.esm.js +1 -1
  98. package/dist/extensibility.d.ts +38 -38
  99. package/dist/extensibility.esm.js +36 -36
  100. package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-DrR9xshk.esm.js} +3 -2
  101. package/dist/face-match.d.ts +1 -1
  102. package/dist/face-match.esm.js +2 -2
  103. package/dist/{faceCaptureManagerFactory-m-7ae67q.d.ts → faceCaptureManagerFactory-jKQ2QtY-.d.ts} +11 -51
  104. package/dist/{faceCaptureManagerFactory-BKpeQIZu.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
  105. package/dist/{faceCaptureSetup-DOrt8-Sn.esm.js → faceCaptureSetup-Cu2wabzo.esm.js} +99 -395
  106. package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-9Nj9aPci.esm.js} +3 -3
  107. package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
  108. package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-B9ZUnlyU.esm.js} +6 -4
  109. package/dist/{feature-management-zY6FcYx_.esm.js → feature-management-BTbYruNe.esm.js} +3 -3
  110. package/dist/feature-management.esm.js +1 -1
  111. package/dist/field-comparison.d.ts +2 -2
  112. package/dist/field-comparison.esm.js +1 -1
  113. package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-CUX4gza2.d.ts} +6 -3
  114. package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-Dk38hXZP.esm.js} +35 -17
  115. package/dist/fiscal-qr.d.ts +1 -1
  116. package/dist/fiscal-qr.esm.js +1 -1
  117. package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
  118. package/dist/fiscalQrManager-DmBkQfs0.esm.js +6798 -0
  119. package/dist/flow-events.d.ts +1 -1
  120. package/dist/flow.d.ts +14 -13
  121. package/dist/flow.esm.js +14 -14
  122. package/dist/{flowCompletionService-CBa6YyI5.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
  123. package/dist/{flowServices-JW6uRaUt.esm.js → flowServices-DA64AEZC.esm.js} +11 -7
  124. package/dist/geolocation.d.ts +1 -1
  125. package/dist/geolocation.esm.js +2 -2
  126. package/dist/{geolocationManager-DD5J1T_p.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
  127. package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
  128. package/dist/{geolocationStateMachine-DoelwBqs.esm.js → geolocationStateMachine-D-cQi7ar.esm.js} +4 -4
  129. package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
  130. package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
  131. package/dist/government-validation.d.ts +1 -1
  132. package/dist/government-validation.esm.js +2 -2
  133. package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
  134. package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-CP0SiOOe.esm.js} +3 -3
  135. package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-C3YQ8yCZ.esm.js} +3 -3
  136. package/dist/home.d.ts +3 -26
  137. package/dist/home.esm.js +2 -2
  138. package/dist/id-ocr.d.ts +1 -1
  139. package/dist/id-ocr.esm.js +2 -2
  140. package/dist/id-selfie-flow.d.ts +6 -9
  141. package/dist/id-selfie-flow.esm.js +23 -28
  142. package/dist/id-verification.d.ts +1 -1
  143. package/dist/id-verification.esm.js +2 -2
  144. package/dist/id.d.ts +4 -4
  145. package/dist/id.esm.js +4 -205
  146. package/dist/{idCaptureDefaults-Chne8cyb.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
  147. package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
  148. package/dist/{idCaptureManager-0504dfcD.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
  149. package/dist/{idCaptureServices-B-Ynn67N.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
  150. package/dist/{idCaptureStateMachine-B7ET-hfq.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
  151. package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-BTdHlJ9D.d.ts} +3 -4
  152. package/dist/{idOcrManager-ByWuQ4ej.esm.js → idOcrManager-DxoCesYP.esm.js} +3 -3
  153. package/dist/{idOcrStateMachine-Bt_abXQQ.esm.js → idOcrStateMachine-kPn7DB2I.esm.js} +3 -3
  154. package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
  155. package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-CDhRUU5n.esm.js} +3 -3
  156. package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-0HTVVxse.esm.js} +3 -3
  157. package/dist/identity-reuse.d.ts +2 -2
  158. package/dist/identity-reuse.esm.js +2 -2
  159. package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-BleUi6TK.esm.js} +26 -13
  160. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +162 -44
  161. package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-BrBUpfn5.esm.js} +89 -23
  162. package/dist/{index-CeaC32qI.d.ts → index-DfEuu-Ew.d.ts} +2 -2
  163. package/dist/index-DpTj5PFb.d.ts +1 -0
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.esm.js +1 -1
  166. package/dist/{invokeOnCaptureCallback-BjzPjJ_p.esm.js → invokeOnCaptureCallback-BW7V3vub.esm.js} +1 -1
  167. package/dist/lamejs-B6TzhU5q.esm.js +10 -0
  168. package/dist/mandatory-consent.d.ts +2 -2
  169. package/dist/mandatory-consent.esm.js +2 -2
  170. package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-CX_Dyht7.esm.js} +3 -3
  171. package/dist/{mandatoryConsentManager-BYRnWbIC.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +8 -9
  172. package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-CoaSB7P7.esm.js} +3 -3
  173. package/dist/{multipartRecordingService-mwKFTlhR.esm.js → multipartRecordingService-DbeQpXdU.esm.js} +2 -2
  174. package/dist/{permissionGuards-D6TfVop2.esm.js → permissionGuards-Bf4LbHjC.esm.js} +1 -1
  175. package/dist/{permissionServices-EY3_Vx6c.esm.js → permissionServices-d2UW0r_L.esm.js} +34 -3
  176. package/dist/phone-number.d.ts +24 -0
  177. package/dist/phone-number.esm.js +1922 -0
  178. package/dist/phone.d.ts +1 -1
  179. package/dist/phone.esm.js +2 -2
  180. package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-BGBcpqsk.esm.js} +31 -22
  181. package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-BO-LTih5.d.ts} +16 -3
  182. package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-CEm2y7yG.esm.js} +39 -20
  183. package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
  184. package/dist/qe-signature.d.ts +2 -2
  185. package/dist/qe-signature.esm.js +1 -1
  186. package/dist/redirect-to-mobile.d.ts +1 -1
  187. package/dist/redirect-to-mobile.esm.js +2 -2
  188. package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-B1yQHFLu.esm.js} +4 -4
  189. package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
  190. package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine--Sr9NEVT.esm.js} +5 -5
  191. package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
  192. package/dist/{runChildModule-CZU29-IV.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
  193. package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
  194. package/dist/{sdkVersion-DOhxIxQQ.esm.js → sdkVersion-F5YZbjip.esm.js} +1 -1
  195. package/dist/selfie.d.ts +4 -4
  196. package/dist/selfie.esm.js +12 -12
  197. package/dist/selfieErrorUtils-D-tsgEuX.esm.js +21 -0
  198. package/dist/{selfieManager-BSZG891S.d.ts → selfieManager-1J0IEyFq.d.ts} +2 -8
  199. package/dist/{selfieManager-CWhbwRdb.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
  200. package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
  201. package/dist/{session-CctUSSCx.esm.js → session-Bu7djCsj.esm.js} +5 -5
  202. package/dist/session.d.ts +15 -3
  203. package/dist/session.esm.js +30 -5
  204. package/dist/sessionInitializer-jxbfCnE-.esm.js +974 -0
  205. package/dist/{setup-DmB0JHAB.esm.js → setup-C38QkrSP.esm.js} +232 -112
  206. package/dist/{setup-Cyko6cAn.d.ts → setup-lgkQ8dJW.d.ts} +20 -11
  207. package/dist/signature.d.ts +1 -1
  208. package/dist/signature.esm.js +2 -2
  209. package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
  210. package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-qqXyH93e.esm.js} +7 -11
  211. package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-BkRSrkKp.esm.js} +3 -3
  212. package/dist/splitTrackedName-3zJRd2RD.esm.js +19 -0
  213. package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
  214. package/dist/{stats-CZcy2J53.esm.js → stats-DmG_tkGk.esm.js} +1 -1
  215. package/dist/stats.esm.js +1 -1
  216. package/dist/{sessionInitializer-Ce9zO78j.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
  217. package/dist/{trueSightService-oMFESSSb.esm.js → trueSightService-BWgRVGIT.esm.js} +893 -900
  218. package/dist/trust-graph.d.ts +1 -2
  219. package/dist/trust-graph.esm.js +2 -2
  220. package/dist/{types-C0oWGUzg.d.ts → types-0L-eFDmr.d.ts} +1 -1
  221. package/dist/{types-C1g9itHE.d.ts → types-BGXxRwQM.d.ts} +6 -7
  222. package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
  223. package/dist/{types-CxGdmzxa.d.ts → types-BvFmYX5c.d.ts} +1 -1
  224. package/dist/{types-Cx-1zo-i.d.ts → types-BvLo3U4u.d.ts} +1 -1
  225. package/dist/types-C71Zo6vl.d.ts +6 -0
  226. package/dist/{types-DEGVXwsk2.d.ts → types-CyPUIpzf.d.ts} +110 -62
  227. package/dist/{types-Bx-BWveD.d.ts → types-DTYr9pCB.d.ts} +1 -1
  228. package/dist/{types-BjSly8cp.d.ts → types-DUnFZ08M.d.ts} +1 -1
  229. package/dist/{types-ESdtnHtg.d.ts → types-zpO4fU6a.d.ts} +3 -4
  230. package/dist/{urlUtils-D6phjq1-.esm.js → urlUtils-6jsE6rKp.esm.js} +9 -1
  231. package/dist/video-selfie.d.ts +6 -9
  232. package/dist/video-selfie.esm.js +1386 -1344
  233. package/dist/{videoSelfieCameraWarmer-D_4NwYM-.esm.js → videoSelfieCameraWarmer-C366RKqu.esm.js} +11 -11
  234. package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js} +1 -1
  235. package/dist/{videoSelfieStepDetector-ChYgFM15.d.ts → videoSelfieStepDetector-C5QHOvWb.d.ts} +4 -4
  236. package/dist/videoTrimByCopy-BFfAiNpv.esm.js +15901 -0
  237. package/dist/{warmup-Cis2p6O0.d.ts → warmup-BUPPRAA1.d.ts} +7 -0
  238. package/dist/{warmup-ChDwHSel.esm.js → warmup-DMtbyb2l.esm.js} +27 -9
  239. package/dist/wasm.d.ts +2 -2
  240. package/dist/wasm.esm.js +4 -4
  241. package/dist/{wasmDsFlagSync-DYrLUEII.esm.js → wasmDsFlagSync-BXCGqP48.esm.js} +1 -1
  242. package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-kbYZ2sxw.esm.js} +259 -20
  243. package/dist/watchlist-for-business.d.ts +1 -1
  244. package/dist/watchlist-for-business.esm.js +2 -2
  245. package/dist/watchlist.d.ts +1 -1
  246. package/dist/watchlist.esm.js +2 -2
  247. package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
  248. package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-BvF4jK3S.esm.js} +7 -5
  249. package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-121XK-Et.esm.js} +3 -3
  250. package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-CNWEOYSq.esm.js} +3 -3
  251. package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
  252. package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-Dgfm42w2.esm.js} +3 -3
  253. package/dist/workflow.d.ts +34 -5
  254. package/dist/workflow.esm.js +64 -46
  255. package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-8Gzepa_A.esm.js} +1 -1
  256. package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-DSajW7CJ.esm.js} +24 -10
  257. package/package.json +13 -5
  258. package/dist/Actor-iTq7YY48.d.ts +0 -1
  259. package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
  260. package/dist/fiscalQrManager-DbCVMIBx.esm.js +0 -34143
  261. package/dist/index-B8weJxmL.d.ts +0 -1
  262. package/dist/selfieErrorUtils-UiQ46EBa.esm.js +0 -116
  263. package/dist/selfieStateMachine-CtMCi4KZ.esm.js +0 -71
  264. package/dist/types-BN5RPPIZ.esm.js +0 -34
  265. package/dist/types-Bt9RuRqt.d.ts +0 -6
  266. package/dist/virtualCameraCheck-Cjab7FTI.esm.js +0 -48
  267. /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
@@ -1,6 +1,5 @@
1
1
  import { A as StateMachine, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import "./StateMachine-EDpYWy0i.js";
3
- import { t as Manager } from "./Manager-CQQ99QOI.js";
2
+ import { t as Manager } from "./Manager-C9T5amUN.js";
4
3
  //#region src/modules/trust-graph/trustGraphManager.d.ts
5
4
  type TrustGraphIdleState = {
6
5
  status: 'idle';
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
- import { s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
2
+ import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
4
  /**
5
5
  * Trust-graph is a headless "skip" module: it has no UI and the SDK performs no
@@ -1,4 +1,4 @@
1
- import { l as FieldDef } from "./types-Cx-1zo-i.js";
1
+ import { l as FieldDef } from "./types-BvLo3U4u.js";
2
2
  //#region src/modules/ekyb/types.d.ts
3
3
  type UboEntry = {
4
4
  id: string;
@@ -1,5 +1,5 @@
1
- import { s as RiskAddon } from "./types-Cx-1zo-i.js";
2
- import "./createFaceAvatar-BlcTYgJv.js";
1
+ import { s as RiskAddon } from "./types-BvLo3U4u.js";
2
+ import "./createFaceAvatar-DXgmQmQy.js";
3
3
  //#region src/internal/avatar/concealment.d.ts
4
4
  /**
5
5
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -38,7 +38,6 @@ type TutorialIdConfig = {
38
38
  autoCaptureTimeout: number;
39
39
  deviceIdleTimeout: number;
40
40
  captureAttempts: number;
41
- manualUploadIdCapture: boolean;
42
41
  digitalIdsUpload: boolean;
43
42
  showDocumentChooserScreen: boolean;
44
43
  enableIdRecording: boolean;
@@ -47,8 +46,8 @@ type TutorialIdConfig = {
47
46
  alwaysCaptureBackOfId?: boolean;
48
47
  /**
49
48
  * [ENG-44176] When `false`, the SDK forwards `extractIdFace=false` to
50
- * `POST /omni/add/front-id/v2` (and to the manual-upload + digital-upload
51
- * variants), so the backend skips biometric face extraction and no
49
+ * `POST /omni/add/front-id/v2` (and to the digital-upload variant), so the
50
+ * backend skips biometric face extraction and no
52
51
  * biometric template is created. Omitted / `true` preserves current
53
52
  * behavior. Use in jurisdictions with biometric-consent restrictions
54
53
  * (e.g. Quebec / Law 25); downstream face-match will not be available
@@ -111,7 +110,7 @@ type FlowModuleConfig = {
111
110
  }[];
112
111
  };
113
112
  DOCUMENT_CAPTURE: {
114
- processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
113
+ processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
115
114
  title: string;
116
115
  text: string;
117
116
  allowSkipDocumentCapture: boolean;
@@ -248,7 +247,6 @@ type FlowModuleConfig = {
248
247
  validateClosedEyes: boolean;
249
248
  validateBrightness: boolean;
250
249
  deepsightLiveness: 'SINGLE_FRAME' | 'MULTIMODAL' | 'VIDEOLIVENESS';
251
- manualUploadSelfieCapture?: boolean;
252
250
  /**
253
251
  * When true, the SELFIE module runs face analysis on-device via the
254
252
  * OnDevice WASM workflow and POSTs only the results JSON to
@@ -386,6 +384,7 @@ type Flow = {
386
384
  enableFraudAi?: boolean;
387
385
  getEnableIdOnlyIdentity?: boolean;
388
386
  ds?: boolean;
387
+ oauth2Secured?: boolean;
389
388
  };
390
389
  //#endregion
391
390
  export { RegulationTypes as a, FlowModuleConfig as i, Flow as n, TutorialIdConfig as o, FlowModule as r, SelfieConcealmentOption as s, EmptyConfig as t };
@@ -1,5 +1,5 @@
1
1
  import { l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
2
- import "./StateMachine-EDpYWy0i.js";
2
+ import "./Manager-C9T5amUN.js";
3
3
  //#region src/internal/orchestration/types.d.ts
4
4
  /** Eager module: a pre-imported state machine. */
5
5
  type EagerModule = AnyStateMachine;
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-C1g9itHE.js";
1
+ import { a as RegulationTypes } from "./types-BGXxRwQM.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -129,6 +129,6 @@ type EkycFieldDef = FieldDef & {
129
129
  source: EkycFieldSource;
130
130
  validation?: EkycValidationRule[];
131
131
  };
132
- type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck';
132
+ type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
133
133
  //#endregion
134
134
  export { EkycValidationError as a, AddressSuggestion as c, EkycModuleConfig as i, FieldDef as l, EkycFieldDef as n, EkycValidationErrors as o, EkycFormValues as r, RiskAddon as s, EkycConfig as t };
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-BGXxRwQM.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-zpO4fU6a.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -1,10 +1,10 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
2
- import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-C1g9itHE.js";
3
- import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-DXgmQmQy.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BGXxRwQM.js";
3
+ import { a as IStorageCapability } from "./IWasmUtilCapability-CPX0RGdQ.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
5
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-DVmzJux5.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
7
+ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
8
8
  //#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
9
9
  /**
10
10
  * Digital Credentials capability — wraps the W3C Digital Credentials API
@@ -16,8 +16,12 @@ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSetti
16
16
  * opaque to the SDK; the wallet's response is likewise an opaque string that
17
17
  * is forwarded to the backend for decryption.
18
18
  */
19
- /** Wallet protocols the SDK requests credentials with. */
20
- type DigitalCredentialProtocol = 'org-iso-mdoc' | 'openid4vp-v1-unsigned';
19
+ /**
20
+ * Wallet protocols known to the SDK. The backend decides the protocol for
21
+ * Google Wallet (unsigned / signed / multisigned), so any other string the
22
+ * backend sends is passed through untouched.
23
+ */
24
+ type DigitalCredentialProtocol = 'org-iso-mdoc' | 'openid4vp-v1-unsigned' | 'openid4vp-v1-signed' | 'openid4vp-v1-multisigned' | (string & {});
21
25
  /** One entry of the Digital Credentials API `digital.requests` array. */
22
26
  type DigitalCredentialRequest = {
23
27
  protocol: DigitalCredentialProtocol;
@@ -25,9 +29,18 @@ type DigitalCredentialRequest = {
25
29
  * Opaque protocol payload, built by the backend.
26
30
  * Apple (`org-iso-mdoc`): `{ deviceRequest, encryptionInfo }` base64 strings.
27
31
  * Google (`openid4vp-v1-unsigned`): the whole OIDC4VP/DCQL request object.
32
+ * Google (`openid4vp-v1-signed`): `{ request: <JWS> }` — covered by the
33
+ * signature, so it must never be modified.
28
34
  */
29
35
  data: unknown;
30
36
  };
37
+ /**
38
+ * The W3C `DigitalCredentialRequestOptions` shape — the `digital` member of
39
+ * `navigator.credentials.get()`. Handed to the API as-is.
40
+ */
41
+ type DigitalCredentialRequestOptions = {
42
+ requests: DigitalCredentialRequest[];
43
+ };
31
44
  type DigitalCredentialResult = {
32
45
  /**
33
46
  * Opaque wallet response (Apple: encrypted deviceResponse; Google: a JWE).
@@ -44,16 +57,23 @@ interface IDigitalCredentialsCapability {
44
57
  */
45
58
  isAvailable(): boolean;
46
59
  /**
47
- * Presents the OS wallet sheet for the given request and resolves with the
60
+ * Presents the OS wallet sheet for the given request options (passed as the
61
+ * `digital` member verbatim) and resolves with the
48
62
  * wallet's opaque response. Must be reached from a user gesture — iOS
49
63
  * Safari requires transient user activation for `navigator.credentials.get()`.
50
64
  * Rejects when the underlying API rejects (blocked, aborted, protocol error).
51
65
  */
52
- get(request: DigitalCredentialRequest, options?: {
66
+ get(request: DigitalCredentialRequestOptions, options?: {
53
67
  signal?: AbortSignal;
54
68
  }): Promise<DigitalCredentialResult>;
55
69
  }
56
70
  //#endregion
71
+ //#region src/modules/id/idCaptureOnlyConfig.d.ts
72
+ /**
73
+ * The `IdCaptureConfig` keys the captureOnly flow supports.
74
+ */
75
+ declare const ID_CAPTURE_ONLY_CONFIG_KEYS: readonly ["showTutorial", "captureAttempts", "autoCaptureTimeout", "deviceIdleTimeout", "enableId", "enablePassport", "onlyFront", "onlyBack", "showDocumentChooserScreen"];
76
+ //#endregion
57
77
  //#region src/modules/digital-id-redirect/types.d.ts
58
78
  /**
59
79
  * Trinsic web-redirect Digital ID — module contracts.
@@ -88,12 +108,16 @@ declare function isRedirectFlowType(flowType: string): boolean;
88
108
  type DigitalIdDocumentType = 'mDL' | 'iDIN' | 'FTN';
89
109
  /** One way to fulfil a `DigitalIdDocumentType`, in funnel priority order. */
90
110
  type DigitalIdFunnelEntry = {
91
- /** Incode-native device-wallet handshake (Apple Wallet web / Google Wallet). */
111
+ /**
112
+ * Incode-native device-wallet handshake (Apple Wallet web / Google
113
+ * Wallet). Activation is computed by `isDeviceWalletEnabled` — the
114
+ * `deviceWallet` flag or an enabled wallet method in
115
+ * `config.digitalIds` — so this entry carries no config-field name of
116
+ * its own.
117
+ */
92
118
  kind: 'incodeWallet';
93
119
  /** Chooser tile this entry surfaces as. */
94
120
  documentType: Extract<IdDocumentType, 'digitalId'>;
95
- /** Config flag that activates this entry. */
96
- configFlag: 'deviceWallet';
97
121
  } | {
98
122
  /** Trinsic web-redirect flow (existing `digitalIdRedirect` child). */
99
123
  kind: 'trinsicRedirect';
@@ -151,6 +175,13 @@ type DeviceWalletDecryptResponse = {
151
175
  decision?: DeviceWalletDecision;
152
176
  [key: string]: unknown;
153
177
  };
178
+ /** Injectable service seam (mirrors digital-id-redirect's services pattern). */
179
+ type DeviceWalletServices = {
180
+ /** Builds the wallet request payload for the platform. */
181
+ requestWalletData: (platform: DeviceWalletPlatform, signal?: AbortSignal) => Promise<DigitalCredentialRequestOptions>;
182
+ /** Forwards the opaque wallet response for backend decryption. */
183
+ decryptWalletResponse: (platform: DeviceWalletPlatform, walletResponse: string, signal?: AbortSignal) => Promise<DeviceWalletDecryptResponse>;
184
+ };
154
185
  /**
155
186
  * Terminal machine output read by the ID-Capture parent (`onDone`).
156
187
  * Projected by the machine's ROOT `output` — a top-level final node's own
@@ -164,37 +195,6 @@ type DeviceWalletOutput = {
164
195
  result: 'dismissed';
165
196
  };
166
197
  //#endregion
167
- //#region src/modules/id/manualUpload/types.d.ts
168
- type ManualUploadTab = 'id' | 'passport';
169
- type ManualUploadSide = 'front' | 'back' | 'passport';
170
- type ManualUploadContext = {
171
- /** Passed from parent machine input — used by guards and actor inputs. */
172
- onlyFront: boolean;
173
- /** Back-only takes precedence when both side-only flags are supplied. */
174
- onlyBack: boolean;
175
- isSecondId: boolean;
176
- /** Retry budget for this manual upload (sourced from `config.captureAttempts`). */
177
- captureAttempts: number;
178
- /** [ENG-44176] Forwarded to front / passport manual uploads when explicitly false. */
179
- extractIdFace?: boolean;
180
- frontFile: File | null;
181
- backFile: File | null;
182
- passportFile: File | null;
183
- activeTab: ManualUploadTab;
184
- retriesLeft: number;
185
- errorMessage: string | null;
186
- errorSide: ManualUploadSide | null;
187
- /** Set from the front upload response; when true the back slot is auto-completed */
188
- skipBackFromServer: boolean;
189
- /** Whether each side has been successfully uploaded (for Continue gating) */
190
- frontUploaded: boolean;
191
- backUploaded: boolean;
192
- passportUploaded: boolean;
193
- };
194
- declare const MANUAL_UPLOAD_MAX_RETRIES = 3;
195
- declare const MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES: number;
196
- declare const MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS = 5000;
197
- //#endregion
198
198
  //#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
199
199
  interface IAnalyticsCapability {
200
200
  analyzeFrame(image: ImageData): Promise<void>;
@@ -207,13 +207,13 @@ interface IAnalyticsCapability {
207
207
  //#region src/modules/id/types.d.ts
208
208
  type IdCaptureMode = 'front' | 'back' | 'passport';
209
209
  /**
210
- * Document type options for the ID capture chooser (ID, passport, manual ID
211
- * upload, digital ID upload (PDF), digital ID from device wallet, digital ID
212
- * web-redirect (Trinsic iDIN/FTN)).
210
+ * Document type options for the ID capture chooser (ID, passport, digital ID
211
+ * upload (PDF), digital ID from device wallet, digital ID web-redirect
212
+ * (Trinsic iDIN/FTN)).
213
213
  * Used for selection and for the list of available options derived from config.
214
214
  */
215
- type IdDocumentType = 'id' | 'passport' | 'manualIdUpload' | 'digitalIdUpload' | 'digitalId' | 'digitalIdRedirect';
216
- type IdFlowStep = 'chooser' | 'ageVerification' | 'tutorial' | 'permissions' | 'capture' | 'mandatoryConsent' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | 'manualIdUpload' | 'digitalIdUpload' | 'digitalIdRedirect';
215
+ type IdDocumentType = 'id' | 'passport' | 'digitalIdUpload' | 'digitalId' | 'digitalIdRedirect';
216
+ type IdFlowStep = 'chooser' | 'ageVerification' | 'tutorial' | 'permissions' | 'capture' | 'mandatoryConsent' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | 'digitalIdUpload' | 'digitalIdRedirect';
217
217
  type DetectionStatus = 'idle' | 'detecting' | 'farAway' | 'blur' | 'glare' | 'wrongSide' | 'capturing' | 'manualCapture' | 'idNotDetected' | 'offline';
218
218
  /**
219
219
  * Represents the detection area dimensions in pixels.
@@ -274,6 +274,32 @@ type IdCaptureDigitalIdMethod = {
274
274
  /** ISO alpha-2 to bias provider ordering / prefill. */
275
275
  country?: string;
276
276
  displayName?: string;
277
+ /**
278
+ * Dashboard toggle for this method on the flow / workflow node. `false`
279
+ * hides the method; absent counts as enabled.
280
+ */
281
+ enabled?: boolean;
282
+ /** Provider logo shown on the method's chooser card (absolute URL). */
283
+ logoUrl?: string;
284
+ };
285
+ /**
286
+ * One digital-ID web-redirect provider offered as its own card on the ID
287
+ * capture chooser — one card per enabled `REDIRECT` method in
288
+ * `config.digitalIds` (iDIN, FTN, …). Selecting a card sends
289
+ * `SELECT_DOCUMENT` with `documentType: 'digitalIdRedirect'` and this
290
+ * `providerId`, which the `digitalIdRedirect` child launches directly.
291
+ */
292
+ type IdCaptureDigitalIdRedirectOption = {
293
+ /** Catalog provider id, e.g. `trinsic_netherlands_idin`. */
294
+ providerId: DigitalIdProviderId;
295
+ /** Persisted backend method name, e.g. `IDIN`. */
296
+ method?: string;
297
+ /** Provider display name from the catalog, e.g. `iDIN`. */
298
+ displayName?: string;
299
+ /** Provider logo (absolute URL) for the card; the generic icon is used when absent. */
300
+ logoUrl?: string;
301
+ /** ISO alpha-2 country the provider serves. */
302
+ country?: string;
277
303
  };
278
304
  type IdCaptureConfig = TutorialIdConfig & {
279
305
  ageAssurance?: boolean;
@@ -288,7 +314,7 @@ type IdCaptureConfig = TutorialIdConfig & {
288
314
  ds?: Flow['ds'];
289
315
  /**
290
316
  * When true, the capture machine reaches `finished` immediately after
291
- * back-side / manual-upload completion instead of invoking `/process/id`.
317
+ * back-side completion instead of invoking `/process/id`.
292
318
  * Used by engines where verification is owned by a downstream node — the
293
319
  * Workflow engine's `ID` node (handled by `idVerificationMachine`). Flow and
294
320
  * any other single-step caller leave this `false` so the inline verification
@@ -353,7 +379,7 @@ type IdCaptureConfig = TutorialIdConfig & {
353
379
  * the factory (see `DEFAULT_ID_CAPTURE_ONLY_CONFIG`); set only what you care
354
380
  * about, e.g. `{ onCapture, captureAttempts: 5, showDocumentChooserScreen: true }`.
355
381
  */
356
- type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig, 'showTutorial' | 'captureAttempts' | 'autoCaptureTimeout' | 'deviceIdleTimeout' | 'enableId' | 'enablePassport' | 'onlyFront' | 'onlyBack' | 'showDocumentChooserScreen'>> & {
382
+ type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig, (typeof ID_CAPTURE_ONLY_CONFIG_KEYS)[number]>> & {
357
383
  onCapture: (response: CaptureOnlyResponse) => void | Promise<void>;
358
384
  };
359
385
  type IdErrorCode = 'UPLOAD_ERROR' | 'CLASSIFICATION_FAILED' | 'LOW_SHARPNESS' | 'GLARE_DETECTED' | 'WRONG_DOCUMENT_SIDE' | 'ID_TYPE_UNACCEPTABLE' | 'READABILITY_ISSUE' | 'RETRY_EXHAUSTED_CONTINUE_TO_BACK' | 'RETRY_EXHAUSTED_SKIP_BACK' | 'NO_MORE_TRIES' | 'UNEXPECTED_ERROR' | 'NO_TOKEN' | 'PERMISSION_DENIED' | 'USER_CANCELLED' | 'SERVER_ERROR';
@@ -471,10 +497,16 @@ type IdCapturedImageData = {
471
497
  };
472
498
  /**
473
499
  * Payload delivered to `IdCaptureConfig.onCapture` when `captureOnly` is enabled.
500
+ *
501
+ * `frontImage` is `undefined` only for a back-only capture (`onlyBack: true`),
502
+ * where no front side is captured. Check it before use.
474
503
  */
475
504
  type CaptureOnlyResponse = {
476
505
  frontImage: IdCapturedImageData;
477
506
  backImage: IdCapturedImageData | undefined;
507
+ } | {
508
+ frontImage: undefined;
509
+ backImage: IdCapturedImageData;
478
510
  };
479
511
  declare const ID_ERROR_CODES: {
480
512
  readonly UPLOAD_ERROR: "UPLOAD_ERROR";
@@ -713,6 +745,19 @@ type IdCaptureContext = {
713
745
  disableIpify: boolean;
714
746
  deepsightInitAttempted: boolean;
715
747
  availableDocumentTypes: IdDocumentType[];
748
+ /**
749
+ * One entry per enabled digital-ID web-redirect provider in
750
+ * `config.digitalIds` (`getAvailableDigitalIdRedirectOptions`). The chooser
751
+ * renders each as its own card; `digitalIdRedirect` appears in
752
+ * `availableDocumentTypes` whenever this list is non-empty.
753
+ */
754
+ digitalIdRedirectOptions: IdCaptureDigitalIdRedirectOption[];
755
+ /**
756
+ * Provider picked on the chooser (`SELECT_DOCUMENT` with `providerId`).
757
+ * Preset on the `digitalIdRedirect` child so the verification is created for
758
+ * exactly that provider instead of the first configured redirect method.
759
+ */
760
+ selectedDigitalIdProviderId: DigitalIdProviderId | undefined;
716
761
  /** Negotiated camera resolution (e.g. "1920x1080") for telemetry */
717
762
  captureResolution?: string;
718
763
  /** Android camera access fallback level that succeeded */
@@ -735,8 +780,16 @@ type IdCaptureEvent = {
735
780
  } | {
736
781
  type: 'SELECT_DOCUMENT';
737
782
  documentType: IdDocumentType;
783
+ /**
784
+ * With `documentType: 'digitalIdRedirect'`: the redirect provider card
785
+ * the user picked (one of `digitalIdRedirectOptions[].providerId`).
786
+ * Omitted → the first configured redirect method is launched.
787
+ */
788
+ providerId?: DigitalIdProviderId;
738
789
  } | {
739
790
  type: 'NEXT_STEP';
791
+ } | {
792
+ type: 'CONTINUE_TO_PERMISSION';
740
793
  } |
741
794
  /**
742
795
  * IDC-05: the phase boundary. Raised by `runDetection` `captureWindowMs` after
@@ -761,6 +814,12 @@ type IdCaptureEvent = {
761
814
  type: 'MANUAL_CAPTURE';
762
815
  } | {
763
816
  type: 'SWITCH_TO_MANUAL_CAPTURE';
817
+ } | {
818
+ type: 'SWITCH_TO_AUTO_CAPTURE';
819
+ } | {
820
+ type: 'OPEN_HELP';
821
+ } | {
822
+ type: 'CLOSE_HELP';
764
823
  } | {
765
824
  type: 'DETECTION_UPDATE';
766
825
  status: DetectionStatus;
@@ -832,17 +891,6 @@ type IdCaptureEvent = {
832
891
  width: number;
833
892
  height: number;
834
893
  };
835
- } | {
836
- type: 'MANUAL_UPLOAD_TAB_CHANGED';
837
- tab: ManualUploadTab;
838
- } | {
839
- type: 'MANUAL_UPLOAD_FILE_SELECTED';
840
- side: ManualUploadSide;
841
- file: File;
842
- } | {
843
- type: 'MANUAL_UPLOAD_CONTINUE';
844
- } | {
845
- type: 'MANUAL_UPLOAD_RESET';
846
894
  } | {
847
895
  type: 'DIGITAL_UPLOAD_NEXT_STEP';
848
896
  } | {
@@ -922,4 +970,4 @@ type IdCaptureOutput = {
922
970
  skipFaceMatch: boolean;
923
971
  } | undefined;
924
972
  //#endregion
925
- export { MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as A, DeviceWalletProvider as B, IdDocumentType as C, UploadIdResponse as D, IdFlowStep as E, DeviceWalletDecision as F, DigitalIdPlatformSupport as G, DIGITAL_ID_REGISTRY as H, DeviceWalletDecryptResponse as I, resolveDigitalIdImplementation as J, ResolvedDigitalIdRoute as K, DeviceWalletFailReason as L, ManualUploadContext as M, ManualUploadSide as N, IAnalyticsCapability as O, ManualUploadTab as P, DeviceWalletOutput as R, IdCapturedImageData as S, IdErrorCode as T, DigitalIdDocumentType as U, DIGITAL_ID_DOCUMENT_TYPES as V, DigitalIdFunnelEntry as W, FailureReason as X, DigitalIdProviderId as Y, RedirectReturnParams as Z, IdCaptureInput as _, CaptureOnlyResponse as a, IdCaptureOutput as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureGeometry as g, IdCaptureEvent as h, CaptureIdResponse as i, MANUAL_UPLOAD_MAX_RETRIES as j, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, isRedirectFlowType as q, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureMode as v, IdError as w, IdCaptureThresholds as x, IdCaptureOnlyConfig as y, DeviceWalletPlatform as z };
973
+ export { DeviceWalletDecision as A, DigitalIdFunnelEntry as B, IdCapturedImageData as C, IdFlowStep as D, IdErrorCode as E, DeviceWalletProvider as F, DigitalIdProviderId as G, ResolvedDigitalIdRoute as H, DeviceWalletServices as I, IDigitalCredentialsCapability as J, FailureReason as K, DIGITAL_ID_DOCUMENT_TYPES as L, DeviceWalletFailReason as M, DeviceWalletOutput as N, UploadIdResponse as O, DeviceWalletPlatform as P, DIGITAL_ID_REGISTRY as R, IdCaptureThresholds as S, IdError as T, isRedirectFlowType as U, DigitalIdPlatformSupport as V, resolveDigitalIdImplementation as W, IdCaptureGeometry as _, CaptureOnlyResponse as a, IdCaptureOnlyConfig as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureEvent as g, IdCaptureDigitalIdRedirectOption as h, CaptureIdResponse as i, DeviceWalletDecryptResponse as j, IAnalyticsCapability as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, RedirectReturnParams as q, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureInput as v, IdDocumentType as w, IdCaptureOutput as x, IdCaptureMode as y, DigitalIdDocumentType as z };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-C1g9itHE.js";
1
+ import { a as RegulationTypes } from "./types-BGXxRwQM.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,7 +1,7 @@
1
1
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
2
2
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
3
  //#region src/modules/document-capture/types.d.ts
4
- type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE';
4
+ type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE';
5
5
  declare const DOCUMENT_CAPTURE_ERROR_CODES: {
6
6
  readonly FILE_TOO_LARGE: "FILE_TOO_LARGE";
7
7
  readonly UPLOAD_FAILED: "UPLOAD_FAILED";
@@ -1,6 +1,6 @@
1
- import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BlcTYgJv.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-C1g9itHE.js";
3
- import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
1
+ import { a as AvatarAssetsOverrides } from "./createFaceAvatar-DXgmQmQy.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-BGXxRwQM.js";
3
+ import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-CPX0RGdQ.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -49,7 +49,6 @@ type BaseFaceCaptureConfig = {
49
49
  cameraResolution?: CameraResolution;
50
50
  ageAssurance?: boolean;
51
51
  ds?: Flow['ds'];
52
- manualUploadSelfieCapture?: boolean;
53
52
  /**
54
53
  * When true, face analysis runs on-device via the OnDevice WASM workflow
55
54
  * (6 models) and only the results JSON is submitted to the backend
@@ -11,5 +11,13 @@ function buildUrlWithSearchParams(baseUrl, params) {
11
11
  for (const [key, value] of Object.entries(params)) if (value !== void 0) url.searchParams.set(key, value);
12
12
  return url.href;
13
13
  }
14
+ function stripUrlQueryAndFragment(url) {
15
+ try {
16
+ const { origin, pathname } = new URL(url);
17
+ return `${origin}${pathname}`;
18
+ } catch {
19
+ return url.split(/[?#]/, 1)[0];
20
+ }
21
+ }
14
22
  //#endregion
15
- export { getUrlSearchParam as n, buildUrlWithSearchParams as t };
23
+ export { getUrlSearchParam as n, stripUrlQueryAndFragment as r, buildUrlWithSearchParams as t };
@@ -1,11 +1,11 @@
1
- import { c as WasmPipeline } from "./warmup-Cis2p6O0.js";
1
+ import { c as WasmPipeline } from "./warmup-BUPPRAA1.js";
2
2
  import { A as StateMachine, _ as MachineContext, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
3
- import "./StateMachine-EDpYWy0i.js";
4
- import "./Actor-iTq7YY48.js";
3
+ import { t as Manager } from "./Manager-C9T5amUN.js";
4
+ import "./Actor-DpTj5PFb.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
8
- import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-ChYgFM15.js";
7
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
8
+ import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-C5QHOvWb.js";
9
9
  //#region ../infra/src/capabilities/ITimerCapability.d.ts
10
10
  type TimerHandle = ReturnType<typeof setTimeout>;
11
11
  type ITimerCapability = {
@@ -229,10 +229,7 @@ type VideoSelfieRecordingState = {
229
229
  * `subscribe()` (status, step, preview `stream`, `recordingId`) plus `start()`,
230
230
  * `nextStep()`, and `abort()`.
231
231
  */
232
- declare function createVideoSelfieRecordingManager(options?: CreateVideoSelfieRecordingActorOptions): {
233
- stop(): void;
234
- getState(): VideoSelfieRecordingState;
235
- subscribe(listener: (state: VideoSelfieRecordingState) => void): () => void;
232
+ declare function createVideoSelfieRecordingManager(options?: CreateVideoSelfieRecordingActorOptions): Manager<VideoSelfieRecordingState> & {
236
233
  /** Acquire the first camera, open the upload, and begin recording. */
237
234
  start(): void;
238
235
  retry(): void;