@incodetech/core 0.0.0-dev-20260619-079080ef → 0.0.0-dev-20260622-9bf8c7b6
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/{addressSearch-3NLSwLrc.esm.js → addressSearch-BH96a3fq.esm.js} +1 -1
- package/dist/{ae-signature-D9NZ4lKU.esm.js → ae-signature-CDEN8y-w.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +3 -3
- package/dist/antifraud.esm.js +3 -3
- package/dist/{antifraudManager-BPKNY0q0.esm.js → antifraudManager-DZifA5zX.esm.js} +1 -1
- package/dist/{antifraudStateMachine-DLDcyOye.esm.js → antifraudStateMachine-DlKrK2hL.esm.js} +1 -1
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-HHrQkb1r.esm.js → authenticationManager-BM4LzyV7.esm.js} +1 -1
- package/dist/{authenticationStateMachine-CYGXzQrw.esm.js → authenticationStateMachine-Chx3ySdT.esm.js} +4 -4
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceStateMachine-DY3X6WsV.esm.js → certificateIssuanceStateMachine-CLNXtXaC.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +3 -3
- package/dist/{consentManager-CNdr6JTS.d.ts → consentManager-2cEnSo5X.d.ts} +50 -50
- package/dist/{consentManager-CNV5Dnm0.esm.js → consentManager-psDCeJ0E.esm.js} +1 -1
- package/dist/{consentStateMachine-C6ialHPb.esm.js → consentStateMachine-DRsFFSHE.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-CP7hwTF4.esm.js → cpfOcrManager-BxcgxvgO.esm.js} +1 -1
- package/dist/{cpfOcrManager-CII4qiF3.d.ts → cpfOcrManager-DBrAAaFq.d.ts} +20 -20
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.esm.js +3 -3
- package/dist/{curpValidationManager-DH-cKCXi.esm.js → curpValidationManager-BgLDw0Ub.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-DLnKJ6dp.esm.js → curpValidationStateMachine-BK_wJ48C.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customWatchlistStateMachine-IKU97cg4.esm.js → customWatchlistStateMachine-Bi4P59HM.esm.js} +1 -1
- package/dist/{deepsightLoader-DbNpK-z4.esm.js → deepsightLoader-BMmvk0X6.esm.js} +3 -3
- package/dist/{deepsightService-40p8oygL.esm.js → deepsightService-CEZrdiW0.esm.js} +1 -1
- package/dist/document-capture.d.ts +225 -225
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-DXgl57zf.esm.js → documentCaptureStateMachine-MpwpJO7t.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsStateMachine-DNeN4GdI.esm.js → dynamicFormsStateMachine-Do84A4uU.esm.js} +1 -1
- package/dist/ekyb.esm.js +7 -7
- package/dist/{ekybStateMachine-QTzXIpYn.esm.js → ekybStateMachine-_BUAKJoA.esm.js} +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DWefT9Al.esm.js → ekycStateMachine-DcynX0rj.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-BaJfp4Uv.esm.js → electronicSignatureManager-B63aAuI5.esm.js} +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-DdUw8yjQ.esm.js → emailManager-DxHjAe5u.esm.js} +1 -1
- package/dist/{emailStateMachine-CEl5D9KF.esm.js → emailStateMachine-758f34gg.esm.js} +1 -1
- package/dist/{endpoints-B2t80MAM.esm.js → endpoints-BM2_j_IE.esm.js} +1 -0
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +31 -31
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureSetup-kZSE9qaL.esm.js → faceCaptureSetup-Dqb09D24.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-B0ijT8MT.esm.js → faceMatchStateMachine-FikRaUZH.esm.js} +1 -1
- package/dist/field-comparison.esm.js +2 -2
- package/dist/{fieldComparisonManager-RJYRRinn.esm.js → fieldComparisonManager-Dic0DVgl.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow-events.d.ts +2 -2
- package/dist/flow.d.ts +5 -5
- package/dist/flow.esm.js +8 -8
- package/dist/{flowCompletionService-DSPt5J5M.d.ts → flowCompletionService-CdGDKv0z.d.ts} +9 -1
- package/dist/flowCompletionService-D_CsiDZM.esm.js +42 -0
- package/dist/{flowServices-D8s6m_vV.esm.js → flowServices-D5V9TKpY.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-BCCueiEp.esm.js → geolocationStateMachine-BWjrMGS_.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-D2NHbNAi.esm.js → governmentValidationStateMachine-BoF7U1of.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +25 -25
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +8 -8
- package/dist/{idCaptureManager-DGOx_GUR.esm.js → idCaptureManager-BpZHwjw6.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-CJZ3IiLy.esm.js → idCaptureStateMachine-BmG31m_2.esm.js} +5 -5
- package/dist/{idOcrStateMachine-D4gwLSD_.esm.js → idOcrStateMachine-YMCDGplq.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-j6CFfOyU.esm.js → idVerificationStateMachine-Bo1IYuZH.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{identityReuseManager-QmA1t6RO.esm.js → identityReuseManager-D0knIrOy.esm.js} +1 -1
- package/dist/{identityReuseManager-TPAY6co6.d.ts → identityReuseManager-D14Yjbzj.d.ts} +34 -34
- package/dist/{identityReuseStateMachine-BU2uIL0g.esm.js → identityReuseStateMachine-CSQfZOqD.esm.js} +1 -1
- package/dist/{index-CZd2Wkcy.d.ts → index-BgxYUYuD.d.ts} +1 -1
- package/dist/{index-Cj3_GDq0.d.ts → index-IN3Ff4iD.d.ts} +168 -168
- package/dist/index.esm.js +4 -4
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentManager-Cl85NSyv.d.ts → mandatoryConsentManager-ClPmYpP2.d.ts} +52 -52
- package/dist/{mandatoryConsentManager-C1-OUALV.esm.js → mandatoryConsentManager-Lon46nPQ.esm.js} +1 -1
- package/dist/{mandatoryConsentStateMachine-CnBrCblM.esm.js → mandatoryConsentStateMachine-D_dZ7IF6.esm.js} +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-CTWZpt1P.esm.js → phoneManager-Blt4Oc2P.esm.js} +1 -1
- package/dist/{phoneStateMachine-CuEoJ0QX.esm.js → phoneStateMachine-W3c6Z8sj.esm.js} +1 -1
- package/dist/{qe-signature-DLL7A352.esm.js → qe-signature-CQLK6LKE.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +3 -3
- package/dist/{recordingService-DrBGyI6d.esm.js → recordingService-CxMJP4tQ.esm.js} +3 -3
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileManager-Mmhx7Xrr.esm.js → redirectToMobileManager-DCvpKdkD.esm.js} +1 -1
- package/dist/{redirectToMobileStateMachine-jfg8fHus.esm.js → redirectToMobileStateMachine-DC9z4Vfu.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieManager-CXyFrJvi.esm.js → selfieManager-BRL6c_Oc.esm.js} +1 -1
- package/dist/{selfieStateMachine-BoelHbk9.esm.js → selfieStateMachine-D2Q0uwDK.esm.js} +2 -2
- package/dist/{session-Da435G0o.esm.js → session-Be_IA1e0.esm.js} +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-HcxgaiK9.esm.js → sessionInitializer-DJv0L4rG.esm.js} +3 -3
- package/dist/{setup-CUFC_ryX.esm.js → setup-DlXggroI.esm.js} +3 -3
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-d7nQ70Pd.esm.js → signatureStateMachine-DAxXmMrk.esm.js} +1 -1
- package/dist/{stats-32mOt6D8.esm.js → stats-DntyIiGr.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/trust-graph.d.ts +2 -2
- package/dist/wasm.esm.js +4 -4
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-C6oEUo-m.esm.js → watchlistForBusinessStateMachine-DtefJb-D.esm.js} +1 -1
- package/dist/{watchlistStateMachine-BM3u8X--.esm.js → watchlistStateMachine-B0aIS2_n.esm.js} +1 -1
- package/dist/workflow.d.ts +93 -91
- package/dist/workflow.esm.js +39 -39
- package/package.json +3 -3
- package/dist/flowCompletionService-Y1UICFg1.esm.js +0 -20
- /package/dist/{runChildModule-DPYbTHqF.esm.js → runChildModule-C9G0wfVC.esm.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
2
2
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import { i as fromCallback } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/shared/usStates.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-B63aAuI5.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/ae-signature/index.ts
|
|
4
4
|
function createAeSignatureManager(options) {
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B2OEDYqf.js";
|
|
2
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-
|
|
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-IN3Ff4iD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import "./events-DN-u67gb.esm.js";
|
|
3
|
-
import "./endpoints-
|
|
3
|
+
import "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
5
|
import "./apiError-D-GTvFrH.esm.js";
|
|
6
6
|
import "./urlUtils-8RNHyW3x.esm.js";
|
|
7
7
|
import "./externalFetch-crimxkN9.esm.js";
|
|
8
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
9
|
-
import { t as createAeSignatureManager } from "./ae-signature-
|
|
8
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-B63aAuI5.esm.js";
|
|
9
|
+
import { t as createAeSignatureManager } from "./ae-signature-CDEN8y-w.esm.js";
|
|
10
10
|
|
|
11
11
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import "./events-DN-u67gb.esm.js";
|
|
3
|
-
import "./endpoints-
|
|
3
|
+
import "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
6
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
5
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DlKrK2hL.esm.js";
|
|
6
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DZifA5zX.esm.js";
|
|
7
7
|
|
|
8
8
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
|
|
2
2
|
import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
3
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
3
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DlKrK2hL.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-DLDcyOye.esm.js → antifraudStateMachine-DlKrK2hL.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
|
|
3
3
|
import { a as fromPromise, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./WasmUtilProvider-CIu373BZ.esm.js";
|
|
2
2
|
import "./api-DUZwyz0o.esm.js";
|
|
3
3
|
import "./events-DN-u67gb.esm.js";
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./stats-
|
|
4
|
+
import "./endpoints-BM2_j_IE.esm.js";
|
|
5
|
+
import "./stats-DntyIiGr.esm.js";
|
|
6
6
|
import "./browserSimulation-CGjpdNA1.esm.js";
|
|
7
7
|
import "./platform-BfoqeM61.esm.js";
|
|
8
8
|
import "./getBrowser-Dv8LZyHE.esm.js";
|
|
@@ -12,18 +12,18 @@ import "./MotionSensorProvider-C9fPAJdS.esm.js";
|
|
|
12
12
|
import "./permissionServices-CPDboRoE.esm.js";
|
|
13
13
|
import "./camera-x4LjGTjZ.esm.js";
|
|
14
14
|
import "./faceCaptureManagerFactory-BNXZchWX.esm.js";
|
|
15
|
-
import "./recordingService-
|
|
15
|
+
import "./recordingService-CxMJP4tQ.esm.js";
|
|
16
16
|
import "./ITimerCapability-BvH0pDwp.esm.js";
|
|
17
17
|
import "./canvas-7uX2izHb.esm.js";
|
|
18
18
|
import "./backCameraStream-iftkf3rd.esm.js";
|
|
19
|
-
import "./deepsightService-
|
|
19
|
+
import "./deepsightService-CEZrdiW0.esm.js";
|
|
20
20
|
import "./getDeviceClass-C0zrM97a.esm.js";
|
|
21
21
|
import "./getDeviceClass-rXKlXywy.esm.js";
|
|
22
22
|
import "./types-BdVOWGGW.esm.js";
|
|
23
23
|
import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
|
|
24
24
|
import "./permissionGuards-D-Z-lgNj.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-Dqb09D24.esm.js";
|
|
26
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Chx3ySdT.esm.js";
|
|
27
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BM4LzyV7.esm.js";
|
|
28
28
|
|
|
29
29
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-HHrQkb1r.esm.js → authenticationManager-BM4LzyV7.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { n as eventModuleNames } from "./events-DN-u67gb.esm.js";
|
|
|
3
3
|
import { s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-D5xc7Lqo.esm.js";
|
|
5
5
|
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BNXZchWX.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Chx3ySdT.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { t as addDeviceStats } from "./stats-
|
|
2
|
+
import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
|
|
3
|
+
import { t as addDeviceStats } from "./stats-DntyIiGr.esm.js";
|
|
4
4
|
import { a as fromPromise, r as assign } from "./xstate.esm-Dkm1jy5u.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-CxMJP4tQ.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-rXKlXywy.esm.js";
|
|
7
7
|
import { t as FACE_ERROR_CODES } from "./types-BdVOWGGW.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Dqb09D24.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
11
11
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B2OEDYqf.js";
|
|
2
2
|
import "./Actor-fIPLXfoi.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate1555 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: xstate1555.StateMachine<CertificateIssuanceContext, {
|
|
43
43
|
type: "LOAD";
|
|
44
44
|
} | {
|
|
45
45
|
type: "PASSWORD_CHANGED";
|
|
@@ -53,28 +53,28 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
53
53
|
} | {
|
|
54
54
|
type: "FINISH";
|
|
55
55
|
}, {
|
|
56
|
-
[x: string]:
|
|
56
|
+
[x: string]: xstate1555.ActorRefFromLogic<xstate1555.PromiseActorLogic<IssueCertificateResponse, {
|
|
57
57
|
password: string;
|
|
58
|
-
},
|
|
58
|
+
}, xstate1555.EventObject>> | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
src: "issueCertificate";
|
|
61
|
-
logic:
|
|
61
|
+
logic: xstate1555.PromiseActorLogic<IssueCertificateResponse, {
|
|
62
62
|
password: string;
|
|
63
|
-
},
|
|
63
|
+
}, xstate1555.EventObject>;
|
|
64
64
|
id: string | undefined;
|
|
65
|
-
},
|
|
65
|
+
}, xstate1555.Values<{
|
|
66
66
|
setPassword: {
|
|
67
67
|
type: "setPassword";
|
|
68
|
-
params:
|
|
68
|
+
params: xstate1555.NonReducibleUnknown;
|
|
69
69
|
};
|
|
70
70
|
setBlob: {
|
|
71
71
|
type: "setBlob";
|
|
72
|
-
params:
|
|
72
|
+
params: xstate1555.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, xstate1555.NonReducibleUnknown, xstate1555.EventObject, xstate1555.MetaObject, {
|
|
78
78
|
readonly id: "certificateIssuance";
|
|
79
79
|
readonly initial: "idle";
|
|
80
80
|
readonly context: ({
|
|
@@ -83,39 +83,39 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
83
83
|
spawn: {
|
|
84
84
|
<TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
|
|
85
85
|
src: "issueCertificate";
|
|
86
|
-
logic:
|
|
86
|
+
logic: xstate1555.PromiseActorLogic<IssueCertificateResponse, {
|
|
87
87
|
password: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate1555.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
} extends infer T ? T extends {
|
|
91
91
|
src: "issueCertificate";
|
|
92
|
-
logic:
|
|
92
|
+
logic: xstate1555.PromiseActorLogic<IssueCertificateResponse, {
|
|
93
93
|
password: string;
|
|
94
|
-
},
|
|
94
|
+
}, xstate1555.EventObject>;
|
|
95
95
|
id: string | undefined;
|
|
96
96
|
} ? T extends {
|
|
97
97
|
src: TSrc;
|
|
98
|
-
} ?
|
|
98
|
+
} ? xstate1555.ConditionalRequired<[options?: ({
|
|
99
99
|
id?: T["id"] | undefined;
|
|
100
100
|
systemId?: string;
|
|
101
|
-
input?:
|
|
101
|
+
input?: xstate1555.InputFrom<T["logic"]> | undefined;
|
|
102
102
|
syncSnapshot?: boolean;
|
|
103
|
-
} & { [K in
|
|
103
|
+
} & { [K in xstate1555.RequiredActorOptions<T>]: unknown }) | undefined], xstate1555.IsNotNever<xstate1555.RequiredActorOptions<T>>> : never : never : never): xstate1555.ActorRefFromLogic<xstate1555.GetConcreteByKey<{
|
|
104
104
|
src: "issueCertificate";
|
|
105
|
-
logic:
|
|
105
|
+
logic: xstate1555.PromiseActorLogic<IssueCertificateResponse, {
|
|
106
106
|
password: string;
|
|
107
|
-
},
|
|
107
|
+
}, xstate1555.EventObject>;
|
|
108
108
|
id: string | undefined;
|
|
109
109
|
}, "src", TSrc>["logic"]>;
|
|
110
|
-
<TLogic extends
|
|
110
|
+
<TLogic extends xstate1555.AnyActorLogic>(src: TLogic, ...[options]: xstate1555.ConditionalRequired<[options?: ({
|
|
111
111
|
id?: never;
|
|
112
112
|
systemId?: string;
|
|
113
|
-
input?:
|
|
113
|
+
input?: xstate1555.InputFrom<TLogic> | undefined;
|
|
114
114
|
syncSnapshot?: boolean;
|
|
115
|
-
} & { [K in
|
|
115
|
+
} & { [K in xstate1555.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1555.IsNotNever<xstate1555.RequiredLogicInput<TLogic>>>): xstate1555.ActorRefFromLogic<TLogic>;
|
|
116
116
|
};
|
|
117
117
|
input: CertificateIssuanceInput;
|
|
118
|
-
self:
|
|
118
|
+
self: xstate1555.ActorRef<xstate1555.MachineSnapshot<CertificateIssuanceContext, {
|
|
119
119
|
type: "LOAD";
|
|
120
120
|
} | {
|
|
121
121
|
type: "PASSWORD_CHANGED";
|
|
@@ -128,7 +128,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
128
128
|
type: "DOWNLOAD_FAILED";
|
|
129
129
|
} | {
|
|
130
130
|
type: "FINISH";
|
|
131
|
-
}, Record<string,
|
|
131
|
+
}, Record<string, xstate1555.AnyActorRef | undefined>, xstate1555.StateValue, string, unknown, any, any>, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "PASSWORD_CHANGED";
|
|
@@ -141,7 +141,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
141
141
|
type: "DOWNLOAD_FAILED";
|
|
142
142
|
} | {
|
|
143
143
|
type: "FINISH";
|
|
144
|
-
},
|
|
144
|
+
}, xstate1555.AnyEventObject>;
|
|
145
145
|
}) => {
|
|
146
146
|
config: CertificateIssuanceConfig;
|
|
147
147
|
password: string;
|
|
@@ -189,7 +189,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
189
189
|
} | {
|
|
190
190
|
type: "FINISH";
|
|
191
191
|
};
|
|
192
|
-
self:
|
|
192
|
+
self: xstate1555.ActorRef<xstate1555.MachineSnapshot<CertificateIssuanceContext, {
|
|
193
193
|
type: "LOAD";
|
|
194
194
|
} | {
|
|
195
195
|
type: "PASSWORD_CHANGED";
|
|
@@ -202,7 +202,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
202
202
|
type: "DOWNLOAD_FAILED";
|
|
203
203
|
} | {
|
|
204
204
|
type: "FINISH";
|
|
205
|
-
}, Record<string,
|
|
205
|
+
}, Record<string, xstate1555.AnyActorRef>, xstate1555.StateValue, string, unknown, any, any>, {
|
|
206
206
|
type: "LOAD";
|
|
207
207
|
} | {
|
|
208
208
|
type: "PASSWORD_CHANGED";
|
|
@@ -215,7 +215,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
|
|
|
215
215
|
type: "DOWNLOAD_FAILED";
|
|
216
216
|
} | {
|
|
217
217
|
type: "FINISH";
|
|
218
|
-
},
|
|
218
|
+
}, xstate1555.AnyEventObject>;
|
|
219
219
|
}) => {
|
|
220
220
|
password: string;
|
|
221
221
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
|
|
3
|
-
import "./endpoints-
|
|
3
|
+
import "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
5
|
import "./urlUtils-8RNHyW3x.esm.js";
|
|
6
6
|
import "./externalFetch-crimxkN9.esm.js";
|
|
7
|
-
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-
|
|
7
|
+
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-CLNXtXaC.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
10
10
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getApi, r as getToken } from "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
4
4
|
import { t as externalFetch } from "./externalFetch-crimxkN9.esm.js";
|
|
5
5
|
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./Manager-B2OEDYqf.js";
|
|
2
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-
|
|
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-2cEnSo5X.js";
|
|
4
4
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import "./events-DN-u67gb.esm.js";
|
|
3
|
-
import "./endpoints-
|
|
3
|
+
import "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
6
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-DRsFFSHE.esm.js";
|
|
6
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-psDCeJ0E.esm.js";
|
|
7
7
|
|
|
8
8
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B2OEDYqf.js";
|
|
2
2
|
import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate1487 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: xstate1487.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate1487.ActorRefFromLogic<xstate1487.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate1487.EventObject>> | xstate1487.ActorRefFromLogic<xstate1487.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate1487.EventObject>> | undefined;
|
|
59
|
+
}, xstate1487.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate1487.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate1487.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate1487.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate1487.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
77
|
-
setError: {
|
|
78
|
-
type: "setError";
|
|
79
|
-
params: xstate1529.NonReducibleUnknown;
|
|
80
|
-
};
|
|
76
|
+
}>, xstate1487.Values<{
|
|
81
77
|
clearError: {
|
|
82
78
|
type: "clearError";
|
|
83
|
-
params:
|
|
79
|
+
params: xstate1487.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
setError: {
|
|
82
|
+
type: "setError";
|
|
83
|
+
params: xstate1487.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
resetContext: {
|
|
86
86
|
type: "resetContext";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate1487.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setConsentData: {
|
|
90
90
|
type: "setConsentData";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate1487.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
toggleCheckbox: {
|
|
94
94
|
type: "toggleCheckbox";
|
|
95
|
-
params:
|
|
95
|
+
params: xstate1487.NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate1487.NonReducibleUnknown, xstate1487.EventObject, xstate1487.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1487.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate1487.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate1487.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate1487.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate1487.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate1487.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate1487.RequiredActorOptions<T>]: unknown }) | undefined], xstate1487.IsNotNever<xstate1487.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate1487.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate1487.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate1487.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate1487.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate1487.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate1487.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate1487.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1487.IsNotNever<xstate1487.RequiredActorOptions<T_1>>> : never : never : never)): xstate1487.ActorRefFromLogic<xstate1487.GetConcreteByKey<xstate1487.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate1487.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate1487.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate1487.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate1487.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate1487.AnyActorLogic>(src: TLogic, ...[options]: xstate1487.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate1487.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate1487.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1487.IsNotNever<xstate1487.RequiredLogicInput<TLogic>>>): xstate1487.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate1487.ActorRef<xstate1487.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate1487.AnyActorRef | undefined>, xstate1487.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate1487.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate1487.ActorRef<xstate1487.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate1487.AnyActorRef>, xstate1487.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate1487.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate1487.ActorRef<xstate1487.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate1487.AnyActorRef>, xstate1487.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate1487.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
|
|
2
2
|
import { c as createManager, s as createActor } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
3
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { t as consentMachine } from "./consentStateMachine-DRsFFSHE.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./Manager-B2OEDYqf.js";
|
|
2
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-
|
|
3
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-DBrAAaFq.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
|
|
6
6
|
declare function formatCPF(value: string): string;
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import "./events-DN-u67gb.esm.js";
|
|
3
|
-
import "./endpoints-
|
|
3
|
+
import "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-
|
|
5
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-BxcgxvgO.esm.js";
|
|
6
6
|
import "./cpf-xBg-DFNn.esm.js";
|
|
7
7
|
|
|
8
8
|
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-DN-u67gb.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { t as endpoints } from "./endpoints-BM2_j_IE.esm.js";
|
|
4
4
|
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-Dkm1jy5u.esm.js";
|
|
5
5
|
import { t as validateCPF } from "./cpf-xBg-DFNn.esm.js";
|
|
6
6
|
|