@incodetech/core 0.0.0-dev-20261117-e29ff845 → 0.0.0-dev-20261117-395fe99a
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-CauOc5Lm.esm.js → FaceDetectionProvider-BSkXba1l.esm.js} +4 -4
- package/dist/{addressSearch-B0dFbagf.esm.js → addressSearch-BzAy6lhp.esm.js} +1 -3
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-QFHsqOLJ.esm.js → apiError-M34LvK-d.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CP-HNswc.esm.js → authenticationManager-dR3dWsdy.esm.js} +3 -3
- package/dist/{authenticationStateMachine-C1Q71j1O.esm.js → authenticationStateMachine-A1P-Emgy.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-DlvhoJYc.d.ts → consentManager-B0YKqYtZ.d.ts} +1 -1
- package/dist/{consentManager-BryqWuTX.esm.js → consentManager-DRMJ3O4r.esm.js} +1 -1
- package/dist/{consentStateMachine-BKxCX8RR.esm.js → consentStateMachine-Br0JbW7k.esm.js} +3 -6
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-JpvG0LfN.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +0 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-zB-WC9ff.esm.js → curpValidationManager-BKUDQ55W.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-qhl8i8Wt.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +3 -9
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CJGIvO_Y.esm.js → customFieldsManager-CPhONu5i.esm.js} +1 -3
- package/dist/{customWatchlistManager-D6_6diPl.esm.js → customWatchlistManager-cN57usIW.esm.js} +1 -1
- package/dist/{customWatchlistStateMachine-DomGDHJG.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +1 -3
- package/dist/{deepsightLoader-Cx_9zNVz.esm.js → deepsightLoader-BZakKeSL.esm.js} +3 -3
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentSignatureStateMachine-ClnMu3Fj.esm.js → documentSignatureStateMachine-CEg1t1sO.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DhKQT_B0.esm.js → dynamicFormsManager-Dke3cU7u.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DICWLVPl.esm.js → dynamicFormsStateMachine-9XkYah_p.esm.js} +3 -7
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-Cpz3YN8L.esm.js → ekybManager-BPX6kwtl.esm.js} +1 -1
- package/dist/{ekybStateMachine-DSIMPzYn.esm.js → ekybStateMachine-bIuKQL3e.esm.js} +3 -5
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-9Go6sWaP.esm.js → ekycManager-DWCL912J.esm.js} +1 -1
- package/dist/{ekycPrefillManager-DKohlrlQ.esm.js → ekycPrefillManager-ByOP0G7m.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-CTQ_fVE6.esm.js → ekycPrefillStateMachine-BJe3WBmC.esm.js} +2 -4
- package/dist/{ekycStateMachine-BgjkwEXb.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +4 -10
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Birlyc_W.esm.js → electronicSignatureManager-CA2HUJ7A.esm.js} +5 -13
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BDjoEB76.esm.js → emailManager-CfvR6pQN.esm.js} +1 -1
- package/dist/{emailStateMachine-BvY9LBq3.esm.js → emailStateMachine-C4FouMzc.esm.js} +1 -3
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +26 -26
- package/dist/{faceCaptureManagerFactory-D55zMPjL.esm.js → faceCaptureManagerFactory-DWF2yS6c.esm.js} +1 -1
- package/dist/{faceCaptureSetup-B8yCqvkE.esm.js → faceCaptureSetup-uh-Lyqak.esm.js} +3 -3
- package/dist/{feature-management-CroerM3o.esm.js → feature-management-B8gWa7c5.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CFDm0Pk8.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +1 -3
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-FLnc6Y8n.esm.js → flowCompletionService-DI71bT0n.esm.js} +1 -1
- package/dist/{flowServices-CiMliMo1.esm.js → flowServices-CNF9cq0f.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CfXr_6nz.esm.js → geolocationManager-Cl7v-hww.esm.js} +1 -1
- package/dist/{geolocationStateMachine-0T8ZFeqW.esm.js → geolocationStateMachine-DDO3d8Yw.esm.js} +3 -5
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-yqB7WYMq.esm.js → governmentValidationManager-D2KGYDws.esm.js} +1 -1
- package/dist/{governmentValidationStateMachine-E5D3cJsW.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +1 -3
- 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-BIdhElg-.esm.js → idCaptureManager-BM9MSfVA.esm.js} +3 -3
- package/dist/{idCaptureServices-BXxOv7QU.esm.js → idCaptureServices-CQRPU56O.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-Chfbkhzz.esm.js → idCaptureStateMachine-DNbc01nE.esm.js} +8 -8
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-DcsGD2wG.esm.js → kybChecksManager-7w28Ivis.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DOxQz4kx.esm.js → kybChecksStateMachine-DBF3lbec.esm.js} +4 -8
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-f2PQQ4NW.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-BGGbTEwN.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +1 -1
- package/dist/{mandatoryConsentStateMachine-B1YRihU8.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +3 -6
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-B4QkZ77c.esm.js → phoneManager-D8-l6-0y.esm.js} +1 -1
- package/dist/{phoneServices-rooti109.esm.js → phoneServices-C9lFIuCM.esm.js} +2 -6
- package/dist/{phoneStateMachine-BXveIzDc.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-D55jpqYD.esm.js → runChildModule-BVvpZJPd.esm.js} +1 -1
- package/dist/{sdkVersion-CXNUpray.esm.js → sdkVersion-rcDNM4ka.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-BB272GDV.esm.js → selfieErrorUtils-CZ6MoYr2.esm.js} +1 -1
- package/dist/{selfieManager-DNfcl9Ol.esm.js → selfieManager-hzS-6aU6.esm.js} +3 -3
- package/dist/{selfieStateMachine-CprOxiUA.esm.js → selfieStateMachine-CJZkcEv1.esm.js} +3 -3
- package/dist/{session-BKEXaIce.esm.js → session-C9BUyJVO.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-Bd-eCn2s.esm.js → sessionInitializer-8Lq0xwL2.esm.js} +3 -3
- package/dist/{setup-jFWnUhos.esm.js → setup-DHKrdvrS.esm.js} +4 -4
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-CSvT7oe0.esm.js → signatureManager-B6dRieBV.esm.js} +1 -1
- package/dist/{signatureStateMachine-D37V__5_.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +2 -4
- package/dist/{trueSightService-CdFQFUZR.esm.js → trueSightService-C5f1OAMF.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-Ch6fYbNT.esm.js → videoSelfieCameraWarmer-RUxKqiu3.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CmjwV--u.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +1 -1
- package/dist/{watchlistForBusinessStateMachine-BYig8gg5.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +1 -3
- package/dist/{watchlistManager-Ct8XSwNb.esm.js → watchlistManager-CGXbemnp.esm.js} +1 -1
- package/dist/{watchlistStateMachine-BC9qoUVd.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +1 -3
- package/dist/workflow.esm.js +27 -27
- package/package.json +1 -1
package/dist/{FaceDetectionProvider-CauOc5Lm.esm.js → FaceDetectionProvider-BSkXba1l.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-DHKrdvrS.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C5f1OAMF.esm.js";
|
|
6
|
+
import "./sessionInitializer-8Lq0xwL2.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-VqHbD5rn.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BZakKeSL.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
|
@@ -27,9 +27,7 @@ function isFormDefinitionsEnabled() {
|
|
|
27
27
|
//#region src/shared/addressSearch.ts
|
|
28
28
|
/** Searches for address suggestions via the address autocomplete API. */
|
|
29
29
|
async function searchAddress(query, signal) {
|
|
30
|
-
|
|
31
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
|
|
32
|
-
return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
|
|
30
|
+
return { apiResponse: { items: ((await api.post(endpoints.addressAutocomplete, { search: query }, { signal })).data.apiResponse?.items ?? []).map((item, i) => {
|
|
33
31
|
const addr = item.address ?? item;
|
|
34
32
|
return {
|
|
35
33
|
id: item.id ?? i,
|
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-CA2HUJ7A.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-A1P-Emgy.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-dR3dWsdy.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CP-HNswc.esm.js → authenticationManager-dR3dWsdy.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DHKrdvrS.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-CsPmTidH.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-DWF2yS6c.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-A1P-Emgy.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-uh-Lyqak.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BSkXba1l.esm.js";
|
|
5
5
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-C_taHjXy.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
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-B0YKqYtZ.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DRMJ3O4r.esm.js";
|
|
3
3
|
export { 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" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
106
106
|
readonly id: "consent";
|
|
107
107
|
readonly initial: "idle";
|
|
108
108
|
readonly context: ({ input }: {
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.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 consentMachine } from "./consentStateMachine-
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
7
7
|
//#region src/modules/consent/consentActor.ts
|
|
8
8
|
function createConsentActor(options) {
|
|
9
9
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -4,19 +4,16 @@ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
|
4
4
|
//#region src/modules/consent/consentServices.ts
|
|
5
5
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
6
6
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
7
|
-
|
|
7
|
+
return (await api.get(endpoints.getCombinedConsent, {
|
|
8
8
|
signal,
|
|
9
9
|
query: {
|
|
10
10
|
id: consentId,
|
|
11
11
|
language: language ?? "en"
|
|
12
12
|
}
|
|
13
|
-
});
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
})).data;
|
|
16
14
|
}
|
|
17
15
|
async function submitCombinedConsent(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.signCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
16
|
+
await api.post(endpoints.signCombinedConsent, params, { signal });
|
|
20
17
|
}
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/modules/consent/consentStateMachine.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BIQ-SYcR.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -10,7 +10,6 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
10
10
|
const MIN_DISPLAY_MS = 3e3;
|
|
11
11
|
async function processCrossDocumentDataMatch(signal) {
|
|
12
12
|
const [res] = await Promise.all([api.post(endpoints.processCrossDocumentDataMatch, {}, { signal }), sleep(MIN_DISPLAY_MS)]);
|
|
13
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processCrossDocumentDataMatch} failed: ${res.status} ${res.statusText}`);
|
|
14
13
|
return res.data;
|
|
15
14
|
}
|
|
16
15
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BKUDQ55W.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-zB-WC9ff.esm.js → curpValidationManager-BKUDQ55W.esm.js}
RENAMED
|
@@ -4,7 +4,7 @@ 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
6
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
7
|
-
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
7
|
+
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
8
8
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
9
9
|
function createCurpValidationActor(options) {
|
|
10
10
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -148,14 +148,10 @@ const mexicanStates = [
|
|
|
148
148
|
//#endregion
|
|
149
149
|
//#region src/modules/curp-validation/curpValidationServices.ts
|
|
150
150
|
async function fetchOcrData(signal) {
|
|
151
|
-
|
|
152
|
-
if (!res.ok) throw new Error(`GET ${endpoints.ocrData} failed: ${res.status} ${res.statusText}`);
|
|
153
|
-
return res.data;
|
|
151
|
+
return (await api.get(endpoints.ocrData, { signal })).data;
|
|
154
152
|
}
|
|
155
153
|
async function addCurp(curp, signal) {
|
|
156
|
-
|
|
157
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCurp} failed: ${res.status} ${res.statusText}`);
|
|
158
|
-
return res.data;
|
|
154
|
+
return (await api.post(endpoints.addCurp, { curp }, { signal })).data;
|
|
159
155
|
}
|
|
160
156
|
async function addCurpV2(form, signal) {
|
|
161
157
|
const payload = {
|
|
@@ -166,9 +162,7 @@ async function addCurpV2(form, signal) {
|
|
|
166
162
|
birthDate: formatDateForApi(form.birthDate),
|
|
167
163
|
state: form.birthState
|
|
168
164
|
};
|
|
169
|
-
|
|
170
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCurpV2} failed: ${res.status} ${res.statusText}`);
|
|
171
|
-
return res.data;
|
|
165
|
+
return (await api.post(endpoints.addCurpV2, payload, { signal })).data;
|
|
172
166
|
}
|
|
173
167
|
//#endregion
|
|
174
168
|
//#region src/modules/curp-validation/curpFields.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-
|
|
1
|
+
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-CPhONu5i.esm.js";
|
|
2
2
|
export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
2
|
-
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-cN57usIW.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -9,9 +9,7 @@ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
|
9
9
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
10
10
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
11
11
|
async function submitCustomFields(params, signal) {
|
|
12
|
-
|
|
13
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCustomFields} failed: ${res.status} ${res.statusText}`);
|
|
14
|
-
return res.data;
|
|
12
|
+
return (await api.post(endpoints.addCustomFields, params.fields, { signal })).data;
|
|
15
13
|
}
|
|
16
14
|
//#endregion
|
|
17
15
|
//#region src/modules/custom-fields/customFieldsStateMachine.ts
|
package/dist/{customWatchlistManager-D6_6diPl.esm.js → customWatchlistManager-cN57usIW.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.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 customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
6
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
7
7
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
8
8
|
function createCustomWatchlistActor() {
|
|
9
9
|
return createActor(customWatchlistMachine).start();
|
|
@@ -3,9 +3,7 @@ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
5
5
|
async function processWatchlist(signal) {
|
|
6
|
-
|
|
7
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processWatchlist} failed: ${res.status} ${res.statusText}`);
|
|
8
|
-
return res.data;
|
|
6
|
+
return (await api.post(endpoints.processWatchlist, {}, { signal })).data;
|
|
9
7
|
}
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-C5f1OAMF.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-rcDNM4ka.esm.js";
|
|
4
|
+
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-8Lq0xwL2.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-CEg1t1sO.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();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
3
|
import "./events-CsPmTidH.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-M34LvK-d.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-9XkYah_p.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-Dke3cU7u.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-9XkYah_p.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-DICWLVPl.esm.js → dynamicFormsStateMachine-9XkYah_p.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.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-M34LvK-d.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
@@ -73,9 +73,7 @@ function validateScreenField(answers, questionId, fields, answerValidity) {
|
|
|
73
73
|
//#region src/modules/dynamic-forms/dynamicFormsServices.ts
|
|
74
74
|
async function fetchForms(flowId, signal) {
|
|
75
75
|
const url = `${endpoints.moduleConfig}?id=${encodeURIComponent(flowId)}&moduleKey=DYNAMIC_FORMS`;
|
|
76
|
-
|
|
77
|
-
if (!res.ok) throw new Error(`GET ${endpoints.moduleConfig} failed: ${res.status} ${res.statusText}`);
|
|
78
|
-
return res.data;
|
|
76
|
+
return (await api.get(url, { signal })).data;
|
|
79
77
|
}
|
|
80
78
|
/**
|
|
81
79
|
* Fetches Form Pre-fill values resolved from the interview. Keyed by session
|
|
@@ -83,9 +81,7 @@ async function fetchForms(flowId, signal) {
|
|
|
83
81
|
* `prefillSource`. A failure throws — the machine degrades to a blank form.
|
|
84
82
|
*/
|
|
85
83
|
async function fetchPrefill(signal) {
|
|
86
|
-
|
|
87
|
-
if (!res.ok) throw new Error(`GET ${endpoints.dynamicFormsPrefill} failed: ${res.status} ${res.statusText}`);
|
|
88
|
-
return res.data;
|
|
84
|
+
return (await api.get(endpoints.dynamicFormsPrefill, { signal })).data;
|
|
89
85
|
}
|
|
90
86
|
async function submitFormAnswer(params, signal) {
|
|
91
87
|
try {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-bIuKQL3e.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BPX6kwtl.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-bIuKQL3e.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-CNF9cq0f.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
@@ -7,7 +7,7 @@ import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
|
7
7
|
import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Bl_olpdX.esm.js";
|
|
8
8
|
import { a as getPostalCodeMaxLength, c as fillFromSuggestion, i as getPostalCodeErrorParams, l as getStreetLevelErrorForSuggestion, n as formatPostalCode, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR, t as createBundledDefinitionSource, u as keepSuggestedStateInOptions } from "./definitionSource-Nw0YCbpe.esm.js";
|
|
9
9
|
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
10
|
-
import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-
|
|
10
|
+
import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-BzAy6lhp.esm.js";
|
|
11
11
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
12
12
|
const createValidators = () => ({
|
|
13
13
|
required: (value, _rule, field) => {
|
|
@@ -575,9 +575,7 @@ async function fetchEkybModuleConfig(signal) {
|
|
|
575
575
|
}
|
|
576
576
|
/** Submits eKYB business verification */
|
|
577
577
|
async function submitEkyb(data, signal) {
|
|
578
|
-
|
|
579
|
-
if (!res.ok) throw new Error(`POST ${endpoints.ekybSubmit} failed: ${res.status} ${res.statusText}`);
|
|
580
|
-
return res.data;
|
|
578
|
+
return (await api.post(endpoints.ekybSubmit, data, { signal })).data;
|
|
581
579
|
}
|
|
582
580
|
//#endregion
|
|
583
581
|
//#region src/modules/ekyb/ekybActors.ts
|
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BJe3WBmC.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-ByOP0G7m.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
1
|
+
import { t as ekycMachine } from "./ekycStateMachine-DjiGyQtm.esm.js";
|
|
2
2
|
import { l as toEkycConfig } from "./ekycUtils-D9ui9Ztp.esm.js";
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-DWCL912J.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-DjiGyQtm.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYC actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
3
|
+
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BJe3WBmC.esm.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
5
5
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
6
6
|
function createEkycPrefillActor(options = {}) {
|
package/dist/{ekycPrefillStateMachine-CTQ_fVE6.esm.js → ekycPrefillStateMachine-BJe3WBmC.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-M34LvK-d.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -434,9 +434,7 @@ function buildSubmitBody(submit, values) {
|
|
|
434
434
|
*/
|
|
435
435
|
async function submitEkycPrefill(body, signal) {
|
|
436
436
|
try {
|
|
437
|
-
|
|
438
|
-
if (!res.ok) throw res;
|
|
439
|
-
return res.data;
|
|
437
|
+
return (await api.post(endpoints.ekycPrefillSubmit, body, { signal })).data;
|
|
440
438
|
} catch (error) {
|
|
441
439
|
throw toIncodeApiError(endpoints.ekycPrefillSubmit, error);
|
|
442
440
|
}
|
|
@@ -6,7 +6,7 @@ import { a as formatPhoneNational, c as oneOfRequiredErrorKey, i as cleanName, l
|
|
|
6
6
|
import { n as usStates, t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
7
7
|
import { a as getPostalCodeMaxLength, c as fillFromSuggestion, l as getStreetLevelErrorForSuggestion, n as formatPostalCode, t as createBundledDefinitionSource, u as keepSuggestedStateInOptions } from "./definitionSource-Nw0YCbpe.esm.js";
|
|
8
8
|
import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
9
|
-
import { n as searchAddress, r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-
|
|
9
|
+
import { n as searchAddress, r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-BzAy6lhp.esm.js";
|
|
10
10
|
import { C as TAX_ID_SOURCES, S as STREET_SOURCES, _ as MIDDLE_NAME_SOURCES, a as getEKYCFields, b as POSTAL_CODE_SOURCES, c as resolveEkycSource, d as APARTMENT_SOURCES, f as CITY_SOURCES, g as HOUSE_NO_SOURCES, h as EMAIL_SOURCES, i as getEKYCDisplayModes, l as toEkycConfig, m as COUNTRY_SELECTOR_DISABLED_SOURCES, o as isFieldOptional, p as COUNTRY_CODE_OMITTED_SOURCES, r as getEKYCCountry, s as mapToEKYCvalue, t as EKYC_GROUP_KEYS, u as ADDRESS_STATE_SOURCES, v as NAME_SOURCES, w as VOCABULARY, x as STATE_CODE_HINTS, y as ONE_OF_REQUIRED_GROUPS } from "./ekycUtils-D9ui9Ztp.esm.js";
|
|
11
11
|
import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
|
|
12
12
|
import { t as formatPhoneE164 } from "./phoneFormat-C3q0Ukh4.esm.js";
|
|
@@ -7513,21 +7513,15 @@ function firstStepWithError(steps, errors) {
|
|
|
7513
7513
|
/** Fetches module configuration for EXTERNAL_VERIFICATION */
|
|
7514
7514
|
async function fetchModuleConfig(flowId, signal) {
|
|
7515
7515
|
const url = `${endpoints.moduleConfig}?id=${encodeURIComponent(flowId)}&moduleKey=EXTERNAL_VERIFICATION`;
|
|
7516
|
-
|
|
7517
|
-
if (!res.ok) throw new Error(`GET ${url} failed: ${res.status} ${res.statusText}`);
|
|
7518
|
-
return res.data;
|
|
7516
|
+
return (await api.get(url, { signal })).data;
|
|
7519
7517
|
}
|
|
7520
7518
|
/** Fetches OCR data for pre-fill */
|
|
7521
7519
|
async function fetchOcrData(signal) {
|
|
7522
|
-
|
|
7523
|
-
if (!res.ok) throw new Error(`GET ${endpoints.ocrData} failed: ${res.status} ${res.statusText}`);
|
|
7524
|
-
return res.data;
|
|
7520
|
+
return (await api.get(endpoints.ocrData, { signal })).data;
|
|
7525
7521
|
}
|
|
7526
7522
|
/** Fetches phone/email from prior OTP modules */
|
|
7527
7523
|
async function fetchOtpStatus(signal) {
|
|
7528
|
-
|
|
7529
|
-
if (!res.ok) throw new Error(`GET ${endpoints.otpStatus} failed: ${res.status} ${res.statusText}`);
|
|
7530
|
-
return res.data;
|
|
7524
|
+
return (await api.get(endpoints.otpStatus, { signal })).data;
|
|
7531
7525
|
}
|
|
7532
7526
|
var EkycSubmitError = class extends Error {
|
|
7533
7527
|
constructor(status, apiError) {
|
|
@@ -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-CA2HUJ7A.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-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-M34LvK-d.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";
|
|
@@ -10,27 +10,21 @@ import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
|
|
10
10
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
11
11
|
async function fetchUnsignedDocuments(signal) {
|
|
12
12
|
try {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw res;
|
|
15
|
-
return res.data;
|
|
13
|
+
return (await api.get(endpoints.aesUnsignedDocuments, { signal })).data;
|
|
16
14
|
} catch (error) {
|
|
17
15
|
toIncodeApiError(endpoints.aesUnsignedDocuments, error);
|
|
18
16
|
}
|
|
19
17
|
}
|
|
20
18
|
async function fetchSignedDocuments(signal) {
|
|
21
19
|
try {
|
|
22
|
-
|
|
23
|
-
if (!res.ok) throw res;
|
|
24
|
-
return res.data;
|
|
20
|
+
return (await api.get(endpoints.esSignedDocuments, { signal })).data;
|
|
25
21
|
} catch (error) {
|
|
26
22
|
toIncodeApiError(endpoints.esSignedDocuments, error);
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
25
|
async function fetchQesTerms(languageCode, signal) {
|
|
30
26
|
try {
|
|
31
|
-
|
|
32
|
-
if (!res.ok) throw res;
|
|
33
|
-
return res.data;
|
|
27
|
+
return (await api.post(endpoints.qesTerms, { languageCode }, { signal })).data;
|
|
34
28
|
} catch (error) {
|
|
35
29
|
toIncodeApiError(endpoints.qesTerms, error);
|
|
36
30
|
}
|
|
@@ -50,9 +44,7 @@ async function signDocument(documentRef, variant, signal) {
|
|
|
50
44
|
}
|
|
51
45
|
}
|
|
52
46
|
async function generateUploadUrl(signal) {
|
|
53
|
-
|
|
54
|
-
if (!res.ok) throw new Error(`POST ${endpoints.aesGenerateUploadUrl} failed: ${res.status} ${res.statusText}`);
|
|
55
|
-
return res.data;
|
|
47
|
+
return (await api.post(endpoints.aesGenerateUploadUrl, {}, { signal })).data;
|
|
56
48
|
}
|
|
57
49
|
async function uploadDocumentFile(presignedUrl, data, signal) {
|
|
58
50
|
await externalFetch({
|
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine-C4FouMzc.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-CfvR6pQN.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-CsPmTidH.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 { t as emailMachine } from "./emailStateMachine-
|
|
5
|
+
import { t as emailMachine } from "./emailStateMachine-C4FouMzc.esm.js";
|
|
6
6
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/email/emailActor.ts
|
|
8
8
|
function createEmailActor(options) {
|
|
@@ -10,9 +10,7 @@ function getEmailServerFailureReason(error, invalidStatus) {
|
|
|
10
10
|
return "serverError";
|
|
11
11
|
}
|
|
12
12
|
async function fetchEmail(signal) {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getEmail} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
return (await api.get(endpoints.getEmail, { signal })).data;
|
|
16
14
|
}
|
|
17
15
|
async function addEmail(params, signal) {
|
|
18
16
|
try {
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import "./StreamCanvasCapture-BnBfA6fb.js";
|
|
|
12
12
|
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DzAMWmRO.js";
|
|
13
13
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B5bDOL1k.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-B0YKqYtZ.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-DgUZySoq.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
@@ -30,8 +30,8 @@ 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-D6tBmPDy.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-pT6FiPE7.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
37
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
|