@incodetech/core 0.0.0-dev-20260701-bdeaa221 → 0.0.0-dev-20260701-b6fc71dc
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-BGuQejtl.esm.js → addressSearch-C6cEsEqK.esm.js} +1 -1
- package/dist/{ae-signature-G5MZoOKy.esm.js → ae-signature-hbFTJkGk.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-BwWxvE5A.esm.js → antifraudManager-BKdQoMFf.esm.js} +2 -2
- package/dist/{antifraudStateMachine-DLKtOiwd.esm.js → antifraudStateMachine-C0NGnP9W.esm.js} +1 -1
- package/dist/authentication.esm.js +5 -5
- package/dist/{authenticationManager-Mk-k_cwG.esm.js → authenticationManager-BVM5Czih.esm.js} +3 -3
- package/dist/{authenticationStateMachine-BMnMVLy-.esm.js → authenticationStateMachine-BUb8hzFa.esm.js} +2 -2
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceStateMachine-x9HFaxKK.esm.js → certificateIssuanceStateMachine-BGtRVDgj.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +3 -3
- package/dist/{consentManager-Cj83yok8.esm.js → consentManager-BtnPZUW4.esm.js} +2 -2
- package/dist/{consentManager-B--Uv8aw.d.ts → consentManager-DTzlkzyY.d.ts} +52 -52
- package/dist/{consentStateMachine-YtU_4jUt.esm.js → consentStateMachine-DO2JqoZW.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-D8H0HGKj.esm.js → cpfOcrManager-C4rLgKsu.esm.js} +1 -1
- package/dist/{cpfOcrManager-C0BUpDyT.d.ts → cpfOcrManager-DvYfmJuu.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-DRHOME_q.esm.js → curpValidationManager-BafobPXC.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-B68HEUSO.esm.js → curpValidationStateMachine-DXTPK6vI.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customWatchlistStateMachine-ji778XCE.esm.js → customWatchlistStateMachine-B4G3Chkx.esm.js} +1 -1
- package/dist/document-capture.d.ts +173 -173
- 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-BKXzGfAp.esm.js → documentCaptureStateMachine-DSOX2epf.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsStateMachine-BZSn4t1z.esm.js → dynamicFormsStateMachine-BXHcaocI.esm.js} +1 -1
- package/dist/ekyb.esm.js +6 -6
- package/dist/{ekybStateMachine-DiyeD-bn.esm.js → ekybStateMachine-CTf3nb0j.esm.js} +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-C9681Yzd.esm.js → ekycStateMachine-Bytm3LyZ.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-DTX6Pccb.esm.js → electronicSignatureManager-BNglIp7-.esm.js} +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-CyJ3OwB0.esm.js → emailManager-CH6GlUSk.esm.js} +2 -2
- package/dist/{emailStateMachine-DlZr3jep.esm.js → emailStateMachine-CajoaJk-.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +29 -29
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C6K2AbsU.esm.js → faceCaptureManagerFactory-BbFl762r.esm.js} +2 -2
- package/dist/{faceCaptureSetup-Bq_wPGhK.esm.js → faceCaptureSetup-CIkrBLYz.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-v8z7PvvD.esm.js → faceMatchStateMachine-CDx5ZRhv.esm.js} +1 -1
- package/dist/field-comparison.esm.js +2 -2
- package/dist/{fieldComparisonManager-D0RJA6Qx.esm.js → fieldComparisonManager-Bf42dczM.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-nx81re-L.esm.js → flowServices-B0ai-ANo.esm.js} +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-5NOAiXiW.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-DK1YeRDr.esm.js → governmentValidationStateMachine-yCQaD7zl.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.d.ts +55 -55
- 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.d.ts +1 -1
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-CeaNK-Ve.esm.js → idCaptureManager-FXTdeOsf.esm.js} +4 -3
- package/dist/{idCaptureManager-DDkfMlsm.d.ts → idCaptureManager-fvEYwU_l.d.ts} +16 -9
- package/dist/{idCaptureStateMachine-DdlLGjwa.esm.js → idCaptureStateMachine-BlLvve6M.esm.js} +193 -141
- package/dist/{idOcrStateMachine-Tr48722s.esm.js → idOcrStateMachine-6vUdYjRV.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-DwjJiKun.esm.js → idVerificationStateMachine-cT7LtSYe.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{identityReuseManager-piMy-REi.d.ts → identityReuseManager-BOnaxwJI.d.ts} +35 -35
- package/dist/{identityReuseManager-DjhuypVV.esm.js → identityReuseManager-BeyKVX1g.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-CE7CiLs9.esm.js → identityReuseStateMachine-BYYzDw-l.esm.js} +1 -1
- package/dist/{index-B75DQgX_.d.ts → index-E3D7OvnG.d.ts} +168 -168
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentManager-CwQSmcyl.esm.js → mandatoryConsentManager-CNbs9cub.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-BT8eEhPZ.d.ts → mandatoryConsentManager-CyoaXoEe.d.ts} +52 -52
- package/dist/{mandatoryConsentStateMachine-DMHuQ9p6.esm.js → mandatoryConsentStateMachine-DgAXyMs4.esm.js} +1 -1
- package/dist/personhood.esm.js +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DoREHm5q.esm.js → phoneManager-CiiQOE21.esm.js} +2 -2
- package/dist/{phoneStateMachine-DBCFyMqD.esm.js → phoneStateMachine-sn2Nt44W.esm.js} +1 -1
- package/dist/{qe-signature-CvRT6Nr8.esm.js → qe-signature-D5gwX-fY.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +3 -3
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileManager-BlK4U22c.esm.js → redirectToMobileManager-DIc_xDDn.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-DbHl-Hnq.esm.js → redirectToMobileStateMachine-H-iEztA6.esm.js} +1 -1
- package/dist/{runChildModule-Cm4q5mtc.esm.js → runChildModule-Wr_2wB1m.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-mMYgwONo.esm.js → selfieManager-CjFFQTKK.esm.js} +3 -3
- package/dist/{selfieStateMachine-j8QNgRSM.esm.js → selfieStateMachine-2UJDOv3d.esm.js} +2 -2
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-BPoQYSR2.esm.js → sessionInitializer-Dfc__RkA.esm.js} +2 -2
- package/dist/{setup-DttzrMgn.esm.js → setup-f4ttZO62.esm.js} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-Ds7LOonk.esm.js → signatureStateMachine-c-HlL0-y.esm.js} +1 -1
- package/dist/{tri-RHgg98ap.esm.js → tri-D6YWLiyE.esm.js} +10 -0
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-DXpbE4Sx.esm.js → watchlistForBusinessStateMachine-DNaxGviI.esm.js} +1 -1
- package/dist/{watchlistStateMachine-ByxT83kR.esm.js → watchlistStateMachine-DPLVxv_x.esm.js} +1 -1
- package/dist/workflow.d.ts +156 -156
- package/dist/workflow.esm.js +35 -35
- package/dist/{xstate.esm-r0zHjE2E.esm.js → xstate.esm-Bomq1a0z.esm.js} +41 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
2
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
4
|
-
import { i as fromCallback } from "./xstate.esm-
|
|
4
|
+
import { i as fromCallback } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/shared/usStates.ts
|
|
7
7
|
const usStates = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-BNglIp7-.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-BUc6OqO5.js";
|
|
2
2
|
import "./Actor-Du_LU0S4.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-E3D7OvnG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -2,11 +2,11 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import "./xstate.esm-
|
|
5
|
+
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
6
|
import "./apiError-C7SFQTB2.esm.js";
|
|
7
7
|
import "./urlUtils-CwKgB7_U.esm.js";
|
|
8
8
|
import "./externalFetch-D_eLLNOS.esm.js";
|
|
9
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
10
|
-
import { t as createAeSignatureManager } from "./ae-signature-
|
|
9
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-BNglIp7-.esm.js";
|
|
10
|
+
import { t as createAeSignatureManager } from "./ae-signature-hbFTJkGk.esm.js";
|
|
11
11
|
|
|
12
12
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
7
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
5
|
+
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-C0NGnP9W.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BKdQoMFf.esm.js";
|
|
8
8
|
|
|
9
9
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
3
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-C0NGnP9W.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
7
7
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-DLKtOiwd.esm.js → antifraudStateMachine-C0NGnP9W.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
-
import { a as fromPromise, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
6
6
|
async function processAntifraud(signal) {
|
|
@@ -7,13 +7,13 @@ import "./stats-CYcScXcO.esm.js";
|
|
|
7
7
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
8
8
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
9
9
|
import "./platform-uIVQUnJP.esm.js";
|
|
10
|
-
import "./xstate.esm-
|
|
11
|
-
import "./faceCaptureSetup-
|
|
10
|
+
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
11
|
+
import "./faceCaptureSetup-CIkrBLYz.esm.js";
|
|
12
12
|
import "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
13
13
|
import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
14
14
|
import "./permissionServices-BJhGL13R.esm.js";
|
|
15
15
|
import "./camera-DUkgmYMo.esm.js";
|
|
16
|
-
import "./faceCaptureManagerFactory-
|
|
16
|
+
import "./faceCaptureManagerFactory-BbFl762r.esm.js";
|
|
17
17
|
import "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
18
18
|
import "./onDeviceFaceResults-DlErdHcT.esm.js";
|
|
19
19
|
import "./ITimerCapability-pltuG1E8.esm.js";
|
|
@@ -29,7 +29,7 @@ import "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
|
29
29
|
import "./permissionGuards-BR2oN573.esm.js";
|
|
30
30
|
import "./recordingService-D8zRQbVb.esm.js";
|
|
31
31
|
import "./mediaRecorderOptions-C3NAkVgK.esm.js";
|
|
32
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
33
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
32
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BUb8hzFa.esm.js";
|
|
33
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BVM5Czih.esm.js";
|
|
34
34
|
|
|
35
35
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Mk-k_cwG.esm.js → authenticationManager-BVM5Czih.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
-
import { s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BbFl762r.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BUb8hzFa.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-CYcScXcO.esm.js";
|
|
4
|
-
import { a as fromPromise, r as assign } from "./xstate.esm-
|
|
5
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CIkrBLYz.esm.js";
|
|
6
6
|
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DlErdHcT.esm.js";
|
|
7
7
|
import { t as getDeviceClass } from "./getDeviceClass-DGGzzfqm.esm.js";
|
|
8
8
|
import { t as FACE_ERROR_CODES } from "./types-CMcxlSmH.esm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
2
|
import "./Actor-Du_LU0S4.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate587 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: xstate587.StateMachine<CertificateIssuanceContext, {
|
|
43
43
|
type: "LOAD";
|
|
44
44
|
} | {
|
|
45
45
|
type: "PASSWORD_CHANGED";
|
|
@@ -53,28 +53,28 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
53
53
|
} | {
|
|
54
54
|
type: "FINISH";
|
|
55
55
|
}, {
|
|
56
|
-
[x: string]:
|
|
56
|
+
[x: string]: xstate587.ActorRefFromLogic<xstate587.PromiseActorLogic<IssueCertificateResponse, {
|
|
57
57
|
password: string;
|
|
58
|
-
},
|
|
58
|
+
}, xstate587.EventObject>> | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
src: "issueCertificate";
|
|
61
|
-
logic:
|
|
61
|
+
logic: xstate587.PromiseActorLogic<IssueCertificateResponse, {
|
|
62
62
|
password: string;
|
|
63
|
-
},
|
|
63
|
+
}, xstate587.EventObject>;
|
|
64
64
|
id: string | undefined;
|
|
65
|
-
},
|
|
65
|
+
}, xstate587.Values<{
|
|
66
66
|
setPassword: {
|
|
67
67
|
type: "setPassword";
|
|
68
|
-
params:
|
|
68
|
+
params: xstate587.NonReducibleUnknown;
|
|
69
69
|
};
|
|
70
70
|
setBlob: {
|
|
71
71
|
type: "setBlob";
|
|
72
|
-
params:
|
|
72
|
+
params: xstate587.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, xstate587.NonReducibleUnknown, xstate587.EventObject, xstate587.MetaObject, {
|
|
78
78
|
readonly id: "certificateIssuance";
|
|
79
79
|
readonly initial: "idle";
|
|
80
80
|
readonly context: ({
|
|
@@ -83,39 +83,39 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
83
83
|
spawn: {
|
|
84
84
|
<TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
|
|
85
85
|
src: "issueCertificate";
|
|
86
|
-
logic:
|
|
86
|
+
logic: xstate587.PromiseActorLogic<IssueCertificateResponse, {
|
|
87
87
|
password: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate587.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
} extends infer T ? T extends {
|
|
91
91
|
src: "issueCertificate";
|
|
92
|
-
logic:
|
|
92
|
+
logic: xstate587.PromiseActorLogic<IssueCertificateResponse, {
|
|
93
93
|
password: string;
|
|
94
|
-
},
|
|
94
|
+
}, xstate587.EventObject>;
|
|
95
95
|
id: string | undefined;
|
|
96
96
|
} ? T extends {
|
|
97
97
|
src: TSrc;
|
|
98
|
-
} ?
|
|
98
|
+
} ? xstate587.ConditionalRequired<[options?: ({
|
|
99
99
|
id?: T["id"] | undefined;
|
|
100
100
|
systemId?: string;
|
|
101
|
-
input?:
|
|
101
|
+
input?: xstate587.InputFrom<T["logic"]> | undefined;
|
|
102
102
|
syncSnapshot?: boolean;
|
|
103
|
-
} & { [K in
|
|
103
|
+
} & { [K in xstate587.RequiredActorOptions<T>]: unknown }) | undefined], xstate587.IsNotNever<xstate587.RequiredActorOptions<T>>> : never : never : never): xstate587.ActorRefFromLogic<xstate587.GetConcreteByKey<{
|
|
104
104
|
src: "issueCertificate";
|
|
105
|
-
logic:
|
|
105
|
+
logic: xstate587.PromiseActorLogic<IssueCertificateResponse, {
|
|
106
106
|
password: string;
|
|
107
|
-
},
|
|
107
|
+
}, xstate587.EventObject>;
|
|
108
108
|
id: string | undefined;
|
|
109
109
|
}, "src", TSrc>["logic"]>;
|
|
110
|
-
<TLogic extends
|
|
110
|
+
<TLogic extends xstate587.AnyActorLogic>(src: TLogic, ...[options]: xstate587.ConditionalRequired<[options?: ({
|
|
111
111
|
id?: never;
|
|
112
112
|
systemId?: string;
|
|
113
|
-
input?:
|
|
113
|
+
input?: xstate587.InputFrom<TLogic> | undefined;
|
|
114
114
|
syncSnapshot?: boolean;
|
|
115
|
-
} & { [K in
|
|
115
|
+
} & { [K in xstate587.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate587.IsNotNever<xstate587.RequiredLogicInput<TLogic>>>): xstate587.ActorRefFromLogic<TLogic>;
|
|
116
116
|
};
|
|
117
117
|
input: CertificateIssuanceInput;
|
|
118
|
-
self:
|
|
118
|
+
self: xstate587.ActorRef<xstate587.MachineSnapshot<CertificateIssuanceContext, {
|
|
119
119
|
type: "LOAD";
|
|
120
120
|
} | {
|
|
121
121
|
type: "PASSWORD_CHANGED";
|
|
@@ -128,7 +128,7 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
128
128
|
type: "DOWNLOAD_FAILED";
|
|
129
129
|
} | {
|
|
130
130
|
type: "FINISH";
|
|
131
|
-
}, Record<string,
|
|
131
|
+
}, Record<string, xstate587.AnyActorRef | undefined>, xstate587.StateValue, string, unknown, any, any>, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "PASSWORD_CHANGED";
|
|
@@ -141,7 +141,7 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
141
141
|
type: "DOWNLOAD_FAILED";
|
|
142
142
|
} | {
|
|
143
143
|
type: "FINISH";
|
|
144
|
-
},
|
|
144
|
+
}, xstate587.AnyEventObject>;
|
|
145
145
|
}) => {
|
|
146
146
|
config: CertificateIssuanceConfig;
|
|
147
147
|
password: string;
|
|
@@ -189,7 +189,7 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
189
189
|
} | {
|
|
190
190
|
type: "FINISH";
|
|
191
191
|
};
|
|
192
|
-
self:
|
|
192
|
+
self: xstate587.ActorRef<xstate587.MachineSnapshot<CertificateIssuanceContext, {
|
|
193
193
|
type: "LOAD";
|
|
194
194
|
} | {
|
|
195
195
|
type: "PASSWORD_CHANGED";
|
|
@@ -202,7 +202,7 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
202
202
|
type: "DOWNLOAD_FAILED";
|
|
203
203
|
} | {
|
|
204
204
|
type: "FINISH";
|
|
205
|
-
}, Record<string,
|
|
205
|
+
}, Record<string, xstate587.AnyActorRef>, xstate587.StateValue, string, unknown, any, any>, {
|
|
206
206
|
type: "LOAD";
|
|
207
207
|
} | {
|
|
208
208
|
type: "PASSWORD_CHANGED";
|
|
@@ -215,7 +215,7 @@ declare const certificateIssuanceMachine: xstate677.StateMachine<CertificateIssu
|
|
|
215
215
|
type: "DOWNLOAD_FAILED";
|
|
216
216
|
} | {
|
|
217
217
|
type: "FINISH";
|
|
218
|
-
},
|
|
218
|
+
}, xstate587.AnyEventObject>;
|
|
219
219
|
}) => {
|
|
220
220
|
password: string;
|
|
221
221
|
};
|
|
@@ -2,10 +2,10 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
6
|
import "./urlUtils-CwKgB7_U.esm.js";
|
|
7
7
|
import "./externalFetch-D_eLLNOS.esm.js";
|
|
8
|
-
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-
|
|
8
|
+
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-BGtRVDgj.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getApi, r as getToken } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
4
|
import { t as externalFetch } from "./externalFetch-D_eLLNOS.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./Manager-BUc6OqO5.js";
|
|
2
2
|
import "./Actor-Du_LU0S4.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-DTzlkzyY.js";
|
|
4
4
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
7
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
5
|
+
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-DO2JqoZW.esm.js";
|
|
7
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BtnPZUW4.esm.js";
|
|
8
8
|
|
|
9
9
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-DO2JqoZW.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/consent/consentActor.ts
|
|
7
7
|
function createConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
2
|
import { t as ActorRefFrom } from "./Actor-Du_LU0S4.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate999 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: xstate999.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate999.ActorRefFromLogic<xstate999.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate999.EventObject>> | xstate999.ActorRefFromLogic<xstate999.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate999.EventObject>> | undefined;
|
|
59
|
+
}, xstate999.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate999.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate999.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate999.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate999.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate999.Values<{
|
|
77
|
+
setError: {
|
|
78
|
+
type: "setError";
|
|
79
|
+
params: xstate999.NonReducibleUnknown;
|
|
80
|
+
};
|
|
77
81
|
clearError: {
|
|
78
82
|
type: "clearError";
|
|
79
|
-
params:
|
|
83
|
+
params: xstate999.NonReducibleUnknown;
|
|
80
84
|
};
|
|
81
|
-
|
|
82
|
-
type: "
|
|
83
|
-
params:
|
|
85
|
+
resetContext: {
|
|
86
|
+
type: "resetContext";
|
|
87
|
+
params: xstate999.NonReducibleUnknown;
|
|
84
88
|
};
|
|
85
89
|
setConsentData: {
|
|
86
90
|
type: "setConsentData";
|
|
87
|
-
params:
|
|
91
|
+
params: xstate999.NonReducibleUnknown;
|
|
88
92
|
};
|
|
89
93
|
toggleCheckbox: {
|
|
90
94
|
type: "toggleCheckbox";
|
|
91
|
-
params:
|
|
92
|
-
};
|
|
93
|
-
resetContext: {
|
|
94
|
-
type: "resetContext";
|
|
95
|
-
params: xstate1184.NonReducibleUnknown;
|
|
95
|
+
params: xstate999.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, xstate999.NonReducibleUnknown, xstate999.EventObject, xstate999.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate999.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate999.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate999.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate999.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate999.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate999.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate999.RequiredActorOptions<T>]: unknown }) | undefined], xstate999.IsNotNever<xstate999.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate999.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate999.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate999.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate999.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate999.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate999.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate999.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate999.IsNotNever<xstate999.RequiredActorOptions<T_1>>> : never : never : never)): xstate999.ActorRefFromLogic<xstate999.GetConcreteByKey<xstate999.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate999.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate999.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate999.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate999.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate999.AnyActorLogic>(src: TLogic, ...[options]: xstate999.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate999.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate999.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate999.IsNotNever<xstate999.RequiredLogicInput<TLogic>>>): xstate999.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate999.ActorRef<xstate999.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate999.AnyActorRef | undefined>, xstate999.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate999.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate999.ActorRef<xstate999.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate999.AnyActorRef>, xstate999.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate999.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate999.ActorRef<xstate999.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate999.AnyActorRef>, xstate999.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1184.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate999.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, language, signal) {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./Manager-BUc6OqO5.js";
|
|
2
2
|
import "./Actor-Du_LU0S4.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-DvYfmJuu.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
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-
|
|
5
|
+
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-C4rLgKsu.esm.js";
|
|
7
7
|
import "./cpf-BKaho0j_.esm.js";
|
|
8
8
|
|
|
9
9
|
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|