@incodetech/core 2.5.0-rc.6 → 2.5.0-rc.8

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 (184) hide show
  1. package/dist/{FaceDetectionProvider-CyJw0IsP.esm.js → FaceDetectionProvider-CH8q7pdG.esm.js} +7 -7
  2. package/dist/{addressSearch-BGHyclUd.esm.js → addressSearch-BTo2kH5N.esm.js} +1 -1
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +2 -2
  5. package/dist/{antifraudManager-CE2Cxfqy.esm.js → antifraudManager-TwVzUgUe.esm.js} +3 -3
  6. package/dist/{antifraudStateMachine-BpeuH5Wx.esm.js → antifraudStateMachine-CFkvyDFG.esm.js} +1 -1
  7. package/dist/{api-BMLJdwd_.esm.js → api-jplFqPcE.esm.js} +2 -0
  8. package/dist/{apiError-DRTHDDhm.esm.js → apiError-BRqZjDN7.esm.js} +1 -1
  9. package/dist/{attemptCarry-Dp2xFl7A.esm.js → attemptCarry-Dew-8qhm.esm.js} +1 -1
  10. package/dist/authentication.d.ts +3 -3
  11. package/dist/authentication.esm.js +2 -2
  12. package/dist/{authenticationManager-9ONStCgT.esm.js → authenticationManager-D2Tc1zUZ.esm.js} +5 -5
  13. package/dist/{authenticationManager-DWFnFadt.d.ts → authenticationManager-D65y6VFI.d.ts} +1 -1
  14. package/dist/{authenticationStateMachine-C5x183J5.esm.js → authenticationStateMachine-DptfsNO0.esm.js} +3 -3
  15. package/dist/certificate-issuance.esm.js +2 -2
  16. package/dist/{certificateIssuanceManager-BQ74_sGE.esm.js → certificateIssuanceManager-CfKhx7Uk.esm.js} +3 -3
  17. package/dist/{certificateIssuanceStateMachine-Cm3b9OoM.esm.js → certificateIssuanceStateMachine-4NpYY6ct.esm.js} +1 -1
  18. package/dist/consent.d.ts +1 -1
  19. package/dist/consent.esm.js +2 -2
  20. package/dist/{consentManager-DEC34vhb.esm.js → consentManager-BaQJnQ8U.esm.js} +3 -3
  21. package/dist/{consentManager-Bx_osBME.d.ts → consentManager-DlvhoJYc.d.ts} +5 -5
  22. package/dist/{consentStateMachine-D0Nh_LD7.esm.js → consentStateMachine-Bl6TbzJW.esm.js} +1 -1
  23. package/dist/cross-document-data-match.esm.js +1 -1
  24. package/dist/{crossDocumentDataMatchManager-BHRsIIYY.esm.js → crossDocumentDataMatchManager-DhrMB_iS.esm.js} +3 -3
  25. package/dist/curp-validation.d.ts +1 -1
  26. package/dist/curp-validation.esm.js +2 -2
  27. package/dist/{curpValidationManager-nIJpoMnT.esm.js → curpValidationManager-DYfD1Res.esm.js} +3 -3
  28. package/dist/{curpValidationManager-Ci2iVuog.d.ts → curpValidationManager-DgUZySoq.d.ts} +1 -1
  29. package/dist/{curpValidationStateMachine-4MAvdROS.esm.js → curpValidationStateMachine-Bv_PYQq8.esm.js} +2 -2
  30. package/dist/custom-fields.esm.js +1 -1
  31. package/dist/custom-watchlist.esm.js +2 -2
  32. package/dist/{customFieldsManager-BGCfq1Z3.esm.js → customFieldsManager-BYw2qjWs.esm.js} +3 -3
  33. package/dist/{customWatchlistManager-B5rEcjyh.esm.js → customWatchlistManager-BMG12VEa.esm.js} +3 -3
  34. package/dist/{customWatchlistStateMachine-5DmmGqzB.esm.js → customWatchlistStateMachine-BuooJa9X.esm.js} +1 -1
  35. package/dist/{deepsightLoader-RG59l8ri.esm.js → deepsightLoader-BLUSJ6NH.esm.js} +3 -3
  36. package/dist/{desktopCameraElection-h7SmDXmW.esm.js → desktopCameraElection-_aIttlzU.esm.js} +1 -1
  37. package/dist/document-capture.d.ts +1 -1
  38. package/dist/document-capture.esm.js +2 -2
  39. package/dist/document-signature.d.ts +123 -0
  40. package/dist/document-signature.esm.js +149 -0
  41. package/dist/{documentCaptureManager-DODC4eUX.esm.js → documentCaptureManager-B3ZH-_GY.esm.js} +3 -3
  42. package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-Dd3T6bcs.d.ts} +4 -4
  43. package/dist/{documentCaptureStateMachine-B4CPAJrT.esm.js → documentCaptureStateMachine-CnKVcxV1.esm.js} +2 -2
  44. package/dist/documentSignatureStateMachine-CYQWjdU3.esm.js +219 -0
  45. package/dist/dynamic-forms.esm.js +2 -2
  46. package/dist/{dynamicFormsManager-8zrLS2Ck.esm.js → dynamicFormsManager-DnVJqyQU.esm.js} +3 -3
  47. package/dist/{dynamicFormsStateMachine-CK3zL3iS.esm.js → dynamicFormsStateMachine-dYN65J5x.esm.js} +2 -2
  48. package/dist/ekyb.d.ts +1 -1
  49. package/dist/ekyb.esm.js +2 -2
  50. package/dist/{ekybManager-DDP5IaHY.esm.js → ekybManager-DrfIdHZB.esm.js} +3 -3
  51. package/dist/{ekybStateMachine-BD0CIuRz.esm.js → ekybStateMachine-HSwsgyB6.esm.js} +3 -3
  52. package/dist/ekyc-prefill.d.ts +1 -1
  53. package/dist/ekyc-prefill.esm.js +2 -2
  54. package/dist/ekyc.esm.js +2 -2
  55. package/dist/{ekycManager-DWuONuie.esm.js → ekycManager-DeocHrn-.esm.js} +3 -3
  56. package/dist/{ekycPrefillManager-CTWhBVoN.esm.js → ekycPrefillManager-BwRgcrQy.esm.js} +1 -1
  57. package/dist/{ekycPrefillManager-BQ_KKUv5.d.ts → ekycPrefillManager-DY3f44kC.d.ts} +26 -26
  58. package/dist/{ekycPrefillStateMachine-r8bL9KfD.esm.js → ekycPrefillStateMachine-CaLE_Fjo.esm.js} +2 -2
  59. package/dist/{ekycStateMachine-BsclGsmE.esm.js → ekycStateMachine-mB4i5_03.esm.js} +2 -2
  60. package/dist/electronic-signature.esm.js +1 -1
  61. package/dist/{electronicSignatureManager-B3-sH5IC.esm.js → electronicSignatureManager-D9V5lHkF.esm.js} +4 -4
  62. package/dist/email.esm.js +2 -2
  63. package/dist/{emailManager-DJfqy42G.esm.js → emailManager-CFPz1wdm.esm.js} +3 -3
  64. package/dist/{emailStateMachine-Ba4dmk3l.esm.js → emailStateMachine-_fNnmAC7.esm.js} +2 -2
  65. package/dist/{events-C2lGiIT1.esm.js → events-C3sjvrjL.esm.js} +2 -2
  66. package/dist/events.d.ts +1 -0
  67. package/dist/events.esm.js +2 -2
  68. package/dist/extensibility.d.ts +14 -14
  69. package/dist/extensibility.esm.js +35 -35
  70. package/dist/face-match.esm.js +2 -2
  71. package/dist/{faceCaptureManagerFactory-BJS2Tnx-.esm.js → faceCaptureManagerFactory-THEBUUb4.esm.js} +3 -3
  72. package/dist/{faceCaptureManagerFactory-DLFzd1nq.d.ts → faceCaptureManagerFactory-lVe9Pv_9.d.ts} +3 -3
  73. package/dist/{faceCaptureSetup-Bhz8lwW7.esm.js → faceCaptureSetup-C7XsAZnn.esm.js} +9 -9
  74. package/dist/{faceMatchManager-BFLHLTGE.esm.js → faceMatchManager-k87nK4mq.esm.js} +3 -3
  75. package/dist/{faceMatchStateMachine-Bjjv_w-a.esm.js → faceMatchStateMachine-C4jjFiCT.esm.js} +2 -2
  76. package/dist/{feature-management-C3QneguW.esm.js → feature-management-m4UsSUwN.esm.js} +1 -1
  77. package/dist/feature-management.esm.js +1 -1
  78. package/dist/field-comparison.esm.js +1 -1
  79. package/dist/{fieldComparisonManager-CPQEHk24.esm.js → fieldComparisonManager-ZUiwGMJc.esm.js} +3 -3
  80. package/dist/fiscal-qr.esm.js +1 -1
  81. package/dist/{fiscalQrManager-Ej11Z_Qk.esm.js → fiscalQrManager-CldPP6Os.esm.js} +3 -3
  82. package/dist/flow-events.d.ts +1 -1
  83. package/dist/flow.d.ts +5 -5
  84. package/dist/flow.esm.js +5 -5
  85. package/dist/{flowCompletionService-BlZf2S4D.esm.js → flowCompletionService-BuJ1oerY.esm.js} +2 -2
  86. package/dist/{flowServices-ebGF4q88.esm.js → flowServices-GF1eHOjk.esm.js} +7 -7
  87. package/dist/geolocation.d.ts +1 -1
  88. package/dist/geolocation.esm.js +2 -2
  89. package/dist/{geolocationManager-BiT8y5PE.esm.js → geolocationManager-Clz4mC3u.esm.js} +3 -3
  90. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  91. package/dist/{geolocationStateMachine-DgXn12M8.esm.js → geolocationStateMachine-B2BPALvl.esm.js} +3 -3
  92. package/dist/government-validation.esm.js +2 -2
  93. package/dist/{governmentValidationManager-Dr5zg44a.esm.js → governmentValidationManager-B4ArAcGg.esm.js} +3 -3
  94. package/dist/{governmentValidationStateMachine-BmgcBddx.esm.js → governmentValidationStateMachine-axGh-8TD.esm.js} +1 -1
  95. package/dist/home.d.ts +1 -1
  96. package/dist/home.esm.js +2 -2
  97. package/dist/http.esm.js +1 -1
  98. package/dist/id-ocr.d.ts +1 -1
  99. package/dist/id-ocr.esm.js +2 -2
  100. package/dist/id-selfie-flow.d.ts +1 -1
  101. package/dist/id-selfie-flow.esm.js +6 -6
  102. package/dist/id-verification.esm.js +2 -2
  103. package/dist/id.d.ts +2 -2
  104. package/dist/id.esm.js +3 -3
  105. package/dist/{idCaptureManager-DBVw9Etw.d.ts → idCaptureManager-DkDj5gHx.d.ts} +2 -2
  106. package/dist/{idCaptureManager-kdke1gtm.esm.js → idCaptureManager-omn5pr7y.esm.js} +7 -7
  107. package/dist/{idCaptureServices-D-agq_ax.esm.js → idCaptureServices-wLZw-q26.esm.js} +4 -4
  108. package/dist/{idCaptureStateMachine-B0AxoQow.esm.js → idCaptureStateMachine-DKRg-Ufl.esm.js} +14 -14
  109. package/dist/{idOcrManager-CUqaGVGx.esm.js → idOcrManager-BNKDn2kw.esm.js} +3 -3
  110. package/dist/{idOcrManager-CNGVEZ7B.d.ts → idOcrManager-C3BHGgSb.d.ts} +1 -1
  111. package/dist/{idOcrStateMachine-8PmK-51A.esm.js → idOcrStateMachine-Cu0mWUbo.esm.js} +1 -1
  112. package/dist/{idVerificationManager-BCJSTVib.esm.js → idVerificationManager-BOtnxdC3.esm.js} +3 -3
  113. package/dist/{idVerificationStateMachine-XRiYohGp.esm.js → idVerificationStateMachine-B8eWoP7-.esm.js} +1 -1
  114. package/dist/identity-reuse.d.ts +1 -1
  115. package/dist/identity-reuse.esm.js +2 -2
  116. package/dist/identity-search.esm.js +2 -2
  117. package/dist/{identityReuseManager-BX6Xwekg.esm.js → identityReuseManager-BJye1oP7.esm.js} +3 -3
  118. package/dist/{identityReuseManager-D_jiHp1n.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +4 -4
  119. package/dist/{identityReuseStateMachine-X1jzn8C5.esm.js → identityReuseStateMachine-Dt8zs3Qj.esm.js} +1 -1
  120. package/dist/{index-DxYNO94y.d.ts → index-C0WIMlJE.d.ts} +1 -1
  121. package/dist/index.esm.js +1 -1
  122. package/dist/{invokeOnCaptureCallback-lXP41N7b.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
  123. package/dist/kyb-checks.esm.js +2 -2
  124. package/dist/{kybChecksManager-DjrU0M3B.esm.js → kybChecksManager-10l2WR2F.esm.js} +1 -1
  125. package/dist/{kybChecksStateMachine-DYphplJy.esm.js → kybChecksStateMachine-C1RFwtON.esm.js} +2 -2
  126. package/dist/mandatory-consent.d.ts +2 -2
  127. package/dist/mandatory-consent.esm.js +2 -2
  128. package/dist/{mandatoryConsentManager-H7bI8hDD.d.ts → mandatoryConsentManager-BGGbTEwN.d.ts} +6 -6
  129. package/dist/{mandatoryConsentManager-FKRF94TQ.esm.js → mandatoryConsentManager-DN1AwCQx.esm.js} +3 -3
  130. package/dist/{mandatoryConsentStateMachine-CSF03QyH.esm.js → mandatoryConsentStateMachine-CLQm6Ad-.esm.js} +1 -1
  131. package/dist/{multipartRecordingService-UQ06vyEa.esm.js → multipartRecordingService-DmBEbIol.esm.js} +1 -1
  132. package/dist/phone.esm.js +2 -2
  133. package/dist/{phoneManager-xOrux05n.esm.js → phoneManager-Dbwc_IFU.esm.js} +3 -3
  134. package/dist/{phoneServices-3DueJr0O.esm.js → phoneServices-DX65S3qe.esm.js} +1 -1
  135. package/dist/{phoneStateMachine-Bn9WlZnH.esm.js → phoneStateMachine-Bpy7TZWN.esm.js} +2 -2
  136. package/dist/{processFaceMatch-BwjIWIbi.esm.js → processFaceMatch-BSCDDCky.esm.js} +1 -1
  137. package/dist/qe-signature.esm.js +1 -1
  138. package/dist/{recordingService-DE9YedlD.esm.js → recordingService-CAKIalaG.esm.js} +2 -2
  139. package/dist/redirect-to-mobile.esm.js +2 -2
  140. package/dist/{redirectToMobileManager-PWuwwVbb.esm.js → redirectToMobileManager-f8V6eC1M.esm.js} +3 -3
  141. package/dist/{redirectToMobileStateMachine-DHpg32uO.esm.js → redirectToMobileStateMachine-lXoxB7XV.esm.js} +1 -1
  142. package/dist/{runChildModule-BH_gn9m0.esm.js → runChildModule-y6ly8qGX.esm.js} +2 -2
  143. package/dist/{sdkVersion-CF6EnSdD.esm.js → sdkVersion-F_L7hmUd.esm.js} +1 -1
  144. package/dist/selfie.d.ts +3 -3
  145. package/dist/selfie.esm.js +10 -10
  146. package/dist/{selfieErrorUtils-XE4MAZtM.esm.js → selfieErrorUtils-5bJxFzd6.esm.js} +1 -1
  147. package/dist/{selfieManager-DYsXvWXe.esm.js → selfieManager-C1w36k0m.esm.js} +5 -5
  148. package/dist/{selfieManager-CvWeyYup.d.ts → selfieManager-DoRM58fT.d.ts} +1 -1
  149. package/dist/{selfieStateMachine-sA0CAdEh.esm.js → selfieStateMachine-Br2Bj55v.esm.js} +3 -3
  150. package/dist/{session-BlQhABCI.esm.js → session-DZ6V1DTE.esm.js} +4 -4
  151. package/dist/session.d.ts +1 -1
  152. package/dist/session.esm.js +5 -5
  153. package/dist/{sessionInitializer-CyNOMKjP.esm.js → sessionInitializer-_Sh4CabE.esm.js} +7 -7
  154. package/dist/{setup-Dn7aLuAf.esm.js → setup-DHhq4hrm.esm.js} +8 -8
  155. package/dist/signature.esm.js +2 -2
  156. package/dist/{signatureManager-DIXqYmUN.esm.js → signatureManager-Cvee768u.esm.js} +3 -3
  157. package/dist/{signatureStateMachine-B7yC0mK9.esm.js → signatureStateMachine-CVv3ZeY5.esm.js} +1 -1
  158. package/dist/{stats-ummJank2.esm.js → stats-BYIXomqT.esm.js} +1 -1
  159. package/dist/stats.esm.js +1 -1
  160. package/dist/{trueSightService-CGd9xhHT.esm.js → trueSightService-DOho-FEV.esm.js} +5 -4
  161. package/dist/trust-graph.esm.js +2 -2
  162. package/dist/{types-Ddc4Tr_f.d.ts → types-B2DGXHe6.d.ts} +2 -0
  163. package/dist/types-BNkzXOXE.d.ts +45 -0
  164. package/dist/{types-DJPU3W2M.d.ts → types-BkWUNheX.d.ts} +1 -1
  165. package/dist/types-C2uJrJrS.d.ts +6 -0
  166. package/dist/{types-DYYMdAGv.esm.js → types-CBQN04Rh.esm.js} +2 -1
  167. package/dist/{types-DFP7eSle.d.ts → types-Crg7oL-l.d.ts} +1 -1
  168. package/dist/{types-CYrtpEe5.d.ts → types-DqCEOLF8.d.ts} +1 -1
  169. package/dist/{types-BRmwbyAu.d.ts → types-x5MQKskR.d.ts} +1 -1
  170. package/dist/video-selfie.d.ts +1 -1
  171. package/dist/video-selfie.esm.js +6 -6
  172. package/dist/{videoSelfieCameraWarmer-B7HwT-tE.esm.js → videoSelfieCameraWarmer-B15TIhId.esm.js} +4 -4
  173. package/dist/{videoSelfieStepDetector-DStjqQQm.d.ts → videoSelfieStepDetector-CYvhxbG2.d.ts} +2 -2
  174. package/dist/wasm.esm.js +1 -1
  175. package/dist/watchlist-for-business.esm.js +2 -2
  176. package/dist/watchlist.esm.js +2 -2
  177. package/dist/{watchlistForBusinessManager-CCzx7A5X.esm.js → watchlistForBusinessManager-B3CoCZlU.esm.js} +3 -3
  178. package/dist/{watchlistForBusinessStateMachine-DPS6rkl6.esm.js → watchlistForBusinessStateMachine-ClSxGCmw.esm.js} +1 -1
  179. package/dist/{watchlistManager-DDMrwI-3.esm.js → watchlistManager-X0oD_RE9.esm.js} +3 -3
  180. package/dist/{watchlistStateMachine-BuJHQJ_p.esm.js → watchlistStateMachine-DubBSexb.esm.js} +1 -1
  181. package/dist/workflow.d.ts +1 -1
  182. package/dist/workflow.esm.js +39 -37
  183. package/package.json +6 -1
  184. package/dist/types-Bc1-m6MR.d.ts +0 -6
@@ -1,15 +1,15 @@
1
1
  import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Dn7aLuAf.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DHhq4hrm.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
4
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CGd9xhHT.esm.js";
6
- import "./sessionInitializer-CyNOMKjP.esm.js";
7
- import { t as addDeviceStats } from "./stats-ummJank2.esm.js";
4
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DOho-FEV.esm.js";
6
+ import "./sessionInitializer-_Sh4CabE.esm.js";
7
+ import { t as addDeviceStats } from "./stats-BYIXomqT.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
10
  import { r as hasBackCamera } from "./backCameraStream-Bn9Z5wM5.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { n as saveProcessFaceMatch } from "./processFaceMatch-BwjIWIbi.esm.js";
12
+ import { n as saveProcessFaceMatch } from "./processFaceMatch-BSCDDCky.esm.js";
13
13
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
14
14
  /**
15
15
  * On-device still-face capture is owned by the protected camera-cycle actor.
@@ -235,7 +235,7 @@ function startDetection(params) {
235
235
  };
236
236
  }
237
237
  async function initializeDeepsightSession(options) {
238
- const { loadDeepsightSession } = await import("./deepsightLoader-RG59l8ri.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-BLUSJ6NH.esm.js");
239
239
  return loadDeepsightSession({
240
240
  ds: options.ds,
241
241
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
1
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
3
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-B3-sH5IC.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-D9V5lHkF.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-BpeuH5Wx.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CE2Cxfqy.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-CFkvyDFG.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-TwVzUgUe.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,9 +1,9 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as antifraudMachine } from "./antifraudStateMachine-BpeuH5Wx.esm.js";
6
+ import { t as antifraudMachine } from "./antifraudStateMachine-CFkvyDFG.esm.js";
7
7
  //#region src/modules/antifraud/antifraudActor.ts
8
8
  function createAntifraudActor() {
9
9
  return createActor(antifraudMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
1
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/antifraud/antifraudServices.ts
@@ -89,6 +89,8 @@ const endpoints = {
89
89
  qrValidateUuid: "/omni/qr/validate",
90
90
  addSignature: "/omni/add/signature",
91
91
  addSignatureV2: "/omni/add/signature/v2",
92
+ documentSignatureDocuments: "/omni/document-signature/documents",
93
+ documentSignatureSign: "/omni/document-signature/sign",
92
94
  identityReuseDocuments: "/omni/identity-reuse/documents",
93
95
  identityReuseSubmit: "/omni/identity-reuse/submit",
94
96
  identitySearch: "/omni/identity-search",
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-CGd9xhHT.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DOho-FEV.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { r as getToken } from "./api-BMLJdwd_.esm.js";
1
+ import { r as getToken } from "./api-jplFqPcE.esm.js";
2
2
  import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
3
3
  //#region src/internal/session/attemptCarry.ts
4
4
  const carried = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DLFzd1nq.js";
2
- import { t as AuthenticationConfig } from "./types-Bc1-m6MR.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DWFnFadt.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-lVe9Pv_9.js";
2
+ import { t as AuthenticationConfig } from "./types-C2uJrJrS.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-D65y6VFI.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-C5x183J5.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-9ONStCgT.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DptfsNO0.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D2Tc1zUZ.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-Dn7aLuAf.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-DHhq4hrm.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
3
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
- import "./events-C2lGiIT1.esm.js";
3
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
4
+ import "./events-C3sjvrjL.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BJS2Tnx-.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-C5x183J5.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-THEBUUb4.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-DptfsNO0.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DLFzd1nq.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-lVe9Pv_9.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Bhz8lwW7.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CyJw0IsP.esm.js";
5
- import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-h7SmDXmW.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-C7XsAZnn.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CH8q7pdG.esm.js";
5
+ import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-_aIttlzU.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
@@ -1,3 +1,3 @@
1
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cm3b9OoM.esm.js";
2
- import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-BQ74_sGE.esm.js";
1
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-4NpYY6ct.esm.js";
2
+ import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-CfKhx7Uk.esm.js";
3
3
  export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
@@ -1,8 +1,8 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cm3b9OoM.esm.js";
5
+ import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-4NpYY6ct.esm.js";
6
6
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
7
7
  /**
8
8
  * Creates and starts a certificate issuance actor.
@@ -1,4 +1,4 @@
1
- import { n as getApi, r as getToken, u as endpoints } from "./api-BMLJdwd_.esm.js";
1
+ import { n as getApi, r as getToken, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Bx_osBME.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DlvhoJYc.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,3 +1,3 @@
1
- import { t as consentMachine } from "./consentStateMachine-D0Nh_LD7.esm.js";
2
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DEC34vhb.esm.js";
1
+ import { t as consentMachine } from "./consentStateMachine-Bl6TbzJW.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BaQJnQ8U.esm.js";
3
3
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,9 +1,9 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as consentMachine } from "./consentStateMachine-D0Nh_LD7.esm.js";
6
+ import { t as consentMachine } from "./consentStateMachine-Bl6TbzJW.esm.js";
7
7
  //#region src/modules/consent/consentActor.ts
8
8
  function createConsentActor(options) {
9
9
  return createActor(consentMachine, { input: { config: options.config } }).start();
@@ -75,14 +75,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
75
75
  id: string | undefined;
76
76
  };
77
77
  }>, Values<{
78
- clearError: {
79
- type: "clearError";
80
- params: NonReducibleUnknown;
81
- };
82
78
  setError: {
83
79
  type: "setError";
84
80
  params: NonReducibleUnknown;
85
81
  };
82
+ clearError: {
83
+ type: "clearError";
84
+ params: NonReducibleUnknown;
85
+ };
86
86
  setLoadError: {
87
87
  type: "setLoadError";
88
88
  params: NonReducibleUnknown;
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
105
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
105
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
106
106
  readonly id: "consent";
107
107
  readonly initial: "idle";
108
108
  readonly context: ({ input }: {
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
1
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/consent/consentServices.ts
@@ -1,2 +1,2 @@
1
- import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BHRsIIYY.esm.js";
1
+ import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-DhrMB_iS.esm.js";
2
2
  export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
3
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,4 +1,4 @@
1
- import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-Ci2iVuog.js";
1
+ import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DgUZySoq.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-4MAvdROS.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-nIJpoMnT.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-Bv_PYQq8.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DYfD1Res.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,10 +1,10 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
7
- import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-4MAvdROS.esm.js";
7
+ import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-Bv_PYQq8.esm.js";
8
8
  //#region src/modules/curp-validation/curpValidationActor.ts
9
9
  function createCurpValidationActor(options) {
10
10
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
2
  import { t as Manager } from "./Manager-DufwKlav.js";
3
3
  import "./Actor-DqjOqDfU.js";
4
- import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
4
+ import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -1,7 +1,7 @@
1
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
1
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
- import { t as carryAttempts } from "./attemptCarry-Dp2xFl7A.esm.js";
4
+ import { t as carryAttempts } from "./attemptCarry-Dew-8qhm.esm.js";
5
5
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
6
6
  //#region src/modules/curp-validation/curpValidationUtils.ts
7
7
  /** Convert YYYY-MM-DD to DD/MM/YYYY for the API */
@@ -1,2 +1,2 @@
1
- import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BGCfq1Z3.esm.js";
1
+ import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BYw2qjWs.esm.js";
2
2
  export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
@@ -1,3 +1,3 @@
1
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-5DmmGqzB.esm.js";
2
- import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-B5rEcjyh.esm.js";
1
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuooJa9X.esm.js";
2
+ import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-BMG12VEa.esm.js";
3
3
  export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
3
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
3
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
@@ -1,9 +1,9 @@
1
- import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
1
+ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-5DmmGqzB.esm.js";
6
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuooJa9X.esm.js";
7
7
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
8
8
  function createCustomWatchlistActor() {
9
9
  return createActor(customWatchlistMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
1
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/custom-watchlist/customWatchlistServices.ts
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-CGd9xhHT.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-CF6EnSdD.esm.js";
4
- import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-CyNOMKjP.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-DOho-FEV.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-F_L7hmUd.esm.js";
4
+ import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-_Sh4CabE.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-BZOMg303.esm.js";
3
3
  import { i as utilityWasmApi } from "./WasmUtilProvider-BW_4YKrg.esm.js";
4
- import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
4
+ import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-wzsqfd3B.esm.js";
7
7
  import { l as queryCameraPermission } from "./permissionServices-BMQItC9y.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-CyNndVAT.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-BZBmcOKI.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-Dd3T6bcs.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,3 +1,3 @@
1
- import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-B4CPAJrT.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DODC4eUX.esm.js";
1
+ import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CnKVcxV1.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-B3ZH-_GY.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -0,0 +1,123 @@
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
+ import { i as SignatureMethod, n as SignatureDocument, r as SignatureDocumentFormat, t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
5
+ //#region src/modules/document-signature/documentSignatureStateMachine.d.ts
6
+ type DocumentSignatureErrorCode = 'NO_DOCUMENTS' | 'LOAD_FAILED';
7
+ declare const documentSignatureMachine: any;
8
+ type DocumentSignatureMachine = typeof documentSignatureMachine;
9
+ //#endregion
10
+ //#region src/modules/document-signature/documentSignatureActor.d.ts
11
+ type CreateDocumentSignatureActorOptions = {
12
+ config: DocumentSignatureConfig;
13
+ };
14
+ type DocumentSignatureActor = ActorRefFrom<DocumentSignatureMachine>;
15
+ //#endregion
16
+ //#region src/modules/document-signature/documentSignatureManager.d.ts
17
+ /** Fields shared by every screen that shows the documents. */
18
+ type DocumentSignatureReadingFields = {
19
+ title: string | undefined;
20
+ subtitle: string | undefined;
21
+ consentText: string | undefined;
22
+ documents: SignatureDocument[];
23
+ /** Documents the user has scrolled to the end, by id. */
24
+ reachedEndIds: string[];
25
+ /** True when every document has been scrolled to its end. */
26
+ allRead: boolean;
27
+ /** True when the Sign button is enabled. */
28
+ canSign: boolean;
29
+ };
30
+ type DocumentSignatureSheetFields = {
31
+ method: SignatureMethod;
32
+ typedName: string;
33
+ maxTypedNameLength: number;
34
+ canSubmit: boolean;
35
+ };
36
+ type DocumentSignatureState = {
37
+ status: 'idle';
38
+ } | {
39
+ status: 'loading';
40
+ } | ({
41
+ status: 'reading';
42
+ } & DocumentSignatureReadingFields) | ({
43
+ status: 'signing';
44
+ } & DocumentSignatureReadingFields & DocumentSignatureSheetFields) | ({
45
+ status: 'submitting';
46
+ } & DocumentSignatureReadingFields & DocumentSignatureSheetFields) | {
47
+ status: 'signed';
48
+ documents: SignatureDocument[];
49
+ /** True when the screen shows download links and waits for `continue()`. */
50
+ hasDownloads: boolean;
51
+ } | {
52
+ status: 'signFailed';
53
+ } | {
54
+ status: 'finished';
55
+ } | {
56
+ status: 'error';
57
+ error: DocumentSignatureErrorCode;
58
+ };
59
+ declare function createDocumentSignatureManager(options: CreateDocumentSignatureActorOptions): Manager<DocumentSignatureState> & {
60
+ /** Loads the session's documents. */
61
+ load(): void;
62
+ /**
63
+ * Reports that a document's end is on screen. Repeated calls are ignored.
64
+ * Pass `scrolled: true` when the user scrolled there: then reaching the last
65
+ * end opens the sign sheet.
66
+ */
67
+ reachedEnd(documentId: string, scrolled?: boolean): void;
68
+ /** Opens the sign sheet. Ignored until `canSign` is true. */
69
+ openSign(): void;
70
+ /** Closes the sign sheet without signing. */
71
+ closeSign(): void;
72
+ /** Switches between drawing and typing the name. */
73
+ selectMethod(method: SignatureMethod): void;
74
+ /** Reports the total stroke length, in CSS pixels, of the drawn signature. */
75
+ setDrawing(inkLength: number): void;
76
+ /** Updates the typed name. */
77
+ setTypedName(typedName: string): void;
78
+ /**
79
+ * Signs every document. For a drawn signature, pass the PNG as base64
80
+ * without the `data:` prefix. For a typed name, call it without arguments.
81
+ */
82
+ submit(signatureBase64?: string): void;
83
+ /** After a failed sign or a failed load, loads the documents again. */
84
+ retry(): void;
85
+ /** Leaves the signed screen and finishes the module. Only needed when it shows download links. */
86
+ continue(): void;
87
+ };
88
+ /**
89
+ * Creates a Document Signature manager from a pre-built actor.
90
+ * Use it when you override the machine with `.provide()`.
91
+ */
92
+ declare function createDocumentSignatureManagerFromActor(actor: DocumentSignatureActor): Manager<DocumentSignatureState> & {
93
+ /** Loads the session's documents. */
94
+ load(): void;
95
+ /**
96
+ * Reports that a document's end is on screen. Repeated calls are ignored.
97
+ * Pass `scrolled: true` when the user scrolled there: then reaching the last
98
+ * end opens the sign sheet.
99
+ */
100
+ reachedEnd(documentId: string, scrolled?: boolean): void;
101
+ /** Opens the sign sheet. Ignored until `canSign` is true. */
102
+ openSign(): void;
103
+ /** Closes the sign sheet without signing. */
104
+ closeSign(): void;
105
+ /** Switches between drawing and typing the name. */
106
+ selectMethod(method: SignatureMethod): void;
107
+ /** Reports the total stroke length, in CSS pixels, of the drawn signature. */
108
+ setDrawing(inkLength: number): void;
109
+ /** Updates the typed name. */
110
+ setTypedName(typedName: string): void;
111
+ /**
112
+ * Signs every document. For a drawn signature, pass the PNG as base64
113
+ * without the `data:` prefix. For a typed name, call it without arguments.
114
+ */
115
+ submit(signatureBase64?: string): void;
116
+ /** After a failed sign or a failed load, loads the documents again. */
117
+ retry(): void;
118
+ /** Leaves the signed screen and finishes the module. Only needed when it shows download links. */
119
+ continue(): void;
120
+ };
121
+ type DocumentSignatureManager = ReturnType<typeof createDocumentSignatureManager>;
122
+ //#endregion
123
+ export { type DocumentSignatureActor, type DocumentSignatureConfig, type DocumentSignatureErrorCode, type DocumentSignatureManager, type DocumentSignatureReadingFields, type DocumentSignatureSheetFields, type DocumentSignatureState, type SignatureDocument, type SignatureDocumentFormat, type SignatureMethod, createDocumentSignatureManager, createDocumentSignatureManagerFromActor, documentSignatureMachine };