@incodetech/core 0.0.0-dev-20260721-994f9ab2 → 0.0.0-dev-20260722-09ecbfb4
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/BrowserVisibilityObserverProvider-sJclps4C.esm.js +23 -0
- package/dist/{addressSearch-CK0sUGXQ.esm.js → addressSearch-DEYnZoez.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DNQ03cI-.esm.js → antifraudManager-CFsD4BgV.esm.js} +3 -3
- package/dist/{antifraudStateMachine-BhDtbvsr.esm.js → antifraudStateMachine-VB-aXHct.esm.js} +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-B68L8KNC.esm.js → authenticationManager-Dkk-dG_t.esm.js} +4 -4
- package/dist/{authenticationStateMachine-O7dZpnGG.esm.js → authenticationStateMachine-CFwjKBK6.esm.js} +4 -4
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-FqsRyCQy.esm.js → certificateIssuanceStateMachine-Di_bLlkP.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BFqvQKnL.esm.js → consentManager-0EiBXYtL.esm.js} +3 -3
- package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
- package/dist/{consentStateMachine-DEX3rWmY.esm.js → consentStateMachine-STURxpEc.esm.js} +2 -2
- package/dist/cpf-ocr.esm.js +1 -1
- package/dist/{cpfOcrManager-Crj9julI.esm.js → cpfOcrManager-Bu32le9u.esm.js} +3 -3
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BJ1sNzqp.esm.js → crossDocumentDataMatchManager-Dw7euiiZ.esm.js} +3 -3
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DxpyQx7s.esm.js → curpValidationManager-BGj9U3E0.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-CLaUrwr_.esm.js → curpValidationStateMachine-Dq6l4oeZ.esm.js} +2 -2
- package/dist/custom-fields.esm.js +3 -3
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{customWatchlistStateMachine-DmR8nQ9D.esm.js → customWatchlistStateMachine-BuQML-pk.esm.js} +2 -2
- package/dist/{deepsightLoader-CW18va71.esm.js → deepsightLoader-BUPNrazu.esm.js} +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureManager-C4oWlkFH.esm.js → documentCaptureManager-DBRQX16v.esm.js} +3 -3
- package/dist/{documentCaptureStateMachine-DGUz3CIJ.esm.js → documentCaptureStateMachine-BXgH9gGq.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Cpui-n_E.esm.js → dynamicFormsManager-Fi2O2RUM.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-PBlPbUaP.esm.js → dynamicFormsStateMachine-DiPpuHgF.esm.js} +2 -2
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-0AjXT7WU.esm.js → ekybManager-DyzSDyon.esm.js} +3 -3
- package/dist/{ekybStateMachine-BfG5aAr2.esm.js → ekybStateMachine-CvVN8Sw4.esm.js} +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-CSSMm3NN.esm.js → ekycManager-CI7sN4Ln.esm.js} +3 -3
- package/dist/{ekycStateMachine-DKSNtU9D.esm.js → ekycStateMachine-DFQdmBXl.esm.js} +3 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BGt5jlyi.esm.js → electronicSignatureManager-DGFwHdro.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-B9ZtXkmO.esm.js → emailManager-Dmt1YrtS.esm.js} +3 -3
- package/dist/{emailStateMachine-dPf_JV21.esm.js → emailStateMachine-DQS-QMgQ.esm.js} +2 -2
- package/dist/{events-Cz6MebsD.esm.js → events-Dy8PyVO5.esm.js} +1 -16
- package/dist/events.d.ts +1 -9
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +26 -26
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CgharNp8.esm.js → faceCaptureManagerFactory-Dzp5EexY.esm.js} +5 -30
- package/dist/{faceCaptureSetup-DE-2mJd0.esm.js → faceCaptureSetup-CWOig5q3.esm.js} +4 -4
- package/dist/{faceMatchManager-C27ikuay.esm.js → faceMatchManager-fPX11GnX.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-DPxvXTD8.esm.js → faceMatchStateMachine-D_7UX1rV.esm.js} +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DFRmWfO2.esm.js → fieldComparisonManager-USUE9qDr.esm.js} +3 -3
- package/dist/fiscal-qr.esm.js +3 -3
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-B48iPbyR.esm.js → flowServices-BLIDvSD_.esm.js} +2 -2
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BOuGkRoP.d.ts → geolocationManager-Cz744E5S.d.ts} +9 -3
- package/dist/{geolocationManager-BYoB21KI.esm.js → geolocationManager-bZDyI0gy.esm.js} +4 -3
- package/dist/{geolocationStateMachine-2NKDWQIg.esm.js → geolocationStateMachine-ByU6-nbM.esm.js} +4 -3
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-DOzBCyQG.esm.js → governmentValidationStateMachine-loZfWcU9.esm.js} +2 -2
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-Cl2SSmez.esm.js → idCaptureManager-C_N3oQaD.esm.js} +8 -27
- package/dist/{idCaptureStateMachine-Bbd-g7Xy.esm.js → idCaptureStateMachine-BVdmrgez.esm.js} +8 -8
- package/dist/{idOcrManager-CZqArdyB.esm.js → idOcrManager-gscmFPxD.esm.js} +3 -3
- package/dist/{idOcrStateMachine-D6SZ5UEN.esm.js → idOcrStateMachine-jfAyK4Bb.esm.js} +3 -3
- package/dist/{idVerificationManager-D-fdmeEv.esm.js → idVerificationManager-BTsyXjv6.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-CRyto3WY.esm.js → idVerificationStateMachine-7BSciEJk.esm.js} +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-B4Uc5t63.esm.js → identityReuseManager-BjMJHKLP.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-DuDSkTJQ.esm.js → identityReuseStateMachine-B0IFF3R7.esm.js} +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-DClbfPxs.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-D0xVg9hS.esm.js → mandatoryConsentManager-BOOjm7SU.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-BYyb8A34.d.ts → mandatoryConsentManager-Bc9AKBft.d.ts} +4 -4
- package/dist/{mandatoryConsentStateMachine-OJMLYTcA.esm.js → mandatoryConsentStateMachine-BP3npRnI.esm.js} +2 -2
- package/dist/{onDeviceFaceResults-CebB9ldi.esm.js → onDeviceFaceResults-qgKdBiIh.esm.js} +1 -1
- package/dist/personhood.esm.js +5 -5
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-CuSs7oB6.esm.js → phoneManager-C3aqq6jS.esm.js} +3 -3
- package/dist/{phoneStateMachine-BcNKggqC.esm.js → phoneStateMachine-CLGcLA8t.esm.js} +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DhaNJlUl.esm.js → recordingService-BVB3y2SV.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-eW8H-t2I.esm.js → redirectToMobileManager-Ct_5C_La.esm.js} +4 -4
- package/dist/{redirectToMobileStateMachine-DfeNOyS0.esm.js → redirectToMobileStateMachine-D78eaxsp.esm.js} +2 -2
- package/dist/{runChildModule-CqKn3aLp.esm.js → runChildModule-Crz1nHwJ.esm.js} +3 -3
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-BcCNMJr4.esm.js → selfieManager-CD3eq3lb.esm.js} +4 -4
- package/dist/{selfieStateMachine-CldOx1Pu.esm.js → selfieStateMachine-CQ6tKeZz.esm.js} +4 -4
- package/dist/session-Di-Ui1r-.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-CK13dw7Z.esm.js → sessionInitializer-C5CgDG11.esm.js} +2 -2
- package/dist/{setup-DqX86MkT.esm.js → setup-BN984iL1.esm.js} +2 -2
- package/dist/signature.esm.js +3 -3
- package/dist/{signatureStateMachine-CL414Utx.esm.js → signatureStateMachine-zRLvEGTw.esm.js} +2 -2
- package/dist/trust-graph.esm.js +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +3 -3
- package/dist/watchlist.esm.js +3 -3
- package/dist/{watchlistForBusinessStateMachine-Bneo_qn7.esm.js → watchlistForBusinessStateMachine-Rc6BAwlr.esm.js} +2 -2
- package/dist/{watchlistStateMachine-Dy3_dkvG.esm.js → watchlistStateMachine-64y9XBjm.esm.js} +2 -2
- package/dist/workflow.esm.js +31 -31
- package/dist/{xstate-actors.esm-BaY-n1vb.esm.js → xstate-actors.esm-CtI5S0f4.esm.js} +1 -1
- package/dist/{xstate.esm-DJRyQbtk.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +3 -10
- package/package.json +3 -3
- package/dist/BrowserVisibilityObserverProvider-DfE4Sheq.esm.js +0 -64
- package/dist/session-CcdFudDY.esm.js +0 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
2
|
+
function setWasmDsFlagSync(enabled) {
|
|
3
|
+
if (typeof localStorage === "undefined") return;
|
|
4
|
+
localStorage.setItem("ds", enabled ? "1" : "0");
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ../infra/src/providers/browser/BrowserVisibilityObserverProvider.ts
|
|
8
|
+
var BrowserVisibilityObserverProvider = class {
|
|
9
|
+
isVisible() {
|
|
10
|
+
return !document.hidden;
|
|
11
|
+
}
|
|
12
|
+
onVisibilityChange(listener) {
|
|
13
|
+
const handler = () => {
|
|
14
|
+
listener(!document.hidden);
|
|
15
|
+
};
|
|
16
|
+
document.addEventListener("visibilitychange", handler);
|
|
17
|
+
return () => {
|
|
18
|
+
document.removeEventListener("visibilitychange", handler);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { setWasmDsFlagSync as n, BrowserVisibilityObserverProvider as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
const usStateOptions = Object.values({
|
|
6
6
|
AL: {
|
|
7
7
|
code: "AL",
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DGFwHdro.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CFsD4BgV.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
|
7
7
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-BhDtbvsr.esm.js → antifraudStateMachine-VB-aXHct.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
6
6
|
async function processAntifraud(signal) {
|
|
7
7
|
const res = await api.get(endpoints.processAntifraud, { signal });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CFwjKBK6.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Dkk-dG_t.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-B68L8KNC.esm.js → authenticationManager-Dkk-dG_t.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
|
+
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dzp5EexY.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CFwjKBK6.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
|
-
import { r as assign } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
4
|
+
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CWOig5q3.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-qgKdBiIh.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
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 { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
+
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-Di_bLlkP.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, r as getToken } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
|
7
7
|
function buildIssueCertificateUrl(baseURL) {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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 { 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-3Pbtj-RV.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-0EiBXYtL.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
7
7
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -82,10 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "clearError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
-
resetContext: {
|
|
86
|
-
type: "resetContext";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
85
|
setConsentData: {
|
|
90
86
|
type: "setConsentData";
|
|
91
87
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
91
|
params: NonReducibleUnknown;
|
|
96
92
|
};
|
|
93
|
+
resetContext: {
|
|
94
|
+
type: "resetContext";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
7
7
|
if (!consentId) throw new Error("Combined consent id is required");
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-
|
|
1
|
+
import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-Bu32le9u.esm.js";
|
|
2
2
|
export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
7
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
8
|
async function fetchCpfOcrData(signal) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { c as createManager, o as createActor, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
7
7
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
8
8
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BGj9U3E0.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-DxpyQx7s.esm.js → curpValidationManager-BGj9U3E0.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
6
6
|
function createCurpValidationActor(options) {
|
|
7
7
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
6
6
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
|
7
7
|
function isValidCurp(curp) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
6
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
8
8
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
9
9
|
async function submitCustomFields(params, signal) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
6
6
|
function createCustomWatchlistActor() {
|
|
7
7
|
return createActor(customWatchlistMachine).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
6
6
|
async function processWatchlist(signal) {
|
|
7
7
|
const res = await api.post(endpoints.processWatchlist, {}, { signal });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
|
-
import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
4
|
+
import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-C5CgDG11.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
7
7
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DBRQX16v.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
7
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
8
8
|
//#region src/modules/document-upload/documentUploadServices.ts
|
package/dist/{documentCaptureManager-C4oWlkFH.esm.js → documentCaptureManager-DBRQX16v.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
7
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-Fi2O2RUM.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-PBlPbUaP.esm.js → dynamicFormsStateMachine-DiPpuHgF.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsFields.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
2
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-CvVN8Sw4.esm.js";
|
|
2
|
+
import { t as createEkybManager } from "./ekybManager-DyzSDyon.esm.js";
|
|
3
3
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-CvVN8Sw4.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
6
|
-
import { t as getFlow } from "./flowServices-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
|
|
6
|
+
import { t as getFlow } from "./flowServices-BLIDvSD_.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
/**
|
|
9
9
|
* Countries available in all environments.
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-
|
|
2
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
1
|
+
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
|
|
2
|
+
import { t as createEkycManager } from "./ekycManager-CI7sN4Ln.esm.js";
|
|
3
3
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
6
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
6
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
8
8
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|
|
9
9
|
const STATE_CODE_HINTS = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DGFwHdro.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
6
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
|
8
8
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
9
9
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-Dmt1YrtS.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
|
|
4
4
|
//#region src/modules/email/emailActor.ts
|
|
5
5
|
function createEmailActor(options) {
|
|
6
6
|
return createActor(emailMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
|
@@ -209,14 +209,6 @@ function errorTriggered(module, screen, payload) {
|
|
|
209
209
|
payload
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
function stateChanged(module, screen, payload) {
|
|
213
|
-
screenEvent({
|
|
214
|
-
module,
|
|
215
|
-
screen,
|
|
216
|
-
code: "stateEvent",
|
|
217
|
-
payload
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
212
|
function elementClicked(module, screen, payload) {
|
|
221
213
|
screenEvent({
|
|
222
214
|
module,
|
|
@@ -298,7 +290,6 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
298
290
|
onModuleClosed: moduleClosed,
|
|
299
291
|
onScreenOpened: screenOpened,
|
|
300
292
|
onScreenClosed: screenClosed,
|
|
301
|
-
onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
|
|
302
293
|
onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
|
|
303
294
|
errorName,
|
|
304
295
|
...payload
|
|
@@ -313,12 +304,6 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
313
304
|
getEventScreenName: options?.getEventScreenName,
|
|
314
305
|
getScreenName: options?.getScreenName
|
|
315
306
|
}),
|
|
316
|
-
getStateName: (snapshot) => {
|
|
317
|
-
const stateName = options?.getEventStateName?.(snapshot);
|
|
318
|
-
if (stateName === void 0) return;
|
|
319
|
-
const trimmed = stateName.trim();
|
|
320
|
-
return trimmed.length > 0 ? trimmed : void 0;
|
|
321
|
-
},
|
|
322
307
|
getErrorName: (snapshot) => {
|
|
323
308
|
const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
|
|
324
309
|
if (mappedError === void 0) return;
|
|
@@ -516,4 +501,4 @@ const cameraScreenNamesMapper = {
|
|
|
516
501
|
document: "document"
|
|
517
502
|
};
|
|
518
503
|
//#endregion
|
|
519
|
-
export {
|
|
504
|
+
export { setAnalyticsBatcher as _, videoSelfieEvents as a, getTimestamp as b, elementClicked as c, screenClosed as d, screenEvent as f, resetAnalyticsBatcher as g, getAnalyticsBatcher as h, tutorialScreenNamesMapper as i, moduleClosed as l, addEvent as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, subscribeEvent as v, revokeObjectURL as x, createEventBus as y };
|
package/dist/events.d.ts
CHANGED
|
@@ -256,20 +256,12 @@ type ElementClickedPayload = {
|
|
|
256
256
|
type CaptureAttemptFinishedPayload = {
|
|
257
257
|
logs: string;
|
|
258
258
|
};
|
|
259
|
-
type StateChangedPayload = {
|
|
260
|
-
/**
|
|
261
|
-
* The Figma sub-section name for the in-screen state, e.g.
|
|
262
|
-
* `idCapture.frontCapture.livecue-glare`. Emitted verbatim.
|
|
263
|
-
*/
|
|
264
|
-
stateName: string;
|
|
265
|
-
};
|
|
266
259
|
declare function screenEvent(params: ScreenEventParams): void;
|
|
267
260
|
declare function moduleOpened(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
268
261
|
declare function moduleClosed(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
269
262
|
declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
270
263
|
declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
271
|
-
declare function stateChanged(module: EventModule | string, screen: EventScreen | string | undefined, payload: StateChangedPayload): void;
|
|
272
264
|
declare function elementClicked(module: EventModule | string, screen: EventScreen | string | undefined, payload: ElementClickedPayload): void;
|
|
273
265
|
declare function captureAttemptFinished(module: EventModule | string, screen: EventScreen | string | undefined, payload: CaptureAttemptFinishedPayload): void;
|
|
274
266
|
//#endregion
|
|
275
|
-
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen,
|
|
267
|
+
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent,
|
|
2
|
-
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened,
|
|
1
|
+
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened, v as subscribeEvent } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
+
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|