@incodetech/core 0.0.0-dev-20261201-c0869cdc → 0.0.0-dev-20261201-05907dca
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-CEDTLBxf.esm.js → FaceDetectionProvider-BB4a2cIV.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-9sqVNr8Z.esm.js → apiError-D1Qva1f7.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Cv_jCMGJ.d.ts → authenticationManager-DyLXbx0U.d.ts} +1 -1
- package/dist/{authenticationManager-Dpe6eish.esm.js → authenticationManager-N86YLlu6.esm.js} +3 -3
- package/dist/{authenticationStateMachine-CE2aswQD.esm.js → authenticationStateMachine-BjbEA9CF.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Bx_osBME.d.ts → consentManager-DlvhoJYc.d.ts} +5 -5
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-DFWjZq3i.d.ts → curpValidationManager-equZ8npF.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-B2tbZ2Vp.esm.js → deepsightCaptureConfig-Dy79arCi.esm.js} +2 -2
- package/dist/{deepsightLoader-CpxjdBDn.esm.js → deepsightLoader-Cfw5H-p-.esm.js} +4 -4
- package/dist/{desktopCameraElection-BQa5d1UN.esm.js → desktopCameraElection-f96yiNjK.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-DOgJTJ4F.d.ts → documentCaptureManager-DLWTqjUr.d.ts} +5 -5
- package/dist/{documentSignatureStateMachine-7lDWCoJv.esm.js → documentSignatureStateMachine-D82VbAxX.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CauvOJUq.esm.js → dynamicFormsManager-BpAjLc3w.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BMIaq2Z0.esm.js → dynamicFormsStateMachine-oqclgsxh.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-V6EDA0qj.esm.js → ekybManager-DYzxc9Vb.esm.js} +1 -1
- package/dist/{ekybStateMachine-C9jbzhwB.esm.js → ekybStateMachine-BqNA3ecV.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-Y9JjrHvd.esm.js → ekycManager--prF1NF-.esm.js} +1 -1
- package/dist/{ekycManager-P1jYeS8s.d.ts → ekycManager-C0eg6Bp1.d.ts} +1 -1
- package/dist/{ekycPrefillManager-Dhy0OG_b.d.ts → ekycPrefillManager-BwmPXfhY.d.ts} +30 -30
- package/dist/{ekycPrefillManager-DQaDT_Rk.esm.js → ekycPrefillManager-CHyWI8RC.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-BFHdjhlZ.esm.js → ekycPrefillStateMachine-BDo-aBGD.esm.js} +1 -1
- package/dist/{ekycStateMachine-3FCrYuNv.esm.js → ekycStateMachine-BkLaohif.esm.js} +114 -28
- package/dist/{ekycUtils-DfBNTcvX.esm.js → ekycUtils-hvgP9yJm.esm.js} +75 -9
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BHB7Sclu.esm.js → electronicSignatureManager-CDKCezLl.esm.js} +1 -1
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-BlbO0Dgn.esm.js → faceCaptureManagerFactory-CET4AIbO.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-2oqROMSB.d.ts → faceCaptureManagerFactory-au_c-DNF.d.ts} +3 -3
- package/dist/{faceCaptureSetup-BLE5RXEH.esm.js → faceCaptureSetup-D3NOCUkm.esm.js} +7 -7
- package/dist/{feature-management-ZraOM_Uu.esm.js → feature-management-EGEvYULX.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-wzRcLeXc.esm.js → flowCompletionService-D3SBykKt.esm.js} +1 -1
- package/dist/{flowServices-DCAeyW6L.esm.js → flowServices-CekwLaIy.esm.js} +5 -5
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Del2ddmt.d.ts → geolocationManager-CENrvxpK.d.ts} +1 -1
- package/dist/{geolocationManager-B_WD0VH8.esm.js → geolocationManager-zgm7knTk.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Dc_q5hML.esm.js → geolocationStateMachine-B0Qwu1_j.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-BMsGPjcf.d.ts → idCaptureManager-BsUU-w59.d.ts} +2 -2
- package/dist/{idCaptureManager-VhvvQuKJ.esm.js → idCaptureManager-DOKK5pRi.esm.js} +4 -4
- package/dist/{idCaptureServices-lhavn2k4.esm.js → idCaptureServices-BS1ucxoL.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-B8tMRIJP.esm.js → idCaptureStateMachine-C8zgjyes.esm.js} +11 -11
- package/dist/{idOcrManager-voLpv_jJ.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CvQdfhKq.d.ts → identityReuseManager-BE6LHcuP.d.ts} +4 -4
- package/dist/{index-k1LUfkAo.d.ts → index-D_ekSPsL.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-BqsFG5r5.esm.js → kybChecksManager-BrouzbHU.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-YuwBEkNg.esm.js → kybChecksStateMachine-CpFcvA_H.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-BYjam2YH.d.ts → mandatoryConsentManager-atisC67v.d.ts} +6 -6
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DwJWzO_3.esm.js → recordingService-Drjsms0b.esm.js} +1 -1
- package/dist/{runChildModule-BLam7j8s.esm.js → runChildModule-2P5MR9As.esm.js} +1 -1
- package/dist/{sdkVersion-CdueUO8C.esm.js → sdkVersion-B_7y7XrS.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-CueHMVat.esm.js → selfieErrorUtils-CCFbepk2.esm.js} +1 -1
- package/dist/{selfieManager-DZwDoJps.esm.js → selfieManager-DlD0PBFx.esm.js} +3 -3
- package/dist/{selfieManager-RgcJwpHg.d.ts → selfieManager-f_H2gWoq.d.ts} +1 -1
- package/dist/{selfieStateMachine-B1OtDQRl.esm.js → selfieStateMachine-BvzrAiKy.esm.js} +3 -3
- package/dist/{session-Bx_UFrZi.esm.js → session-D227v2ne.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-ogkILAkt.esm.js → sessionInitializer-CtHdsTe_.esm.js} +4 -4
- package/dist/{setup-CQfozJVU.esm.js → setup-D2gzk_iV.esm.js} +5 -5
- package/dist/trueSight-3RYjjVdb.esm.js +1 -0
- package/dist/{trueSightService-CINABvZv.esm.js → trueSightService-uXg8m1Ag.esm.js} +1 -1
- package/dist/{types-BVgTvWOP.d.ts → types-Bw8pDpKj.d.ts} +1 -1
- package/dist/{types-B8KMmCCy.d.ts → types-CDB9tjCQ.d.ts} +10 -1
- package/dist/types-Ceg3vxtu.d.ts +6 -0
- package/dist/{types-YS7g_P7z.d.ts → types-DCFPnmPC.d.ts} +1 -1
- package/dist/{types-BV2Tl1wE.d.ts → types-DtKCkoHt.d.ts} +1 -1
- package/dist/{types-DH4VaTRC.d.ts → types-DwrpHPgX.d.ts} +1 -1
- package/dist/{types-DAhpyjuI.d.ts → types-DzE5T1IT.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-BsN3VwgP.esm.js → videoSelfieCameraWarmer-DRwUwNvl.esm.js} +23 -8
- package/dist/{videoSelfieStepDetector-DCOmz3yk.d.ts → videoSelfieStepDetector-xKgkFKob.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +19 -19
- package/package.json +3 -3
- package/dist/trueSight-ChfrtmTL.esm.js +0 -1
- package/dist/types-RLVmm_Hf.d.ts +0 -6
package/dist/{FaceDetectionProvider-CEDTLBxf.esm.js → FaceDetectionProvider-BB4a2cIV.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-O3rAoe1-.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-D2gzk_iV.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.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-uXg8m1Ag.esm.js";
|
|
6
|
+
import "./trueSight-3RYjjVdb.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-D_gJvsTS.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-Cfw5H-p-.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-CDKCezLl.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-au_c-DNF.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-Ceg3vxtu.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DyLXbx0U.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-BjbEA9CF.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-N86YLlu6.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-au_c-DNF.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-Dpe6eish.esm.js → authenticationManager-N86YLlu6.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D2gzk_iV.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import "./events-Dlkhhx5O.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-CET4AIbO.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BjbEA9CF.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-D3NOCUkm.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BB4a2cIV.esm.js";
|
|
5
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-f96yiNjK.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-DlvhoJYc.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -75,14 +75,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
};
|
|
77
77
|
}>, Values<{
|
|
78
|
-
clearError: {
|
|
79
|
-
type: "clearError";
|
|
80
|
-
params: NonReducibleUnknown;
|
|
81
|
-
};
|
|
82
78
|
setError: {
|
|
83
79
|
type: "setError";
|
|
84
80
|
params: NonReducibleUnknown;
|
|
85
81
|
};
|
|
82
|
+
clearError: {
|
|
83
|
+
type: "clearError";
|
|
84
|
+
params: NonReducibleUnknown;
|
|
85
|
+
};
|
|
86
86
|
setLoadError: {
|
|
87
87
|
type: "setLoadError";
|
|
88
88
|
params: NonReducibleUnknown;
|
|
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
102
102
|
}>, {
|
|
103
103
|
type: "canSubmit";
|
|
104
104
|
params: unknown;
|
|
105
|
-
}, never, "error" | "idle" | "finished" | "
|
|
105
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", 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-equZ8npF.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-DwrpHPgX.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-B2tbZ2Vp.esm.js → deepsightCaptureConfig-Dy79arCi.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-uXg8m1Ag.esm.js";
|
|
2
|
+
import "./trueSight-3RYjjVdb.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-unrmGEHD.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-uXg8m1Ag.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-B_7y7XrS.esm.js";
|
|
4
|
+
import "./trueSight-3RYjjVdb.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-CtHdsTe_.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-0SxaYTcb.esm.js";
|
package/dist/{desktopCameraElection-BQa5d1UN.esm.js → desktopCameraElection-f96yiNjK.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-unrmGEHD.esm.js";
|
|
5
5
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.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-uXg8m1Ag.esm.js";
|
|
7
|
+
import "./trueSight-3RYjjVdb.esm.js";
|
|
8
|
+
import { m as getFeatureGate } from "./feature-management-EGEvYULX.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-GQyOY1tb.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-Dy79arCi.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-DLWTqjUr.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-Dlkhhx5O.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-D82VbAxX.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
|
-
clearError: {
|
|
106
|
-
type: "clearError";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
decrementAttemptsRemaining: {
|
|
110
106
|
type: "decrementAttemptsRemaining";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
112
108
|
};
|
|
109
|
+
clearError: {
|
|
110
|
+
type: "clearError";
|
|
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-DLsivQsu.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
|
|
3
3
|
import "./events-Dlkhhx5O.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-D1Qva1f7.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-oqclgsxh.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BpAjLc3w.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.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-oqclgsxh.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-BMIaq2Z0.esm.js → dynamicFormsStateMachine-oqclgsxh.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.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-D1Qva1f7.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-DwrpHPgX.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-D4_C4-vg.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-XpAF7sBY.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { s as toEkybConfig } from "./ekybUtils-CX-dR5p9.esm.js";
|
|
2
|
-
import { a as isSupportedCountry, i as SUPPORTED_COUNTRIES, n as ALL_COUNTRIES, r as DEV_ONLY_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { a as isSupportedCountry, i as SUPPORTED_COUNTRIES, n as ALL_COUNTRIES, r as DEV_ONLY_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BqNA3ecV.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-DYzxc9Vb.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-Dlkhhx5O.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-BqNA3ecV.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
|
|
3
|
-
import { n as getFlow } from "./flowServices-
|
|
3
|
+
import { n as getFlow } from "./flowServices-CekwLaIy.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";
|
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-BwmPXfhY.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-BDo-aBGD.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-CHyWI8RC.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as EkycValidationErrors, d as RetiredSource, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig, u as KnownSource } from "./types-
|
|
1
|
+
import { c as EkycValidationErrors, d as RetiredSource, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig, u as KnownSource } from "./types-CDB9tjCQ.js";
|
|
2
2
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
3
|
-
import { a as EkycStep, n as EkycState, r as createEkycManager, s as ekycMachine, t as EkycManager } from "./ekycManager-
|
|
3
|
+
import { a as EkycStep, n as EkycState, r as createEkycManager, s as ekycMachine, t as EkycManager } from "./ekycManager-C0eg6Bp1.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 {
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager
|
|
1
|
+
import { p as toEkycConfig } from "./ekycUtils-hvgP9yJm.esm.js";
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-BkLaohif.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager--prF1NF-.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.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-BkLaohif.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYC actor.
|
|
@@ -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 { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-
|
|
4
|
+
import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-CDB9tjCQ.js";
|
|
5
5
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
6
6
|
//#region src/modules/ekyc/ekycStateMachine.d.ts
|
|
7
7
|
declare const ekycMachine: any;
|
|
@@ -27,10 +27,15 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "CLOSE";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]: ActorRefFromLogic<PromiseActorLogic<void, {
|
|
30
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>> | ActorRefFromLogic<PromiseActorLogic<void, {
|
|
31
31
|
hasPhone: boolean;
|
|
32
|
-
}, EventObject>> |
|
|
32
|
+
}, EventObject>> | undefined;
|
|
33
33
|
}, Values<{
|
|
34
|
+
submit: {
|
|
35
|
+
src: "submit";
|
|
36
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
37
|
+
id: string | undefined;
|
|
38
|
+
};
|
|
34
39
|
loadPhoneRules: {
|
|
35
40
|
src: "loadPhoneRules";
|
|
36
41
|
logic: PromiseActorLogic<void, {
|
|
@@ -38,11 +43,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
38
43
|
}, EventObject>;
|
|
39
44
|
id: string | undefined;
|
|
40
45
|
};
|
|
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,6 +81,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
81
81
|
params: NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
}>, Values<{
|
|
84
|
+
isValid: {
|
|
85
|
+
type: "isValid";
|
|
86
|
+
params: unknown;
|
|
87
|
+
};
|
|
84
88
|
phoneRulesFailed: {
|
|
85
89
|
type: "phoneRulesFailed";
|
|
86
90
|
params: unknown;
|
|
@@ -93,10 +97,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
93
97
|
type: "canRender";
|
|
94
98
|
params: unknown;
|
|
95
99
|
};
|
|
96
|
-
isValid: {
|
|
97
|
-
type: "isValid";
|
|
98
|
-
params: unknown;
|
|
99
|
-
};
|
|
100
100
|
isBadRequest: {
|
|
101
101
|
type: "isBadRequest";
|
|
102
102
|
params: unknown;
|
|
@@ -109,24 +109,20 @@ 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" | "submitting" | "misconfigured" | "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<
|
|
122
|
-
hasPhone: boolean;
|
|
123
|
-
}, EventObject>;
|
|
119
|
+
<TSrc extends "submit" | "loadPhoneRules">(logic: TSrc, ...[options]: ({
|
|
120
|
+
src: "submit";
|
|
121
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
124
122
|
id: string | undefined;
|
|
125
123
|
} extends (infer T) ? T extends {
|
|
126
|
-
src: "
|
|
127
|
-
logic: PromiseActorLogic<
|
|
128
|
-
hasPhone: boolean;
|
|
129
|
-
}, EventObject>;
|
|
124
|
+
src: "submit";
|
|
125
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
130
126
|
id: string | undefined;
|
|
131
127
|
} ? T extends {
|
|
132
128
|
src: TSrc;
|
|
@@ -136,12 +132,16 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
136
132
|
input?: InputFrom<T["logic"]> | undefined;
|
|
137
133
|
syncSnapshot?: boolean;
|
|
138
134
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
139
|
-
src: "
|
|
140
|
-
logic: PromiseActorLogic<
|
|
135
|
+
src: "loadPhoneRules";
|
|
136
|
+
logic: PromiseActorLogic<void, {
|
|
137
|
+
hasPhone: boolean;
|
|
138
|
+
}, EventObject>;
|
|
141
139
|
id: string | undefined;
|
|
142
140
|
} extends (infer T_1) ? T_1 extends {
|
|
143
|
-
src: "
|
|
144
|
-
logic: PromiseActorLogic<
|
|
141
|
+
src: "loadPhoneRules";
|
|
142
|
+
logic: PromiseActorLogic<void, {
|
|
143
|
+
hasPhone: boolean;
|
|
144
|
+
}, EventObject>;
|
|
145
145
|
id: string | undefined;
|
|
146
146
|
} ? T_1 extends {
|
|
147
147
|
src: TSrc;
|
|
@@ -151,6 +151,11 @@ 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
|
+
};
|
|
154
159
|
loadPhoneRules: {
|
|
155
160
|
src: "loadPhoneRules";
|
|
156
161
|
logic: PromiseActorLogic<void, {
|
|
@@ -158,11 +163,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
158
163
|
}, EventObject>;
|
|
159
164
|
id: string | undefined;
|
|
160
165
|
};
|
|
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,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 ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
3
|
+
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BDo-aBGD.esm.js";
|
|
4
4
|
import { s as validateAllValues } from "./formErrors-BVC6OSFV.esm.js";
|
|
5
5
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
6
6
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
package/dist/{ekycPrefillStateMachine-BFHdjhlZ.esm.js → ekycPrefillStateMachine-BDo-aBGD.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-D1Qva1f7.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";
|