@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.
- package/dist/{OpenViduRecordingProvider-BDIlX9Cq.esm.js → OpenViduRecordingProvider-DF7A4ZNJ.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-uQFmjDCE.d.ts → StreamCanvasCapture-CDN2Apbm.d.ts} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/antifraud.d.ts +3 -3
- package/dist/{antifraudManager-vkuogwAe.d.ts → antifraudManager-DbrsuESv.d.ts} +2 -2
- package/dist/authentication.d.ts +13 -13
- package/dist/authentication.esm.js +5 -5
- package/dist/{authenticationManager-Dz4IJIrK.esm.js → authenticationManager-DVgli_vD.esm.js} +1 -1
- package/dist/{authenticationManager-CDxVMHF1.d.ts → authenticationManager-DnOZ0hIZ.d.ts} +2 -2
- package/dist/{authenticationStateMachine-ZqIWl4M4.esm.js → authenticationStateMachine-PtGChFaq.esm.js} +15 -18
- package/dist/camera.d.ts +1 -1
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/consent.d.ts +3 -3
- package/dist/{consentManager-CAF2IW0s.d.ts → consentManager-CDgMJdcr.d.ts} +54 -54
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/{cpfOcrManager-kiBi9K9Q.d.ts → cpfOcrManager-D3lUVFbI.d.ts} +22 -22
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/curp-validation.d.ts +7 -7
- package/dist/{curpValidationManager-CeXO_2dN.d.ts → curpValidationManager-Cmv2orSI.d.ts} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/{deepsightService-BpVpDm2O.d.ts → deepsightService-DpHuyW3G.d.ts} +1 -1
- package/dist/document-capture.d.ts +223 -223
- package/dist/document-upload.d.ts +47 -47
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -282
- package/dist/dynamicFormsStateMachine-p7MuNqYk.esm.js +284 -0
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +5 -5
- package/dist/{ekybStateMachine-Cy7OuZO5.esm.js → ekybStateMachine-CRSuNnsu.esm.js} +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycStateMachine-dXnYshTa.esm.js → ekycStateMachine-BqzVRrZz.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-DLFWfHIl.d.ts → emailManager-DbZkzbPP.d.ts} +3 -3
- package/dist/{emailManager-DQJIAsix.esm.js → emailManager-DfgCL3O0.esm.js} +2 -2
- package/dist/{emailStateMachine-C1DabizS.esm.js → emailStateMachine-DWzBDO0i.esm.js} +1 -1
- package/dist/extensibility.d.ts +26 -26
- package/dist/extensibility.esm.js +23 -23
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-BQg4HVQ0.d.ts → faceCaptureManagerFactory-B2Vhybvk.d.ts} +10 -9
- package/dist/{faceCaptureSetup-B2H2mNGa.esm.js → faceCaptureSetup-D3yv2HY3.esm.js} +2 -2
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CgJctoEw.d.ts → fieldComparisonManager-6YiDreZW.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +3 -3
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +6 -6
- package/dist/{flowServices-CnFH_naz.esm.js → flowServices-BLUYSdW9.esm.js} +1 -1
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-DXqbvuKL.esm.js → governmentValidationStateMachine-CC_MEsWI.esm.js} +1 -1
- package/dist/home.d.ts +15 -15
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +57 -57
- package/dist/id-ocr.esm.js +1 -1
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +12 -12
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-_v38ezWJ.esm.js → idCaptureManager-BsyVVBx7.esm.js} +1 -1
- package/dist/{idCaptureManager-Wn84cPTa.d.ts → idCaptureManager-CV3Tioi4.d.ts} +8 -8
- package/dist/{idCaptureStateMachine-DAWaBD8P.esm.js → idCaptureStateMachine-DQkygy-A.esm.js} +4 -4
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-Bew667Pj.esm.js → identityReuseManager-CqBkUE4l.esm.js} +1 -1
- package/dist/{identityReuseManager-DvTLytVg.d.ts → identityReuseManager-Dei197Hq.d.ts} +36 -36
- package/dist/{index-DDvichwC.d.ts → index-BFqpqVT2.d.ts} +169 -169
- package/dist/{index-cIuvyWMa.d.ts → index-DCwyzc5q.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CSusOj_e.d.ts → mandatoryConsentManager-BJRO5-0a.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-kbO0Dr65.esm.js → mandatoryConsentManager-Qub7zBH8.esm.js} +1 -1
- package/dist/openviduLazy-B_s6jnEk.esm.js +3 -0
- package/dist/{openviduLazy-BapX8Ljx.esm.js → openviduLazy-oAXXI9w_.esm.js} +1 -1
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-CZA4CST1.esm.js → phoneManager-ApM3CWwR.esm.js} +2 -2
- package/dist/{phoneManager-CkEiuAuM.d.ts → phoneManager-h6NgdQCA.d.ts} +3 -3
- package/dist/{phoneStateMachine-BQNuJGjq.esm.js → phoneStateMachine-Nn0ifgsM.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-Cw3hJgT2.esm.js → recordingService-D6wX1gjP.esm.js} +5 -5
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-B4PTmB3H.esm.js → redirectToMobileManager-Bw0Dew2v.esm.js} +1 -1
- package/dist/{redirectToMobileManager-DYQsXMqo.d.ts → redirectToMobileManager-DYv4-nNn.d.ts} +2 -2
- package/dist/{runChildModule-DaOsL9FE.esm.js → runChildModule-BGecSlg0.esm.js} +8 -21
- package/dist/selfie.d.ts +13 -13
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-CxktnRiy.d.ts → selfieManager-BjwgTTSs.d.ts} +2 -2
- package/dist/{selfieManager-MGv9xxlB.esm.js → selfieManager-DgUgks9i.esm.js} +1 -1
- package/dist/{selfieStateMachine-DIep8sRA.esm.js → selfieStateMachine-YDCX3Ew4.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +3 -3
- package/dist/{sessionInitializer-D0jTqAT4.esm.js → sessionInitializer-zHt8j5xW.esm.js} +1 -1
- package/dist/{setup-K5aPsZ0j.esm.js → setup-BqOF4vbP.esm.js} +2 -2
- package/dist/{setup-CbuQnURW.d.ts → setup-DHGBjYDo.d.ts} +2 -2
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-BO556jKl.esm.js → tri-Dm8DCwTc.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-Drm5tKql.esm.js → tri.esm-Cb1T14_N.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +3 -3
- package/dist/{types-C3Yf5jrM.esm.js → types-BdVOWGGW.esm.js} +2 -1
- package/dist/{types-CNiMvUpA.d.ts → types-Cjx73NNd.d.ts} +1 -1
- package/dist/{types-D8y52YD5.d.ts → types-Dv-9WPJX.d.ts} +2 -2
- package/dist/{types-DR2YKE_o.d.ts → types-Z9wv19v2.d.ts} +1 -1
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +145 -145
- package/dist/workflow.esm.js +33 -30
- package/package.json +1 -1
- package/dist/openviduLazy--VDjpeVq.esm.js +0 -3
- /package/dist/{Actor-CeqUTqL9.d.ts → Actor-fIPLXfoi.d.ts} +0 -0
- /package/dist/{Manager-CHiHBvMT.d.ts → Manager-Dsj-sPxS.d.ts} +0 -0
- /package/dist/{StateMachine-HpHVxl3G.d.ts → StateMachine-BIfEYukU.d.ts} +0 -0
- /package/dist/{addressSearch-4xxBiFtH.esm.js → addressSearch-Byq4gwCN.esm.js} +0 -0
- /package/dist/{browser-8Za96B1X-CUY3snMa.esm.js → browser-8Za96B1X-2HhouIRF.esm.js} +0 -0
- /package/dist/{camera-D0c7ez3w.d.ts → camera-biGPWlmx.d.ts} +0 -0
- /package/dist/{deepsightLoader-cR0EgL9O.esm.js → deepsightLoader-D8lOvUfM.esm.js} +0 -0
- /package/dist/{faceMatchStateMachine-eQOGyK1R.esm.js → faceMatchStateMachine-BzP_cdwX.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-IaJfvmEt.esm.js → fieldComparisonManager-m1j9K66T.esm.js} +0 -0
- /package/dist/{flowCompletionService-DSPt5J5M.d.ts → flowCompletionService-BAFssHBk.d.ts} +0 -0
- /package/dist/{flowCompletionService-D9l6fDFY.esm.js → flowCompletionService-Y1UICFg1.esm.js} +0 -0
- /package/dist/{geolocationStateMachine-CB4yyRz1.esm.js → geolocationStateMachine-BRas1Frw.esm.js} +0 -0
- /package/dist/{http-B2UWIXGr.esm.js → http-CfVTgMfU.esm.js} +0 -0
- /package/dist/{idOcrStateMachine-BwksZ-bt.esm.js → idOcrStateMachine-DBR2PV3V.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-BMzgkkbQ.esm.js → idVerificationStateMachine-9pEdKmP9.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-CbR5itoo.esm.js → identityReuseStateMachine-Mhf3pwuo.esm.js} +0 -0
- /package/dist/{index-B6TAFzyx.d.ts → index-Cu5ZqstL.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-DyJrH089.esm.js → invokeOnCaptureCallback-BlFdnfoh.esm.js} +0 -0
- /package/dist/{lib-DOI53AqI.esm.js → lib-7ZQ9BdKH.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-DtjGqH2e.esm.js → mandatoryConsentStateMachine-OCd0A55c.esm.js} +0 -0
- /package/dist/{otp-BHJnjEEc.d.ts → otp-BwLdGT6f.d.ts} +0 -0
- /package/dist/{otp-BcSa5nTM.esm.js → otp-D87RTwrx.esm.js} +0 -0
- /package/dist/{qe-signature-BVUV3TE_.esm.js → qe-signature-D6-Qpyfo.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-BWrpS_sN.esm.js → redirectToMobileStateMachine-60oeuo-V.esm.js} +0 -0
- /package/dist/{session-C_G3d7av.esm.js → session-Da435G0o.esm.js} +0 -0
- /package/dist/{signatureStateMachine-B7hxdXio.esm.js → signatureStateMachine-BTkVm04g.esm.js} +0 -0
- /package/dist/{types-F0IXbaCB.d.ts → types-D3dxOdyZ.d.ts} +0 -0
- /package/dist/{types-C1ixFPzO.d.ts → types-DYZja-k9.d.ts} +0 -0
- /package/dist/{warmup-CdT_pVcp.d.ts → warmup--6HA3yUR.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-D3W0_TEt.esm.js → watchlistForBusinessStateMachine-fEpRdtnj.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-D8EXhr5W.esm.js → watchlistStateMachine-C92XRtlP.esm.js} +0 -0
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
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-
|
|
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
|
|
package/dist/antifraud.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-
|
|
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-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
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;
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./warmup
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./types-
|
|
12
|
-
import "./StreamCanvasCapture-
|
|
13
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
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-
|
|
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-
|
|
22
|
+
import "./types-BdVOWGGW.esm.js";
|
|
23
23
|
import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
|
|
24
24
|
import "./permissionGuards-MDEdZAXO.esm.js";
|
|
25
|
-
import "./faceCaptureSetup-
|
|
26
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
27
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
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 };
|
package/dist/{authenticationManager-Dz4IJIrK.esm.js → authenticationManager-DVgli_vD.esm.js}
RENAMED
|
@@ -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-
|
|
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-
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
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-
|
|
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-
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
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:
|
|
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]:
|
|
56
|
+
[x: string]: xstate442.ActorRefFromLogic<xstate442.PromiseActorLogic<IssueCertificateResponse, {
|
|
57
57
|
password: string;
|
|
58
|
-
},
|
|
58
|
+
}, xstate442.EventObject>> | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
src: "issueCertificate";
|
|
61
|
-
logic:
|
|
61
|
+
logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
|
|
62
62
|
password: string;
|
|
63
|
-
},
|
|
63
|
+
}, xstate442.EventObject>;
|
|
64
64
|
id: string | undefined;
|
|
65
|
-
},
|
|
65
|
+
}, xstate442.Values<{
|
|
66
66
|
setPassword: {
|
|
67
67
|
type: "setPassword";
|
|
68
|
-
params:
|
|
68
|
+
params: xstate442.NonReducibleUnknown;
|
|
69
69
|
};
|
|
70
70
|
setBlob: {
|
|
71
71
|
type: "setBlob";
|
|
72
|
-
params:
|
|
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,
|
|
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:
|
|
86
|
+
logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
|
|
87
87
|
password: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate442.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
} extends infer T ? T extends {
|
|
91
91
|
src: "issueCertificate";
|
|
92
|
-
logic:
|
|
92
|
+
logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
|
|
93
93
|
password: string;
|
|
94
|
-
},
|
|
94
|
+
}, xstate442.EventObject>;
|
|
95
95
|
id: string | undefined;
|
|
96
96
|
} ? T extends {
|
|
97
97
|
src: TSrc;
|
|
98
|
-
} ?
|
|
98
|
+
} ? xstate442.ConditionalRequired<[options?: ({
|
|
99
99
|
id?: T["id"] | undefined;
|
|
100
100
|
systemId?: string;
|
|
101
|
-
input?:
|
|
101
|
+
input?: xstate442.InputFrom<T["logic"]> | undefined;
|
|
102
102
|
syncSnapshot?: boolean;
|
|
103
|
-
} & { [K in
|
|
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:
|
|
105
|
+
logic: xstate442.PromiseActorLogic<IssueCertificateResponse, {
|
|
106
106
|
password: string;
|
|
107
|
-
},
|
|
107
|
+
}, xstate442.EventObject>;
|
|
108
108
|
id: string | undefined;
|
|
109
109
|
}, "src", TSrc>["logic"]>;
|
|
110
|
-
<TLogic extends
|
|
110
|
+
<TLogic extends xstate442.AnyActorLogic>(src: TLogic, ...[options]: xstate442.ConditionalRequired<[options?: ({
|
|
111
111
|
id?: never;
|
|
112
112
|
systemId?: string;
|
|
113
|
-
input?:
|
|
113
|
+
input?: xstate442.InputFrom<TLogic> | undefined;
|
|
114
114
|
syncSnapshot?: boolean;
|
|
115
|
-
} & { [K in
|
|
115
|
+
} & { [K in xstate442.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate442.IsNotNever<xstate442.RequiredLogicInput<TLogic>>>): xstate442.ActorRefFromLogic<TLogic>;
|
|
116
116
|
};
|
|
117
117
|
input: CertificateIssuanceInput;
|
|
118
|
-
self:
|
|
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,
|
|
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
|
-
},
|
|
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:
|
|
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,
|
|
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
|
-
},
|
|
218
|
+
}, xstate442.AnyEventObject>;
|
|
219
219
|
}) => {
|
|
220
220
|
password: string;
|
|
221
221
|
};
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
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-
|
|
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-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
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:
|
|
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]:
|
|
52
|
+
[x: string]: xstate374.ActorRefFromLogic<xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate374.EventObject>> | xstate374.ActorRefFromLogic<xstate374.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate374.EventObject>> | undefined;
|
|
59
|
+
}, xstate374.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate374.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate374.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate374.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
77
|
-
clearError: {
|
|
78
|
-
type: "clearError";
|
|
79
|
-
params: xstate1305.NonReducibleUnknown;
|
|
80
|
-
};
|
|
76
|
+
}>, xstate374.Values<{
|
|
81
77
|
setError: {
|
|
82
78
|
type: "setError";
|
|
83
|
-
params:
|
|
79
|
+
params: xstate374.NonReducibleUnknown;
|
|
84
80
|
};
|
|
85
|
-
|
|
86
|
-
type: "
|
|
87
|
-
params:
|
|
81
|
+
clearError: {
|
|
82
|
+
type: "clearError";
|
|
83
|
+
params: xstate374.NonReducibleUnknown;
|
|
88
84
|
};
|
|
89
85
|
setConsentData: {
|
|
90
86
|
type: "setConsentData";
|
|
91
|
-
params:
|
|
87
|
+
params: xstate374.NonReducibleUnknown;
|
|
92
88
|
};
|
|
93
89
|
toggleCheckbox: {
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
|
-
params:
|
|
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,
|
|
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:
|
|
109
|
+
logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate374.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate374.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate374.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate374.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate374.RequiredActorOptions<T>]: unknown }) | undefined], xstate374.IsNotNever<xstate374.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate374.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate374.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate374.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate374.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate374.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate374.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
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:
|
|
152
|
+
logic: xstate374.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate374.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate374.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate374.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate374.AnyActorLogic>(src: TLogic, ...[options]: xstate374.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate374.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate374.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate374.IsNotNever<xstate374.RequiredLogicInput<TLogic>>>): xstate374.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
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,
|
|
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
|
-
},
|
|
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:
|
|
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,
|
|
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
|
-
},
|
|
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:
|
|
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,
|
|
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
|
-
},
|
|
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-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-
|
|
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;
|