@incodetech/core 2.3.1 → 2.3.2-rc.1
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-DmCOL3H0.esm.js → FaceDetectionProvider-TahI1A08.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DGxjS7uc.esm.js → apiError-Bs593U5-.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Bdp0m34Q.esm.js → authenticationManager-BmduLIZ3.esm.js} +3 -3
- package/dist/{authenticationManager-B23V74p7.d.ts → authenticationManager-CboRCl_N.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DA9S3bdA.esm.js → authenticationStateMachine-DzzX2VNK.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-SSKNrm5Z.d.ts → curpValidationManager-DNuZn9fn.d.ts} +1 -1
- package/dist/{deepsightLoader-B8Wjr1RK.esm.js → deepsightLoader-D3t8dlXB.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Db2XF0d2.esm.js → dynamicFormsManager-DrHEu5pM.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-oqs0MnbP.esm.js → dynamicFormsStateMachine-BPDX3HSJ.esm.js} +1 -1
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-HBuYPaee.esm.js → ekybManager-BZ6-Z5ht.esm.js} +1 -1
- package/dist/{ekybManager-Dzswb_b8.d.ts → ekybManager-BwRuGAwt.d.ts} +2 -2
- package/dist/{ekybStateMachine-_nFk5mDU.esm.js → ekybStateMachine-D8O5nJaI.esm.js} +1 -1
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BlQ-Qj4E.esm.js → ekycManager-B3ABxgqf.esm.js} +1 -1
- package/dist/{ekycManager-BFpHbBoT.d.ts → ekycManager-DLzDuBzI.d.ts} +1 -1
- package/dist/{ekycStateMachine-CshSNJhh.esm.js → ekycStateMachine-CjZJ2_PK.esm.js} +32 -7
- package/dist/{ekycUtils-Dew1rBG0.esm.js → ekycUtils-D6wfSpPN.esm.js} +33 -6
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BKyBlW5Q.esm.js → electronicSignatureManager-CM-uCUgF.esm.js} +1 -1
- package/dist/extensibility.d.ts +10 -10
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-DyMR8TN_.esm.js → faceCaptureManagerFactory-DIA1aR3a.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-DMLstvui.d.ts → faceCaptureManagerFactory-m-7ae67q.d.ts} +14 -4
- package/dist/{faceCaptureSetup-XdKJGxvK.esm.js → faceCaptureSetup-DqdPgIu8.esm.js} +3 -3
- package/dist/{feature-management-DowQ_qJQ.esm.js → feature-management-DlJP5rR7.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 +7 -7
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BunTfNCK.esm.js → flowCompletionService-B_9U_S5E.esm.js} +1 -1
- package/dist/{flowServices-BA0WmDkk.esm.js → flowServices-B0lGbmB_.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-XauflBV0.esm.js → geolocationManager-DV6Mzpof.esm.js} +1 -1
- package/dist/{geolocationStateMachine-D8oBY8wz.esm.js → geolocationStateMachine-BS5dXnam.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-CEv4MS8Y.esm.js → idCaptureDefaults-DApx-JBj.esm.js} +1 -1
- package/dist/{idCaptureManager-BaHEyQyr.d.ts → idCaptureManager-BHwL2Z0V.d.ts} +2 -2
- package/dist/{idCaptureManager-BJLGWt70.esm.js → idCaptureManager-Dxoz9DJO.esm.js} +3 -3
- package/dist/{idCaptureServices-zeGs8ab8.esm.js → idCaptureServices-Bu_S1zrl.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-BaxK1yjV.esm.js → idCaptureStateMachine-DvKCgG_k.esm.js} +9 -9
- package/dist/{index-DLcJT5YP.d.ts → index-CeaC32qI.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-vhv1co_n.d.ts → mandatoryConsentManager-BR_4cBuc.d.ts} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BwizvLhr.esm.js → runChildModule-vlAJ82zm.esm.js} +1 -1
- package/dist/{sdkVersion-BLJwGdb7.esm.js → sdkVersion-z4krISdo.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-CDCTOrcg.d.ts → selfieManager-BSZG891S.d.ts} +1 -1
- package/dist/{selfieManager-5VWl-v3u.esm.js → selfieManager-DcZOkFwa.esm.js} +3 -3
- package/dist/{selfieStateMachine-BZxVWdqZ.esm.js → selfieStateMachine-CVVPUw_s.esm.js} +5 -3
- package/dist/{session-CV903M_E.esm.js → session-CyQRV-Kh.esm.js} +3 -3
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DCgxnQgD.esm.js → sessionInitializer-Cd12hywV.esm.js} +3 -3
- package/dist/{setup-6djfFVJZ.esm.js → setup-BECC3p1I.esm.js} +4 -4
- package/dist/{trueSightService-C_sBhNRd.esm.js → trueSightService-BWcOjnq3.esm.js} +1 -1
- package/dist/types-Bt9RuRqt.d.ts +6 -0
- package/dist/{types-DgDvvzg0.d.ts → types-Bx-BWveD.d.ts} +1 -1
- package/dist/{types-BfHiko5D.d.ts → types-C0oWGUzg.d.ts} +1 -1
- package/dist/{types-Do5rEXij.d.ts → types-C1g9itHE.d.ts} +2 -2
- package/dist/{types-Bk_6dmDa.d.ts → types-Cx-1zo-i.d.ts} +3 -0
- package/dist/{types-9_esGTPj.d.ts → types-CxGdmzxa.d.ts} +1 -1
- package/dist/{types-byBHOzCG2.d.ts → types-DEGVXwsk2.d.ts} +1 -1
- package/dist/{types-Bnl58jUQ.d.ts → types-ESdtnHtg.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DjJiTNMF.esm.js → videoSelfieCameraWarmer-B6N8K6u7.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-CAqAG2G3.d.ts → videoSelfieStepDetector-ChYgFM15.d.ts} +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -31
- package/package.json +3 -3
- package/dist/types-ChAowIxT.d.ts +0 -6
package/dist/{FaceDetectionProvider-DmCOL3H0.esm.js → FaceDetectionProvider-TahI1A08.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BWcOjnq3.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-ChDwHSel.esm.js";
|
|
3
3
|
import { i as BaseWasmProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
4
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
5
|
-
import "./sessionInitializer-
|
|
4
|
+
import { t as ensureWasmPipelines } from "./setup-BECC3p1I.esm.js";
|
|
5
|
+
import "./sessionInitializer-Cd12hywV.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
7
7
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
8
8
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
@@ -156,7 +156,7 @@ function startDetection(params) {
|
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
async function initializeDeepsightSession(options) {
|
|
159
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
159
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-D3t8dlXB.esm.js");
|
|
160
160
|
return loadDeepsightSession({
|
|
161
161
|
ds: options.ds,
|
|
162
162
|
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-CM-uCUgF.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-m-7ae67q.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-Bt9RuRqt.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CboRCl_N.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-DzzX2VNK.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BmduLIZ3.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Bdp0m34Q.esm.js → authenticationManager-BmduLIZ3.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-BECC3p1I.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DIA1aR3a.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DzzX2VNK.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.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-m-7ae67q.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DqdPgIu8.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-TahI1A08.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -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-DNuZn9fn.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-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-C1g9itHE.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 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-BWcOjnq3.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
3
|
-
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-
|
|
4
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-Cd12hywV.esm.js";
|
|
4
|
+
import { t as SDK_VERSION } from "./sdkVersion-z4krISdo.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DYrLUEII.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BPDX3HSJ.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DrHEu5pM.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BPDX3HSJ.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-oqs0MnbP.esm.js → dynamicFormsStateMachine-BPDX3HSJ.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-Bs593U5-.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./StateMachine-EDpYWy0i.js";
|
|
2
|
-
import { c as AddressSuggestion } from "./types-
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
-
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-
|
|
5
|
-
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-
|
|
2
|
+
import { c as AddressSuggestion } from "./types-Cx-1zo-i.js";
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-C1g9itHE.js";
|
|
4
|
+
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-C0oWGUzg.js";
|
|
5
|
+
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BwRuGAwt.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
|
7
7
|
type EkybFlowConfig = FlowModuleConfig['EKYB'];
|
|
8
8
|
//#endregion
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-B0lGbmB_.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-D8O5nJaI.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BZ6-Z5ht.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-D8O5nJaI.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { c as AddressSuggestion } from "./types-
|
|
5
|
-
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-
|
|
4
|
+
import { c as AddressSuggestion } from "./types-Cx-1zo-i.js";
|
|
5
|
+
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-C0oWGUzg.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybStateMachine.d.ts
|
|
7
7
|
declare const ekybMachine: any;
|
|
8
8
|
type EkybMachine = typeof ekybMachine;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
-
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-
|
|
3
|
+
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-B0lGbmB_.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DyHGgeX8.esm.js";
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, o as EkycValidationErrors, t as EkycConfig } from "./types-
|
|
2
|
-
import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-
|
|
1
|
+
import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, o as EkycValidationErrors, t as EkycConfig } from "./types-Cx-1zo-i.js";
|
|
2
|
+
import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-DLzDuBzI.js";
|
|
3
3
|
//#region src/modules/ekyc/ekycUtils.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as toEkycConfig } from "./ekycUtils-
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
1
|
+
import { i as toEkycConfig } from "./ekycUtils-D6wfSpPN.esm.js";
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-CjZJ2_PK.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-B3ABxgqf.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-CjZJ2_PK.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { c as AddressSuggestion, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-
|
|
4
|
+
import { c as AddressSuggestion, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-Cx-1zo-i.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycStateMachine.d.ts
|
|
6
6
|
declare const ekycMachine: any;
|
|
7
7
|
type EkycMachine = typeof ekycMachine;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
-
import { a as ADDRESS_STATE_SOURCES, c as
|
|
3
|
+
import { _ as TAX_ID_SOURCES, a as ADDRESS_STATE_SOURCES, c as COUNTRY_SELECTOR_DISABLED_SOURCES, d as MIDDLE_NAME_SOURCES, f as NAME_SOURCES, g as STREET_SOURCES, h as STATE_CODE_HINTS, i as toEkycConfig, l as EMAIL_SOURCES, m as POSTAL_CODE_SOURCES, n as getEKYCFields, o as APARTMENT_SOURCES, p as ONE_OF_REQUIRED_GROUPS, r as isFieldOptional, s as CITY_SOURCES, t as getEKYCCountry, u as HOUSE_NO_SOURCES } from "./ekycUtils-D6wfSpPN.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DyHGgeX8.esm.js";
|
|
@@ -9777,6 +9777,8 @@ function validatePhone(phone, country) {
|
|
|
9777
9777
|
function formatPhoneE164(phone, country) {
|
|
9778
9778
|
return phoneValidator.formatE164(phone, country) ?? phone;
|
|
9779
9779
|
}
|
|
9780
|
+
const ONE_OF_REQUIRED_ERROR_KEY = "verification.errors.dobOrSsnRequired";
|
|
9781
|
+
const normalizeFieldValue = (value) => typeof value === "string" ? value : String(value ?? "");
|
|
9780
9782
|
const SSN_FORMAT_REGEX = /^\d{3}-\d{2}-\d{4}$/;
|
|
9781
9783
|
const EMAIL_FORMAT_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
9782
9784
|
const buildPostalCodeParams = (country) => {
|
|
@@ -9834,13 +9836,16 @@ const createValidators = () => ({
|
|
|
9834
9836
|
if (rule.type !== "exactLength") return void 0;
|
|
9835
9837
|
if (value.trim().length === 0) return void 0;
|
|
9836
9838
|
return value.length === rule.length ? void 0 : { key: "verification.errors.exactly10Characters" };
|
|
9839
|
+
},
|
|
9840
|
+
oneOfRequired: (_value, rule, _field, values) => {
|
|
9841
|
+
if (rule.type !== "oneOfRequired") return void 0;
|
|
9842
|
+
return rule.fields.some((name) => normalizeFieldValue(values[name]).trim().length > 0) ? void 0 : { key: ONE_OF_REQUIRED_ERROR_KEY };
|
|
9837
9843
|
}
|
|
9838
9844
|
});
|
|
9839
|
-
const
|
|
9840
|
-
const evaluateRules = (value, rules, field, validators) => {
|
|
9845
|
+
const evaluateRules = (value, rules, field, values, validators) => {
|
|
9841
9846
|
if (!rules) return void 0;
|
|
9842
9847
|
for (const rule of rules) {
|
|
9843
|
-
const error = validators[rule.type](value, rule, field);
|
|
9848
|
+
const error = validators[rule.type](value, rule, field, values);
|
|
9844
9849
|
if (error) return error;
|
|
9845
9850
|
}
|
|
9846
9851
|
};
|
|
@@ -9848,7 +9853,7 @@ function validateEkycForm(values, fields) {
|
|
|
9848
9853
|
const validators = createValidators();
|
|
9849
9854
|
return fields.reduce((errors, field) => {
|
|
9850
9855
|
const value = normalizeFieldValue(values[field.name]);
|
|
9851
|
-
const error = evaluateRules(value, field.validation, field, validators);
|
|
9856
|
+
const error = evaluateRules(value, field.validation, field, values, validators);
|
|
9852
9857
|
if (error) errors[field.name] = error;
|
|
9853
9858
|
return errors;
|
|
9854
9859
|
}, {});
|
|
@@ -9858,7 +9863,7 @@ function validateEkycField(values, fieldName, fields) {
|
|
|
9858
9863
|
if (!field) return void 0;
|
|
9859
9864
|
const validators = createValidators();
|
|
9860
9865
|
const value = normalizeFieldValue(values[field.name]);
|
|
9861
|
-
return evaluateRules(value, field.validation, field, validators);
|
|
9866
|
+
return evaluateRules(value, field.validation, field, values, validators);
|
|
9862
9867
|
}
|
|
9863
9868
|
//#endregion
|
|
9864
9869
|
//#region src/modules/ekyc/ekycActions.ts
|
|
@@ -9884,6 +9889,16 @@ function buildValidationRules(field, country, configSource) {
|
|
|
9884
9889
|
});
|
|
9885
9890
|
return rules;
|
|
9886
9891
|
}
|
|
9892
|
+
function applyOneOfRequiredGroups(defs, configSource) {
|
|
9893
|
+
for (const group of ONE_OF_REQUIRED_GROUPS[configSource] ?? []) {
|
|
9894
|
+
const members = defs.filter((def) => group.includes(def.name));
|
|
9895
|
+
const fields = members.map((def) => def.name);
|
|
9896
|
+
for (const def of members) def.validation = [{
|
|
9897
|
+
type: "oneOfRequired",
|
|
9898
|
+
fields
|
|
9899
|
+
}, ...def.validation ?? []];
|
|
9900
|
+
}
|
|
9901
|
+
}
|
|
9887
9902
|
function buildFieldDefs(fields, configSource, country, enablePhoneRisk = false) {
|
|
9888
9903
|
const defs = [];
|
|
9889
9904
|
const add = (name, type, label, source, opts) => {
|
|
@@ -9966,6 +9981,10 @@ function buildFieldDefs(fields, configSource, country, enablePhoneRisk = false)
|
|
|
9966
9981
|
if (!addrSource) return;
|
|
9967
9982
|
if (HOUSE_NO_SOURCES.includes(configSource)) add("houseNo", "text", "verification.labels.houseNo", addrSource, { section: "address" });
|
|
9968
9983
|
if (STREET_SOURCES.includes(configSource)) add("street", "text", "verification.labels.street", addrSource, { section: "address" });
|
|
9984
|
+
if (APARTMENT_SOURCES.includes(configSource)) add("apartment", "text", "verification.labels.apartment", addrSource, {
|
|
9985
|
+
section: "address",
|
|
9986
|
+
placeholder: "verification.placeholder.apartment"
|
|
9987
|
+
});
|
|
9969
9988
|
if (CITY_SOURCES.includes(configSource)) add("city", "text", "verification.labels.city", addrSource, { section: "address" });
|
|
9970
9989
|
if (ADDRESS_STATE_SOURCES.includes(configSource)) add("state", country === "US" ? "dropdown" : "text", country === "US" ? "verification.labels.chooseState" : "verification.labels.state", addrSource, {
|
|
9971
9990
|
section: "address",
|
|
@@ -9998,6 +10017,7 @@ function buildFieldDefs(fields, configSource, country, enablePhoneRisk = false)
|
|
|
9998
10017
|
addAddressFields();
|
|
9999
10018
|
addDriversLicenseFields();
|
|
10000
10019
|
}
|
|
10020
|
+
applyOneOfRequiredGroups(defs, configSource);
|
|
10001
10021
|
return defs;
|
|
10002
10022
|
}
|
|
10003
10023
|
function applyPrefill(fields, ocrData, otpStatus, _country) {
|
|
@@ -10240,9 +10260,14 @@ const ekycMachine = setup({
|
|
|
10240
10260
|
clearFieldValidationError: assign(({ context, event }) => {
|
|
10241
10261
|
if (event.type !== "DATA_CHANGED") return {};
|
|
10242
10262
|
const errs = context.validationErrors;
|
|
10243
|
-
if (!errs
|
|
10263
|
+
if (!errs) return {};
|
|
10244
10264
|
const next = { ...errs };
|
|
10245
10265
|
delete next[event.name];
|
|
10266
|
+
const oneOfRule = context.fields.find((f) => f.name === event.name)?.validation?.find((rule) => rule.type === "oneOfRequired");
|
|
10267
|
+
if (oneOfRule?.type === "oneOfRequired") {
|
|
10268
|
+
for (const sibling of oneOfRule.fields) if (next[sibling]?.key === "verification.errors.dobOrSsnRequired") delete next[sibling];
|
|
10269
|
+
}
|
|
10270
|
+
if (Object.keys(next).length === Object.keys(errs).length) return {};
|
|
10246
10271
|
return { validationErrors: Object.keys(next).length > 0 ? next : void 0 };
|
|
10247
10272
|
}),
|
|
10248
10273
|
validateFormField: assign(({ context, event }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
2
|
-
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|
|
2
|
+
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER", "US_CREDIT_TELCO"];
|
|
3
3
|
const STATE_CODE_HINTS = {
|
|
4
4
|
US: "CA, NY",
|
|
5
5
|
CA: "ON, QC",
|
|
@@ -13,6 +13,7 @@ const ADDRESS_FIELDS = [
|
|
|
13
13
|
"address",
|
|
14
14
|
"houseNo",
|
|
15
15
|
"street",
|
|
16
|
+
"apartment",
|
|
16
17
|
"address2",
|
|
17
18
|
"city",
|
|
18
19
|
"state",
|
|
@@ -23,19 +24,39 @@ const DRIVERS_LICENSE_FIELDS = [
|
|
|
23
24
|
"dlState",
|
|
24
25
|
"dlExpireAt"
|
|
25
26
|
];
|
|
26
|
-
const DOB_OPTIONAL_SOURCES = [
|
|
27
|
-
|
|
27
|
+
const DOB_OPTIONAL_SOURCES = [
|
|
28
|
+
"US_TELCO_1",
|
|
29
|
+
"US_CREDIT_TELCO",
|
|
30
|
+
"UK_VOTER_REGISTER"
|
|
31
|
+
];
|
|
32
|
+
const ADDRESS_OPTIONAL_SOURCES = [
|
|
33
|
+
"US_TELCO_1",
|
|
34
|
+
"US_CREDIT_TELCO",
|
|
35
|
+
"UK_VOTER_REGISTER"
|
|
36
|
+
];
|
|
37
|
+
const STREET_OPTIONAL_SOURCES = ["US_CREDIT_TELCO"];
|
|
38
|
+
const SSN_OPTIONAL_SOURCES = ["US_CREDIT_TELCO"];
|
|
28
39
|
const LAST4SSN_OPTIONAL_SOURCES = ["US_TELCO_1"];
|
|
29
40
|
const DRIVERS_LICENSE_OPTIONAL_SOURCES = ["US_TELCO_1"];
|
|
30
41
|
const EMAIL_SOURCES = ["US_TELCO_1", "US_CREDIT_BUREAU_1"];
|
|
31
42
|
const EMAIL_OPTIONAL_SOURCES = ["US_TELCO_1"];
|
|
32
|
-
const PHONE_OPTIONAL_SOURCES = [
|
|
43
|
+
const PHONE_OPTIONAL_SOURCES = [
|
|
44
|
+
"CA_RES_CREDIT",
|
|
45
|
+
"UK_VOTER_REGISTER",
|
|
46
|
+
"US_CREDIT_TELCO"
|
|
47
|
+
];
|
|
48
|
+
/**
|
|
49
|
+
* Groups of fields where at least one member must be filled. Members are
|
|
50
|
+
* individually optional; the group rule enforces the "one of" requirement.
|
|
51
|
+
*/
|
|
52
|
+
const ONE_OF_REQUIRED_GROUPS = { US_CREDIT_TELCO: [["dateOfBirth", "ssn"]] };
|
|
33
53
|
const NAME_SOURCES = [
|
|
34
54
|
"US_TELCO_1",
|
|
35
55
|
"US_TELCO_2",
|
|
36
56
|
"US_TELCO_4",
|
|
37
57
|
"US_ADDRESS_1",
|
|
38
58
|
"US_CREDIT_BUREAU_1",
|
|
59
|
+
"US_CREDIT_TELCO",
|
|
39
60
|
"US_DRIVERS_LICENSE_1",
|
|
40
61
|
"CA_RES_CREDIT",
|
|
41
62
|
"SERPRO",
|
|
@@ -58,6 +79,7 @@ const STREET_SOURCES = [
|
|
|
58
79
|
"US_TELCO_1",
|
|
59
80
|
"US_TELCO_2",
|
|
60
81
|
"US_CREDIT_BUREAU_1",
|
|
82
|
+
"US_CREDIT_TELCO",
|
|
61
83
|
"CA_RES_CREDIT",
|
|
62
84
|
"SERPRO",
|
|
63
85
|
"BR_GOVT_1",
|
|
@@ -69,6 +91,7 @@ const CITY_SOURCES = [
|
|
|
69
91
|
"US_TELCO_1",
|
|
70
92
|
"US_TELCO_2",
|
|
71
93
|
"US_CREDIT_BUREAU_1",
|
|
94
|
+
"US_CREDIT_TELCO",
|
|
72
95
|
"CA_RES_CREDIT",
|
|
73
96
|
"SERPRO",
|
|
74
97
|
"BR_GOVT_1",
|
|
@@ -80,6 +103,7 @@ const ADDRESS_STATE_SOURCES = [
|
|
|
80
103
|
"US_TELCO_1",
|
|
81
104
|
"US_TELCO_2",
|
|
82
105
|
"US_CREDIT_BUREAU_1",
|
|
106
|
+
"US_CREDIT_TELCO",
|
|
83
107
|
"US_DRIVERS_LICENSE_1",
|
|
84
108
|
"CA_RES_CREDIT",
|
|
85
109
|
"SERPRO",
|
|
@@ -91,6 +115,7 @@ const POSTAL_CODE_SOURCES = [
|
|
|
91
115
|
"US_TELCO_1",
|
|
92
116
|
"US_TELCO_2",
|
|
93
117
|
"US_CREDIT_BUREAU_1",
|
|
118
|
+
"US_CREDIT_TELCO",
|
|
94
119
|
"CA_RES_CREDIT",
|
|
95
120
|
"SERPRO",
|
|
96
121
|
"BR_GOVT_1",
|
|
@@ -98,6 +123,7 @@ const POSTAL_CODE_SOURCES = [
|
|
|
98
123
|
"ES_1",
|
|
99
124
|
"UK_VOTER_REGISTER"
|
|
100
125
|
];
|
|
126
|
+
const APARTMENT_SOURCES = ["US_CREDIT_TELCO"];
|
|
101
127
|
const TAX_ID_SOURCES = [
|
|
102
128
|
"GT_1",
|
|
103
129
|
"ES_1",
|
|
@@ -211,8 +237,9 @@ function toEkycConfig(config) {
|
|
|
211
237
|
function isFieldOptional(fieldName, configSource) {
|
|
212
238
|
if (fieldName === "middleName") return true;
|
|
213
239
|
if (fieldName === "dateOfBirth") return DOB_OPTIONAL_SOURCES.includes(configSource);
|
|
214
|
-
if (fieldName === "street") return
|
|
240
|
+
if (fieldName === "street") return STREET_OPTIONAL_SOURCES.includes(configSource);
|
|
215
241
|
if (ADDRESS_FIELDS.includes(fieldName)) return ADDRESS_OPTIONAL_SOURCES.includes(configSource);
|
|
242
|
+
if (fieldName === "ssn") return SSN_OPTIONAL_SOURCES.includes(configSource);
|
|
216
243
|
if (fieldName === "last4SSN") return LAST4SSN_OPTIONAL_SOURCES.includes(configSource);
|
|
217
244
|
if (DRIVERS_LICENSE_FIELDS.includes(fieldName)) return DRIVERS_LICENSE_OPTIONAL_SOURCES.includes(configSource);
|
|
218
245
|
if (fieldName === "email") return EMAIL_OPTIONAL_SOURCES.includes(configSource);
|
|
@@ -220,4 +247,4 @@ function isFieldOptional(fieldName, configSource) {
|
|
|
220
247
|
return false;
|
|
221
248
|
}
|
|
222
249
|
//#endregion
|
|
223
|
-
export { ADDRESS_STATE_SOURCES as a,
|
|
250
|
+
export { TAX_ID_SOURCES as _, ADDRESS_STATE_SOURCES as a, COUNTRY_SELECTOR_DISABLED_SOURCES as c, MIDDLE_NAME_SOURCES as d, NAME_SOURCES as f, STREET_SOURCES as g, STATE_CODE_HINTS as h, toEkycConfig as i, EMAIL_SOURCES as l, POSTAL_CODE_SOURCES as m, getEKYCFields as n, APARTMENT_SOURCES as o, ONE_OF_REQUIRED_GROUPS as p, isFieldOptional as r, CITY_SOURCES as s, getEKYCCountry as t, HOUSE_NO_SOURCES as u };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CM-uCUgF.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-Bs593U5-.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
8
8
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -5,31 +5,31 @@ import "./Actor-iTq7YY48.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-Ds-KEVTq.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-m-7ae67q.js";
|
|
9
9
|
import "./createFaceAvatar-BlcTYgJv.js";
|
|
10
10
|
import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
11
11
|
import "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CboRCl_N.js";
|
|
13
13
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
|
|
14
14
|
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
|
|
15
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
16
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
16
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DNuZn9fn.js";
|
|
17
17
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
|
|
18
18
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
|
|
19
19
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-lEtCM320.js";
|
|
20
20
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-D5R_uxLQ.js";
|
|
21
|
-
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-
|
|
22
|
-
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-
|
|
21
|
+
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BwRuGAwt.js";
|
|
22
|
+
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-DLzDuBzI.js";
|
|
23
23
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
24
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
25
|
-
import { i as CaptureIdResponse } from "./types-
|
|
26
|
-
import { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
24
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BSZG891S.js";
|
|
25
|
+
import { i as CaptureIdResponse } from "./types-DEGVXwsk2.js";
|
|
26
|
+
import { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-BHwL2Z0V.js";
|
|
27
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
28
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
29
29
|
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
|
|
30
30
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BR_4cBuc.js";
|
|
33
33
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
34
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
@@ -38,7 +38,7 @@ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerF
|
|
|
38
38
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
39
39
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
|
|
40
40
|
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-B1STmT6z.js";
|
|
41
|
-
import "./types-
|
|
41
|
+
import "./types-Bx-BWveD.js";
|
|
42
42
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
43
43
|
type AuthenticationUploadResponse = {
|
|
44
44
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
-
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-BECC3p1I.esm.js";
|
|
3
|
+
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-Cd12hywV.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CM-uCUgF.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DqdPgIu8.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BmduLIZ3.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-B6E1XJDw.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9XhFVZ5S.esm.js";
|
|
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CzWZTkW-.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DWTED5Ur.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BRPxqYD2.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DrHEu5pM.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BZ6-Z5ht.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-B3ABxgqf.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-bR1N5rV_.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-DcZOkFwa.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dxoz9DJO.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-IjhSv5XS.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CixcLNDT.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
|
|
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-r46XfZGE.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-FLEWJtv8.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-B72np4ZO.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-DV6Mzpof.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CacFOtKO.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DT42c77H.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Bmv0HzuY.esm.js";
|
package/dist/{faceCaptureManagerFactory-DyMR8TN_.esm.js → faceCaptureManagerFactory-DIA1aR3a.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { i as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { i as concealmentToAvatar } from "./faceCaptureSetup-DqdPgIu8.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DYrLUEII.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-EY3_Vx6c.esm.js";
|