@incodetech/core 0.0.0-dev-20260617-5d1cd05b → 0.0.0-dev-20260617-7cc8f894

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 (159) hide show
  1. package/dist/{OpenViduRecordingProvider-BDIlX9Cq.esm.js → OpenViduRecordingProvider-DF7A4ZNJ.esm.js} +1 -1
  2. package/dist/{StreamCanvasCapture-uQFmjDCE.d.ts → StreamCanvasCapture-CDN2Apbm.d.ts} +1 -1
  3. package/dist/ae-signature.d.ts +3 -3
  4. package/dist/antifraud.d.ts +3 -3
  5. package/dist/{antifraudManager-vkuogwAe.d.ts → antifraudManager-DbrsuESv.d.ts} +2 -2
  6. package/dist/authentication.d.ts +13 -13
  7. package/dist/authentication.esm.js +5 -5
  8. package/dist/{authenticationManager-Dz4IJIrK.esm.js → authenticationManager-DVgli_vD.esm.js} +1 -1
  9. package/dist/{authenticationManager-CDxVMHF1.d.ts → authenticationManager-DnOZ0hIZ.d.ts} +2 -2
  10. package/dist/{authenticationStateMachine-ZqIWl4M4.esm.js → authenticationStateMachine-PtGChFaq.esm.js} +15 -18
  11. package/dist/camera.d.ts +1 -1
  12. package/dist/certificate-issuance.d.ts +30 -30
  13. package/dist/consent.d.ts +3 -3
  14. package/dist/{consentManager-CAF2IW0s.d.ts → consentManager-CDgMJdcr.d.ts} +54 -54
  15. package/dist/cpf-ocr.d.ts +3 -3
  16. package/dist/{cpfOcrManager-kiBi9K9Q.d.ts → cpfOcrManager-D3lUVFbI.d.ts} +22 -22
  17. package/dist/cross-document-data-match.d.ts +1 -1
  18. package/dist/curp-validation.d.ts +7 -7
  19. package/dist/{curpValidationManager-CeXO_2dN.d.ts → curpValidationManager-Cmv2orSI.d.ts} +3 -3
  20. package/dist/custom-fields.d.ts +2 -2
  21. package/dist/custom-watchlist.d.ts +1 -1
  22. package/dist/{deepsightService-BpVpDm2O.d.ts → deepsightService-DpHuyW3G.d.ts} +1 -1
  23. package/dist/document-capture.d.ts +223 -223
  24. package/dist/document-upload.d.ts +47 -47
  25. package/dist/dynamic-forms.d.ts +2 -2
  26. package/dist/dynamic-forms.esm.js +5 -282
  27. package/dist/dynamicFormsStateMachine-p7MuNqYk.esm.js +284 -0
  28. package/dist/ekyb.d.ts +6 -6
  29. package/dist/ekyb.esm.js +5 -5
  30. package/dist/{ekybStateMachine-Cy7OuZO5.esm.js → ekybStateMachine-CRSuNnsu.esm.js} +2 -2
  31. package/dist/ekyc.d.ts +3 -3
  32. package/dist/ekyc.esm.js +2 -2
  33. package/dist/{ekycStateMachine-dXnYshTa.esm.js → ekycStateMachine-BqzVRrZz.esm.js} +1 -1
  34. package/dist/electronic-signature.d.ts +3 -3
  35. package/dist/email.d.ts +4 -4
  36. package/dist/email.esm.js +3 -3
  37. package/dist/{emailManager-DLFWfHIl.d.ts → emailManager-DbZkzbPP.d.ts} +3 -3
  38. package/dist/{emailManager-DQJIAsix.esm.js → emailManager-DfgCL3O0.esm.js} +2 -2
  39. package/dist/{emailStateMachine-C1DabizS.esm.js → emailStateMachine-DWzBDO0i.esm.js} +1 -1
  40. package/dist/extensibility.d.ts +26 -26
  41. package/dist/extensibility.esm.js +23 -23
  42. package/dist/face-match.d.ts +1 -1
  43. package/dist/face-match.esm.js +1 -1
  44. package/dist/{faceCaptureManagerFactory-BQg4HVQ0.d.ts → faceCaptureManagerFactory-B2Vhybvk.d.ts} +10 -9
  45. package/dist/{faceCaptureSetup-B2H2mNGa.esm.js → faceCaptureSetup-D3yv2HY3.esm.js} +2 -2
  46. package/dist/field-comparison.d.ts +3 -3
  47. package/dist/field-comparison.esm.js +1 -1
  48. package/dist/{fieldComparisonManager-CgJctoEw.d.ts → fieldComparisonManager-6YiDreZW.d.ts} +2 -2
  49. package/dist/fiscal-qr.d.ts +3 -3
  50. package/dist/fiscal-qr.esm.js +1 -1
  51. package/dist/flow-events.d.ts +6 -6
  52. package/dist/flow.d.ts +12 -12
  53. package/dist/flow.esm.js +6 -6
  54. package/dist/{flowServices-CnFH_naz.esm.js → flowServices-BLUYSdW9.esm.js} +1 -1
  55. package/dist/geolocation.d.ts +2 -2
  56. package/dist/geolocation.esm.js +1 -1
  57. package/dist/government-validation.d.ts +3 -3
  58. package/dist/government-validation.esm.js +2 -2
  59. package/dist/{governmentValidationStateMachine-DXqbvuKL.esm.js → governmentValidationStateMachine-CC_MEsWI.esm.js} +1 -1
  60. package/dist/home.d.ts +15 -15
  61. package/dist/http.esm.js +1 -1
  62. package/dist/id-ocr.d.ts +57 -57
  63. package/dist/id-ocr.esm.js +1 -1
  64. package/dist/id-verification.d.ts +27 -27
  65. package/dist/id-verification.esm.js +1 -1
  66. package/dist/id.d.ts +12 -12
  67. package/dist/id.esm.js +7 -7
  68. package/dist/{idCaptureManager-_v38ezWJ.esm.js → idCaptureManager-BsyVVBx7.esm.js} +1 -1
  69. package/dist/{idCaptureManager-Wn84cPTa.d.ts → idCaptureManager-CV3Tioi4.d.ts} +8 -8
  70. package/dist/{idCaptureStateMachine-DAWaBD8P.esm.js → idCaptureStateMachine-DQkygy-A.esm.js} +4 -4
  71. package/dist/identity-reuse.d.ts +3 -3
  72. package/dist/identity-reuse.esm.js +2 -2
  73. package/dist/{identityReuseManager-Bew667Pj.esm.js → identityReuseManager-CqBkUE4l.esm.js} +1 -1
  74. package/dist/{identityReuseManager-DvTLytVg.d.ts → identityReuseManager-Dei197Hq.d.ts} +36 -36
  75. package/dist/{index-DDvichwC.d.ts → index-BFqpqVT2.d.ts} +169 -169
  76. package/dist/{index-cIuvyWMa.d.ts → index-DCwyzc5q.d.ts} +2 -2
  77. package/dist/index.d.ts +3 -3
  78. package/dist/index.esm.js +3 -3
  79. package/dist/mandatory-consent.d.ts +7 -7
  80. package/dist/mandatory-consent.esm.js +2 -2
  81. package/dist/{mandatoryConsentManager-CSusOj_e.d.ts → mandatoryConsentManager-BJRO5-0a.d.ts} +53 -53
  82. package/dist/{mandatoryConsentManager-kbO0Dr65.esm.js → mandatoryConsentManager-Qub7zBH8.esm.js} +1 -1
  83. package/dist/openviduLazy-B_s6jnEk.esm.js +3 -0
  84. package/dist/{openviduLazy-BapX8Ljx.esm.js → openviduLazy-oAXXI9w_.esm.js} +1 -1
  85. package/dist/phone.d.ts +4 -4
  86. package/dist/phone.esm.js +3 -3
  87. package/dist/{phoneManager-CZA4CST1.esm.js → phoneManager-ApM3CWwR.esm.js} +2 -2
  88. package/dist/{phoneManager-CkEiuAuM.d.ts → phoneManager-h6NgdQCA.d.ts} +3 -3
  89. package/dist/{phoneStateMachine-BQNuJGjq.esm.js → phoneStateMachine-Nn0ifgsM.esm.js} +1 -1
  90. package/dist/qe-signature.d.ts +3 -3
  91. package/dist/qe-signature.esm.js +1 -1
  92. package/dist/{recordingService-Cw3hJgT2.esm.js → recordingService-D6wX1gjP.esm.js} +5 -5
  93. package/dist/redirect-to-mobile.d.ts +3 -3
  94. package/dist/redirect-to-mobile.esm.js +2 -2
  95. package/dist/{redirectToMobileManager-B4PTmB3H.esm.js → redirectToMobileManager-Bw0Dew2v.esm.js} +1 -1
  96. package/dist/{redirectToMobileManager-DYQsXMqo.d.ts → redirectToMobileManager-DYv4-nNn.d.ts} +2 -2
  97. package/dist/{runChildModule-DaOsL9FE.esm.js → runChildModule-BGecSlg0.esm.js} +8 -21
  98. package/dist/selfie.d.ts +13 -13
  99. package/dist/selfie.esm.js +6 -6
  100. package/dist/{selfieManager-CxktnRiy.d.ts → selfieManager-BjwgTTSs.d.ts} +2 -2
  101. package/dist/{selfieManager-MGv9xxlB.esm.js → selfieManager-DgUgks9i.esm.js} +1 -1
  102. package/dist/{selfieStateMachine-DIep8sRA.esm.js → selfieStateMachine-YDCX3Ew4.esm.js} +3 -3
  103. package/dist/session.d.ts +5 -5
  104. package/dist/session.esm.js +3 -3
  105. package/dist/{sessionInitializer-D0jTqAT4.esm.js → sessionInitializer-zHt8j5xW.esm.js} +1 -1
  106. package/dist/{setup-K5aPsZ0j.esm.js → setup-BqOF4vbP.esm.js} +2 -2
  107. package/dist/{setup-CbuQnURW.d.ts → setup-DHGBjYDo.d.ts} +2 -2
  108. package/dist/signature.d.ts +2 -2
  109. package/dist/signature.esm.js +1 -1
  110. package/dist/{tri-BO556jKl.esm.js → tri-Dm8DCwTc.esm.js} +1 -1
  111. package/dist/tri.d.ts +1 -1
  112. package/dist/{tri.esm-Drm5tKql.esm.js → tri.esm-Cb1T14_N.esm.js} +1 -1
  113. package/dist/tri.esm.js +1 -1
  114. package/dist/trust-graph.d.ts +3 -3
  115. package/dist/{types-C3Yf5jrM.esm.js → types-BdVOWGGW.esm.js} +2 -1
  116. package/dist/{types-CNiMvUpA.d.ts → types-Cjx73NNd.d.ts} +1 -1
  117. package/dist/{types-D8y52YD5.d.ts → types-Dv-9WPJX.d.ts} +2 -2
  118. package/dist/{types-DR2YKE_o.d.ts → types-Z9wv19v2.d.ts} +1 -1
  119. package/dist/wasm.d.ts +3 -3
  120. package/dist/wasm.esm.js +3 -3
  121. package/dist/watchlist-for-business.d.ts +1 -1
  122. package/dist/watchlist-for-business.esm.js +1 -1
  123. package/dist/watchlist.d.ts +1 -1
  124. package/dist/watchlist.esm.js +1 -1
  125. package/dist/workflow.d.ts +145 -145
  126. package/dist/workflow.esm.js +33 -30
  127. package/package.json +1 -1
  128. package/dist/openviduLazy--VDjpeVq.esm.js +0 -3
  129. /package/dist/{Actor-CeqUTqL9.d.ts → Actor-fIPLXfoi.d.ts} +0 -0
  130. /package/dist/{Manager-CHiHBvMT.d.ts → Manager-Dsj-sPxS.d.ts} +0 -0
  131. /package/dist/{StateMachine-HpHVxl3G.d.ts → StateMachine-BIfEYukU.d.ts} +0 -0
  132. /package/dist/{addressSearch-4xxBiFtH.esm.js → addressSearch-Byq4gwCN.esm.js} +0 -0
  133. /package/dist/{browser-8Za96B1X-CUY3snMa.esm.js → browser-8Za96B1X-2HhouIRF.esm.js} +0 -0
  134. /package/dist/{camera-D0c7ez3w.d.ts → camera-biGPWlmx.d.ts} +0 -0
  135. /package/dist/{deepsightLoader-cR0EgL9O.esm.js → deepsightLoader-D8lOvUfM.esm.js} +0 -0
  136. /package/dist/{faceMatchStateMachine-eQOGyK1R.esm.js → faceMatchStateMachine-BzP_cdwX.esm.js} +0 -0
  137. /package/dist/{fieldComparisonManager-IaJfvmEt.esm.js → fieldComparisonManager-m1j9K66T.esm.js} +0 -0
  138. /package/dist/{flowCompletionService-DSPt5J5M.d.ts → flowCompletionService-BAFssHBk.d.ts} +0 -0
  139. /package/dist/{flowCompletionService-D9l6fDFY.esm.js → flowCompletionService-Y1UICFg1.esm.js} +0 -0
  140. /package/dist/{geolocationStateMachine-CB4yyRz1.esm.js → geolocationStateMachine-BRas1Frw.esm.js} +0 -0
  141. /package/dist/{http-B2UWIXGr.esm.js → http-CfVTgMfU.esm.js} +0 -0
  142. /package/dist/{idOcrStateMachine-BwksZ-bt.esm.js → idOcrStateMachine-DBR2PV3V.esm.js} +0 -0
  143. /package/dist/{idVerificationStateMachine-BMzgkkbQ.esm.js → idVerificationStateMachine-9pEdKmP9.esm.js} +0 -0
  144. /package/dist/{identityReuseStateMachine-CbR5itoo.esm.js → identityReuseStateMachine-Mhf3pwuo.esm.js} +0 -0
  145. /package/dist/{index-B6TAFzyx.d.ts → index-Cu5ZqstL.d.ts} +0 -0
  146. /package/dist/{invokeOnCaptureCallback-DyJrH089.esm.js → invokeOnCaptureCallback-BlFdnfoh.esm.js} +0 -0
  147. /package/dist/{lib-DOI53AqI.esm.js → lib-7ZQ9BdKH.esm.js} +0 -0
  148. /package/dist/{mandatoryConsentStateMachine-DtjGqH2e.esm.js → mandatoryConsentStateMachine-OCd0A55c.esm.js} +0 -0
  149. /package/dist/{otp-BHJnjEEc.d.ts → otp-BwLdGT6f.d.ts} +0 -0
  150. /package/dist/{otp-BcSa5nTM.esm.js → otp-D87RTwrx.esm.js} +0 -0
  151. /package/dist/{qe-signature-BVUV3TE_.esm.js → qe-signature-D6-Qpyfo.esm.js} +0 -0
  152. /package/dist/{redirectToMobileStateMachine-BWrpS_sN.esm.js → redirectToMobileStateMachine-60oeuo-V.esm.js} +0 -0
  153. /package/dist/{session-C_G3d7av.esm.js → session-Da435G0o.esm.js} +0 -0
  154. /package/dist/{signatureStateMachine-B7hxdXio.esm.js → signatureStateMachine-BTkVm04g.esm.js} +0 -0
  155. /package/dist/{types-F0IXbaCB.d.ts → types-D3dxOdyZ.d.ts} +0 -0
  156. /package/dist/{types-C1ixFPzO.d.ts → types-DYZja-k9.d.ts} +0 -0
  157. /package/dist/{warmup-CdT_pVcp.d.ts → warmup--6HA3yUR.d.ts} +0 -0
  158. /package/dist/{watchlistForBusinessStateMachine-D3W0_TEt.esm.js → watchlistForBusinessStateMachine-fEpRdtnj.esm.js} +0 -0
  159. /package/dist/{watchlistStateMachine-D8EXhr5W.esm.js → watchlistStateMachine-C92XRtlP.esm.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as loadOpenVidu } from "./openviduLazy-BapX8Ljx.esm.js";
1
+ import { t as loadOpenVidu } from "./openviduLazy-oAXXI9w_.esm.js";
2
2
 
3
3
  //#region ../infra/src/providers/browser/OpenViduRecordingProvider.ts
4
4
  function createHiddenContainer() {
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-D0c7ez3w.js";
1
+ import { t as CameraStream } from "./camera-biGPWlmx.js";
2
2
 
3
3
  //#region ../infra/src/media/canvas.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DDvichwC.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-BFqpqVT2.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -1,6 +1,6 @@
1
- import "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-vkuogwAe.js";
1
+ import "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-DbrsuESv.js";
4
4
 
5
5
  //#region src/modules/antifraud/types.d.ts
6
6
 
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
3
3
 
4
4
  //#region src/modules/antifraud/antifraudStateMachine.d.ts
5
5
  declare const antifraudMachine: any;
@@ -1,14 +1,14 @@
1
- import "./warmup-CdT_pVcp.js";
2
- import "./Manager-CHiHBvMT.js";
3
- import "./Actor-CeqUTqL9.js";
4
- import "./StateMachine-HpHVxl3G.js";
5
- import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-BQg4HVQ0.js";
6
- import "./camera-D0c7ez3w.js";
7
- import "./types-DR2YKE_o.js";
8
- import "./types-C1ixFPzO.js";
9
- import "./types-D8y52YD5.js";
10
- import "./deepsightService-BpVpDm2O.js";
11
- import "./types-F0IXbaCB.js";
12
- import "./StreamCanvasCapture-uQFmjDCE.js";
13
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CDxVMHF1.js";
1
+ import "./warmup--6HA3yUR.js";
2
+ import "./Manager-Dsj-sPxS.js";
3
+ import "./Actor-fIPLXfoi.js";
4
+ import "./StateMachine-BIfEYukU.js";
5
+ import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-B2Vhybvk.js";
6
+ import "./camera-biGPWlmx.js";
7
+ import "./types-Z9wv19v2.js";
8
+ import "./types-DYZja-k9.js";
9
+ import "./types-Dv-9WPJX.js";
10
+ import "./deepsightService-DpHuyW3G.js";
11
+ import "./types-D3dxOdyZ.js";
12
+ import "./StreamCanvasCapture-CDN2Apbm.js";
13
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DnOZ0hIZ.js";
14
14
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -12,18 +12,18 @@ import "./MotionSensorProvider-C9fPAJdS.esm.js";
12
12
  import "./permissionServices-BApXq7a0.esm.js";
13
13
  import "./camera-x4LjGTjZ.esm.js";
14
14
  import "./faceCaptureManagerFactory-ByC4Qa8y.esm.js";
15
- import "./recordingService-Cw3hJgT2.esm.js";
15
+ import "./recordingService-D6wX1gjP.esm.js";
16
16
  import "./ITimerCapability-BvH0pDwp.esm.js";
17
17
  import "./canvas-7uX2izHb.esm.js";
18
18
  import "./backCameraStream-iftkf3rd.esm.js";
19
19
  import "./deepsightService-40p8oygL.esm.js";
20
20
  import "./getDeviceClass-C0zrM97a.esm.js";
21
21
  import "./getDeviceClass-rXKlXywy.esm.js";
22
- import "./types-C3Yf5jrM.esm.js";
22
+ import "./types-BdVOWGGW.esm.js";
23
23
  import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
24
24
  import "./permissionGuards-MDEdZAXO.esm.js";
25
- import "./faceCaptureSetup-B2H2mNGa.esm.js";
26
- import { t as authenticationMachine } from "./authenticationStateMachine-ZqIWl4M4.esm.js";
27
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Dz4IJIrK.esm.js";
25
+ import "./faceCaptureSetup-D3yv2HY3.esm.js";
26
+ import { t as authenticationMachine } from "./authenticationStateMachine-PtGChFaq.esm.js";
27
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DVgli_vD.esm.js";
28
28
 
29
29
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -3,7 +3,7 @@ import { n as eventModuleNames } from "./events-CmarQoum.esm.js";
3
3
  import { s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
4
4
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CGCKial0.esm.js";
5
5
  import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ByC4Qa8y.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-ZqIWl4M4.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-PtGChFaq.esm.js";
7
7
 
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-BQg4HVQ0.js";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-B2Vhybvk.js";
3
3
 
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
@@ -2,10 +2,10 @@ import { t as api } from "./api-DUZwyz0o.esm.js";
2
2
  import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-32mOt6D8.esm.js";
4
4
  import { a as fromPromise, r as assign } from "./xstate.esm-CbU9dpcC.esm.js";
5
- import { a as defaultPrepareFaceUpload, c as prepareOnDeviceFaceUpload, o as isOnDeviceMode, s as postOnDeviceFaceResults } from "./recordingService-Cw3hJgT2.esm.js";
5
+ import { a as defaultPrepareFaceUpload, c as prepareOnDeviceFaceUpload, o as isOnDeviceMode, s as postOnDeviceFaceResults } from "./recordingService-D6wX1gjP.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-rXKlXywy.esm.js";
7
- import { t as FACE_ERROR_CODES } from "./types-C3Yf5jrM.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-B2H2mNGa.esm.js";
7
+ import { t as FACE_ERROR_CODES } from "./types-BdVOWGGW.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-D3yv2HY3.esm.js";
9
9
 
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
11
11
  const AUTH_ERROR_MAP = {
@@ -85,6 +85,11 @@ const getAuthErrorCodeFromHttpError = (error) => {
85
85
 
86
86
  //#endregion
87
87
  //#region src/modules/authentication/authenticationStateMachine.ts
88
+ /**
89
+ * Narrow the base machine's opaque `uploadResponse` (Record<string, unknown>)
90
+ * to the auth response shape. Centralizes the one cast the auth variant needs.
91
+ */
92
+ const authUploadResponse = (context) => context.uploadResponse;
88
93
  const _authenticationMachine = faceCaptureMachine.provide({
89
94
  actors: {
90
95
  prepareFaceUpload: fromPromise(async ({ input }) => {
@@ -109,38 +114,30 @@ const _authenticationMachine = faceCaptureMachine.provide({
109
114
  actions: {
110
115
  setUploadErrorFromUploadValidation: assign({ uploadError: ({ context }) => {
111
116
  if (isOnDeviceMode(context.config)) return;
112
- const resp = context.uploadResponse;
113
- return validateAuthUploadResponse(resp) ?? FACE_ERROR_CODES.SERVER;
117
+ return validateAuthUploadResponse(authUploadResponse(context)) ?? FACE_ERROR_CODES.SERVER;
114
118
  } }),
115
119
  setTerminalError: assign({ error: ({ context }) => {
116
- const resp = context.uploadResponse;
117
- const moduleErrorCode = resp ? AUTH_ERROR_MAP[resp.error?.name] : void 0;
118
120
  if (context.attemptsRemaining <= 0) return {
119
121
  type: "FACE_AUTH_ERROR",
120
122
  message: "No more attempts remaining",
121
- moduleErrorCode
122
- };
123
- if (!resp) return {
124
- type: "FACE_AUTH_ERROR",
125
- message: "Authentication failed"
123
+ moduleErrorCode: FACE_ERROR_CODES.NO_MORE_ATTEMPTS
126
124
  };
125
+ const resp = authUploadResponse(context);
127
126
  return {
128
127
  type: "FACE_AUTH_ERROR",
129
- message: resp.error?.message ?? resp.error?.name ?? "Face authentication error",
130
- moduleErrorCode
128
+ message: resp?.error.message ?? resp?.error.name ?? "Face authentication error",
129
+ moduleErrorCode: resp ? AUTH_ERROR_MAP[resp.error.name] : void 0
131
130
  };
132
131
  } })
133
132
  },
134
133
  guards: {
135
134
  hasUploadValidationError: ({ context }) => {
136
135
  if (isOnDeviceMode(context.config)) return false;
137
- const resp = context.uploadResponse;
138
- return validateAuthUploadResponse(resp) !== void 0;
136
+ return validateAuthUploadResponse(authUploadResponse(context)) !== void 0;
139
137
  },
140
138
  isTerminalUploadError: ({ context }) => {
141
139
  if (isOnDeviceMode(context.config)) return false;
142
- const resp = context.uploadResponse;
143
- return isTerminalAuthError(resp, context.attemptsRemaining);
140
+ return isTerminalAuthError(authUploadResponse(context), context.attemptsRemaining);
144
141
  },
145
142
  isNoAttemptsTerminal: () => true
146
143
  }
package/dist/camera.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as PermissionStatus, t as PermissionResult } from "./types-F0IXbaCB.js";
1
+ import { n as PermissionStatus, t as PermissionResult } from "./types-D3dxOdyZ.js";
2
2
 
3
3
  //#region src/internal/permissions/permissionServices.d.ts
4
4
  type RequestPermissionOptions = {
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import * as xstate934 from "xstate";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import * as xstate442 from "xstate";
4
4
 
5
5
  //#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
6
6
  declare const MIN_PASSWORD_LENGTH = 8;
@@ -39,7 +39,7 @@ type CertificateIssuanceContext = {
39
39
  type CertificateIssuanceInput = {
40
40
  config: CertificateIssuanceConfig;
41
41
  };
42
- declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssuanceContext, {
42
+ declare const certificateIssuanceMachine: xstate442.StateMachine<CertificateIssuanceContext, {
43
43
  type: "LOAD";
44
44
  } | {
45
45
  type: "PASSWORD_CHANGED";
@@ -53,28 +53,28 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
53
53
  } | {
54
54
  type: "FINISH";
55
55
  }, {
56
- [x: string]: xstate934.ActorRefFromLogic<xstate934.PromiseActorLogic<IssueCertificateResponse, {
56
+ [x: string]: xstate442.ActorRefFromLogic<xstate442.PromiseActorLogic<IssueCertificateResponse, {
57
57
  password: string;
58
- }, xstate934.EventObject>> | undefined;
58
+ }, xstate442.EventObject>> | undefined;
59
59
  }, {
60
60
  src: "issueCertificate";
61
- logic: xstate934.PromiseActorLogic<IssueCertificateResponse, {
61
+ logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
62
62
  password: string;
63
- }, xstate934.EventObject>;
63
+ }, xstate442.EventObject>;
64
64
  id: string | undefined;
65
- }, xstate934.Values<{
65
+ }, xstate442.Values<{
66
66
  setPassword: {
67
67
  type: "setPassword";
68
- params: xstate934.NonReducibleUnknown;
68
+ params: xstate442.NonReducibleUnknown;
69
69
  };
70
70
  setBlob: {
71
71
  type: "setBlob";
72
- params: xstate934.NonReducibleUnknown;
72
+ params: xstate442.NonReducibleUnknown;
73
73
  };
74
74
  }>, {
75
75
  type: "isPasswordValid";
76
76
  params: unknown;
77
- }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate934.NonReducibleUnknown, xstate934.EventObject, xstate934.MetaObject, {
77
+ }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate442.NonReducibleUnknown, xstate442.EventObject, xstate442.MetaObject, {
78
78
  readonly id: "certificateIssuance";
79
79
  readonly initial: "idle";
80
80
  readonly context: ({
@@ -83,39 +83,39 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
83
83
  spawn: {
84
84
  <TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
85
85
  src: "issueCertificate";
86
- logic: xstate934.PromiseActorLogic<IssueCertificateResponse, {
86
+ logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
87
87
  password: string;
88
- }, xstate934.EventObject>;
88
+ }, xstate442.EventObject>;
89
89
  id: string | undefined;
90
90
  } extends infer T ? T extends {
91
91
  src: "issueCertificate";
92
- logic: xstate934.PromiseActorLogic<IssueCertificateResponse, {
92
+ logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
93
93
  password: string;
94
- }, xstate934.EventObject>;
94
+ }, xstate442.EventObject>;
95
95
  id: string | undefined;
96
96
  } ? T extends {
97
97
  src: TSrc;
98
- } ? xstate934.ConditionalRequired<[options?: ({
98
+ } ? xstate442.ConditionalRequired<[options?: ({
99
99
  id?: T["id"] | undefined;
100
100
  systemId?: string;
101
- input?: xstate934.InputFrom<T["logic"]> | undefined;
101
+ input?: xstate442.InputFrom<T["logic"]> | undefined;
102
102
  syncSnapshot?: boolean;
103
- } & { [K in xstate934.RequiredActorOptions<T>]: unknown }) | undefined], xstate934.IsNotNever<xstate934.RequiredActorOptions<T>>> : never : never : never): xstate934.ActorRefFromLogic<xstate934.GetConcreteByKey<{
103
+ } & { [K in xstate442.RequiredActorOptions<T>]: unknown }) | undefined], xstate442.IsNotNever<xstate442.RequiredActorOptions<T>>> : never : never : never): xstate442.ActorRefFromLogic<xstate442.GetConcreteByKey<{
104
104
  src: "issueCertificate";
105
- logic: xstate934.PromiseActorLogic<IssueCertificateResponse, {
105
+ logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
106
106
  password: string;
107
- }, xstate934.EventObject>;
107
+ }, xstate442.EventObject>;
108
108
  id: string | undefined;
109
109
  }, "src", TSrc>["logic"]>;
110
- <TLogic extends xstate934.AnyActorLogic>(src: TLogic, ...[options]: xstate934.ConditionalRequired<[options?: ({
110
+ <TLogic extends xstate442.AnyActorLogic>(src: TLogic, ...[options]: xstate442.ConditionalRequired<[options?: ({
111
111
  id?: never;
112
112
  systemId?: string;
113
- input?: xstate934.InputFrom<TLogic> | undefined;
113
+ input?: xstate442.InputFrom<TLogic> | undefined;
114
114
  syncSnapshot?: boolean;
115
- } & { [K in xstate934.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate934.IsNotNever<xstate934.RequiredLogicInput<TLogic>>>): xstate934.ActorRefFromLogic<TLogic>;
115
+ } & { [K in xstate442.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate442.IsNotNever<xstate442.RequiredLogicInput<TLogic>>>): xstate442.ActorRefFromLogic<TLogic>;
116
116
  };
117
117
  input: CertificateIssuanceInput;
118
- self: xstate934.ActorRef<xstate934.MachineSnapshot<CertificateIssuanceContext, {
118
+ self: xstate442.ActorRef<xstate442.MachineSnapshot<CertificateIssuanceContext, {
119
119
  type: "LOAD";
120
120
  } | {
121
121
  type: "PASSWORD_CHANGED";
@@ -128,7 +128,7 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
128
128
  type: "DOWNLOAD_FAILED";
129
129
  } | {
130
130
  type: "FINISH";
131
- }, Record<string, xstate934.AnyActorRef | undefined>, xstate934.StateValue, string, unknown, any, any>, {
131
+ }, Record<string, xstate442.AnyActorRef | undefined>, xstate442.StateValue, string, unknown, any, any>, {
132
132
  type: "LOAD";
133
133
  } | {
134
134
  type: "PASSWORD_CHANGED";
@@ -141,7 +141,7 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
141
141
  type: "DOWNLOAD_FAILED";
142
142
  } | {
143
143
  type: "FINISH";
144
- }, xstate934.AnyEventObject>;
144
+ }, xstate442.AnyEventObject>;
145
145
  }) => {
146
146
  config: CertificateIssuanceConfig;
147
147
  password: string;
@@ -189,7 +189,7 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
189
189
  } | {
190
190
  type: "FINISH";
191
191
  };
192
- self: xstate934.ActorRef<xstate934.MachineSnapshot<CertificateIssuanceContext, {
192
+ self: xstate442.ActorRef<xstate442.MachineSnapshot<CertificateIssuanceContext, {
193
193
  type: "LOAD";
194
194
  } | {
195
195
  type: "PASSWORD_CHANGED";
@@ -202,7 +202,7 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
202
202
  type: "DOWNLOAD_FAILED";
203
203
  } | {
204
204
  type: "FINISH";
205
- }, Record<string, xstate934.AnyActorRef>, xstate934.StateValue, string, unknown, any, any>, {
205
+ }, Record<string, xstate442.AnyActorRef>, xstate442.StateValue, string, unknown, any, any>, {
206
206
  type: "LOAD";
207
207
  } | {
208
208
  type: "PASSWORD_CHANGED";
@@ -215,7 +215,7 @@ declare const certificateIssuanceMachine: xstate934.StateMachine<CertificateIssu
215
215
  type: "DOWNLOAD_FAILED";
216
216
  } | {
217
217
  type: "FINISH";
218
- }, xstate934.AnyEventObject>;
218
+ }, xstate442.AnyEventObject>;
219
219
  }) => {
220
220
  password: string;
221
221
  };
package/dist/consent.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- 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-CAF2IW0s.js";
1
+ import "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ 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-CDgMJdcr.js";
4
4
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CHiHBvMT.js";
2
- import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
3
- import * as xstate1305 from "xstate";
1
+ import { t as Manager } from "./Manager-Dsj-sPxS.js";
2
+ import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
3
+ import * as xstate374 from "xstate";
4
4
 
5
5
  //#region src/modules/consent/types.d.ts
6
6
  type ConsentConfig = {
@@ -37,7 +37,7 @@ type ConsentContext = {
37
37
  type ConsentInput = {
38
38
  config: ConsentConfig;
39
39
  };
40
- declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
40
+ declare const consentMachine: xstate374.StateMachine<ConsentContext, {
41
41
  type: "LOAD";
42
42
  } | {
43
43
  type: "TOGGLE_CHECKBOX";
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
49
49
  } | {
50
50
  type: "RESET";
51
51
  }, {
52
- [x: string]: xstate1305.ActorRefFromLogic<xstate1305.PromiseActorLogic<FetchCombinedConsentResponse, {
52
+ [x: string]: xstate374.ActorRefFromLogic<xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
53
53
  consentId: string;
54
54
  language?: string;
55
- }, xstate1305.EventObject>> | xstate1305.ActorRefFromLogic<xstate1305.PromiseActorLogic<void, {
55
+ }, xstate374.EventObject>> | xstate374.ActorRefFromLogic<xstate374.PromiseActorLogic<void, {
56
56
  languageConsentId: string;
57
57
  checkboxes: ConsentCheckbox[];
58
- }, xstate1305.EventObject>> | undefined;
59
- }, xstate1305.Values<{
58
+ }, xstate374.EventObject>> | undefined;
59
+ }, xstate374.Values<{
60
60
  fetchConsent: {
61
61
  src: "fetchConsent";
62
- logic: xstate1305.PromiseActorLogic<FetchCombinedConsentResponse, {
62
+ logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
63
63
  consentId: string;
64
64
  language?: string;
65
- }, xstate1305.EventObject>;
65
+ }, xstate374.EventObject>;
66
66
  id: string | undefined;
67
67
  };
68
68
  submitConsent: {
69
69
  src: "submitConsent";
70
- logic: xstate1305.PromiseActorLogic<void, {
70
+ logic: xstate374.PromiseActorLogic<void, {
71
71
  languageConsentId: string;
72
72
  checkboxes: ConsentCheckbox[];
73
- }, xstate1305.EventObject>;
73
+ }, xstate374.EventObject>;
74
74
  id: string | undefined;
75
75
  };
76
- }>, xstate1305.Values<{
77
- clearError: {
78
- type: "clearError";
79
- params: xstate1305.NonReducibleUnknown;
80
- };
76
+ }>, xstate374.Values<{
81
77
  setError: {
82
78
  type: "setError";
83
- params: xstate1305.NonReducibleUnknown;
79
+ params: xstate374.NonReducibleUnknown;
84
80
  };
85
- resetContext: {
86
- type: "resetContext";
87
- params: xstate1305.NonReducibleUnknown;
81
+ clearError: {
82
+ type: "clearError";
83
+ params: xstate374.NonReducibleUnknown;
88
84
  };
89
85
  setConsentData: {
90
86
  type: "setConsentData";
91
- params: xstate1305.NonReducibleUnknown;
87
+ params: xstate374.NonReducibleUnknown;
92
88
  };
93
89
  toggleCheckbox: {
94
90
  type: "toggleCheckbox";
95
- params: xstate1305.NonReducibleUnknown;
91
+ params: xstate374.NonReducibleUnknown;
92
+ };
93
+ resetContext: {
94
+ type: "resetContext";
95
+ params: xstate374.NonReducibleUnknown;
96
96
  };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
100
- }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate1305.NonReducibleUnknown, xstate1305.EventObject, xstate1305.MetaObject, {
100
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate374.NonReducibleUnknown, xstate374.EventObject, xstate374.MetaObject, {
101
101
  readonly id: "consent";
102
102
  readonly initial: "idle";
103
103
  readonly context: ({
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
106
106
  spawn: {
107
107
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
108
108
  src: "fetchConsent";
109
- logic: xstate1305.PromiseActorLogic<FetchCombinedConsentResponse, {
109
+ logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
110
110
  consentId: string;
111
111
  language?: string;
112
- }, xstate1305.EventObject>;
112
+ }, xstate374.EventObject>;
113
113
  id: string | undefined;
114
114
  } extends infer T ? T extends {
115
115
  src: "fetchConsent";
116
- logic: xstate1305.PromiseActorLogic<FetchCombinedConsentResponse, {
116
+ logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
117
117
  consentId: string;
118
118
  language?: string;
119
- }, xstate1305.EventObject>;
119
+ }, xstate374.EventObject>;
120
120
  id: string | undefined;
121
121
  } ? T extends {
122
122
  src: TSrc;
123
- } ? xstate1305.ConditionalRequired<[options?: ({
123
+ } ? xstate374.ConditionalRequired<[options?: ({
124
124
  id?: T["id"] | undefined;
125
125
  systemId?: string;
126
- input?: xstate1305.InputFrom<T["logic"]> | undefined;
126
+ input?: xstate374.InputFrom<T["logic"]> | undefined;
127
127
  syncSnapshot?: boolean;
128
- } & { [K in xstate1305.RequiredActorOptions<T>]: unknown }) | undefined], xstate1305.IsNotNever<xstate1305.RequiredActorOptions<T>>> : never : never : never) | ({
128
+ } & { [K in xstate374.RequiredActorOptions<T>]: unknown }) | undefined], xstate374.IsNotNever<xstate374.RequiredActorOptions<T>>> : never : never : never) | ({
129
129
  src: "submitConsent";
130
- logic: xstate1305.PromiseActorLogic<void, {
130
+ logic: xstate374.PromiseActorLogic<void, {
131
131
  languageConsentId: string;
132
132
  checkboxes: ConsentCheckbox[];
133
- }, xstate1305.EventObject>;
133
+ }, xstate374.EventObject>;
134
134
  id: string | undefined;
135
135
  } extends infer T_1 ? T_1 extends {
136
136
  src: "submitConsent";
137
- logic: xstate1305.PromiseActorLogic<void, {
137
+ logic: xstate374.PromiseActorLogic<void, {
138
138
  languageConsentId: string;
139
139
  checkboxes: ConsentCheckbox[];
140
- }, xstate1305.EventObject>;
140
+ }, xstate374.EventObject>;
141
141
  id: string | undefined;
142
142
  } ? T_1 extends {
143
143
  src: TSrc;
144
- } ? xstate1305.ConditionalRequired<[options?: ({
144
+ } ? xstate374.ConditionalRequired<[options?: ({
145
145
  id?: T_1["id"] | undefined;
146
146
  systemId?: string;
147
- input?: xstate1305.InputFrom<T_1["logic"]> | undefined;
147
+ input?: xstate374.InputFrom<T_1["logic"]> | undefined;
148
148
  syncSnapshot?: boolean;
149
- } & { [K_1 in xstate1305.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1305.IsNotNever<xstate1305.RequiredActorOptions<T_1>>> : never : never : never)): xstate1305.ActorRefFromLogic<xstate1305.GetConcreteByKey<xstate1305.Values<{
149
+ } & { [K_1 in xstate374.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate374.IsNotNever<xstate374.RequiredActorOptions<T_1>>> : never : never : never)): xstate374.ActorRefFromLogic<xstate374.GetConcreteByKey<xstate374.Values<{
150
150
  fetchConsent: {
151
151
  src: "fetchConsent";
152
- logic: xstate1305.PromiseActorLogic<FetchCombinedConsentResponse, {
152
+ logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
153
153
  consentId: string;
154
154
  language?: string;
155
- }, xstate1305.EventObject>;
155
+ }, xstate374.EventObject>;
156
156
  id: string | undefined;
157
157
  };
158
158
  submitConsent: {
159
159
  src: "submitConsent";
160
- logic: xstate1305.PromiseActorLogic<void, {
160
+ logic: xstate374.PromiseActorLogic<void, {
161
161
  languageConsentId: string;
162
162
  checkboxes: ConsentCheckbox[];
163
- }, xstate1305.EventObject>;
163
+ }, xstate374.EventObject>;
164
164
  id: string | undefined;
165
165
  };
166
166
  }>, "src", TSrc>["logic"]>;
167
- <TLogic extends xstate1305.AnyActorLogic>(src: TLogic, ...[options]: xstate1305.ConditionalRequired<[options?: ({
167
+ <TLogic extends xstate374.AnyActorLogic>(src: TLogic, ...[options]: xstate374.ConditionalRequired<[options?: ({
168
168
  id?: never;
169
169
  systemId?: string;
170
- input?: xstate1305.InputFrom<TLogic> | undefined;
170
+ input?: xstate374.InputFrom<TLogic> | undefined;
171
171
  syncSnapshot?: boolean;
172
- } & { [K in xstate1305.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1305.IsNotNever<xstate1305.RequiredLogicInput<TLogic>>>): xstate1305.ActorRefFromLogic<TLogic>;
172
+ } & { [K in xstate374.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate374.IsNotNever<xstate374.RequiredLogicInput<TLogic>>>): xstate374.ActorRefFromLogic<TLogic>;
173
173
  };
174
174
  input: ConsentInput;
175
- self: xstate1305.ActorRef<xstate1305.MachineSnapshot<ConsentContext, {
175
+ self: xstate374.ActorRef<xstate374.MachineSnapshot<ConsentContext, {
176
176
  type: "LOAD";
177
177
  } | {
178
178
  type: "TOGGLE_CHECKBOX";
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
183
183
  type: "RETRY";
184
184
  } | {
185
185
  type: "RESET";
186
- }, Record<string, xstate1305.AnyActorRef | undefined>, xstate1305.StateValue, string, unknown, any, any>, {
186
+ }, Record<string, xstate374.AnyActorRef | undefined>, xstate374.StateValue, string, unknown, any, any>, {
187
187
  type: "LOAD";
188
188
  } | {
189
189
  type: "TOGGLE_CHECKBOX";
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
194
194
  type: "RETRY";
195
195
  } | {
196
196
  type: "RESET";
197
- }, xstate1305.AnyEventObject>;
197
+ }, xstate374.AnyEventObject>;
198
198
  }) => {
199
199
  config: ConsentConfig;
200
200
  title: string;
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
232
232
  } | {
233
233
  type: "RESET";
234
234
  };
235
- self: xstate1305.ActorRef<xstate1305.MachineSnapshot<ConsentContext, {
235
+ self: xstate374.ActorRef<xstate374.MachineSnapshot<ConsentContext, {
236
236
  type: "LOAD";
237
237
  } | {
238
238
  type: "TOGGLE_CHECKBOX";
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
243
243
  type: "RETRY";
244
244
  } | {
245
245
  type: "RESET";
246
- }, Record<string, xstate1305.AnyActorRef>, xstate1305.StateValue, string, unknown, any, any>, {
246
+ }, Record<string, xstate374.AnyActorRef>, xstate374.StateValue, string, unknown, any, any>, {
247
247
  type: "LOAD";
248
248
  } | {
249
249
  type: "TOGGLE_CHECKBOX";
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
254
254
  type: "RETRY";
255
255
  } | {
256
256
  type: "RESET";
257
- }, xstate1305.AnyEventObject>;
257
+ }, xstate374.AnyEventObject>;
258
258
  }) => {
259
259
  consentId: string;
260
260
  language: string | undefined;
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
304
304
  } | {
305
305
  type: "RESET";
306
306
  };
307
- self: xstate1305.ActorRef<xstate1305.MachineSnapshot<ConsentContext, {
307
+ self: xstate374.ActorRef<xstate374.MachineSnapshot<ConsentContext, {
308
308
  type: "LOAD";
309
309
  } | {
310
310
  type: "TOGGLE_CHECKBOX";
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
315
315
  type: "RETRY";
316
316
  } | {
317
317
  type: "RESET";
318
- }, Record<string, xstate1305.AnyActorRef>, xstate1305.StateValue, string, unknown, any, any>, {
318
+ }, Record<string, xstate374.AnyActorRef>, xstate374.StateValue, string, unknown, any, any>, {
319
319
  type: "LOAD";
320
320
  } | {
321
321
  type: "TOGGLE_CHECKBOX";
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1305.StateMachine<ConsentContext, {
326
326
  type: "RETRY";
327
327
  } | {
328
328
  type: "RESET";
329
- }, xstate1305.AnyEventObject>;
329
+ }, xstate374.AnyEventObject>;
330
330
  }) => {
331
331
  languageConsentId: string;
332
332
  checkboxes: ConsentCheckbox[];
package/dist/cpf-ocr.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import "./Manager-CHiHBvMT.js";
2
- import "./Actor-CeqUTqL9.js";
3
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-kiBi9K9Q.js";
1
+ import "./Manager-Dsj-sPxS.js";
2
+ import "./Actor-fIPLXfoi.js";
3
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-D3lUVFbI.js";
4
4
 
5
5
  //#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
6
6
  declare function formatCPF(value: string): string;