@incodetech/core 0.0.0-dev-20260613-66946835 → 0.0.0-dev-20260616-e026f0c8
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-DtCkxhaa.esm.js → OpenViduRecordingProvider-BDIlX9Cq.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CPTcu6u6.esm.js → StreamCanvasCapture-Dr5n_iK1.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DFBEzBLB.d.ts → StreamCanvasCapture-uQFmjDCE.d.ts} +1 -1
- package/dist/{addressSearch-BQCvIe1E.esm.js → addressSearch-4xxBiFtH.esm.js} +4 -4
- package/dist/{ae-signature-DxX99lOP.esm.js → ae-signature-C8mNUYSC.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +9 -9
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +6 -6
- package/dist/{antifraudManager-DI9S7XTK.esm.js → antifraudManager-By70WUpS.esm.js} +3 -3
- package/dist/{antifraudManager-CMzQ05Gx.d.ts → antifraudManager-vkuogwAe.d.ts} +2 -2
- package/dist/{antifraudStateMachine-ZzjAr546.esm.js → antifraudStateMachine-DPs0Knyq.esm.js} +3 -3
- package/dist/authentication.d.ts +13 -13
- package/dist/authentication.esm.js +27 -27
- package/dist/{authenticationManager-bKzA0gLB.d.ts → authenticationManager-CDxVMHF1.d.ts} +2 -2
- package/dist/{authenticationManager-CwcMuMzK.esm.js → authenticationManager-Dz4IJIrK.esm.js} +6 -6
- package/dist/{authenticationStateMachine-D7BUqBCb.esm.js → authenticationStateMachine-ZqIWl4M4.esm.js} +8 -8
- package/dist/{backCameraStream-lMXrbEpC.esm.js → backCameraStream-iftkf3rd.esm.js} +3 -3
- package/dist/browser-8Za96B1X-CUY3snMa.esm.js +1425 -0
- package/dist/{browserSimulation-DJfvkbAE.esm.js → browserSimulation-CGjpdNA1.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +7 -7
- package/dist/{certificateIssuanceStateMachine-DpPZoGT3.esm.js → certificateIssuanceStateMachine-DB2r-cpB.esm.js} +4 -4
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +6 -6
- package/dist/{consentManager-BIoVcRI-.esm.js → consentManager-ChvHt6T_.esm.js} +3 -3
- package/dist/{consentManager-DnLUS1W3.d.ts → consentManager-DWB0fOnC.d.ts} +52 -52
- package/dist/{consentStateMachine-DbaAIypS.esm.js → consentStateMachine-CWypW8J8.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +6 -6
- package/dist/{cpfOcrManager-qoIZene3.esm.js → cpfOcrManager-B52QLxQV.esm.js} +5 -5
- package/dist/{cpfOcrManager-aJ4f8mX0.d.ts → cpfOcrManager-DZudorH5.d.ts} +25 -25
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +7 -7
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{curpValidationManager-BYxOLnL5.d.ts → curpValidationManager-CeXO_2dN.d.ts} +3 -3
- package/dist/{curpValidationManager-Bzxw5FVS.esm.js → curpValidationManager-De6xoNE4.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-HGNg1cZZ.esm.js → curpValidationStateMachine-Cx2u6xYU.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-DOv0pHd_.esm.js → customWatchlistStateMachine-EkXjc819.esm.js} +3 -3
- package/dist/{deepsightLoader-Cm_PBWfU.esm.js → deepsightLoader-cR0EgL9O.esm.js} +13 -13
- package/dist/{deepsightService-C5vSOVue.esm.js → deepsightService-40p8oygL.esm.js} +7 -7
- package/dist/{deepsightService-DmCqRh9-.d.ts → deepsightService-BpVpDm2O.d.ts} +1 -1
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +248 -248
- package/dist/document-capture.esm.js +13 -13
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-D6ZC_Ty0.esm.js → documentCaptureStateMachine-BBEoBbLb.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -5
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +16 -16
- package/dist/{ekybStateMachine-B0r8yOSu.esm.js → ekybStateMachine-iBJaSAJs.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-IqmWlBh8.esm.js → ekycStateMachine-dXnYshTa.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +8 -8
- package/dist/{electronicSignatureManager-D2WzDJUK.esm.js → electronicSignatureManager-Db9SeoGj.esm.js} +6 -6
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +8 -8
- package/dist/{emailManager-DnID6SGV.d.ts → emailManager-DLFWfHIl.d.ts} +3 -3
- package/dist/{emailManager-BbI08-We.esm.js → emailManager-DQJIAsix.esm.js} +4 -4
- package/dist/{emailStateMachine-CgLix5Wg.esm.js → emailStateMachine-C1DabizS.esm.js} +5 -5
- package/dist/{events-BAfXOOYZ.esm.js → events-CmarQoum.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +26 -26
- package/dist/extensibility.esm.js +57 -57
- package/dist/{externalFetch-h7WAdNPQ.esm.js → externalFetch-crimxkN9.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-C2o4b80r.d.ts → faceCaptureManagerFactory-BQg4HVQ0.d.ts} +9 -9
- package/dist/{faceCaptureManagerFactory-BIG0X_6p.esm.js → faceCaptureManagerFactory-ByC4Qa8y.esm.js} +4 -4
- package/dist/{faceCaptureSetup-CWZnwDLg.esm.js → faceCaptureSetup-B2H2mNGa.esm.js} +7 -7
- package/dist/{faceMatchStateMachine-dCBdFrmq.esm.js → faceMatchStateMachine-eQOGyK1R.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +5 -5
- package/dist/{fieldComparisonManager-BOIJSYPj.d.ts → fieldComparisonManager-CgJctoEw.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Ce8rDT_m.esm.js → fieldComparisonManager-IaJfvmEt.esm.js} +4 -4
- package/dist/fiscal-qr.d.ts +3 -3
- package/dist/fiscal-qr.esm.js +12 -12
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +16 -16
- package/dist/{flowCompletionService-D8OXFjRA.esm.js → flowCompletionService-D9l6fDFY.esm.js} +3 -3
- package/dist/{flowServices-D2O1zeDp.esm.js → flowServices-BRfa1_9p.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-CiwWx_j9.esm.js → geolocationStateMachine-CB4yyRz1.esm.js} +4 -4
- package/dist/{getDeviceClass-BnkJjTVR.esm.js → getDeviceClass-rXKlXywy.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +7 -7
- package/dist/{governmentValidationStateMachine-Kvfdljb6.esm.js → governmentValidationStateMachine-DXqbvuKL.esm.js} +5 -5
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +12 -12
- package/dist/id.esm.js +31 -31
- package/dist/{idCaptureManager-MCG6QtGK.esm.js → idCaptureManager-Cm-IXB70.esm.js} +5 -5
- package/dist/{idCaptureManager-CLOK998H.d.ts → idCaptureManager-Wn84cPTa.d.ts} +8 -8
- package/dist/{idCaptureStateMachine-vkppQGiI.esm.js → idCaptureStateMachine-CU3F89Pn.esm.js} +19 -19
- package/dist/{idOcrStateMachine-Dmqb6Lay.esm.js → idOcrStateMachine-BwksZ-bt.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-DoxfID_7.esm.js → idVerificationStateMachine-BMzgkkbQ.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +6 -6
- package/dist/{identityReuseManager-DcBFqi3g.esm.js → identityReuseManager-Bew667Pj.esm.js} +3 -3
- package/dist/{identityReuseManager-DvE8_LEf.d.ts → identityReuseManager-mEnl2R8N.d.ts} +33 -33
- package/dist/{identityReuseStateMachine-BYee6d-o.esm.js → identityReuseStateMachine-CbR5itoo.esm.js} +3 -3
- package/dist/{index-D6hZs1C6.d.ts → index-B1r8U5de.d.ts} +169 -169
- package/dist/index-Dn9cDS6f.d.ts +99 -0
- package/dist/{index-BbKckxUr.d.ts → index-cIuvyWMa.d.ts} +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +13 -12
- package/dist/{invokeOnCaptureCallback-DW53sNuV.esm.js → invokeOnCaptureCallback-DyJrH089.esm.js} +1 -1
- package/dist/{lib-BCAntT8H.esm.js → lib-DOI53AqI.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +6 -6
- package/dist/{mandatoryConsentManager-BjX0zGkL.d.ts → mandatoryConsentManager-HAXD0YGt.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-CaZap2vM.esm.js → mandatoryConsentManager-kbO0Dr65.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-DebtfjHH.esm.js → mandatoryConsentStateMachine-DtjGqH2e.esm.js} +3 -3
- package/dist/openviduLazy--VDjpeVq.esm.js +3 -0
- package/dist/{openviduLazy-D7RY-Wk1.esm.js → openviduLazy-BapX8Ljx.esm.js} +2 -2
- package/dist/{permissionGuards-D-u5o-ZS.esm.js → permissionGuards-MDEdZAXO.esm.js} +1 -1
- package/dist/{permissionServices-DOMAS5FL.esm.js → permissionServices-BApXq7a0.esm.js} +3 -3
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +8 -8
- package/dist/{phoneManager-C0NWX3dt.esm.js → phoneManager-CZA4CST1.esm.js} +4 -4
- package/dist/{phoneManager-BjqCfWeD.d.ts → phoneManager-CkEiuAuM.d.ts} +3 -3
- package/dist/{phoneStateMachine-BGhYP8mx.esm.js → phoneStateMachine-BQNuJGjq.esm.js} +5 -5
- package/dist/{qe-signature-D10dlZ0x.esm.js → qe-signature-BVUV3TE_.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +9 -9
- package/dist/{recordingService-CBkqroyl.esm.js → recordingService-Cw3hJgT2.esm.js} +15 -15
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +8 -8
- package/dist/{redirectToMobileManager-DK7C4-jS.esm.js → redirectToMobileManager-B4PTmB3H.esm.js} +4 -4
- package/dist/{redirectToMobileManager-BzdVum0z.d.ts → redirectToMobileManager-DYQsXMqo.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-POVmJ2pQ.esm.js → redirectToMobileStateMachine-BWrpS_sN.esm.js} +5 -5
- package/dist/{runChildModule-D1kJKuZp.esm.js → runChildModule-DaOsL9FE.esm.js} +3 -3
- package/dist/selfie.d.ts +13 -13
- package/dist/selfie.esm.js +28 -28
- package/dist/{selfieManager-CEO1DECO.d.ts → selfieManager-CxktnRiy.d.ts} +2 -2
- package/dist/{selfieManager-CQwbCfx1.esm.js → selfieManager-MGv9xxlB.esm.js} +6 -6
- package/dist/{selfieStateMachine-D0azn4SB.esm.js → selfieStateMachine-DIep8sRA.esm.js} +4 -4
- package/dist/{session-Bdskj4-a.esm.js → session-C_G3d7av.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +12 -12
- package/dist/{sessionInitializer-Dx4LN7nF.esm.js → sessionInitializer-Qlg7EwTl.esm.js} +7 -7
- package/dist/{setup-Xw_UwsPu.d.ts → setup-CPD1Cb_d.d.ts} +47 -1
- package/dist/{setup-ldc4smxh.esm.js → setup-wZGxwi9m.esm.js} +36 -7
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-B8MOqm3t.esm.js → signatureStateMachine-B7hxdXio.esm.js} +3 -3
- package/dist/{stats-DYtpAi8r.esm.js → stats-32mOt6D8.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/tri-Bn_ESCop.esm.js +326 -0
- package/dist/tri.d.ts +2 -0
- package/dist/tri.esm-Drm5tKql.esm.js +2590 -0
- package/dist/tri.esm.js +4 -0
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-CMtiO-70.d.ts → types-CNiMvUpA.d.ts} +1 -1
- package/dist/{types-DVP3cl71.d.ts → types-D8y52YD5.d.ts} +2 -2
- package/dist/{types-GHZBxVAa.d.ts → types-DR2YKE_o.d.ts} +1 -1
- package/dist/wasm.d.ts +3 -2
- package/dist/wasm.esm.js +13 -12
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-C_w0OJjF.esm.js → watchlistForBusinessStateMachine-D3W0_TEt.esm.js} +3 -3
- package/dist/{watchlistStateMachine-C6vF9Zrp.esm.js → watchlistStateMachine-D8EXhr5W.esm.js} +3 -3
- package/dist/workflow.d.ts +145 -145
- package/dist/workflow.esm.js +63 -63
- package/package.json +8 -3
- package/dist/openviduLazy-Cen9OnxA.esm.js +0 -3
- /package/dist/{Actor-VPMjMiQi.d.ts → Actor-CeqUTqL9.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-r6RSzdfq.esm.js → BrowserStorageProvider-CGCKial0.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-CswUX7jZ.esm.js → BrowserTimerProvider-BVgutW_b.esm.js} +0 -0
- /package/dist/{ITimerCapability-BAVwUNw-.esm.js → ITimerCapability-BvH0pDwp.esm.js} +0 -0
- /package/dist/{IpifyProvider-WAAszwtP.esm.js → IpifyProvider-oZf7Ke1O.esm.js} +0 -0
- /package/dist/{Manager-TNEsbB6B.d.ts → Manager-CHiHBvMT.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-CnpzpFUv.esm.js → MotionSensorProvider-C9fPAJdS.esm.js} +0 -0
- /package/dist/{StateMachine-D1N4vDv3.d.ts → StateMachine-HpHVxl3G.d.ts} +0 -0
- /package/dist/{WasmUtilProvider-DrWyN0yi.esm.js → WasmUtilProvider-CAZ4AD98.esm.js} +0 -0
- /package/dist/{api-D5AupVUC.esm.js → api-DUZwyz0o.esm.js} +0 -0
- /package/dist/{apiError-DNxc6p50.esm.js → apiError-D-GTvFrH.esm.js} +0 -0
- /package/dist/{camera-q1KoKNR1.d.ts → camera-D0c7ez3w.d.ts} +0 -0
- /package/dist/{camera-CBMl39hO.esm.js → camera-x4LjGTjZ.esm.js} +0 -0
- /package/dist/{canvas-Q8Scx3Gn.esm.js → canvas-7uX2izHb.esm.js} +0 -0
- /package/dist/{chunk-DHPE1s-n.esm.js → chunk-BK1xu56N.esm.js} +0 -0
- /package/dist/{cpf-BSpGHuIr.esm.js → cpf-xBg-DFNn.esm.js} +0 -0
- /package/dist/{dateUtils-D-YO9_Hp.esm.js → dateUtils-8dCcuArE.esm.js} +0 -0
- /package/dist/{endpoints-BUiak39U.esm.js → endpoints-B2t80MAM.esm.js} +0 -0
- /package/dist/{flowCompletionService-CamSPuV-.d.ts → flowCompletionService-DSPt5J5M.d.ts} +0 -0
- /package/dist/{getBrowser-CNCEFWPH.esm.js → getBrowser-Dv8LZyHE.esm.js} +0 -0
- /package/dist/{getDeviceClass-C3N2KaOI.esm.js → getDeviceClass-C0zrM97a.esm.js} +0 -0
- /package/dist/{http-CkcES084.esm.js → http-B2UWIXGr.esm.js} +0 -0
- /package/dist/{otp-Buh7Tv8k.d.ts → otp-BHJnjEEc.d.ts} +0 -0
- /package/dist/{otp-BiWjw9ZQ.esm.js → otp-BcSa5nTM.esm.js} +0 -0
- /package/dist/{platform-DctkySJU.esm.js → platform-BfoqeM61.esm.js} +0 -0
- /package/dist/{types-CruqHl68.d.ts → types-C1ixFPzO.d.ts} +0 -0
- /package/dist/{types-rL_0z8ZR.esm.js → types-C3Yf5jrM.esm.js} +0 -0
- /package/dist/{types-BBaEWy5n.d.ts → types-F0IXbaCB.d.ts} +0 -0
- /package/dist/{urlUtils-C9o6zrp8.esm.js → urlUtils-8RNHyW3x.esm.js} +0 -0
- /package/dist/{warmup-bRMrjEVP.d.ts → warmup-CdT_pVcp.d.ts} +0 -0
- /package/dist/{xstate.esm-BMAePvR6.esm.js → xstate.esm-CbU9dpcC.esm.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as isIOS } from "./platform-
|
|
2
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
1
|
+
import { r as isIOS } from "./platform-BfoqeM61.esm.js";
|
|
2
|
+
import { t as getUserAgent } from "./getBrowser-Dv8LZyHE.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/ua-parser-js@2.0.9/node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
5
5
|
var LIBVERSION = "2.0.9", UA_MAX_LENGTH = 500, USER_AGENT = "user-agent", EMPTY = "", UNKNOWN = "?", TYPEOF = {
|
package/dist/camera.d.ts
CHANGED
package/dist/camera.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
4
|
-
import "./camera-
|
|
1
|
+
import "./WasmUtilProvider-CAZ4AD98.esm.js";
|
|
2
|
+
import "./MotionSensorProvider-C9fPAJdS.esm.js";
|
|
3
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-BApXq7a0.esm.js";
|
|
4
|
+
import "./camera-x4LjGTjZ.esm.js";
|
|
5
5
|
|
|
6
6
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import * as xstate1004 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: xstate1004.StateMachine<CertificateIssuanceContext, {
|
|
43
43
|
type: "LOAD";
|
|
44
44
|
} | {
|
|
45
45
|
type: "PASSWORD_CHANGED";
|
|
@@ -49,28 +49,28 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "FINISH";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate1004.ActorRefFromLogic<xstate1004.PromiseActorLogic<IssueCertificateResponse, {
|
|
53
53
|
password: string;
|
|
54
|
-
},
|
|
54
|
+
}, xstate1004.EventObject>> | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
src: "issueCertificate";
|
|
57
|
-
logic:
|
|
57
|
+
logic: xstate1004.PromiseActorLogic<IssueCertificateResponse, {
|
|
58
58
|
password: string;
|
|
59
|
-
},
|
|
59
|
+
}, xstate1004.EventObject>;
|
|
60
60
|
id: string | undefined;
|
|
61
|
-
},
|
|
61
|
+
}, xstate1004.Values<{
|
|
62
62
|
setPassword: {
|
|
63
63
|
type: "setPassword";
|
|
64
|
-
params:
|
|
64
|
+
params: xstate1004.NonReducibleUnknown;
|
|
65
65
|
};
|
|
66
66
|
setBlob: {
|
|
67
67
|
type: "setBlob";
|
|
68
|
-
params:
|
|
68
|
+
params: xstate1004.NonReducibleUnknown;
|
|
69
69
|
};
|
|
70
70
|
}>, {
|
|
71
71
|
type: "isPasswordValid";
|
|
72
72
|
params: unknown;
|
|
73
|
-
}, never, "error" | "idle" | "processing" | "success" | "finished" | "password", string, CertificateIssuanceInput,
|
|
73
|
+
}, never, "error" | "idle" | "processing" | "success" | "finished" | "password", string, CertificateIssuanceInput, xstate1004.NonReducibleUnknown, xstate1004.EventObject, xstate1004.MetaObject, {
|
|
74
74
|
readonly id: "certificateIssuance";
|
|
75
75
|
readonly initial: "idle";
|
|
76
76
|
readonly context: ({
|
|
@@ -79,39 +79,39 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
79
79
|
spawn: {
|
|
80
80
|
<TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
|
|
81
81
|
src: "issueCertificate";
|
|
82
|
-
logic:
|
|
82
|
+
logic: xstate1004.PromiseActorLogic<IssueCertificateResponse, {
|
|
83
83
|
password: string;
|
|
84
|
-
},
|
|
84
|
+
}, xstate1004.EventObject>;
|
|
85
85
|
id: string | undefined;
|
|
86
86
|
} extends infer T ? T extends {
|
|
87
87
|
src: "issueCertificate";
|
|
88
|
-
logic:
|
|
88
|
+
logic: xstate1004.PromiseActorLogic<IssueCertificateResponse, {
|
|
89
89
|
password: string;
|
|
90
|
-
},
|
|
90
|
+
}, xstate1004.EventObject>;
|
|
91
91
|
id: string | undefined;
|
|
92
92
|
} ? T extends {
|
|
93
93
|
src: TSrc;
|
|
94
|
-
} ?
|
|
94
|
+
} ? xstate1004.ConditionalRequired<[options?: ({
|
|
95
95
|
id?: T["id"] | undefined;
|
|
96
96
|
systemId?: string;
|
|
97
|
-
input?:
|
|
97
|
+
input?: xstate1004.InputFrom<T["logic"]> | undefined;
|
|
98
98
|
syncSnapshot?: boolean;
|
|
99
|
-
} & { [K in
|
|
99
|
+
} & { [K in xstate1004.RequiredActorOptions<T>]: unknown }) | undefined], xstate1004.IsNotNever<xstate1004.RequiredActorOptions<T>>> : never : never : never): xstate1004.ActorRefFromLogic<xstate1004.GetConcreteByKey<{
|
|
100
100
|
src: "issueCertificate";
|
|
101
|
-
logic:
|
|
101
|
+
logic: xstate1004.PromiseActorLogic<IssueCertificateResponse, {
|
|
102
102
|
password: string;
|
|
103
|
-
},
|
|
103
|
+
}, xstate1004.EventObject>;
|
|
104
104
|
id: string | undefined;
|
|
105
105
|
}, "src", TSrc>["logic"]>;
|
|
106
|
-
<TLogic extends
|
|
106
|
+
<TLogic extends xstate1004.AnyActorLogic>(src: TLogic, ...[options]: xstate1004.ConditionalRequired<[options?: ({
|
|
107
107
|
id?: never;
|
|
108
108
|
systemId?: string;
|
|
109
|
-
input?:
|
|
109
|
+
input?: xstate1004.InputFrom<TLogic> | undefined;
|
|
110
110
|
syncSnapshot?: boolean;
|
|
111
|
-
} & { [K in
|
|
111
|
+
} & { [K in xstate1004.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1004.IsNotNever<xstate1004.RequiredLogicInput<TLogic>>>): xstate1004.ActorRefFromLogic<TLogic>;
|
|
112
112
|
};
|
|
113
113
|
input: CertificateIssuanceInput;
|
|
114
|
-
self:
|
|
114
|
+
self: xstate1004.ActorRef<xstate1004.MachineSnapshot<CertificateIssuanceContext, {
|
|
115
115
|
type: "LOAD";
|
|
116
116
|
} | {
|
|
117
117
|
type: "PASSWORD_CHANGED";
|
|
@@ -120,7 +120,7 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
120
120
|
type: "SUBMIT_PASSWORD";
|
|
121
121
|
} | {
|
|
122
122
|
type: "FINISH";
|
|
123
|
-
}, Record<string,
|
|
123
|
+
}, Record<string, xstate1004.AnyActorRef | undefined>, xstate1004.StateValue, string, unknown, any, any>, {
|
|
124
124
|
type: "LOAD";
|
|
125
125
|
} | {
|
|
126
126
|
type: "PASSWORD_CHANGED";
|
|
@@ -129,7 +129,7 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
129
129
|
type: "SUBMIT_PASSWORD";
|
|
130
130
|
} | {
|
|
131
131
|
type: "FINISH";
|
|
132
|
-
},
|
|
132
|
+
}, xstate1004.AnyEventObject>;
|
|
133
133
|
}) => {
|
|
134
134
|
config: CertificateIssuanceConfig;
|
|
135
135
|
password: string;
|
|
@@ -173,7 +173,7 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
173
173
|
} | {
|
|
174
174
|
type: "FINISH";
|
|
175
175
|
};
|
|
176
|
-
self:
|
|
176
|
+
self: xstate1004.ActorRef<xstate1004.MachineSnapshot<CertificateIssuanceContext, {
|
|
177
177
|
type: "LOAD";
|
|
178
178
|
} | {
|
|
179
179
|
type: "PASSWORD_CHANGED";
|
|
@@ -182,7 +182,7 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
182
182
|
type: "SUBMIT_PASSWORD";
|
|
183
183
|
} | {
|
|
184
184
|
type: "FINISH";
|
|
185
|
-
}, Record<string,
|
|
185
|
+
}, Record<string, xstate1004.AnyActorRef>, xstate1004.StateValue, string, unknown, any, any>, {
|
|
186
186
|
type: "LOAD";
|
|
187
187
|
} | {
|
|
188
188
|
type: "PASSWORD_CHANGED";
|
|
@@ -191,7 +191,7 @@ declare const certificateIssuanceMachine: xstate346.StateMachine<CertificateIssu
|
|
|
191
191
|
type: "SUBMIT_PASSWORD";
|
|
192
192
|
} | {
|
|
193
193
|
type: "FINISH";
|
|
194
|
-
},
|
|
194
|
+
}, xstate1004.AnyEventObject>;
|
|
195
195
|
}) => {
|
|
196
196
|
password: string;
|
|
197
197
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import "./urlUtils-
|
|
6
|
-
import "./externalFetch-
|
|
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-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import "./urlUtils-8RNHyW3x.esm.js";
|
|
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-DB2r-cpB.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
10
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as getApi, r as getToken } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as externalFetch } from "./externalFetch-
|
|
1
|
+
import { n as getApi, r as getToken } from "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
4
|
+
import { t as externalFetch } from "./externalFetch-crimxkN9.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
|
7
7
|
function buildIssueCertificateUrl(baseURL) {
|
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-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DWB0fOnC.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
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
6
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-CWypW8J8.esm.js";
|
|
6
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-ChvHt6T_.esm.js";
|
|
7
7
|
|
|
8
8
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
2
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
3
|
+
import { t as consentMachine } from "./consentStateMachine-CWypW8J8.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
@@ -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-CHiHBvMT.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
|
|
3
|
+
import * as xstate24 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: xstate24.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate24.ActorRefFromLogic<xstate24.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate24.EventObject>> | xstate24.ActorRefFromLogic<xstate24.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate24.EventObject>> | undefined;
|
|
59
|
+
}, xstate24.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate24.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate24.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate24.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate24.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate24.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate24.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
84
|
-
};
|
|
85
|
-
resetContext: {
|
|
86
|
-
type: "resetContext";
|
|
87
|
-
params: xstate1526.NonReducibleUnknown;
|
|
83
|
+
params: xstate24.NonReducibleUnknown;
|
|
88
84
|
};
|
|
89
85
|
setConsentData: {
|
|
90
86
|
type: "setConsentData";
|
|
91
|
-
params:
|
|
87
|
+
params: xstate24.NonReducibleUnknown;
|
|
92
88
|
};
|
|
93
89
|
toggleCheckbox: {
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
|
-
params:
|
|
91
|
+
params: xstate24.NonReducibleUnknown;
|
|
92
|
+
};
|
|
93
|
+
resetContext: {
|
|
94
|
+
type: "resetContext";
|
|
95
|
+
params: xstate24.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, xstate24.NonReducibleUnknown, xstate24.EventObject, xstate24.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate24.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate24.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate24.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate24.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate24.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate24.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate24.RequiredActorOptions<T>]: unknown }) | undefined], xstate24.IsNotNever<xstate24.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate24.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate24.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate24.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate24.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate24.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate24.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate24.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate24.IsNotNever<xstate24.RequiredActorOptions<T_1>>> : never : never : never)): xstate24.ActorRefFromLogic<xstate24.GetConcreteByKey<xstate24.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate24.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate24.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate24.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate24.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate24.AnyActorLogic>(src: TLogic, ...[options]: xstate24.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate24.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate24.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate24.IsNotNever<xstate24.RequiredLogicInput<TLogic>>>): xstate24.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate24.ActorRef<xstate24.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate24.AnyActorRef | undefined>, xstate24.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate24.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate24.ActorRef<xstate24.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate24.AnyActorRef>, xstate24.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate24.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate24.ActorRef<xstate24.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate24.AnyActorRef>, xstate24.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1526.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate24.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.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
|
-
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-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-DZudorH5.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
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-
|
|
6
|
-
import "./cpf-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-B52QLxQV.esm.js";
|
|
6
|
+
import "./cpf-xBg-DFNn.esm.js";
|
|
7
7
|
|
|
8
8
|
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
1
|
+
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-xBg-DFNn.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
8
|
async function fetchCpfOcrData(signal) {
|