@incodetech/core 2.5.0-agentic.2 → 2.5.0-agentic.4
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/{FaceDetectionProvider-ClZEDaLF.esm.js → FaceDetectionProvider-B2OEnDt2.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-CWjo9dzH.esm.js → apiError-Do_ENltS.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-D_qFuB3y.esm.js → authenticationManager-BWEV6aMx.esm.js} +3 -3
- package/dist/{authenticationManager-CkD0JR7Q.d.ts → authenticationManager-D_dz2zK4.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DJJWTDZS.esm.js → authenticationStateMachine-BkWq_E_G.esm.js} +3 -3
- package/dist/{browser-pQZA35G2-B4Dwja1e.esm.js → browser-pQZA35G2-DveVe0Ui.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-CMed_O5F.d.ts} +8 -8
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-HOidAKvT.d.ts → curpValidationManager-tNhzv7vZ.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-XPx0BN30.esm.js → deepsightCaptureConfig-STnq4lRZ.esm.js} +2 -2
- package/dist/{deepsightLoader-Bvs8HYaK.esm.js → deepsightLoader-BmGlg8gs.esm.js} +4 -4
- package/dist/{desktopCameraElection-CdrLiJTn.esm.js → desktopCameraElection-D3qtcsc2.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
- package/dist/{documentSignatureStateMachine-oqU3EPca.esm.js → documentSignatureStateMachine-BCoecPrg.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-YGL7Avp-.esm.js → dynamicFormsManager-DvulYgm9.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BE_WfmVE.esm.js → dynamicFormsStateMachine-BWPSyqdR.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-35NxvxZK.esm.js → ekybManager-fcUtnlB1.esm.js} +1 -1
- package/dist/{ekybStateMachine-BD4zpC3O.esm.js → ekybStateMachine-CnBuED_Y.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-D2K8AaMV.esm.js → ekycManager-SUIAHlrm.esm.js} +1 -1
- package/dist/{ekycManager-DusmB-4j.d.ts → ekycManager-mv2rWxc4.d.ts} +1 -1
- package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-Dhy0OG_b.d.ts} +30 -30
- package/dist/{ekycPrefillManager-CxzjSch2.esm.js → ekycPrefillManager-fergzYJh.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-x6skDqhq.esm.js → ekycPrefillStateMachine-C-__JKhu.esm.js} +21 -4
- package/dist/{ekycStateMachine-6EKndBd7.esm.js → ekycStateMachine-Czn2CaTV.esm.js} +134 -3
- package/dist/{ekycUtils-C6HZB46m.esm.js → ekycUtils-BnTyeA-_.esm.js} +12 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BYJHywZK.esm.js → electronicSignatureManager-DPuFQg8k.esm.js} +1 -1
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-D1EJw36F.d.ts → faceCaptureManagerFactory-B1WfKaGJ.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-CYr2rVEj.esm.js → faceCaptureManagerFactory-B269Ti19.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DadLKnMf.esm.js → faceCaptureSetup-BE2mXdnw.esm.js} +7 -7
- package/dist/{feature-management-CUzbPq54.esm.js → feature-management-D3DN_V9P.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BSiUcHmU.esm.js → flowCompletionService-Bax6-9W_.esm.js} +1 -1
- package/dist/{flowServices-BIMnpB8Q.esm.js → flowServices-BYgGLgPE.esm.js} +5 -5
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D7J-rLJp.esm.js → geolocationManager-Cd63r06N.esm.js} +1 -1
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationStateMachine-5g2Quxbz.esm.js → geolocationStateMachine-DQoO2rUR.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-Du5jr3gJ.esm.js → idCaptureManager--xW144zw.esm.js} +4 -4
- package/dist/{idCaptureManager-CNFBeYgV.d.ts → idCaptureManager-DXqvtLr9.d.ts} +2 -2
- package/dist/{idCaptureServices-N0sn1AOF.esm.js → idCaptureServices-Bty5n48M.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-CHk0uv1U.esm.js → idCaptureStateMachine-CPbkBqqr.esm.js} +45 -25
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/{index-bsGvWr9-.d.ts → index-B3BI8mVu.d.ts} +12 -3
- package/dist/{index-BoGlwLGK.d.ts → index-BnKhmWhM.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CDxP2pYP.esm.js → kybChecksManager-DkEmoCbB.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-ZOKNXTUx.esm.js → kybChecksStateMachine-D0L-Q2hK.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-BcxCesP5.d.ts → mandatoryConsentManager-D2LkPii6.d.ts} +9 -9
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-Cg-DwTxA.esm.js → recordingService-DNPhMMoR.esm.js} +1 -1
- package/dist/{runChildModule-Dd-tXDh2.esm.js → runChildModule-C2m6mJ2T.esm.js} +1 -1
- package/dist/{numericRange-2e1vw1W0.esm.js → scriptCharacters-D7swUycV.esm.js} +13 -1
- package/dist/{sdkVersion-DDHH3E2F.esm.js → sdkVersion-CVMUqXNU.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-Dtm9bDS7.esm.js → selfieErrorUtils-ju7aVrLg.esm.js} +1 -1
- package/dist/{selfieManager-CqDlUy6B.d.ts → selfieManager-B2j448t4.d.ts} +1 -1
- package/dist/{selfieManager-BYJPzJW1.esm.js → selfieManager-C97OhswU.esm.js} +3 -3
- package/dist/{selfieStateMachine-DGg7S9O6.esm.js → selfieStateMachine-gC8Z0QCa.esm.js} +3 -3
- package/dist/{session-B49EJzZg.esm.js → session-C7UicQ8z.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CaY5gnUl.esm.js → sessionInitializer-DCcAcsW_.esm.js} +6 -6
- package/dist/{setup-B7SDCbtu.esm.js → setup-D4J8ssM5.esm.js} +8 -7
- package/dist/{setup-CTnxQSQW.d.ts → setup-DprzbOsJ.d.ts} +1 -1
- package/dist/tri-DMUNbQg9.esm.js +559 -0
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-CftnGf9w.esm.js → tri.esm-DnXGKdlE.esm.js} +1296 -1057
- package/dist/tri.esm.js +1 -1
- package/dist/trueSight-S1NuY2y8.esm.js +1 -0
- package/dist/{trueSightService-BWDGk571.esm.js → trueSightService-Bv1F3g9Y.esm.js} +1 -1
- package/dist/{types-BZsmNYom.d.ts → types-BFoC3IpR.d.ts} +2 -2
- package/dist/{types-PnJXvTkV.d.ts → types-BkxI3PHf.d.ts} +1 -1
- package/dist/{types-D-FEM1rT.d.ts → types-BxJWsAHc.d.ts} +4 -4
- package/dist/{types-HHgsFhZn.d.ts → types-CAzi8tyi.d.ts} +1 -1
- package/dist/types-CEdI4tfR.d.ts +6 -0
- package/dist/{types-tOSLpcSa.d.ts → types-CkzE2gPZ.d.ts} +5 -0
- package/dist/{types-LbccjQYX.d.ts → types-DuARPzVa.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DFhlGeRd.esm.js → videoSelfieCameraWarmer-DIqKYhRB.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-CxOc3kSI.d.ts → videoSelfieStepDetector-CrlbZ-rN.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +19 -19
- package/package.json +4 -3
- package/dist/tri-DBB-iiN3.esm.js +0 -385
- package/dist/trueSight-Dg3TSVN7.esm.js +0 -1
- package/dist/types-BinnzVrL.d.ts +0 -6
package/dist/{FaceDetectionProvider-ClZEDaLF.esm.js → FaceDetectionProvider-B2OEnDt2.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-ClZxXOkg.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-D4J8ssM5.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./trueSight-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-Bv1F3g9Y.esm.js";
|
|
6
|
+
import "./trueSight-S1NuY2y8.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
9
9
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -234,7 +234,7 @@ function startDetection(params) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
async function initializeDeepsightSession(options) {
|
|
237
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
237
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BmGlg8gs.esm.js");
|
|
238
238
|
return loadDeepsightSession({
|
|
239
239
|
ds: options.ds,
|
|
240
240
|
storage: options.storage
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DPuFQg8k.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-CEdI4tfR.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-D_dz2zK4.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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-BkWq_E_G.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BWEV6aMx.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-D_qFuB3y.esm.js → authenticationManager-BWEV6aMx.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D4J8ssM5.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import "./events-PUWyizJn.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B269Ti19.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BkWq_E_G.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BE2mXdnw.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-B2OEnDt2.esm.js";
|
|
5
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-D3qtcsc2.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261130153510-2a00381e18ea88407aeb423f468bc502470035cb/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
|
|
2
2
|
var n = {};
|
|
3
3
|
var t = Uint8Array;
|
|
4
4
|
var i = Uint16Array;
|
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-CMed_O5F.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -75,20 +75,16 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
};
|
|
77
77
|
}>, Values<{
|
|
78
|
-
setError: {
|
|
79
|
-
type: "setError";
|
|
80
|
-
params: NonReducibleUnknown;
|
|
81
|
-
};
|
|
82
78
|
clearError: {
|
|
83
79
|
type: "clearError";
|
|
84
80
|
params: NonReducibleUnknown;
|
|
85
81
|
};
|
|
86
|
-
|
|
87
|
-
type: "
|
|
82
|
+
setError: {
|
|
83
|
+
type: "setError";
|
|
88
84
|
params: NonReducibleUnknown;
|
|
89
85
|
};
|
|
90
|
-
|
|
91
|
-
type: "
|
|
86
|
+
setLoadError: {
|
|
87
|
+
type: "setLoadError";
|
|
92
88
|
params: NonReducibleUnknown;
|
|
93
89
|
};
|
|
94
90
|
setConsentData: {
|
|
@@ -99,6 +95,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
99
95
|
type: "toggleCheckbox";
|
|
100
96
|
params: NonReducibleUnknown;
|
|
101
97
|
};
|
|
98
|
+
resetContext: {
|
|
99
|
+
type: "resetContext";
|
|
100
|
+
params: NonReducibleUnknown;
|
|
101
|
+
};
|
|
102
102
|
}>, {
|
|
103
103
|
type: "canSubmit";
|
|
104
104
|
params: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-tNhzv7vZ.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
2
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
3
|
import "./Actor-DqjOqDfU.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
package/dist/{deepsightCaptureConfig-XPx0BN30.esm.js → deepsightCaptureConfig-STnq4lRZ.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-
|
|
2
|
-
import "./trueSight-
|
|
1
|
+
import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-Bv1F3g9Y.esm.js";
|
|
2
|
+
import "./trueSight-S1NuY2y8.esm.js";
|
|
3
3
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
4
4
|
//#region src/internal/deepsight/deepsightCaptureConfig.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import "./trueSight-
|
|
5
|
-
import { C as SDK_PLATFORM, S as fingerprintSignalsReporter, _ as isBrowserSimulation, b as IpifyProvider, n as getFingerprintEnabled, t as getDisableIpify, x as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-Bv1F3g9Y.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-CVMUqXNU.esm.js";
|
|
4
|
+
import "./trueSight-S1NuY2y8.esm.js";
|
|
5
|
+
import { C as SDK_PLATFORM, S as fingerprintSignalsReporter, _ as isBrowserSimulation, b as IpifyProvider, n as getFingerprintEnabled, t as getDisableIpify, x as BrowserEnvironmentProvider } from "./sessionInitializer-DCcAcsW_.esm.js";
|
|
6
6
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
7
7
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
8
8
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Bw-P5OG1.esm.js";
|
package/dist/{desktopCameraElection-CdrLiJTn.esm.js → desktopCameraElection-D3qtcsc2.esm.js}
RENAMED
|
@@ -3,14 +3,14 @@ import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain,
|
|
|
3
3
|
import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-DukEcrU8.esm.js";
|
|
4
4
|
import { i as utilityWasmApi } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
5
5
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
6
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
7
|
-
import "./trueSight-
|
|
8
|
-
import { m as getFeatureGate } from "./feature-management-
|
|
6
|
+
import { u as trueSightLog } from "./trueSightService-Bv1F3g9Y.esm.js";
|
|
7
|
+
import "./trueSight-S1NuY2y8.esm.js";
|
|
8
|
+
import { m as getFeatureGate } from "./feature-management-D3DN_V9P.esm.js";
|
|
9
9
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
11
11
|
import { u as queryCameraPermission } from "./permissionServices-Vd86JiW9.esm.js";
|
|
12
12
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
13
|
-
import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-
|
|
13
|
+
import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-STnq4lRZ.esm.js";
|
|
14
14
|
import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
15
15
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
16
16
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-
|
|
5
|
+
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-BCoecPrg.esm.js";
|
|
6
6
|
//#region src/modules/document-signature/documentSignatureActor.ts
|
|
7
7
|
function createDocumentSignatureActor(options) {
|
|
8
8
|
return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
|
|
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
id: string | undefined;
|
|
103
103
|
};
|
|
104
104
|
}>, Values<{
|
|
105
|
-
decrementAttemptsRemaining: {
|
|
106
|
-
type: "decrementAttemptsRemaining";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
clearError: {
|
|
110
106
|
type: "clearError";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
112
108
|
};
|
|
109
|
+
decrementAttemptsRemaining: {
|
|
110
|
+
type: "decrementAttemptsRemaining";
|
|
111
|
+
params: NonReducibleUnknown;
|
|
112
|
+
};
|
|
113
113
|
setStream: {
|
|
114
114
|
type: "setStream";
|
|
115
115
|
params: NonReducibleUnknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
3
|
import "./events-PUWyizJn.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-Do_ENltS.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
//#region src/modules/document-signature/documentSignatureServices.ts
|
|
@@ -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-BWPSyqdR.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DvulYgm9.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
6
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BWPSyqdR.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
8
8
|
function createDynamicFormsActor(options) {
|
|
9
9
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-BE_WfmVE.esm.js → dynamicFormsStateMachine-BWPSyqdR.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-Do_ENltS.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
2
2
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BwMpWCVG.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-Cjk8pQX0.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { g as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-Dl0MU-ib.esm.js";
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-CnBuED_Y.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-fcUtnlB1.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
6
|
+
import { t as ekybMachine } from "./ekybStateMachine-CnBuED_Y.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-BYgGLgPE.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as isSupportedCountry, h as UBO_FIELD_LABELS, i as isFormFieldEntry, l as ALL_COUNTRIES, m as TAX_ID_RULES_BY_COUNTRY, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-Dl0MU-ib.esm.js";
|
package/dist/ekyc-prefill.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as EkycPrefillFieldDef, f as EkycPrefillValues, i as EkycPrefillErrorKind, l as EkycPrefillModuleConfig, n as EkycPrefillConfigField, o as EkycPrefillFieldError, s as EkycPrefillFieldErrors, t as EkycPrefillConfig, u as EkycPrefillServedField } from "./types-g3NuVCT9.js";
|
|
2
|
-
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
2
|
+
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-Dhy0OG_b.js";
|
|
3
3
|
//#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
|
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-C-__JKhu.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-fergzYJh.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
2
|
-
import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig } from "./types-
|
|
3
|
-
import { a as EkycStep, n as EkycState, r as createEkycManager, s as ekycMachine, t as EkycManager } from "./ekycManager-
|
|
2
|
+
import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig } from "./types-CkzE2gPZ.js";
|
|
3
|
+
import { a as EkycStep, n as EkycState, r as createEkycManager, s as ekycMachine, t as EkycManager } from "./ekycManager-mv2rWxc4.js";
|
|
4
4
|
//#region src/modules/ekyc/ekycUtils.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as toEkycConfig } from "./ekycUtils-
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
1
|
+
import { d as toEkycConfig } from "./ekycUtils-BnTyeA-_.esm.js";
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-Czn2CaTV.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-SUIAHlrm.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-
|
|
6
|
+
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-Czn2CaTV.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYC actor.
|
|
@@ -2,7 +2,7 @@ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
|
2
2
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
3
|
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
5
|
-
import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-
|
|
5
|
+
import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-CkzE2gPZ.js";
|
|
6
6
|
//#region src/modules/ekyc/ekycStateMachine.d.ts
|
|
7
7
|
declare const ekycMachine: any;
|
|
8
8
|
type EkycMachine = typeof ekycMachine;
|
|
@@ -27,15 +27,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "CLOSE";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]: ActorRefFromLogic<PromiseActorLogic<
|
|
30
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<void, {
|
|
31
31
|
hasPhone: boolean;
|
|
32
|
-
}, EventObject>> | undefined;
|
|
32
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>> | undefined;
|
|
33
33
|
}, Values<{
|
|
34
|
-
submit: {
|
|
35
|
-
src: "submit";
|
|
36
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
37
|
-
id: string | undefined;
|
|
38
|
-
};
|
|
39
34
|
loadPhoneRules: {
|
|
40
35
|
src: "loadPhoneRules";
|
|
41
36
|
logic: PromiseActorLogic<void, {
|
|
@@ -43,6 +38,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
43
38
|
}, EventObject>;
|
|
44
39
|
id: string | undefined;
|
|
45
40
|
};
|
|
41
|
+
submit: {
|
|
42
|
+
src: "submit";
|
|
43
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
44
|
+
id: string | undefined;
|
|
45
|
+
};
|
|
46
46
|
}>, Values<{
|
|
47
47
|
applyForm: {
|
|
48
48
|
type: "applyForm";
|
|
@@ -81,10 +81,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
81
81
|
params: NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
}>, Values<{
|
|
84
|
-
isValid: {
|
|
85
|
-
type: "isValid";
|
|
86
|
-
params: unknown;
|
|
87
|
-
};
|
|
88
84
|
phoneRulesFailed: {
|
|
89
85
|
type: "phoneRulesFailed";
|
|
90
86
|
params: unknown;
|
|
@@ -97,6 +93,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
97
93
|
type: "canRender";
|
|
98
94
|
params: unknown;
|
|
99
95
|
};
|
|
96
|
+
isValid: {
|
|
97
|
+
type: "isValid";
|
|
98
|
+
params: unknown;
|
|
99
|
+
};
|
|
100
100
|
isBadRequest: {
|
|
101
101
|
type: "isBadRequest";
|
|
102
102
|
params: unknown;
|
|
@@ -109,20 +109,24 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
109
109
|
type: "isLimitReached";
|
|
110
110
|
params: unknown;
|
|
111
111
|
};
|
|
112
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
112
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "misconfigured" | "submitting" | "limitReached" | {
|
|
113
113
|
form: "inputting" | "validating";
|
|
114
114
|
}, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
115
115
|
readonly id: "ekycPrefill";
|
|
116
116
|
readonly initial: "idle";
|
|
117
117
|
readonly context: ({ input }: {
|
|
118
118
|
spawn: {
|
|
119
|
-
<TSrc extends "
|
|
120
|
-
src: "
|
|
121
|
-
logic: PromiseActorLogic<
|
|
119
|
+
<TSrc extends "loadPhoneRules" | "submit">(logic: TSrc, ...[options]: ({
|
|
120
|
+
src: "loadPhoneRules";
|
|
121
|
+
logic: PromiseActorLogic<void, {
|
|
122
|
+
hasPhone: boolean;
|
|
123
|
+
}, EventObject>;
|
|
122
124
|
id: string | undefined;
|
|
123
125
|
} extends (infer T) ? T extends {
|
|
124
|
-
src: "
|
|
125
|
-
logic: PromiseActorLogic<
|
|
126
|
+
src: "loadPhoneRules";
|
|
127
|
+
logic: PromiseActorLogic<void, {
|
|
128
|
+
hasPhone: boolean;
|
|
129
|
+
}, EventObject>;
|
|
126
130
|
id: string | undefined;
|
|
127
131
|
} ? T extends {
|
|
128
132
|
src: TSrc;
|
|
@@ -132,16 +136,12 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
132
136
|
input?: InputFrom<T["logic"]> | undefined;
|
|
133
137
|
syncSnapshot?: boolean;
|
|
134
138
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
135
|
-
src: "
|
|
136
|
-
logic: PromiseActorLogic<
|
|
137
|
-
hasPhone: boolean;
|
|
138
|
-
}, EventObject>;
|
|
139
|
+
src: "submit";
|
|
140
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
139
141
|
id: string | undefined;
|
|
140
142
|
} extends (infer T_1) ? T_1 extends {
|
|
141
|
-
src: "
|
|
142
|
-
logic: PromiseActorLogic<
|
|
143
|
-
hasPhone: boolean;
|
|
144
|
-
}, EventObject>;
|
|
143
|
+
src: "submit";
|
|
144
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
145
145
|
id: string | undefined;
|
|
146
146
|
} ? T_1 extends {
|
|
147
147
|
src: TSrc;
|
|
@@ -151,11 +151,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
151
151
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
152
152
|
syncSnapshot?: boolean;
|
|
153
153
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
154
|
-
submit: {
|
|
155
|
-
src: "submit";
|
|
156
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
157
|
-
id: string | undefined;
|
|
158
|
-
};
|
|
159
154
|
loadPhoneRules: {
|
|
160
155
|
src: "loadPhoneRules";
|
|
161
156
|
logic: PromiseActorLogic<void, {
|
|
@@ -163,6 +158,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
163
158
|
}, EventObject>;
|
|
164
159
|
id: string | undefined;
|
|
165
160
|
};
|
|
161
|
+
submit: {
|
|
162
|
+
src: "submit";
|
|
163
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
164
|
+
id: string | undefined;
|
|
165
|
+
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
167
|
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { l as validateAllValues } from "./formErrors-lSfh7Y8J.esm.js";
|
|
4
|
-
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
4
|
+
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-C-__JKhu.esm.js";
|
|
5
5
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
6
6
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
7
7
|
function createEkycPrefillActor(options = {}) {
|
package/dist/{ekycPrefillStateMachine-x6skDqhq.esm.js → ekycPrefillStateMachine-C-__JKhu.esm.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-Do_ENltS.esm.js";
|
|
4
4
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as hasNameCharacters, c as isEmailFormat, d as resolvePrefill, f as isValidRut, h as isValidEsDni, i as isNotFuture, l as digitCountError, m as isValidFiPersonalIdentityCode, n as hasScriptCharacters, o as isWithinMaxAge, p as isValidInDrivingLicenseNumber, r as isInNumericRange, s as isPoBox, t as SCRIPT_PATTERNS, u as hasDigitCount } from "./scriptCharacters-D7swUycV.esm.js";
|
|
9
9
|
import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
|
|
10
10
|
import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
11
11
|
import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
|
|
@@ -564,6 +564,21 @@ const rut = {
|
|
|
564
564
|
test: (value) => isValidRut(value)
|
|
565
565
|
};
|
|
566
566
|
//#endregion
|
|
567
|
+
//#region src/internal/forms/rules/scriptCharacters.ts
|
|
568
|
+
const isUnicodeScript = (value) => typeof value === "string" && Object.prototype.hasOwnProperty.call(SCRIPT_PATTERNS, value);
|
|
569
|
+
/**
|
|
570
|
+
* `scriptCharacters` (vocabulary 1.4), leading and trailing whitespace
|
|
571
|
+
* ignored as eKYC trims the value first. Without a non-empty list of known
|
|
572
|
+
* scripts, the rule passes.
|
|
573
|
+
*/
|
|
574
|
+
const scriptCharacters = {
|
|
575
|
+
id: "scriptCharacters",
|
|
576
|
+
test: (value, { scripts }) => {
|
|
577
|
+
if (!Array.isArray(scripts) || scripts.length === 0 || !scripts.every(isUnicodeScript)) return true;
|
|
578
|
+
return hasScriptCharacters(value.trim(), scripts);
|
|
579
|
+
}
|
|
580
|
+
};
|
|
581
|
+
//#endregion
|
|
567
582
|
//#region src/internal/forms/checks/ssnFormat.ts
|
|
568
583
|
/** Nine digits in 3-2-4 groups, each `-` between the groups optional. */
|
|
569
584
|
const SSN_PATTERN = /^[0-9]{3}-?[0-9]{2}-?[0-9]{4}$/;
|
|
@@ -630,7 +645,8 @@ const STANDARD_RULES = [
|
|
|
630
645
|
fiPersonalIdentityCode,
|
|
631
646
|
inDrivingLicenseNumber,
|
|
632
647
|
curp,
|
|
633
|
-
phoneDigits
|
|
648
|
+
phoneDigits,
|
|
649
|
+
scriptCharacters
|
|
634
650
|
];
|
|
635
651
|
/** Every vocabulary transform, in vocabulary order. */
|
|
636
652
|
const STANDARD_TRANSFORMS = [
|
|
@@ -672,7 +688,8 @@ const RULE_MESSAGES = {
|
|
|
672
688
|
fiPersonalIdentityCode: "verification.errors.invalidIdNumber",
|
|
673
689
|
inDrivingLicenseNumber: "verification.errors.invalidIdNumber",
|
|
674
690
|
curp: "verification.errors.invalidIdNumber",
|
|
675
|
-
phoneDigits: "verification.errors.phoneInvalid"
|
|
691
|
+
phoneDigits: "verification.errors.phoneInvalid",
|
|
692
|
+
scriptCharacters: "verification.errors.invalidCharacters"
|
|
676
693
|
};
|
|
677
694
|
//#endregion
|
|
678
695
|
//#region src/modules/ekyc-prefill/ekycPrefillDefinition.ts
|