@incodetech/core 0.0.0-dev-20261120-f78276fb → 0.0.0-dev-20261120-7dd435b2
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-0z0lAxTM.esm.js → FaceDetectionProvider-CRCS2SEb.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-BSnBJAHh.esm.js → apiError-69Iy1fgN.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-VFfb65yT.d.ts → authenticationManager-BJElkTsj.d.ts} +1 -1
- package/dist/{authenticationManager-CwY5WvaN.esm.js → authenticationManager-fsVUjjtL.esm.js} +3 -3
- package/dist/{authenticationStateMachine-2M1H2aK_.esm.js → authenticationStateMachine-BzcAg1f5.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-Bow34QP_.d.ts} +13 -13
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-Bk-3V09c.d.ts → curpValidationManager-CmL52FU8.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-Bwd9xtmj.esm.js → deepsightCaptureConfig-DnXIp_lC.esm.js} +2 -2
- package/dist/{deepsightLoader-DaKdkaiB.esm.js → deepsightLoader-D_0nuVGK.esm.js} +4 -4
- package/dist/{definitionSource-Nw0YCbpe.esm.js → definitionSource-B-Z2EgJJ.esm.js} +36 -23
- package/dist/{desktopCameraElection-CeawJVJT.esm.js → desktopCameraElection-By6Xn2V6.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-Bul0b4KJ.d.ts} +5 -5
- package/dist/{documentSignatureStateMachine-B_lhSo43.esm.js → documentSignatureStateMachine-BmeH83Lp.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DfdydYds.esm.js → dynamicFormsManager-DCXstqJK.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DG1517j9.esm.js → dynamicFormsStateMachine-1d8sBzN4.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-3wedBe1P.esm.js → ekybManager-DQOYOj9L.esm.js} +1 -1
- package/dist/{ekybStateMachine-Di_p2PDM.esm.js → ekybStateMachine-tpK4lDhb.esm.js} +3 -3
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-KMAJDirs.esm.js → ekycManager-p3uenUEi.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +4 -4
- package/dist/{ekycPrefillManager-CWpLH6jB.esm.js → ekycPrefillManager-ruqxdUpK.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-BLL-hg1h.esm.js → ekycPrefillStateMachine-DnxnBdS9.esm.js} +3 -3
- package/dist/{ekycRules-1hyjJ6bw.esm.js → ekycRules-BH_Ll_0A.esm.js} +1 -1
- package/dist/{ekycStateMachine-adBX8aPX.esm.js → ekycStateMachine-D0NAHzS7.esm.js} +485 -4
- package/dist/{ekycUtils-D9ui9Ztp.esm.js → ekycUtils-DEvtEyBI.esm.js} +5 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DmEdK53l.esm.js → electronicSignatureManager-93kJsuMw.esm.js} +1 -1
- package/dist/extensibility.d.ts +13 -13
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-Dw4rArfu.d.ts → faceCaptureManagerFactory-CHqmyOjM.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-DXOMzx42.esm.js → faceCaptureManagerFactory-De_3NLRQ.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DVz2Su8f.esm.js → faceCaptureSetup-CAX08NY3.esm.js} +7 -7
- package/dist/{feature-management-ieh40mCT.esm.js → feature-management-D8JABuAI.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 +5 -5
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DGGpzwXj.esm.js → flowCompletionService-DtG5RDvE.esm.js} +1 -1
- package/dist/{flowServices-ulkxkAAz.esm.js → flowServices-Msrx_Oyu.esm.js} +5 -5
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationManager-CbneC3Al.esm.js → geolocationManager-HAk04zPn.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BH2sa1If.esm.js → geolocationStateMachine-Dksu9cjN.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-B3-rWWz-.d.ts → idCaptureManager-CgkQW3Xc.d.ts} +2 -2
- package/dist/{idCaptureManager-bS8crBjJ.esm.js → idCaptureManager-QxDyQxyO.esm.js} +4 -4
- package/dist/{idCaptureServices-Bi9bQeNF.esm.js → idCaptureServices-B7uspz-g.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-BYKWnjP-.esm.js → idCaptureStateMachine-rraG9pbC.esm.js} +11 -11
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
- package/dist/{index-BO2syo87.d.ts → index-CoePktWH.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-pRDBVMG5.esm.js → kybChecksManager-3S3V_AZU.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-Dtc_O5y5.esm.js → kybChecksStateMachine-N9XUxVUt.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-BpiO0zRL.d.ts → mandatoryConsentManager-DgA4x-Ct.d.ts} +8 -8
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BTWYWLuU.esm.js → recordingService-CokD7l-H.esm.js} +1 -1
- package/dist/{runChildModule-BKZ41a_V.esm.js → runChildModule-BDSYH6vy.esm.js} +1 -1
- package/dist/{sdkVersion-Bke7QdHp.esm.js → sdkVersion-vxAbaiHq.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-B_v_ShG2.esm.js → selfieErrorUtils-DHi9_UtE.esm.js} +1 -1
- package/dist/{selfieManager-DU7u_Tyb.esm.js → selfieManager-B6osBAVj.esm.js} +3 -3
- package/dist/{selfieManager-CAlDV761.d.ts → selfieManager-DrBYj5kA.d.ts} +1 -1
- package/dist/{selfieStateMachine-1uzuYHen.esm.js → selfieStateMachine-YaO-fN1H.esm.js} +3 -3
- package/dist/{session-DsE-S0QE.esm.js → session-Dya2aZ7p.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-B4yKN4XT.esm.js → sessionInitializer-BxewVjwS.esm.js} +4 -4
- package/dist/{setup-BspcEfjk.esm.js → setup-_flyR308.esm.js} +5 -5
- package/dist/trueSight-BxpHtAYM.esm.js +1 -0
- package/dist/{trueSightService-C5Wu1xI2.esm.js → trueSightService-FjoQ1k9e.esm.js} +1 -1
- package/dist/{types-BtieSXdV.d.ts → types-4Re9FSOw.d.ts} +1 -1
- package/dist/types-BtrJ5fkm.d.ts +6 -0
- package/dist/{types-BYSIIyN_.d.ts → types-C1056-J1.d.ts} +1 -1
- package/dist/{types-CawvkSTI.d.ts → types-CEGG70FK.d.ts} +1 -1
- package/dist/{types-CVfyv-Uw.d.ts → types-DHpz4Y37.d.ts} +1 -1
- package/dist/{types-BHgD4YZF.d.ts → types-b0l9b83G.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DreF7qLD.esm.js → videoSelfieCameraWarmer-DZQvVsni.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-D1kmMhBl.d.ts → videoSelfieStepDetector-DC_Qh7qI.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +5 -5
- package/dist/workflow.esm.js +19 -19
- package/package.json +1 -1
- package/dist/trueSight-By51MptR.esm.js +0 -1
- package/dist/types-BSqs9HKF.d.ts +0 -6
package/dist/{FaceDetectionProvider-0z0lAxTM.esm.js → FaceDetectionProvider-CRCS2SEb.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-CBaYXBuZ.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-_flyR308.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-BDXl-HzX.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.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-FjoQ1k9e.esm.js";
|
|
6
|
+
import "./trueSight-BxpHtAYM.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-CrqhpKkP.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-D_0nuVGK.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-93kJsuMw.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-CHqmyOjM.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-BtrJ5fkm.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BJElkTsj.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-BzcAg1f5.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-fsVUjjtL.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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-CHqmyOjM.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-CwY5WvaN.esm.js → authenticationManager-fsVUjjtL.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-_flyR308.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BDXl-HzX.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-ChMS-UzR.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-De_3NLRQ.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BzcAg1f5.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -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-CAX08NY3.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CRCS2SEb.esm.js";
|
|
5
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-By6Xn2V6.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,
|
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-Bow34QP_.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -75,22 +75,10 @@ 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
|
-
clearError: {
|
|
83
|
-
type: "clearError";
|
|
84
|
-
params: NonReducibleUnknown;
|
|
85
|
-
};
|
|
86
78
|
setLoadError: {
|
|
87
79
|
type: "setLoadError";
|
|
88
80
|
params: NonReducibleUnknown;
|
|
89
81
|
};
|
|
90
|
-
resetContext: {
|
|
91
|
-
type: "resetContext";
|
|
92
|
-
params: NonReducibleUnknown;
|
|
93
|
-
};
|
|
94
82
|
setConsentData: {
|
|
95
83
|
type: "setConsentData";
|
|
96
84
|
params: NonReducibleUnknown;
|
|
@@ -99,10 +87,22 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
99
87
|
type: "toggleCheckbox";
|
|
100
88
|
params: NonReducibleUnknown;
|
|
101
89
|
};
|
|
90
|
+
setError: {
|
|
91
|
+
type: "setError";
|
|
92
|
+
params: NonReducibleUnknown;
|
|
93
|
+
};
|
|
94
|
+
clearError: {
|
|
95
|
+
type: "clearError";
|
|
96
|
+
params: NonReducibleUnknown;
|
|
97
|
+
};
|
|
98
|
+
resetContext: {
|
|
99
|
+
type: "resetContext";
|
|
100
|
+
params: NonReducibleUnknown;
|
|
101
|
+
};
|
|
102
102
|
}>, {
|
|
103
103
|
type: "canSubmit";
|
|
104
104
|
params: unknown;
|
|
105
|
-
}, never, "error" | "idle" | "finished" | "
|
|
105
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
106
106
|
readonly id: "consent";
|
|
107
107
|
readonly initial: "idle";
|
|
108
108
|
readonly context: ({ input }: {
|
|
@@ -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-CmL52FU8.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-4Re9FSOw.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-Bwd9xtmj.esm.js → deepsightCaptureConfig-DnXIp_lC.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-FjoQ1k9e.esm.js";
|
|
2
|
+
import "./trueSight-BxpHtAYM.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-BDXl-HzX.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import "./trueSight-
|
|
5
|
-
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-FjoQ1k9e.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-vxAbaiHq.esm.js";
|
|
4
|
+
import "./trueSight-BxpHtAYM.esm.js";
|
|
5
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-BxewVjwS.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-BX01stN8.esm.js";
|
|
@@ -52,30 +52,43 @@ function buildStreetValue(street, houseNumber, hasHouseNoField) {
|
|
|
52
52
|
if (houseNumber && street) return `${houseNumber} ${street}`;
|
|
53
53
|
return houseNumber ?? street ?? "";
|
|
54
54
|
}
|
|
55
|
+
/** The suggestion-filled fields a source can show as a dropdown. */
|
|
56
|
+
const DROPDOWN_ADDRESS_FIELDS = ["city", "state"];
|
|
55
57
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* option's value. One that matches none is dropped, as if the suggestion had
|
|
59
|
-
* no region, so the previous `state` stays if it matches an option the same
|
|
60
|
-
* way, also as that option's value (a prefill can leave `KOWLOON`, or a value
|
|
61
|
-
* no option has). Without this, a code such as `HK` would pass `required` and
|
|
62
|
-
* be submitted though the dropdown can't show it. A free-text `state` takes
|
|
63
|
-
* the suggestion as it is. Shared between eKYC and eKYB address forms; run it
|
|
64
|
-
* on `fillFromSuggestion`'s values.
|
|
58
|
+
* Compares ignoring case and accents, so `Istanbul` and `ISTANBUL` find
|
|
59
|
+
* `İstanbul`, and `Kowloon` finds `KOWLOON`.
|
|
65
60
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
61
|
+
const foldForMatch = (text) => text.trim().normalize("NFD").replace(/\p{M}/gu, "").toUpperCase();
|
|
62
|
+
/**
|
|
63
|
+
* Keeps an address suggestion's city and region inside their dropdowns, for a
|
|
64
|
+
* source that shows `city` (TR provinces) or `state` (HK regions, US states) as
|
|
65
|
+
* one. A suggested value that matches an option's value or label, ignoring case
|
|
66
|
+
* and accents, becomes that option's value. One that matches none is dropped,
|
|
67
|
+
* as if the suggestion had no such value, so the previous value stays if it
|
|
68
|
+
* matches an option the same way, also as that option's value (a prefill can
|
|
69
|
+
* leave `KOWLOON`, or a value no option has). Without this, a code such as `HK`
|
|
70
|
+
* or a district such as `Kadıköy` would pass `required` and be submitted though
|
|
71
|
+
* the dropdown can't show it. A free-text field takes the suggestion as it is.
|
|
72
|
+
* Shared between eKYC and eKYB address forms; run it on `fillFromSuggestion`'s
|
|
73
|
+
* values.
|
|
74
|
+
*/
|
|
75
|
+
function keepSuggestionInOptions(fields, previous, next) {
|
|
76
|
+
let result = next;
|
|
77
|
+
for (const name of DROPDOWN_ADDRESS_FIELDS) {
|
|
78
|
+
const options = fields.find((field) => field.name === name)?.options;
|
|
79
|
+
const suggested = next[name];
|
|
80
|
+
if (!options || !suggested) continue;
|
|
81
|
+
const optionFor = (value) => {
|
|
82
|
+
const wanted = value ? foldForMatch(value) : "";
|
|
83
|
+
if (!wanted) return void 0;
|
|
84
|
+
return options.find((option) => foldForMatch(option.value) === wanted || foldForMatch(option.label) === wanted)?.value;
|
|
85
|
+
};
|
|
86
|
+
result = {
|
|
87
|
+
...result,
|
|
88
|
+
[name]: optionFor(suggested) ?? optionFor(previous[name])
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
return result;
|
|
79
92
|
}
|
|
80
93
|
const POSTAL_CODE_MAX_LENGTH_BY_COUNTRY = {
|
|
81
94
|
US: 10,
|
|
@@ -218,4 +231,4 @@ function createBundledDefinitionSource(definitions) {
|
|
|
218
231
|
return { select: (query) => byQuery.get(queryKey(query)) };
|
|
219
232
|
}
|
|
220
233
|
//#endregion
|
|
221
|
-
export { getPostalCodeMaxLength as a, fillFromSuggestion as c, getPostalCodeErrorParams as i, getStreetLevelErrorForSuggestion as l, formatPostalCode as n, validatePostalCode as o, getPostalCodeErrorKey as r, STREET_LEVEL_REQUIRED_ERROR as s, createBundledDefinitionSource as t,
|
|
234
|
+
export { getPostalCodeMaxLength as a, fillFromSuggestion as c, getPostalCodeErrorParams as i, getStreetLevelErrorForSuggestion as l, formatPostalCode as n, validatePostalCode as o, getPostalCodeErrorKey as r, STREET_LEVEL_REQUIRED_ERROR as s, createBundledDefinitionSource as t, keepSuggestionInOptions as u };
|
package/dist/{desktopCameraElection-CeawJVJT.esm.js → desktopCameraElection-By6Xn2V6.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-BDXl-HzX.esm.js";
|
|
5
5
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.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-FjoQ1k9e.esm.js";
|
|
7
|
+
import "./trueSight-BxpHtAYM.esm.js";
|
|
8
|
+
import { m as getFeatureGate } from "./feature-management-D8JABuAI.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 { l as queryCameraPermission } from "./permissionServices-BB14DItB.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-DnXIp_lC.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-Bul0b4KJ.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-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-BmeH83Lp.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;
|
|
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
263
263
|
type: "fileSizeOkForNonGallery";
|
|
264
264
|
params: unknown;
|
|
265
265
|
};
|
|
266
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
266
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
267
267
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
268
268
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
269
269
|
readonly id: "documentCapture";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
3
3
|
import "./events-ChMS-UzR.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-69Iy1fgN.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-1d8sBzN4.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DCXstqJK.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-1d8sBzN4.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-DG1517j9.esm.js → dynamicFormsStateMachine-1d8sBzN4.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.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-69Iy1fgN.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-DcqGuEht.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
2
2
|
import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-4Re9FSOw.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BgRHw-dR.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BflWuTe4.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { h as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-Z9MhFAer.esm.js";
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-tpK4lDhb.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-DQOYOj9L.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-ChMS-UzR.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-tpK4lDhb.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-Msrx_Oyu.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, h as isSupportedCountry, i as isFormFieldEntry, l as ALL_COUNTRIES, m as UBO_FIELD_LABELS, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-Z9MhFAer.esm.js";
|
|
6
6
|
import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
7
7
|
import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Bl_olpdX.esm.js";
|
|
8
|
-
import { a as getPostalCodeMaxLength, c as fillFromSuggestion, i as getPostalCodeErrorParams, l as getStreetLevelErrorForSuggestion, n as formatPostalCode, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR, t as createBundledDefinitionSource, u as
|
|
8
|
+
import { a as getPostalCodeMaxLength, c as fillFromSuggestion, i as getPostalCodeErrorParams, l as getStreetLevelErrorForSuggestion, n as formatPostalCode, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR, t as createBundledDefinitionSource, u as keepSuggestionInOptions } from "./definitionSource-B-Z2EgJJ.esm.js";
|
|
9
9
|
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
10
10
|
import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-BKlynuBr.esm.js";
|
|
11
11
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
@@ -1880,7 +1880,7 @@ const ekybMachine = setup({
|
|
|
1880
1880
|
const { suggestion } = event;
|
|
1881
1881
|
const activeFields = new Set(context.fields.map((f) => f.name));
|
|
1882
1882
|
const { values: filled } = fillFromSuggestion(context.values, {}, suggestion, activeFields);
|
|
1883
|
-
const newValues =
|
|
1883
|
+
const newValues = keepSuggestionInOptions(context.fields, context.values, filled);
|
|
1884
1884
|
const errs = context.validationErrors;
|
|
1885
1885
|
let newErrors = errs;
|
|
1886
1886
|
if (errs) {
|
package/dist/ekyc-prefill.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as EkycFormValues, c as EkycValidationErrors, s as EkycValidationError } from "./types-DEa3taWc.js";
|
|
2
2
|
import { a as EkycPrefillFieldDef, c as EkycPrefillModuleConfig, i as EkycPrefillErrorKind, l as EkycPrefillServedField, n as EkycPrefillConfigField, s as EkycPrefillInputFormat, t as EkycPrefillConfig } from "./types-B-PIc0en.js";
|
|
3
|
-
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-
|
|
3
|
+
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-DOTl3Y2w.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
|
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DnxnBdS9.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-ruqxdUpK.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
2
|
-
import { l as toEkycConfig } from "./ekycUtils-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
1
|
+
import { t as ekycMachine } from "./ekycStateMachine-D0NAHzS7.esm.js";
|
|
2
|
+
import { l as toEkycConfig } from "./ekycUtils-DEvtEyBI.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-p3uenUEi.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-D0NAHzS7.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYC actor.
|
|
@@ -45,6 +45,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
45
45
|
id: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
}>, Values<{
|
|
48
|
+
clearError: {
|
|
49
|
+
type: "clearError";
|
|
50
|
+
params: NonReducibleUnknown;
|
|
51
|
+
};
|
|
48
52
|
applyForm: {
|
|
49
53
|
type: "applyForm";
|
|
50
54
|
params: NonReducibleUnknown;
|
|
@@ -77,10 +81,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
77
81
|
type: "setSubmitError";
|
|
78
82
|
params: NonReducibleUnknown;
|
|
79
83
|
};
|
|
80
|
-
clearError: {
|
|
81
|
-
type: "clearError";
|
|
82
|
-
params: NonReducibleUnknown;
|
|
83
|
-
};
|
|
84
84
|
}>, Values<{
|
|
85
85
|
isValid: {
|
|
86
86
|
type: "isValid";
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
3
|
+
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DnxnBdS9.esm.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
5
5
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
6
6
|
function createEkycPrefillActor(options = {}) {
|
package/dist/{ekycPrefillStateMachine-BLL-hg1h.esm.js → ekycPrefillStateMachine-DnxnBdS9.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-69Iy1fgN.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN } from "./ekycRules-
|
|
7
|
-
import { t as createBundledDefinitionSource } from "./definitionSource-
|
|
6
|
+
import { i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN } from "./ekycRules-BH_Ll_0A.esm.js";
|
|
7
|
+
import { t as createBundledDefinitionSource } from "./definitionSource-B-Z2EgJJ.esm.js";
|
|
8
8
|
import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
9
9
|
import { t as formatPhoneE164 } from "./phoneFormat-C3q0Ukh4.esm.js";
|
|
10
10
|
import { t as formatCPF } from "./idOcrCpfUtils-D5Gwskxu.esm.js";
|
|
@@ -2,7 +2,7 @@ import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.e
|
|
|
2
2
|
import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
3
3
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
4
4
|
import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
5
|
-
import { i as getPostalCodeErrorParams, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR } from "./definitionSource-
|
|
5
|
+
import { i as getPostalCodeErrorParams, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR } from "./definitionSource-B-Z2EgJJ.esm.js";
|
|
6
6
|
import { r as DYNAMIC_REQUIRED_KEY } from "./resolveForm-DaaQSVWp.esm.js";
|
|
7
7
|
import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
|
|
8
8
|
import { n as hasAllowedCharacters } from "./phoneFormat-C3q0Ukh4.esm.js";
|