@incodetech/core 0.0.0-dev-20261104-4dbc3ea3 → 0.0.0-dev-20261104-49452fc0

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 (189) hide show
  1. package/dist/{FaceDetectionProvider-Clp2STaL.esm.js → FaceDetectionProvider-YEIZbGDi.esm.js} +9 -9
  2. package/dist/{WasmUtilProvider-DZOGC2HE.esm.js → WasmUtilProvider-BP6-08Yn.esm.js} +2 -2
  3. package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/antifraud.esm.js +2 -2
  6. package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
  7. package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
  8. package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
  9. package/dist/{apiError-BYiBD0Ua.esm.js → apiError-b2fuT-IQ.esm.js} +1 -1
  10. package/dist/{attemptCarry-C8NbkPlt.esm.js → attemptCarry-WOkfvFMw.esm.js} +1 -1
  11. package/dist/authentication.d.ts +3 -3
  12. package/dist/authentication.esm.js +2 -2
  13. package/dist/{authenticationManager--l6e_7Pr.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
  14. package/dist/{authenticationManager-D3MYWvA6.esm.js → authenticationManager-x8mqpHOE.esm.js} +5 -5
  15. package/dist/{authenticationStateMachine-BCTipd5K.esm.js → authenticationStateMachine-C5Jln1aT.esm.js} +3 -3
  16. package/dist/camera.d.ts +2 -2
  17. package/dist/camera.esm.js +1 -1
  18. package/dist/certificate-issuance.esm.js +2 -2
  19. package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
  20. package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
  21. package/dist/consent.d.ts +1 -1
  22. package/dist/consent.esm.js +2 -2
  23. package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
  24. package/dist/{consentManager-D8rgr5Dv.d.ts → consentManager-ybzeu6sI.d.ts} +5 -5
  25. package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
  26. package/dist/cross-document-data-match.esm.js +1 -1
  27. package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
  28. package/dist/curp-validation.d.ts +1 -1
  29. package/dist/curp-validation.esm.js +2 -2
  30. package/dist/{curpValidationManager-C7t3QLf-.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
  31. package/dist/{curpValidationManager-B9LuZ0tj.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
  32. package/dist/{curpValidationStateMachine-DAFndzpo.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
  33. package/dist/custom-fields.esm.js +1 -1
  34. package/dist/custom-watchlist.esm.js +2 -2
  35. package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
  36. package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
  37. package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
  38. package/dist/{deepsightLoader-AYvov0JE.esm.js → deepsightLoader-DEaTmOtV.esm.js} +5 -5
  39. package/dist/{desktopCameraElection-CzF8HsJn.esm.js → desktopCameraElection-CvVbR9-p.esm.js} +4 -4
  40. package/dist/document-capture.esm.js +2 -2
  41. package/dist/{documentCaptureManager-BfXguEU3.esm.js → documentCaptureManager-CNF5LNmp.esm.js} +2 -2
  42. package/dist/{documentCaptureStateMachine-DJPyCwQu.esm.js → documentCaptureStateMachine-p8yovofp.esm.js} +4 -4
  43. package/dist/dynamic-forms.esm.js +2 -2
  44. package/dist/{dynamicFormsManager-Dt8hp7Xd.esm.js → dynamicFormsManager-f8riHilf.esm.js} +2 -2
  45. package/dist/{dynamicFormsStateMachine-DLAvflmE.esm.js → dynamicFormsStateMachine-Dt4_Fsxk.esm.js} +2 -2
  46. package/dist/ekyb.d.ts +4 -4
  47. package/dist/ekyb.esm.js +2 -2
  48. package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  49. package/dist/{ekybManager-D2iEUBPj.esm.js → ekybManager-BwBdOOMz.esm.js} +2 -2
  50. package/dist/{ekybStateMachine-PH1hy6T0.esm.js → ekybStateMachine-Cr_wkUnH.esm.js} +4 -3
  51. package/dist/ekyc.d.ts +3 -2
  52. package/dist/ekyc.esm.js +3 -3
  53. package/dist/{ekycManager-Be6T7RJs.esm.js → ekycManager-CoWoHxtL.esm.js} +2 -2
  54. package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
  55. package/dist/{ekycStateMachine-DZbKVMgq.esm.js → ekycStateMachine-DOWVsq7o.esm.js} +5 -67
  56. package/dist/{ekycUtils-ChD5TcJH.esm.js → ekycUtils-as4sEjNz.esm.js} +59 -8
  57. package/dist/electronic-signature.esm.js +1 -1
  58. package/dist/{electronicSignatureManager-DDL-ylsJ.esm.js → electronicSignatureManager-DRPy_cGL.esm.js} +3 -3
  59. package/dist/email.esm.js +2 -2
  60. package/dist/{emailManager-CDhBis0c.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
  61. package/dist/{emailStateMachine-D6WedIVj.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
  62. package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
  63. package/dist/events.esm.js +1 -1
  64. package/dist/extensibility.d.ts +15 -14
  65. package/dist/extensibility.esm.js +36 -35
  66. package/dist/face-match.esm.js +2 -2
  67. package/dist/{faceCaptureManagerFactory-tFqvK5KO.esm.js → faceCaptureManagerFactory-Bl3wOB84.esm.js} +4 -4
  68. package/dist/{faceCaptureManagerFactory-BQtDMMuq.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
  69. package/dist/{faceCaptureSetup-B8W4cid6.esm.js → faceCaptureSetup-zI6zgq4z.esm.js} +11 -11
  70. package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
  71. package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
  72. package/dist/{feature-management-C5QYxdqM.esm.js → feature-management-DQFwX8Hl.esm.js} +1 -1
  73. package/dist/feature-management.esm.js +1 -1
  74. package/dist/field-comparison.esm.js +1 -1
  75. package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
  76. package/dist/fiscal-qr.esm.js +1 -1
  77. package/dist/{fiscalQrManager-Bj2YnPFD.esm.js → fiscalQrManager-BZeklojR.esm.js} +2 -2
  78. package/dist/flow-events.d.ts +1 -1
  79. package/dist/flow.d.ts +7 -7
  80. package/dist/flow.esm.js +4 -4
  81. package/dist/{flowCompletionService-CHf7rcBO.esm.js → flowCompletionService-DHFje7x-.esm.js} +2 -2
  82. package/dist/{flowServices-BWnaP5s0.esm.js → flowServices-Cb0iHJVG.esm.js} +8 -8
  83. package/dist/geolocation.esm.js +2 -2
  84. package/dist/{geolocationManager-CbRv_K1Y.esm.js → geolocationManager-Cw8v5-5V.esm.js} +2 -2
  85. package/dist/{geolocationStateMachine-BdDTTyAI.esm.js → geolocationStateMachine-ma-iPEHx.esm.js} +3 -3
  86. package/dist/government-validation.esm.js +2 -2
  87. package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
  88. package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
  89. package/dist/home.d.ts +1 -1
  90. package/dist/home.esm.js +1 -1
  91. package/dist/http.esm.js +1 -1
  92. package/dist/id-ocr.d.ts +1 -1
  93. package/dist/id-ocr.esm.js +2 -2
  94. package/dist/id-selfie-flow.d.ts +1 -1
  95. package/dist/id-selfie-flow.esm.js +8 -8
  96. package/dist/id-verification.esm.js +2 -2
  97. package/dist/id.d.ts +2 -2
  98. package/dist/id.esm.js +3 -3
  99. package/dist/{idCaptureDefaults-BOIM1God.esm.js → idCaptureDefaults-CnAGmc1o.esm.js} +3 -3
  100. package/dist/{idCaptureManager-BwnhLz9C.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +2 -2
  101. package/dist/{idCaptureManager-CWlC3EJz.esm.js → idCaptureManager-DSTzKvSp.esm.js} +8 -8
  102. package/dist/{idCaptureServices-D9d-qtrS.esm.js → idCaptureServices-DrnyYM5Z.esm.js} +5 -5
  103. package/dist/{idCaptureStateMachine-zmw_aQU4.esm.js → idCaptureStateMachine-Cx8jXNgx.esm.js} +17 -17
  104. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  105. package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
  106. package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
  107. package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
  108. package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
  109. package/dist/identity-reuse.d.ts +1 -1
  110. package/dist/identity-reuse.esm.js +2 -2
  111. package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
  112. package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
  113. package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
  114. package/dist/{index-D2xVKjpi.d.ts → index-DC0P2Vzw.d.ts} +1 -1
  115. package/dist/index.esm.js +1 -1
  116. package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
  117. package/dist/kyb-checks.d.ts +3 -0
  118. package/dist/kyb-checks.esm.js +3 -0
  119. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  120. package/dist/kybChecksManager-DswTVAz4.esm.js +89 -0
  121. package/dist/kybChecksStateMachine-DI_5RyBk.esm.js +718 -0
  122. package/dist/mandatory-consent.d.ts +2 -2
  123. package/dist/mandatory-consent.esm.js +2 -2
  124. package/dist/{mandatoryConsentManager-BeVif8kS.d.ts → mandatoryConsentManager-6e3_CcJt.d.ts} +6 -6
  125. package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
  126. package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
  127. package/dist/{multipartRecordingService-Cp2NhhmP.esm.js → multipartRecordingService-BTqkHGG9.esm.js} +1 -1
  128. package/dist/{permissionGuards-Dck-ZReK.esm.js → permissionGuards-s7Qm6q8W.esm.js} +1 -1
  129. package/dist/{permissionServices-CJSZshmj.esm.js → permissionServices-RawRSsLZ.esm.js} +8 -6
  130. package/dist/phone.esm.js +2 -2
  131. package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
  132. package/dist/{phoneManager-DLFQqWDV.esm.js → phoneManager-Dy5tODCU.esm.js} +2 -2
  133. package/dist/{phoneServices-Cn4uBGpN.esm.js → phoneServices-DJgyOzU2.esm.js} +1 -1
  134. package/dist/{phoneStateMachine-BLFIfxPy.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +19 -9
  135. package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
  136. package/dist/qe-signature.esm.js +1 -1
  137. package/dist/{recordingService-zbt2C0w0.esm.js → recordingService-CTko6Cjn.esm.js} +2 -2
  138. package/dist/redirect-to-mobile.esm.js +2 -2
  139. package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
  140. package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
  141. package/dist/resolveForm-O7-r79VA.esm.js +351 -0
  142. package/dist/{runChildModule-DqeR4WUi.esm.js → runChildModule-qXpd7G2p.esm.js} +2 -2
  143. package/dist/{sdkVersion-DvR2zcLB.esm.js → sdkVersion-WYkWwTmz.esm.js} +1 -1
  144. package/dist/selfie.d.ts +3 -3
  145. package/dist/selfie.esm.js +10 -10
  146. package/dist/{selfieErrorUtils-DfQnVgaQ.esm.js → selfieErrorUtils-f3lQlFEy.esm.js} +1 -1
  147. package/dist/{selfieManager-BDStgLz_.esm.js → selfieManager-B8swkeIe.esm.js} +5 -5
  148. package/dist/{selfieManager-DMFBTmjl.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
  149. package/dist/{selfieStateMachine-Bkwmpva6.esm.js → selfieStateMachine-CGMAbg6e.esm.js} +3 -3
  150. package/dist/{session-D8sTB7-6.esm.js → session-sPZ3TAsp.esm.js} +4 -4
  151. package/dist/session.d.ts +1 -1
  152. package/dist/session.esm.js +5 -5
  153. package/dist/{sessionInitializer-CdOpCvp3.esm.js → sessionInitializer-C2NbBy_s.esm.js} +13 -10
  154. package/dist/{setup-Cj8cl6ne.esm.js → setup-C86PfxZS.esm.js} +25 -22
  155. package/dist/signature.esm.js +2 -2
  156. package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
  157. package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
  158. package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
  159. package/dist/stats.esm.js +1 -1
  160. package/dist/textRules-D4NRinKY.d.ts +41 -0
  161. package/dist/{trueSightService-h_nIpoO_.esm.js → trueSightService-JP7_wQle.esm.js} +4 -4
  162. package/dist/trust-graph.esm.js +1 -1
  163. package/dist/{types-CfGxl1G0.d.ts → types-BEVHQbbC.d.ts} +1 -1
  164. package/dist/{types-XwxtmhWC.d.ts → types-BPm1JSu7.d.ts} +1 -1
  165. package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
  166. package/dist/{types-DPc-3Uo6.d.ts → types-CRaFu6wS.d.ts} +3 -1
  167. package/dist/types-CTaL0XJz.d.ts +80 -0
  168. package/dist/{types-bn0ZpYF1.d.ts → types-Cd0J0F9D.d.ts} +1 -1
  169. package/dist/{types-CAawq94W.d.ts → types-Csh8vzPo.d.ts} +1 -1
  170. package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
  171. package/dist/types-J6g6iKe_.d.ts +6 -0
  172. package/dist/video-selfie.d.ts +1 -1
  173. package/dist/video-selfie.esm.js +7 -7
  174. package/dist/{videoSelfieCameraWarmer-DqQPTyle.esm.js → videoSelfieCameraWarmer-gdlCA1VK.esm.js} +6 -6
  175. package/dist/{videoSelfieStepDetector-C8uL2RCz.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
  176. package/dist/{warmup-DPfXWeBq.esm.js → warmup-BUnab2eW.esm.js} +24 -17
  177. package/dist/wasm.esm.js +3 -3
  178. package/dist/{wasmDsFlagSync-Ck2Lt6OY.esm.js → wasmDsFlagSync-DhJXZ9el.esm.js} +1 -1
  179. package/dist/{wasmWebClient-DClKyqNR.esm.js → wasmWebClient-CowdFxEv.esm.js} +12 -9
  180. package/dist/watchlist-for-business.esm.js +2 -2
  181. package/dist/watchlist.esm.js +2 -2
  182. package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
  183. package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
  184. package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
  185. package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
  186. package/dist/workflow.d.ts +1 -1
  187. package/dist/workflow.esm.js +40 -40
  188. package/package.json +6 -1
  189. package/dist/types-BZ_Hjz-X.d.ts +0 -6
package/dist/id.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
- import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-BwnhLz9C.js";
3
+ import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CCA2D1Ah.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
5
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
6
- import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-XwxtmhWC.js";
6
+ import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BPm1JSu7.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-zmw_aQU4.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CWlC3EJz.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-D9d-qtrS.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-Cx8jXNgx.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DSTzKvSp.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-DrnyYM5Z.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,6 +1,6 @@
1
- import { M as resolveWasmSource, S as getBarcodeEnhanceModelUrl, T as WASM_MODEL_FILES } from "./wasmWebClient-DClKyqNR.esm.js";
2
- import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-DPfXWeBq.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
1
+ import { M as resolveWasmSource, S as getBarcodeEnhanceModelUrl, T as WASM_MODEL_FILES } from "./wasmWebClient-CowdFxEv.esm.js";
2
+ import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-BUnab2eW.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
4
4
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
5
5
  //#region ../infra/src/wasm/idCaptureWasmApi.ts
6
6
  var IdCaptureWasmApi = class {
@@ -4,14 +4,14 @@ import "./Actor-DpTj5PFb.js";
4
4
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
5
5
  import "./index-DpTj5PFb.js";
6
6
  import "./createFaceAvatar-lYX0VTYs.js";
7
- import { a as RegulationTypes } from "./types-DPc-3Uo6.js";
7
+ import { a as RegulationTypes } from "./types-CRaFu6wS.js";
8
8
  import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-Cqiaxydi.js";
9
9
  import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
10
10
  import { t as BaseWasmProvider } from "./BaseWasmProvider-Bq3OHo7P.js";
11
11
  import { n as DeepsightService } from "./StreamCanvasCapture-C3xNfOsv.js";
12
12
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
13
13
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
14
- import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-XwxtmhWC.js";
14
+ import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BPm1JSu7.js";
15
15
  //#region src/internal/http/endpoints.d.ts
16
16
  /**
17
17
  * Backend `CaptureType` for the `captureType` query param on `add/front-id`,
@@ -1,17 +1,17 @@
1
- import { u as BrowserStorageProvider } from "./setup-Cj8cl6ne.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
3
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-C86PfxZS.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
3
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
5
  import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
7
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
8
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ck2Lt6OY.esm.js";
8
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DhJXZ9el.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
- import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CJSZshmj.esm.js";
10
+ import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-RawRSsLZ.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-zmw_aQU4.esm.js";
13
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-D9d-qtrS.esm.js";
14
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-CXIBwBeE.esm.js";
12
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-Cx8jXNgx.esm.js";
13
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DrnyYM5Z.esm.js";
14
+ import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BJ0GVHGr.esm.js";
15
15
  //#region src/modules/id/digitalUpload/instrumentation.ts
16
16
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
17
17
  function isHoldingState(value) {
@@ -1,10 +1,10 @@
1
- import { t as ensureWasmPipelines } from "./setup-Cj8cl6ne.esm.js";
2
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-C5QYxdqM.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-C86PfxZS.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DQFwX8Hl.esm.js";
4
4
  import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
5
5
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
7
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BOIM1God.esm.js";
7
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CnAGmc1o.esm.js";
8
8
  //#region src/modules/id/idCameraStream.ts
9
9
  async function getIdCameraStream(deviceId) {
10
10
  return (await import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t)).getBackCameraStream(deviceId);
@@ -436,7 +436,7 @@ async function startRecordingSession(params) {
436
436
  const [compositorModule, recorderModule, serviceModule] = await Promise.all([
437
437
  import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
438
438
  import("./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js").then((n) => n.n),
439
- import("./multipartRecordingService-Cp2NhhmP.esm.js").then((n) => n.n)
439
+ import("./multipartRecordingService-BTqkHGG9.esm.js").then((n) => n.n)
440
440
  ]);
441
441
  const recordingSource = params.stream.clone();
442
442
  const compositor = compositorModule.createRecordingCompositor();
@@ -1,32 +1,32 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-Cj8cl6ne.esm.js";
3
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
4
- import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-CQteqXfy.esm.js";
5
- import { r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
6
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-h_nIpoO_.esm.js";
7
- import { n as getDisableIpify } from "./sessionInitializer-CdOpCvp3.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-C86PfxZS.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
4
+ import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-ggpBBaZ8.esm.js";
5
+ import { r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
6
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-JP7_wQle.esm.js";
7
+ import { n as getDisableIpify } from "./sessionInitializer-C2NbBy_s.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { s as exposeExperimentOnce } from "./feature-management-C5QYxdqM.esm.js";
10
- import { t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
9
+ import { s as exposeExperimentOnce } from "./feature-management-DQFwX8Hl.esm.js";
10
+ import { t as addDeviceStats } from "./stats-CatA2dea.esm.js";
11
11
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
12
- import "./session-D8sTB7-6.esm.js";
12
+ import "./session-sPZ3TAsp.esm.js";
13
13
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
14
14
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
15
15
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
16
16
  import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
17
- import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-CJSZshmj.esm.js";
18
- import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-CzF8HsJn.esm.js";
17
+ import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-RawRSsLZ.esm.js";
18
+ import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-CvVbR9-p.esm.js";
19
19
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
20
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-Dck-ZReK.esm.js";
21
- import { t as carryAttempts } from "./attemptCarry-C8NbkPlt.esm.js";
20
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-s7Qm6q8W.esm.js";
21
+ import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
22
22
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
23
23
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
24
24
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
25
25
  import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
27
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
28
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BOIM1God.esm.js";
29
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-D9d-qtrS.esm.js";
28
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CnAGmc1o.esm.js";
29
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-DrnyYM5Z.esm.js";
30
30
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
31
31
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2031,7 +2031,7 @@ fromPromise(async ({ input }) => {
2031
2031
  });
2032
2032
  fromPromise(async ({ input }) => {
2033
2033
  if (!input.dependencies) return;
2034
- const { loadDeepsightSession } = await import("./deepsightLoader-AYvov0JE.esm.js");
2034
+ const { loadDeepsightSession } = await import("./deepsightLoader-DEaTmOtV.esm.js");
2035
2035
  return loadDeepsightSession({
2036
2036
  ds: input.ds,
2037
2037
  storage: input.dependencies.storage,
@@ -2474,7 +2474,7 @@ function cleanup(service) {
2474
2474
  service.cleanup();
2475
2475
  } catch {}
2476
2476
  }
2477
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-AYvov0JE.esm.js")).loadDeepsightSession(input)) {
2477
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DEaTmOtV.esm.js")).loadDeepsightSession(input)) {
2478
2478
  let disposed = false;
2479
2479
  let preparation;
2480
2480
  let service;
@@ -109,7 +109,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
109
109
  type: "shouldProceedWithoutSubmitToSecondId";
110
110
  params: unknown;
111
111
  };
112
- }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
112
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
113
  readonly id: "idOcr";
114
114
  readonly initial: "idle";
115
115
  readonly context: ({ input }: {
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as idOcrStateMachine } from "./idOcrStateMachine-B1aZnobs.esm.js";
3
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-DNKXh4Rn.esm.js";
4
4
  //#region src/modules/id-ocr/idOcrActor.ts
5
5
  function createIdOcrActor(options) {
6
6
  return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { n as DateFormattingProvider, t as validateCPF } from "./cpf-uAZTPUBy.esm.js";
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as idVerificationMachine } from "./idVerificationStateMachine-DQn6c84z.esm.js";
3
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-DtIBCa32.esm.js";
4
4
  //#region src/modules/id-verification/idVerificationActor.ts
5
5
  function createIdVerificationActor(options) {
6
6
  return createActor(idVerificationMachine, { input: { config: options.config } }).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/id-verification/idVerificationServices.ts
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-B1birg5X.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-ooAbp6Kc.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,3 +1,3 @@
1
- import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-Bcnkbjf8.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-DDXkNVZi.esm.js";
1
+ import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-DxZFWy47.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CcpovlfD.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as identityReuseMachine } from "./identityReuseStateMachine-Bcnkbjf8.esm.js";
3
+ import { n as identityReuseMachine } from "./identityReuseStateMachine-DxZFWy47.esm.js";
4
4
  //#region src/modules/identity-reuse/identityReuseActor.ts
5
5
  /**
6
6
  * Creates and starts an IdentityReuse actor.
@@ -120,6 +120,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
120
120
  type: "setError";
121
121
  params: NonReducibleUnknown;
122
122
  };
123
+ clearError: {
124
+ type: "clearError";
125
+ params: NonReducibleUnknown;
126
+ };
123
127
  setSelectedDocument: {
124
128
  type: "setSelectedDocument";
125
129
  params: NonReducibleUnknown;
@@ -128,10 +132,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
128
132
  type: "setCompanyName";
129
133
  params: NonReducibleUnknown;
130
134
  };
131
- clearError: {
132
- type: "clearError";
133
- params: NonReducibleUnknown;
134
- };
135
135
  }>, Values<{
136
136
  hasDocuments: {
137
137
  type: "hasDocuments";
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/identity-reuse/identityReuseServices.ts
@@ -1,5 +1,5 @@
1
1
  import "./Manager-C9T5amUN.js";
2
- import { n as Flow } from "./types-DPc-3Uo6.js";
2
+ import { n as Flow } from "./types-CRaFu6wS.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.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-Cj8cl6ne.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-C86PfxZS.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,4 +1,4 @@
1
- import { y as addEvent } from "./events-CQteqXfy.esm.js";
1
+ import { y as addEvent } from "./events-ggpBBaZ8.esm.js";
2
2
  //#region src/internal/captureOnly/invokeOnCaptureCallback.ts
3
3
  /**
4
4
  * Invokes an integrator-provided `onCapture` callback with the assembled
@@ -0,0 +1,3 @@
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";
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 };
@@ -0,0 +1,3 @@
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-DI_5RyBk.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-DswTVAz4.esm.js";
3
+ export { createKybChecksManager, kybChecksMachine };
@@ -0,0 +1,95 @@
1
+ import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
+ import { t as Manager } from "./Manager-C9T5amUN.js";
3
+ import "./Actor-DpTj5PFb.js";
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
+ //#region src/modules/kyb-checks/kybChecksStateMachine.d.ts
6
+ declare const kybChecksMachine: any;
7
+ type KybChecksMachine = typeof kybChecksMachine;
8
+ //#endregion
9
+ //#region src/modules/kyb-checks/kybChecksActor.d.ts
10
+ type KybChecksActor = ActorRefFrom<KybChecksMachine>;
11
+ type CreateKybChecksActorOptions = {
12
+ config?: KybChecksConfig;
13
+ };
14
+ //#endregion
15
+ //#region src/modules/kyb-checks/kybChecksManager.d.ts
16
+ type KybChecksLoadingState = {
17
+ status: 'loading';
18
+ };
19
+ type KybChecksFormState = {
20
+ status: 'form';
21
+ title: KybText | undefined;
22
+ /** Sections in display order; the first holds the country field. */
23
+ sections: KybChecksSection[];
24
+ values: KybFieldValues;
25
+ errors: KybFieldErrors;
26
+ /** True while the form for a newly chosen country is being fetched. */
27
+ isRefetching: boolean;
28
+ /** False until a country is chosen and its form has loaded, and while a new one loads. */
29
+ canSubmit: boolean;
30
+ /** Selected checks the country can't run. Not meant for the end user. */
31
+ unsupportedModules: KybUnsupportedModule[];
32
+ };
33
+ type KybChecksSubmittingState = {
34
+ status: 'submitting';
35
+ };
36
+ type KybChecksErrorState = {
37
+ status: 'error';
38
+ errorKind: KybChecksErrorKind | undefined;
39
+ errorMessage: string | undefined;
40
+ /**
41
+ * Whether `retry()` is offered. Always after a load error; after a submit
42
+ * error only when the server rejected the request (a 4xx), because the
43
+ * checks may already have run otherwise. Offer `close()` instead.
44
+ */
45
+ canRetry: boolean;
46
+ };
47
+ /** KYB is not in the session's flow, the session is closed, or the form schema is not supported. */
48
+ type KybChecksMisconfiguredState = {
49
+ status: 'misconfigured';
50
+ };
51
+ type KybChecksFinishedState = {
52
+ status: 'finished';
53
+ result: KybChecksResult | undefined;
54
+ };
55
+ type KybChecksClosedState = {
56
+ status: 'closed';
57
+ };
58
+ /** Discriminated union of all KYB Checks manager states. */
59
+ type KybChecksState = KybChecksLoadingState | KybChecksFormState | KybChecksSubmittingState | KybChecksErrorState | KybChecksMisconfiguredState | KybChecksFinishedState | KybChecksClosedState;
60
+ declare function createKybChecksManagerFromActor(actor: KybChecksActor): Manager<KybChecksState> & {
61
+ /** Fetches the first form: the country picker. */
62
+ load(): void;
63
+ /**
64
+ * Sets a field's value and clears its error. Changing the country fetches
65
+ * that country's form. Pass `isValid: false` when the input itself knows
66
+ * the value is malformed (a phone number).
67
+ */
68
+ setField(name: string, value: KybFieldValue, isValid?: boolean): void;
69
+ /** Validates the form and, when it passes, runs the KYB checks. */
70
+ submit(): void;
71
+ /** Repeats the request that failed. */
72
+ retry(): void;
73
+ /** Closes the module. */
74
+ close(): void;
75
+ };
76
+ /** Creates a KYB Checks manager for headless or UI-driven usage. */
77
+ declare function createKybChecksManager(options?: CreateKybChecksActorOptions): Manager<KybChecksState> & {
78
+ /** Fetches the first form: the country picker. */
79
+ load(): void;
80
+ /**
81
+ * Sets a field's value and clears its error. Changing the country fetches
82
+ * that country's form. Pass `isValid: false` when the input itself knows
83
+ * the value is malformed (a phone number).
84
+ */
85
+ setField(name: string, value: KybFieldValue, isValid?: boolean): void;
86
+ /** Validates the form and, when it passes, runs the KYB checks. */
87
+ submit(): void;
88
+ /** Repeats the request that failed. */
89
+ retry(): void;
90
+ /** Closes the module. */
91
+ close(): void;
92
+ };
93
+ type KybChecksManager = ReturnType<typeof createKybChecksManager>;
94
+ //#endregion
95
+ export { KybChecksLoadingState as a, KybChecksState as c, createKybChecksManagerFromActor as d, KybChecksActor as f, KybChecksFormState as i, KybChecksSubmittingState as l, KybChecksErrorState as n, KybChecksManager as o, kybChecksMachine as p, KybChecksFinishedState as r, KybChecksMisconfiguredState as s, KybChecksClosedState as t, createKybChecksManager as u };
@@ -0,0 +1,89 @@
1
+ import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
2
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-DI_5RyBk.esm.js";
3
+ //#region src/modules/kyb-checks/kybChecksActor.ts
4
+ /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
5
+ function createKybChecksActor(options = {}) {
6
+ return createActor(kybChecksMachine, { input: { config: options.config } }).start();
7
+ }
8
+ //#endregion
9
+ //#region src/modules/kyb-checks/kybChecksManager.ts
10
+ function mapState(snapshot) {
11
+ const typedSnapshot = snapshot;
12
+ const { context } = typedSnapshot;
13
+ if (typedSnapshot.matches("form")) {
14
+ const isRefetching = typedSnapshot.matches({ form: "refetching" });
15
+ return {
16
+ status: "form",
17
+ title: context.prepared?.title,
18
+ sections: context.prepared?.sections ?? [],
19
+ values: context.values,
20
+ errors: context.errors,
21
+ isRefetching,
22
+ canSubmit: !!context.form?.submit && !isRefetching,
23
+ unsupportedModules: context.form?.context.unsupportedModules ?? []
24
+ };
25
+ }
26
+ if (typedSnapshot.matches("submitting")) return { status: "submitting" };
27
+ if (typedSnapshot.matches("error")) return {
28
+ status: "error",
29
+ errorKind: context.errorKind,
30
+ errorMessage: context.errorMessage,
31
+ canRetry: context.canRetry
32
+ };
33
+ if (typedSnapshot.matches("misconfigured")) return { status: "misconfigured" };
34
+ if (typedSnapshot.matches("finished")) return {
35
+ status: "finished",
36
+ result: context.result
37
+ };
38
+ if (typedSnapshot.matches("closed")) return { status: "closed" };
39
+ return { status: "loading" };
40
+ }
41
+ function createApi({ actor, trackElementClicked }) {
42
+ return {
43
+ /** Fetches the first form: the country picker. */
44
+ load() {
45
+ actor.send({ type: "LOAD" });
46
+ },
47
+ /**
48
+ * Sets a field's value and clears its error. Changing the country fetches
49
+ * that country's form. Pass `isValid: false` when the input itself knows
50
+ * the value is malformed (a phone number).
51
+ */
52
+ setField(name, value, isValid) {
53
+ actor.send({
54
+ type: "SET_FIELD",
55
+ name,
56
+ value,
57
+ isValid
58
+ });
59
+ },
60
+ /** Validates the form and, when it passes, runs the KYB checks. */
61
+ submit() {
62
+ trackElementClicked?.("submit");
63
+ actor.send({ type: "SUBMIT" });
64
+ },
65
+ /** Repeats the request that failed. */
66
+ retry() {
67
+ trackElementClicked?.("retry");
68
+ actor.send({ type: "RETRY" });
69
+ },
70
+ /** Closes the module. */
71
+ close() {
72
+ trackElementClicked?.("close");
73
+ actor.send({ type: "CLOSE" });
74
+ }
75
+ };
76
+ }
77
+ function createKybChecksManagerFromActor(actor) {
78
+ return createManager({
79
+ actor,
80
+ mapState,
81
+ createApi
82
+ });
83
+ }
84
+ /** Creates a KYB Checks manager for headless or UI-driven usage. */
85
+ function createKybChecksManager(options = {}) {
86
+ return createKybChecksManagerFromActor(createKybChecksActor(options));
87
+ }
88
+ //#endregion
89
+ export { createKybChecksManagerFromActor as n, createKybChecksManager as t };