@incodetech/core 0.0.0-dev-20261130-0d7e6560 → 0.0.0-dev-20261130-5a13e89f
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-kIXKvb6_.esm.js → FaceDetectionProvider-NL6Rx8K3.esm.js} +4 -4
- package/dist/{addressSearch-BURPB5hi.esm.js → addressSearch-BJ711RHG.esm.js} +5 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-5L77_mxG.esm.js → apiError-z0PwAob-.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-GPPQdprT.esm.js → authenticationManager-fXPxU0Yi.esm.js} +3 -3
- package/dist/{authenticationStateMachine-ivqfCQoP.esm.js → authenticationStateMachine-CzGnqWm3.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-Duzd8paN.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-0D4BXbz4.esm.js → deepsightCaptureConfig-B_2wTBrs.esm.js} +2 -2
- package/dist/{deepsightLoader-DHfbAPzM.esm.js → deepsightLoader-Bb04h6G-.esm.js} +4 -4
- package/dist/{desktopCameraElection-B6zYrMwf.esm.js → desktopCameraElection-Rm5dLBRo.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-DLWTqjUr.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +5 -5
- package/dist/{documentSignatureStateMachine-BGmJ_F05.esm.js → documentSignatureStateMachine-CfwdF-s2.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-_VczO9eY.esm.js → dynamicFormsManager-Bl3yyyrX.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CxEbUgA2.esm.js → dynamicFormsStateMachine-CH0Vx55e.esm.js} +1 -1
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DmqOVUfr.d.ts → ekybManager-XpAF7sBY.d.ts} +1 -1
- package/dist/{ekybManager-BTpXg5S5.esm.js → ekybManager-ZZfPEUYP.esm.js} +1 -1
- package/dist/{ekybStateMachine-C9vSWOfc.esm.js → ekybStateMachine-DFc4v1pj.esm.js} +87 -5
- package/dist/{ekybUtils-CQl--xHw.esm.js → ekybUtils-ru8kQWEQ.esm.js} +18 -9
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DHJEJKzi.esm.js → ekycManager-Bt0FZlZO.esm.js} +1 -1
- package/dist/{ekycPrefillManager-Cpa4Ojo9.esm.js → ekycPrefillManager-CYwg0Tnt.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-IFZ9q-L7.d.ts} +1 -1
- package/dist/{ekycPrefillStateMachine-CG1IzJPT.esm.js → ekycPrefillStateMachine-B65Mkv8_.esm.js} +1 -1
- package/dist/{ekycStateMachine-DkGDTOh7.esm.js → ekycStateMachine-lo3GvfpV.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-QNDt89Hk.esm.js → electronicSignatureManager-DSC-rB9h.esm.js} +1 -1
- package/dist/extensibility.d.ts +7 -7
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-B2UrO7Dg.esm.js → faceCaptureManagerFactory-D9yBwI50.esm.js} +2 -2
- package/dist/{faceCaptureSetup-ByUq2-ol.esm.js → faceCaptureSetup-FfLUR78d.esm.js} +7 -7
- package/dist/{feature-management-BdI-A6iS.esm.js → feature-management-BEOgq_g8.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CCbv5iIj.esm.js → flowCompletionService-CpBzivVt.esm.js} +1 -1
- package/dist/{flowServices-CKCGj0j3.esm.js → flowServices-C0dzv1sW.esm.js} +5 -5
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationManager-flbr1-EH.esm.js → geolocationManager-R1sijOj3.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CbqeUSjR.esm.js → geolocationStateMachine-CmixSJ3h.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-MHSoUxLc.esm.js → idCaptureManager-rmrIj0wT.esm.js} +4 -4
- package/dist/{idCaptureServices-PSh4YJTy.esm.js → idCaptureServices-B8TgnFRH.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-6g6Y9ZuQ.esm.js → idCaptureStateMachine-DWj_tY1_.esm.js} +11 -11
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C3BHGgSb.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-B2K0Ycxf.esm.js → kybChecksManager-DkEq9yLY.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-LrgZ9KOB.esm.js → kybChecksStateMachine-0YHz2NK5.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-D4R02-0Y.d.ts → mandatoryConsentManager-Bl5ULEys.d.ts} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BhfPOoPJ.esm.js → recordingService-h-mxH9jC.esm.js} +1 -1
- package/dist/{runChildModule-Di-o5lDC.esm.js → runChildModule-C7dtprZj.esm.js} +1 -1
- package/dist/{sdkVersion-CMXVlc-r.esm.js → sdkVersion-dCwLbdO-.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-DSNVyi8A.esm.js → selfieErrorUtils-CnZ_wlqp.esm.js} +1 -1
- package/dist/{selfieManager-sYyEhIp8.esm.js → selfieManager-DN4jn77y.esm.js} +3 -3
- package/dist/{selfieStateMachine-MNGnttvd.esm.js → selfieStateMachine-DKiHbkuG.esm.js} +3 -3
- package/dist/{session-EAp8VCs9.esm.js → session-DZt1SB2G.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BDD6tSZ6.esm.js → sessionInitializer-C2KnbF1H.esm.js} +4 -4
- package/dist/{setup-D4XGOnLK.esm.js → setup-eFn0uKTQ.esm.js} +5 -5
- package/dist/trueSight-7fry7Gam.esm.js +1 -0
- package/dist/{trueSightService-G_3YEepc.esm.js → trueSightService-BXAmGO6Z.esm.js} +1 -1
- package/dist/{types-gXjHnLSS.d.ts → types-D4_C4-vg.d.ts} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-B5qIvZhV.esm.js → videoSelfieCameraWarmer-C8VQbAt_.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +19 -19
- package/package.json +3 -3
- package/dist/trueSight-Cz4rLGzU.esm.js +0 -1
package/dist/{FaceDetectionProvider-kIXKvb6_.esm.js → FaceDetectionProvider-NL6Rx8K3.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-eFn0uKTQ.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./trueSight-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BXAmGO6Z.esm.js";
|
|
6
|
+
import "./trueSight-7fry7Gam.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
9
9
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -234,7 +234,7 @@ function startDetection(params) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
async function initializeDeepsightSession(options) {
|
|
237
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
237
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Bb04h6G-.esm.js");
|
|
238
238
|
return loadDeepsightSession({
|
|
239
239
|
ds: options.ds,
|
|
240
240
|
storage: options.storage
|
|
@@ -159,7 +159,11 @@ const US_POSTAL_CODE_REGEX = /^(?:\d{5}|\d{9}|\d{5}-\d{4})$/;
|
|
|
159
159
|
const BR_POSTAL_CODE_REGEX = /^(?:\d{5}|\d{8}|\d{5}-\d{3})$/;
|
|
160
160
|
const CA_POSTAL_CODE_REGEX = /^[A-Za-z]\d[A-Za-z] \d[A-Za-z]\d$/;
|
|
161
161
|
const UK_POSTAL_CODE_REGEX = /^(?:[A-Z]{2}\d|[A-Z]{2}\d{2}|[A-Z]\d|[A-Z]\d{2}|[A-Z]\d[A-Z]|[A-Z]{2}\d[A-Z]) \d[A-Z]{2}$/;
|
|
162
|
-
|
|
162
|
+
/**
|
|
163
|
+
* The 8-character CPA (C1425DFE), or the 4-digit code before it (1264), which
|
|
164
|
+
* company registries such as Creditsafe's still record.
|
|
165
|
+
*/
|
|
166
|
+
const AR_POSTAL_CODE_REGEX = /^(?:[A-Za-z]\d{4}[A-Za-z]{3}|\d{4})$/;
|
|
163
167
|
/** Four digits and two uppercase letters, such as 1016DV. */
|
|
164
168
|
const NL_POSTAL_CODE_REGEX = /^\d{4}[A-Z]{2}$/;
|
|
165
169
|
/** Seven digits, the first 1 to 9, with or without a hyphen: 4430-458. */
|
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-DSC-rB9h.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -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-CzGnqWm3.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-fXPxU0Yi.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-GPPQdprT.esm.js → authenticationManager-fXPxU0Yi.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-eFn0uKTQ.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-PUWyizJn.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D9yBwI50.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CzGnqWm3.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-FfLUR78d.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-NL6Rx8K3.esm.js";
|
|
5
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Rm5dLBRo.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-Duzd8paN.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -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 }: {
|
package/dist/{deepsightCaptureConfig-0D4BXbz4.esm.js → deepsightCaptureConfig-B_2wTBrs.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-BXAmGO6Z.esm.js";
|
|
2
|
+
import "./trueSight-7fry7Gam.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-BXAmGO6Z.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-dCwLbdO-.esm.js";
|
|
4
|
+
import "./trueSight-7fry7Gam.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-C2KnbF1H.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-B6zYrMwf.esm.js → desktopCameraElection-Rm5dLBRo.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-B58edv6M.esm.js";
|
|
6
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
7
|
-
import "./trueSight-
|
|
8
|
-
import { m as getFeatureGate } from "./feature-management-
|
|
6
|
+
import { u as trueSightLog } from "./trueSightService-BXAmGO6Z.esm.js";
|
|
7
|
+
import "./trueSight-7fry7Gam.esm.js";
|
|
8
|
+
import { m as getFeatureGate } from "./feature-management-BEOgq_g8.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-B_2wTBrs.esm.js";
|
|
14
14
|
import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
15
15
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
16
16
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-
|
|
5
|
+
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-CfwdF-s2.esm.js";
|
|
6
6
|
//#region src/modules/document-signature/documentSignatureActor.ts
|
|
7
7
|
function createDocumentSignatureActor(options) {
|
|
8
8
|
return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
|
|
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
id: string | undefined;
|
|
103
103
|
};
|
|
104
104
|
}>, Values<{
|
|
105
|
-
decrementAttemptsRemaining: {
|
|
106
|
-
type: "decrementAttemptsRemaining";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
clearError: {
|
|
110
106
|
type: "clearError";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
112
108
|
};
|
|
109
|
+
decrementAttemptsRemaining: {
|
|
110
|
+
type: "decrementAttemptsRemaining";
|
|
111
|
+
params: NonReducibleUnknown;
|
|
112
|
+
};
|
|
113
113
|
setStream: {
|
|
114
114
|
type: "setStream";
|
|
115
115
|
params: NonReducibleUnknown;
|
|
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
263
263
|
type: "fileSizeOkForNonGallery";
|
|
264
264
|
params: unknown;
|
|
265
265
|
};
|
|
266
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
266
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "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-B58edv6M.esm.js";
|
|
3
3
|
import "./events-PUWyizJn.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-z0PwAob-.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-CH0Vx55e.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-Bl3yyyrX.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
6
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CH0Vx55e.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-CxEbUgA2.esm.js → dynamicFormsStateMachine-CH0Vx55e.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-z0PwAob-.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,8 +1,8 @@
|
|
|
1
1
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
2
2
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
3
3
|
import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
|
|
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-
|
|
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
|
+
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
|
|
7
7
|
type EkybFlowConfig = FlowModuleConfig['EKYB'];
|
|
8
8
|
//#endregion
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { _ as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-ru8kQWEQ.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DFc4v1pj.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-ZZfPEUYP.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -2,7 +2,7 @@ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
|
2
2
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
3
|
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
5
|
-
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-
|
|
5
|
+
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-D4_C4-vg.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybStateMachine.d.ts
|
|
7
7
|
declare const ekybMachine: any;
|
|
8
8
|
type EkybMachine = typeof ekybMachine;
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
6
|
+
import { t as ekybMachine } from "./ekybStateMachine-DFc4v1pj.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-C0dzv1sW.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
|
-
import { _ as isSupportedCountry, a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as
|
|
5
|
+
import { _ as isSupportedCountry, a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as collectsUbos, h as UBO_FIELD_LABELS, i as isFormFieldEntry, l as ALL_COUNTRIES, m as TAX_ID_RULES_BY_COUNTRY, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-ru8kQWEQ.esm.js";
|
|
6
6
|
import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
7
7
|
import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
|
|
8
8
|
import { n as requiresCnpjValidation } from "./cnpj-D5cxwIe-.esm.js";
|
|
9
|
-
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-
|
|
9
|
+
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-BJ711RHG.esm.js";
|
|
10
10
|
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
11
11
|
import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
|
|
12
12
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
@@ -151,6 +151,89 @@ function validateEkybUboField(ubos, fieldKey) {
|
|
|
151
151
|
//#endregion
|
|
152
152
|
//#region ../form-definitions/generated/ekyb.ts
|
|
153
153
|
const EKYB_DEFINITIONS = {
|
|
154
|
+
"ekyb/AR": {
|
|
155
|
+
schemaVersion: 1,
|
|
156
|
+
vocabulary: "1.0",
|
|
157
|
+
id: "ekyb/AR",
|
|
158
|
+
module: "ekyb",
|
|
159
|
+
country: "AR",
|
|
160
|
+
fields: [
|
|
161
|
+
{
|
|
162
|
+
name: "businessName",
|
|
163
|
+
kind: "text",
|
|
164
|
+
group: "businessName",
|
|
165
|
+
required: true,
|
|
166
|
+
label: { key: "ekyb.businessName" },
|
|
167
|
+
input: { autofill: "organization" }
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "taxId",
|
|
171
|
+
kind: "text",
|
|
172
|
+
group: "taxId",
|
|
173
|
+
required: true,
|
|
174
|
+
label: { key: "ekyb.taxId" },
|
|
175
|
+
rules: [{
|
|
176
|
+
id: "charTemplate",
|
|
177
|
+
params: { templates: ["99999999999", "99-99999999-9"] }
|
|
178
|
+
}]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "street",
|
|
182
|
+
kind: "text",
|
|
183
|
+
group: "address",
|
|
184
|
+
required: true,
|
|
185
|
+
widget: "addressSearch",
|
|
186
|
+
label: { key: "ekyb.street" },
|
|
187
|
+
input: { autofill: "addressLine1" }
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: "houseNo",
|
|
191
|
+
kind: "text",
|
|
192
|
+
group: "address",
|
|
193
|
+
required: true,
|
|
194
|
+
label: { key: "ekyb.houseNo" }
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: "addressLine2",
|
|
198
|
+
kind: "text",
|
|
199
|
+
group: "address",
|
|
200
|
+
label: { key: "ekyb.addressLine2" },
|
|
201
|
+
input: { autofill: "addressLine2" }
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: "city",
|
|
205
|
+
kind: "text",
|
|
206
|
+
group: "address",
|
|
207
|
+
required: true,
|
|
208
|
+
label: { key: "ekyb.city" },
|
|
209
|
+
input: { autofill: "addressLevel2" }
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "state",
|
|
213
|
+
kind: "text",
|
|
214
|
+
group: "address",
|
|
215
|
+
required: true,
|
|
216
|
+
label: { key: "ekyb.state" },
|
|
217
|
+
input: { autofill: "addressLevel1" }
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
name: "postalCode",
|
|
221
|
+
kind: "text",
|
|
222
|
+
group: "address",
|
|
223
|
+
required: true,
|
|
224
|
+
label: { key: "ekyb.postalCode" },
|
|
225
|
+
input: {
|
|
226
|
+
maxLength: 8,
|
|
227
|
+
autofill: "postalCode"
|
|
228
|
+
},
|
|
229
|
+
rules: [{ id: "postalCodeFormat" }]
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
submit: {
|
|
233
|
+
static: { plugins: ["ekyb"] },
|
|
234
|
+
context: { country: "country" }
|
|
235
|
+
}
|
|
236
|
+
},
|
|
154
237
|
"ekyb/BR": {
|
|
155
238
|
schemaVersion: 1,
|
|
156
239
|
vocabulary: "1.0",
|
|
@@ -1431,7 +1514,6 @@ const EKYB_DEFINITIONS = {
|
|
|
1431
1514
|
id: "ekyb/PE",
|
|
1432
1515
|
module: "ekyb",
|
|
1433
1516
|
country: "PE",
|
|
1434
|
-
availableIn: ["development", "staging"],
|
|
1435
1517
|
fields: [
|
|
1436
1518
|
{
|
|
1437
1519
|
name: "businessName",
|
|
@@ -1809,7 +1891,7 @@ function buildEkybForm(config, verificationFields, country, useDefinitions) {
|
|
|
1809
1891
|
fields: projectEkybFields(form, country),
|
|
1810
1892
|
hasUbos: hasUboCollection(form)
|
|
1811
1893
|
};
|
|
1812
|
-
const hasUbos = config.checkUniqueBeneficialOwner !== false && verificationFields.includes("ubos-user_input") &&
|
|
1894
|
+
const hasUbos = config.checkUniqueBeneficialOwner !== false && verificationFields.includes("ubos-user_input") && collectsUbos(country);
|
|
1813
1895
|
return {
|
|
1814
1896
|
fields: buildEkybFields(verificationFields, country, hasUbos),
|
|
1815
1897
|
hasUbos
|
|
@@ -5,6 +5,7 @@ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
|
5
5
|
* Sorted alphabetically by display name.
|
|
6
6
|
*/
|
|
7
7
|
const SUPPORTED_COUNTRIES = [
|
|
8
|
+
"AR",
|
|
8
9
|
"BR",
|
|
9
10
|
"CN",
|
|
10
11
|
"FR",
|
|
@@ -12,6 +13,7 @@ const SUPPORTED_COUNTRIES = [
|
|
|
12
13
|
"IL",
|
|
13
14
|
"IT",
|
|
14
15
|
"MX",
|
|
16
|
+
"PE",
|
|
15
17
|
"ES",
|
|
16
18
|
"GB",
|
|
17
19
|
"US"
|
|
@@ -23,8 +25,7 @@ const DEV_ONLY_COUNTRIES = [
|
|
|
23
25
|
"CM",
|
|
24
26
|
"CO",
|
|
25
27
|
"KE",
|
|
26
|
-
"NG"
|
|
27
|
-
"PE"
|
|
28
|
+
"NG"
|
|
28
29
|
];
|
|
29
30
|
/**
|
|
30
31
|
* Union of all recognized country codes (prod + dev).
|
|
@@ -78,17 +79,21 @@ const OPTIONAL_FIELDS_BY_COUNTRY = {
|
|
|
78
79
|
CO: ["postalCode"],
|
|
79
80
|
PE: ["postalCode"]
|
|
80
81
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
const UBO_UNSUPPORTED_COUNTRIES_SET = /* @__PURE__ */ new Set([
|
|
83
|
+
"MX",
|
|
84
|
+
"PE",
|
|
85
|
+
"AR"
|
|
86
|
+
]);
|
|
87
|
+
function collectsUbos(country) {
|
|
88
|
+
return !UBO_UNSUPPORTED_COUNTRIES_SET.has(country);
|
|
89
|
+
}
|
|
87
90
|
/**
|
|
88
91
|
* The format rules on a country's tax ID, beyond the CNPJ check on Brazil's.
|
|
89
92
|
* Colombia: the 9-digit NIT, with or without the dots, and with or without
|
|
90
93
|
* the check digit (DV). The backend reduces it to the 9 digits.
|
|
91
94
|
* Peru: the 11-digit RUC, such as 20100047218.
|
|
95
|
+
* Argentina: the 11-digit CUIT, with or without the hyphens
|
|
96
|
+
* (30703088534 or 30-70308853-4). The backend removes the hyphens.
|
|
92
97
|
*/
|
|
93
98
|
const TAX_ID_RULES_BY_COUNTRY = {
|
|
94
99
|
CO: [{
|
|
@@ -104,6 +109,10 @@ const TAX_ID_RULES_BY_COUNTRY = {
|
|
|
104
109
|
PE: [{
|
|
105
110
|
type: "charTemplate",
|
|
106
111
|
templates: ["99999999999"]
|
|
112
|
+
}],
|
|
113
|
+
AR: [{
|
|
114
|
+
type: "charTemplate",
|
|
115
|
+
templates: ["99999999999", "99-99999999-9"]
|
|
107
116
|
}]
|
|
108
117
|
};
|
|
109
118
|
const UBO_FIELD_LABELS = {
|
|
@@ -187,4 +196,4 @@ function requiresAddressValidation(countryCode) {
|
|
|
187
196
|
return !ADDRESS_FULLY_OPTIONAL_COUNTRIES.includes(countryCode);
|
|
188
197
|
}
|
|
189
198
|
//#endregion
|
|
190
|
-
export { isSupportedCountry as _, requiresAddressValidation as a, ADDRESS_FIELDS as c, FIELD_NAME_MAPPING as d, FIELD_ORDER as f,
|
|
199
|
+
export { isSupportedCountry as _, requiresAddressValidation as a, ADDRESS_FIELDS as c, FIELD_NAME_MAPPING as d, FIELD_ORDER as f, collectsUbos as g, UBO_FIELD_LABELS as h, isFormFieldEntry as i, ALL_COUNTRIES as l, TAX_ID_RULES_BY_COUNTRY as m, hasAtLeastOneAddressField as n, sortModulesByOrder as o, SUPPORTED_COUNTRIES as p, isFieldOptional as r, toEkybConfig as s, ekybUtils_exports as t, DEV_ONLY_COUNTRIES as u };
|
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-IFZ9q-L7.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-B65Mkv8_.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-CYwg0Tnt.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { d as toEkycConfig } from "./ekycUtils-BnTyeA-_.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-lo3GvfpV.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-Bt0FZlZO.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-
|
|
6
|
+
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-lo3GvfpV.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 { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { l as validateAllValues } from "./formErrors-lSfh7Y8J.esm.js";
|
|
4
|
-
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
4
|
+
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-B65Mkv8_.esm.js";
|
|
5
5
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
6
6
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
7
7
|
function createEkycPrefillActor(options = {}) {
|
|
@@ -109,7 +109,7 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
109
109
|
type: "isLimitReached";
|
|
110
110
|
params: unknown;
|
|
111
111
|
};
|
|
112
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
112
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "misconfigured" | "submitting" | "limitReached" | {
|
|
113
113
|
form: "inputting" | "validating";
|
|
114
114
|
}, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
115
115
|
readonly id: "ekycPrefill";
|
package/dist/{ekycPrefillStateMachine-CG1IzJPT.esm.js → ekycPrefillStateMachine-B65Mkv8_.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-B58edv6M.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-z0PwAob-.esm.js";
|
|
4
4
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -7,7 +7,7 @@ import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
|
7
7
|
import { a as hasNameCharacters, c as isEmailFormat, d as resolvePrefill, f as isValidRut, h as isValidEsDni, i as isNotFuture, l as digitCountError, m as isValidFiPersonalIdentityCode, n as hasScriptCharacters, o as isWithinMaxAge, p as isValidInDrivingLicenseNumber, r as isInNumericRange, s as isPoBox, u as hasDigitCount } from "./scriptCharacters-D7swUycV.esm.js";
|
|
8
8
|
import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
|
|
9
9
|
import { n as usStates, t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
10
|
-
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, n as searchAddress, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-
|
|
10
|
+
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, n as searchAddress, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-BJ711RHG.esm.js";
|
|
11
11
|
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
12
12
|
import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
|
|
13
13
|
import { C as POSTAL_CODE_SOURCES, D as VOCABULARY, E as TAX_ID_SOURCES, S as ONE_OF_REQUIRED_GROUPS, T as STREET_SOURCES, _ as COUNTRY_SELECTOR_DISABLED_SOURCES, a as getEKYCFields, b as MIDDLE_NAME_SOURCES, c as isFieldOptional, d as toEkycConfig, f as withRiskAddonFields, g as COUNTRY_CODE_OMITTED_SOURCES, h as CITY_SOURCES, i as getEKYCDisplayModes, l as mapToEKYCvalue, m as APARTMENT_SOURCES, o as getEkycRiskAddons, p as ADDRESS_STATE_SOURCES, r as getEKYCCountry, s as getRiskAddonFields, t as EKYC_GROUP_KEYS, u as resolveEkycSource, v as EMAIL_SOURCES, w as STATE_CODE_HINTS, x as NAME_SOURCES, y as HOUSE_NO_SOURCES } from "./ekycUtils-BnTyeA-_.esm.js";
|
|
@@ -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-DSC-rB9h.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 { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.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-z0PwAob-.esm.js";
|
|
6
6
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
7
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -12,15 +12,15 @@ import "./StreamCanvasCapture-BqaHTJF0.js";
|
|
|
12
12
|
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DXqvtLr9.js";
|
|
13
13
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-D_dz2zK4.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Duzd8paN.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-tNhzv7vZ.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
|
-
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-
|
|
23
|
-
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
22
|
+
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-XpAF7sBY.js";
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-IFZ9q-L7.js";
|
|
24
24
|
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-mv2rWxc4.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
26
26
|
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B2j448t4.js";
|
|
@@ -30,11 +30,11 @@ import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as Watchli
|
|
|
30
30
|
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
|
|
31
31
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
|
|
32
32
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
|
|
33
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
34
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
33
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Bl5ULEys.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
37
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
38
38
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
|
|
39
39
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
|
|
40
40
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|