@incodetech/core 0.0.0-dev-20261123-cce29715 → 0.0.0-dev-20261123-4e85f134
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-kKx1YFhL.esm.js → FaceDetectionProvider-CSiQ4_ay.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DyQlf7pI.esm.js → apiError-D8p92jfK.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BJElkTsj.d.ts → authenticationManager-CLG0PAw9.d.ts} +1 -1
- package/dist/{authenticationManager-DuJZntLr.esm.js → authenticationManager-DzwIWNvb.esm.js} +3 -3
- package/dist/{authenticationStateMachine-FJu61T6B.esm.js → authenticationStateMachine-QgXVzF_L.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-Bx_osBME.d.ts} +4 -4
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-CmL52FU8.d.ts → curpValidationManager-CA9w3fO6.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-Boptke9Z.esm.js → deepsightCaptureConfig-Bcrw2pFu.esm.js} +2 -2
- package/dist/{deepsightLoader-B4hiGB68.esm.js → deepsightLoader-DRDK4yts.esm.js} +4 -4
- package/dist/{desktopCameraElection-C4TjN5pn.esm.js → desktopCameraElection-BvPHvAA4.esm.js} +4 -4
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentSignatureStateMachine-CL3tYalT.esm.js → documentSignatureStateMachine-PMOkZDCn.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Cmg9f9mV.esm.js → dynamicFormsManager-BOQRxy_t.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BSSMKnJK.esm.js → dynamicFormsStateMachine-Bv8m-KhL.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DukDpi6T.esm.js → ekybManager-Dt7Z6NEX.esm.js} +1 -1
- package/dist/{ekybStateMachine-CZW_DJPi.esm.js → ekybStateMachine-DExt873D.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +5 -4
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-Dsv9J-cK.esm.js → ekycManager-N2EAITDJ.esm.js} +1 -1
- package/dist/{ekycPrefillManager-C798byU3.esm.js → ekycPrefillManager-B1i-Fgy-.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BzM-GMVT.d.ts} +5 -5
- package/dist/{ekycPrefillStateMachine-B9pcpVb4.esm.js → ekycPrefillStateMachine-DlUZGMCd.esm.js} +333 -131
- package/dist/{ekycRules-BH_Ll_0A.esm.js → ekycRules-B7kUzSgu.esm.js} +117 -1
- package/dist/{ekycStateMachine-D305_ReU.esm.js → ekycStateMachine-1qQi52Ih.esm.js} +2 -113
- package/dist/{ekycUtils-DEvtEyBI.esm.js → ekycUtils-D4CwNG7Y.esm.js} +5 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DBnwX3nv.esm.js → electronicSignatureManager-YyQFeYTi.esm.js} +1 -1
- package/dist/extensibility.d.ts +12 -12
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-CHqmyOjM.d.ts → faceCaptureManagerFactory-BNY7JNj3.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-pSb7HIK6.esm.js → faceCaptureManagerFactory-BOu2eQns.esm.js} +2 -2
- package/dist/{faceCaptureSetup-BTxn1bsz.esm.js → faceCaptureSetup-CopYy5_O.esm.js} +7 -7
- package/dist/{feature-management-BqzU1p4m.esm.js → feature-management-CGHalFcv.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +5 -5
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DFRGVClO.esm.js → flowCompletionService-BETSa4vN.esm.js} +1 -1
- package/dist/{flowServices-W8ut4kGu.esm.js → flowServices-Adu2JkFA.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BYMMQRWc.esm.js → geolocationManager-CFSS2JSp.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BYi5j53h.esm.js → geolocationStateMachine-yhJy-Oli.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +17 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-CgkQW3Xc.d.ts → idCaptureManager-DksvDJ5Y.d.ts} +2 -2
- package/dist/{idCaptureManager-DNTXCoVj.esm.js → idCaptureManager-biMO4ti8.esm.js} +4 -4
- package/dist/{idCaptureServices-CY0QB_He.esm.js → idCaptureServices-DsBCDgPq.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-teGR624y.esm.js → idCaptureStateMachine-DSVxM1sV.esm.js} +11 -11
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/{index-CoePktWH.d.ts → index-BsqGSj_x.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-C3mVvCpX.esm.js → kybChecksManager-BELqX_Lm.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-CvBvaSwt.esm.js → kybChecksStateMachine-DK41gj76.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-Cktplm8q.d.ts → mandatoryConsentManager-B4-gw9FV.d.ts} +5 -5
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BoukNWOP.esm.js → recordingService-C092bHW7.esm.js} +1 -1
- package/dist/{runChildModule-WEiP1CHt.esm.js → runChildModule-BImyqF65.esm.js} +1 -1
- package/dist/{sdkVersion-rBrLj4z4.esm.js → sdkVersion-BGEzZXPX.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-sNftEqTJ.esm.js → selfieErrorUtils-BbrtgKm7.esm.js} +1 -1
- package/dist/{selfieManager-DrBYj5kA.d.ts → selfieManager-CSxlf4Ls.d.ts} +1 -1
- package/dist/{selfieManager-DaJ5z3ZG.esm.js → selfieManager-Cdj5fjRN.esm.js} +3 -3
- package/dist/{selfieStateMachine-RxD_sQuA.esm.js → selfieStateMachine-CAlutNlH.esm.js} +3 -3
- package/dist/{session-90UDuAvu.esm.js → session-BlpaoMHX.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-K4d-YTT2.esm.js → sessionInitializer-DmGppDQX.esm.js} +4 -4
- package/dist/{setup-DDyxHA7n.esm.js → setup-DA07nIIF.esm.js} +5 -5
- package/dist/trueSight-BAtlP0U8.esm.js +1 -0
- package/dist/{trueSightService-8VpJ29NU.esm.js → trueSightService-DSDSHENR.esm.js} +1 -1
- package/dist/{types-B-PIc0en.d.ts → types-Ct3OFmQs.d.ts} +25 -9
- package/dist/{types-DHpz4Y37.d.ts → types-CzoXVfgt.d.ts} +1 -1
- package/dist/{types-C1056-J1.d.ts → types-DQ2BSAKU.d.ts} +1 -1
- package/dist/types-DQACmFP1.d.ts +6 -0
- package/dist/{types-4Re9FSOw.d.ts → types-D_-0O9pg.d.ts} +1 -1
- package/dist/{types-CEGG70FK.d.ts → types-E4jPC3M2.d.ts} +1 -1
- package/dist/{types-b0l9b83G.d.ts → types-eMmhwENp.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-uFAo6650.esm.js → videoSelfieCameraWarmer-DWrg6vQd.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-DC_Qh7qI.d.ts → videoSelfieStepDetector-Cu7EZdcz.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +19 -19
- package/package.json +1 -1
- package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +0 -18
- package/dist/trueSight-d5W-WDyQ.esm.js +0 -1
- package/dist/types-BtrJ5fkm.d.ts +0 -6
|
@@ -94,6 +94,88 @@ function isValidRut(value) {
|
|
|
94
94
|
return check === (rest === 11 ? "0" : rest === 10 ? "K" : String(rest));
|
|
95
95
|
}
|
|
96
96
|
//#endregion
|
|
97
|
+
//#region src/internal/forms/resolvePrefill.ts
|
|
98
|
+
const DISPLAY_MODES = /* @__PURE__ */ new Set([
|
|
99
|
+
"editable",
|
|
100
|
+
"readOnly",
|
|
101
|
+
"hidden"
|
|
102
|
+
]);
|
|
103
|
+
const ONE_OF_REQUIRED = "oneOfRequired";
|
|
104
|
+
const filled = (value) => value !== void 0 && value.trim() !== "";
|
|
105
|
+
function configuredMode(context, group) {
|
|
106
|
+
const mode = context.displayModes?.[group];
|
|
107
|
+
return mode !== void 0 && DISPLAY_MODES.has(mode) ? mode : "editable";
|
|
108
|
+
}
|
|
109
|
+
/** The field's prefill source for its group's origin, if it lists one. */
|
|
110
|
+
function sourceFor(field, context) {
|
|
111
|
+
const origin = context.origins?.[field.group];
|
|
112
|
+
if (!origin) return void 0;
|
|
113
|
+
return field.prefill?.find((id) => id.startsWith(`${origin}.`));
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Decides each shown field's prefilled value and display mode, from the
|
|
117
|
+
* resolved form, module configuration's origins and display modes, and the
|
|
118
|
+
* values the module read. Pure and synchronous.
|
|
119
|
+
*
|
|
120
|
+
* A value that fails its field's checks is dropped. A group configured
|
|
121
|
+
* `hidden` or `readOnly` becomes `editable` as a whole when one of its
|
|
122
|
+
* required fields has no value, or when a `oneOfRequired` rule over it has
|
|
123
|
+
* none, so the user can always complete the form. An optional field without
|
|
124
|
+
* a value keeps its mode and sends nothing. An editable field filled from one
|
|
125
|
+
* of the context's `lockingOrigins` shows read-only.
|
|
126
|
+
*/
|
|
127
|
+
function resolvePrefill(form, context, data, checks) {
|
|
128
|
+
const candidates = {};
|
|
129
|
+
for (const { field } of form.fields) {
|
|
130
|
+
const source = sourceFor(field, context);
|
|
131
|
+
const raw = source ? data[source] : void 0;
|
|
132
|
+
if (filled(raw)) candidates[field.name] = checks.format(field, raw);
|
|
133
|
+
}
|
|
134
|
+
const values = {};
|
|
135
|
+
for (const { field } of form.fields) {
|
|
136
|
+
const value = candidates[field.name];
|
|
137
|
+
if (filled(value) && checks.isValid(field, value, candidates)) values[field.name] = value;
|
|
138
|
+
}
|
|
139
|
+
const isRequired = (resolved) => resolved.required || resolved.requiredIfFilled.some((name) => filled(values[name]));
|
|
140
|
+
const promoted = /* @__PURE__ */ new Set();
|
|
141
|
+
const promote = (group) => {
|
|
142
|
+
if (configuredMode(context, group) !== "editable") promoted.add(group);
|
|
143
|
+
};
|
|
144
|
+
for (const resolved of form.fields) if (isRequired(resolved) && !filled(values[resolved.field.name])) promote(resolved.field.group);
|
|
145
|
+
const groupOf = new Map(form.fields.map(({ field }) => [field.name, field.group]));
|
|
146
|
+
for (const { rule, fields } of form.groupRules) {
|
|
147
|
+
if (rule.id !== ONE_OF_REQUIRED) continue;
|
|
148
|
+
if (fields.some((name) => filled(values[name]))) continue;
|
|
149
|
+
for (const name of fields) {
|
|
150
|
+
const group = groupOf.get(name);
|
|
151
|
+
if (group) promote(group);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
fields: form.fields.map((resolved) => {
|
|
156
|
+
const { group, name } = resolved.field;
|
|
157
|
+
if (promoted.has(group)) return {
|
|
158
|
+
...resolved,
|
|
159
|
+
displayMode: "editable",
|
|
160
|
+
displayReason: "promoted"
|
|
161
|
+
};
|
|
162
|
+
const configured = configuredMode(context, group);
|
|
163
|
+
const origin = context.origins?.[group];
|
|
164
|
+
if (configured === "editable" && filled(values[name]) && origin !== void 0 && context.lockingOrigins?.includes(origin)) return {
|
|
165
|
+
...resolved,
|
|
166
|
+
displayMode: "readOnly",
|
|
167
|
+
displayReason: "locked"
|
|
168
|
+
};
|
|
169
|
+
return {
|
|
170
|
+
...resolved,
|
|
171
|
+
displayMode: configured,
|
|
172
|
+
displayReason: "configured"
|
|
173
|
+
};
|
|
174
|
+
}),
|
|
175
|
+
values
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
//#endregion
|
|
97
179
|
//#region src/internal/forms/checks/digitCount.ts
|
|
98
180
|
/** `digitCount`: only the digits 0-9, with a count in `lengths` or between `min` and `max`. */
|
|
99
181
|
function hasDigitCount(value, count) {
|
|
@@ -197,6 +279,13 @@ function isInNumericRange(value, min, max) {
|
|
|
197
279
|
return number >= min && number <= max;
|
|
198
280
|
}
|
|
199
281
|
//#endregion
|
|
282
|
+
//#region src/shared/validators/textRules.ts
|
|
283
|
+
const CHARACTER_CLASSES = [
|
|
284
|
+
"letter",
|
|
285
|
+
"digit",
|
|
286
|
+
"space"
|
|
287
|
+
];
|
|
288
|
+
//#endregion
|
|
200
289
|
//#region src/modules/ekyc/ekycValidators.ts
|
|
201
290
|
async function loadPhoneValidator() {
|
|
202
291
|
if (!await loadPhoneValidation()) throw new Error("Failed to load the phone validation rules");
|
|
@@ -459,6 +548,33 @@ const RULES = {
|
|
|
459
548
|
inDrivingLicenseNumber: () => ({ type: "inDrivingLicenseNumber" }),
|
|
460
549
|
curp: () => ({ type: "curp" })
|
|
461
550
|
};
|
|
551
|
+
const isCount = (value) => typeof value === "number" && Number.isInteger(value) && value > 0;
|
|
552
|
+
const isInteger = (value) => typeof value === "number" && Number.isInteger(value);
|
|
553
|
+
const isNonEmptyArrayOf = (value, item) => Array.isArray(value) && value.length > 0 && value.every(item);
|
|
554
|
+
const isString = (value) => typeof value === "string";
|
|
555
|
+
const isCharacterClass = (value) => CHARACTER_CLASSES.includes(value);
|
|
556
|
+
/**
|
|
557
|
+
* Params a projected rule reads. The compiler checks params against the
|
|
558
|
+
* vocabulary too; this keeps a definition that skipped it, such as a served
|
|
559
|
+
* one later, from projecting a broken rule.
|
|
560
|
+
*/
|
|
561
|
+
const RULE_PARAMS = {
|
|
562
|
+
exactLength: ({ length }) => isCount(length),
|
|
563
|
+
phoneDigits: ({ min, max }) => isCount(min) && isCount(max) && min <= max,
|
|
564
|
+
digitCount: ({ lengths, min, max }) => lengths !== void 0 ? isNonEmptyArrayOf(lengths, isCount) && min === void 0 && max === void 0 : isCount(min) && isCount(max) && min <= max,
|
|
565
|
+
allowedCharacters: ({ classes, extra }) => isNonEmptyArrayOf(classes, isCharacterClass) && (extra === void 0 || isString(extra)),
|
|
566
|
+
charTemplate: ({ templates, ignoreCase }) => isNonEmptyArrayOf(templates, (t) => isString(t) && t !== "") && (ignoreCase === void 0 || typeof ignoreCase === "boolean"),
|
|
567
|
+
numericRange: ({ min, max }) => isInteger(min) && isInteger(max) && min <= max,
|
|
568
|
+
maxAge: ({ years }) => isCount(years)
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* Whether a field rule maps onto a validator: a known id, valid params, and
|
|
572
|
+
* a message without params. eKYC's adapter and eKYC Pre-fill's both check
|
|
573
|
+
* their definitions with it.
|
|
574
|
+
*/
|
|
575
|
+
function isProjectableRule(rule) {
|
|
576
|
+
return Object.prototype.hasOwnProperty.call(RULES, rule.id) && !rule.message?.params && (RULE_PARAMS[rule.id]?.(rule.params ?? {}) ?? true);
|
|
577
|
+
}
|
|
462
578
|
/**
|
|
463
579
|
* A field's vocabulary rules as today's `EkycValidationRule`s, which
|
|
464
580
|
* `validateEkycField` runs. eKYC Pre-fill validates with them too.
|
|
@@ -479,4 +595,4 @@ function projectRules(rules, country, required) {
|
|
|
479
595
|
});
|
|
480
596
|
}
|
|
481
597
|
//#endregion
|
|
482
|
-
export {
|
|
598
|
+
export { ONE_OF_REQUIRED_ERROR_KEY as a, formatSSN as c, validateEkycField as d, validateEkycForm as f, projectRules as i, loadPhoneValidator as l, isCount as n, cleanName as o, resolvePrefill as p, isProjectableRule as r, formatPhoneNational as s, RULES as t, oneOfRequiredErrorKey as u };
|
|
@@ -2,95 +2,14 @@ import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
|
2
2
|
import { t as getPhoneValidation } from "./phoneValidation-OggtfjRt.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 {
|
|
5
|
+
import { c as formatSSN, d as validateEkycField, f as validateEkycForm, i as projectRules, l as loadPhoneValidator, n as isCount, o as cleanName, p as resolvePrefill, r as isProjectableRule, s as formatPhoneNational, t as RULES, u as oneOfRequiredErrorKey } from "./ekycRules-B7kUzSgu.esm.js";
|
|
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 keepSuggestionInOptions } from "./definitionSource-B-Z2EgJJ.esm.js";
|
|
8
8
|
import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
9
9
|
import { n as searchAddress, r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-BKlynuBr.esm.js";
|
|
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-
|
|
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-D4CwNG7Y.esm.js";
|
|
11
11
|
import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
|
|
12
12
|
import { t as formatPhoneE164 } from "./phoneFormat-C3q0Ukh4.esm.js";
|
|
13
|
-
//#region src/internal/forms/resolvePrefill.ts
|
|
14
|
-
const DISPLAY_MODES = /* @__PURE__ */ new Set([
|
|
15
|
-
"editable",
|
|
16
|
-
"readOnly",
|
|
17
|
-
"hidden"
|
|
18
|
-
]);
|
|
19
|
-
const ONE_OF_REQUIRED = "oneOfRequired";
|
|
20
|
-
const filled = (value) => value !== void 0 && value.trim() !== "";
|
|
21
|
-
function configuredMode(context, group) {
|
|
22
|
-
const mode = context.displayModes?.[group];
|
|
23
|
-
return mode !== void 0 && DISPLAY_MODES.has(mode) ? mode : "editable";
|
|
24
|
-
}
|
|
25
|
-
/** The field's prefill source for its group's origin, if it lists one. */
|
|
26
|
-
function sourceFor(field, context) {
|
|
27
|
-
const origin = context.origins?.[field.group];
|
|
28
|
-
if (!origin) return void 0;
|
|
29
|
-
return field.prefill?.find((id) => id.startsWith(`${origin}.`));
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Decides each shown field's prefilled value and display mode, from the
|
|
33
|
-
* resolved form, module configuration's origins and display modes, and the
|
|
34
|
-
* values the module read. Pure and synchronous.
|
|
35
|
-
*
|
|
36
|
-
* A value that fails its field's checks is dropped. A group configured
|
|
37
|
-
* `hidden` or `readOnly` becomes `editable` as a whole when one of its
|
|
38
|
-
* required fields has no value, or when a `oneOfRequired` rule over it has
|
|
39
|
-
* none, so the user can always complete the form. An optional field without
|
|
40
|
-
* a value keeps its mode and sends nothing. An editable field filled from one
|
|
41
|
-
* of the context's `lockingOrigins` shows read-only.
|
|
42
|
-
*/
|
|
43
|
-
function resolvePrefill(form, context, data, checks) {
|
|
44
|
-
const candidates = {};
|
|
45
|
-
for (const { field } of form.fields) {
|
|
46
|
-
const source = sourceFor(field, context);
|
|
47
|
-
const raw = source ? data[source] : void 0;
|
|
48
|
-
if (filled(raw)) candidates[field.name] = checks.format(field, raw);
|
|
49
|
-
}
|
|
50
|
-
const values = {};
|
|
51
|
-
for (const { field } of form.fields) {
|
|
52
|
-
const value = candidates[field.name];
|
|
53
|
-
if (filled(value) && checks.isValid(field, value, candidates)) values[field.name] = value;
|
|
54
|
-
}
|
|
55
|
-
const isRequired = (resolved) => resolved.required || resolved.requiredIfFilled.some((name) => filled(values[name]));
|
|
56
|
-
const promoted = /* @__PURE__ */ new Set();
|
|
57
|
-
const promote = (group) => {
|
|
58
|
-
if (configuredMode(context, group) !== "editable") promoted.add(group);
|
|
59
|
-
};
|
|
60
|
-
for (const resolved of form.fields) if (isRequired(resolved) && !filled(values[resolved.field.name])) promote(resolved.field.group);
|
|
61
|
-
const groupOf = new Map(form.fields.map(({ field }) => [field.name, field.group]));
|
|
62
|
-
for (const { rule, fields } of form.groupRules) {
|
|
63
|
-
if (rule.id !== ONE_OF_REQUIRED) continue;
|
|
64
|
-
if (fields.some((name) => filled(values[name]))) continue;
|
|
65
|
-
for (const name of fields) {
|
|
66
|
-
const group = groupOf.get(name);
|
|
67
|
-
if (group) promote(group);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
fields: form.fields.map((resolved) => {
|
|
72
|
-
const { group, name } = resolved.field;
|
|
73
|
-
if (promoted.has(group)) return {
|
|
74
|
-
...resolved,
|
|
75
|
-
displayMode: "editable",
|
|
76
|
-
displayReason: "promoted"
|
|
77
|
-
};
|
|
78
|
-
const configured = configuredMode(context, group);
|
|
79
|
-
const origin = context.origins?.[group];
|
|
80
|
-
if (configured === "editable" && filled(values[name]) && origin !== void 0 && context.lockingOrigins?.includes(origin)) return {
|
|
81
|
-
...resolved,
|
|
82
|
-
displayMode: "readOnly",
|
|
83
|
-
displayReason: "locked"
|
|
84
|
-
};
|
|
85
|
-
return {
|
|
86
|
-
...resolved,
|
|
87
|
-
displayMode: configured,
|
|
88
|
-
displayReason: "configured"
|
|
89
|
-
};
|
|
90
|
-
}),
|
|
91
|
-
values
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
13
|
const brStateOptions = Object.values({
|
|
95
14
|
AC: {
|
|
96
15
|
code: "AC",
|
|
@@ -205,13 +124,6 @@ const brStateOptions = Object.values({
|
|
|
205
124
|
label: state.name
|
|
206
125
|
}));
|
|
207
126
|
//#endregion
|
|
208
|
-
//#region src/shared/validators/textRules.ts
|
|
209
|
-
const CHARACTER_CLASSES = [
|
|
210
|
-
"letter",
|
|
211
|
-
"digit",
|
|
212
|
-
"space"
|
|
213
|
-
];
|
|
214
|
-
//#endregion
|
|
215
127
|
//#region src/modules/ekyc/ekycPrefill.ts
|
|
216
128
|
/**
|
|
217
129
|
* eKYC prefill data for form definitions: turns the `ocr-data` and
|
|
@@ -7301,25 +7213,6 @@ const OPTION_LISTS = {
|
|
|
7301
7213
|
}
|
|
7302
7214
|
]
|
|
7303
7215
|
};
|
|
7304
|
-
const isCount = (value) => typeof value === "number" && Number.isInteger(value) && value > 0;
|
|
7305
|
-
const isInteger = (value) => typeof value === "number" && Number.isInteger(value);
|
|
7306
|
-
const isNonEmptyArrayOf = (value, item) => Array.isArray(value) && value.length > 0 && value.every(item);
|
|
7307
|
-
const isString = (value) => typeof value === "string";
|
|
7308
|
-
const isCharacterClass = (value) => CHARACTER_CLASSES.includes(value);
|
|
7309
|
-
/**
|
|
7310
|
-
* Params a projected rule reads. The compiler checks params against the
|
|
7311
|
-
* vocabulary too; this keeps a definition that skipped it, such as a served
|
|
7312
|
-
* one later, from projecting a broken rule.
|
|
7313
|
-
*/
|
|
7314
|
-
const RULE_PARAMS = {
|
|
7315
|
-
exactLength: ({ length }) => isCount(length),
|
|
7316
|
-
phoneDigits: ({ min, max }) => isCount(min) && isCount(max) && min <= max,
|
|
7317
|
-
digitCount: ({ lengths, min, max }) => lengths !== void 0 ? isNonEmptyArrayOf(lengths, isCount) && min === void 0 && max === void 0 : isCount(min) && isCount(max) && min <= max,
|
|
7318
|
-
allowedCharacters: ({ classes, extra }) => isNonEmptyArrayOf(classes, isCharacterClass) && (extra === void 0 || isString(extra)),
|
|
7319
|
-
charTemplate: ({ templates, ignoreCase }) => isNonEmptyArrayOf(templates, (t) => isString(t) && t !== "") && (ignoreCase === void 0 || typeof ignoreCase === "boolean"),
|
|
7320
|
-
numericRange: ({ min, max }) => isInteger(min) && isInteger(max) && min <= max,
|
|
7321
|
-
maxAge: ({ years }) => isCount(years)
|
|
7322
|
-
};
|
|
7323
7216
|
/**
|
|
7324
7217
|
* What the projection can express today. Request-body transforms are listed
|
|
7325
7218
|
* because `buildSubmitPayload` already applies them, on the fields
|
|
@@ -7430,10 +7323,6 @@ function phoneFormatOf(field) {
|
|
|
7430
7323
|
* this cache; key it by definition id and version then.
|
|
7431
7324
|
*/
|
|
7432
7325
|
const projectable = /* @__PURE__ */ new WeakMap();
|
|
7433
|
-
/** Whether a field rule maps onto a validator: known, valid params, no message. */
|
|
7434
|
-
function isProjectableRule(rule) {
|
|
7435
|
-
return Object.prototype.hasOwnProperty.call(RULES, rule.id) && plainKey(rule.message) && (RULE_PARAMS[rule.id]?.(rule.params ?? {}) ?? true);
|
|
7436
|
-
}
|
|
7437
7326
|
/**
|
|
7438
7327
|
* `oneOfRequired` shows its own message key, or today's DOB-or-SSN message
|
|
7439
7328
|
* when it has none, which only fits date of birth and SSN.
|
|
@@ -215,7 +215,7 @@ const EKYC_INDEX = [
|
|
|
215
215
|
//#endregion
|
|
216
216
|
//#region ../form-definitions/generated/vocabulary.ts
|
|
217
217
|
const VOCABULARY = {
|
|
218
|
-
version: "1.
|
|
218
|
+
version: "1.4",
|
|
219
219
|
entries: [
|
|
220
220
|
{
|
|
221
221
|
id: "text",
|
|
@@ -549,8 +549,10 @@ const VOCABULARY = {
|
|
|
549
549
|
since: "1.0",
|
|
550
550
|
params: {
|
|
551
551
|
groups: "integer[]",
|
|
552
|
-
separator: "string"
|
|
553
|
-
|
|
552
|
+
separator: "string",
|
|
553
|
+
separators: "string[]?"
|
|
554
|
+
},
|
|
555
|
+
paramsSince: { separators: "1.4" }
|
|
554
556
|
},
|
|
555
557
|
{
|
|
556
558
|
id: "US_STATES",
|
|
@@ -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-YyQFeYTi.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-BNxrW8xK.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-D8p92jfK.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
|
@@ -5,33 +5,33 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-BNY7JNj3.js";
|
|
9
9
|
import "./createFaceAvatar-Ct9QrQ66.js";
|
|
10
10
|
import { a as IStorageCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
11
11
|
import "./StreamCanvasCapture-BqaHTJF0.js";
|
|
12
|
-
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
12
|
+
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DksvDJ5Y.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CLG0PAw9.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-Bx_osBME.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
|
|
17
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
17
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CA9w3fO6.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
20
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DLWTqjUr.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BflWuTe4.js";
|
|
23
|
-
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-BzM-GMVT.js";
|
|
24
24
|
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BKVQazAb.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
26
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
27
|
-
import { i as CaptureIdResponse } from "./types-
|
|
26
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CSxlf4Ls.js";
|
|
27
|
+
import { i as CaptureIdResponse } from "./types-eMmhwENp.js";
|
|
28
28
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
|
|
29
29
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
|
|
30
30
|
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
|
|
31
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
31
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D_jiHp1n.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-B4-gw9FV.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CNGVEZ7B.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
37
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
|
|
@@ -40,7 +40,7 @@ import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n
|
|
|
40
40
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|
|
41
41
|
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-DFnFVpP9.js";
|
|
42
42
|
import { c as KybChecksState, d as createKybChecksManagerFromActor, f as KybChecksActor, o as KybChecksManager } from "./kybChecksManager-B7Di9auB.js";
|
|
43
|
-
import "./types-
|
|
43
|
+
import "./types-CzoXVfgt.js";
|
|
44
44
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
45
45
|
type AuthenticationUploadResponse = {
|
|
46
46
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DA07nIIF.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BDXl-HzX.esm.js";
|
|
3
|
-
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-DmGppDQX.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-YyQFeYTi.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-BI2zr7YX.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CopYy5_O.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DzwIWNvb.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-2ZfnNtSc.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-D43w2ms-.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Cag_bcyW.esm.js";
|
|
@@ -14,13 +14,13 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BBy6X9nh.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-CtBMy2EF.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-Dqklz08K.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
20
|
-
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BOQRxy_t.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-Dt7Z6NEX.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-N2EAITDJ.esm.js";
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-B1i-Fgy-.esm.js";
|
|
21
21
|
import { n as createEmailManagerFromActor } from "./emailManager-DWnhEsUf.esm.js";
|
|
22
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
23
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
22
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-Cdj5fjRN.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-biMO4ti8.esm.js";
|
|
24
24
|
import { n as createPhoneManagerFromActor } from "./phoneManager-D1QPNbu0.esm.js";
|
|
25
25
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-BHzmC9OC.esm.js";
|
|
26
26
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-DxeSH80T.esm.js";
|
|
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
30
30
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-XTbpfHoF.esm.js";
|
|
31
31
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BxfD4iRp.esm.js";
|
|
32
32
|
import { n as createSignatureManagerFromActor } from "./signatureManager-B737Gkvk.esm.js";
|
|
33
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
33
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-CFSS2JSp.esm.js";
|
|
34
34
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CaZxyEOO.esm.js";
|
|
35
35
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-B4NYLlUl.esm.js";
|
|
36
36
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-DIStK4qi.esm.js";
|
|
37
37
|
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-BxXaLhin.esm.js";
|
|
38
|
-
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-
|
|
38
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-BELqX_Lm.esm.js";
|
|
39
39
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-CHqmyOjM.d.ts → faceCaptureManagerFactory-BNY7JNj3.d.ts}
RENAMED
|
@@ -5,11 +5,11 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-DHuAkTe0.js";
|
|
7
7
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
8
|
-
import { i as FlowModuleConfig } from "./types-
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-D_-0O9pg.js";
|
|
9
9
|
import "./IWasmUtilCapability-CLWIYHB4.js";
|
|
10
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
11
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
12
|
-
import { t as AuthenticationConfig } from "./types-
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-E4jPC3M2.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-DQACmFP1.js";
|
|
13
13
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
|
|
14
14
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
15
15
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
package/dist/{faceCaptureManagerFactory-pSb7HIK6.esm.js → faceCaptureManagerFactory-BOu2eQns.esm.js}
RENAMED
|
@@ -3,11 +3,11 @@ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
6
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-CopYy5_O.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BX01stN8.esm.js";
|
|
8
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
9
9
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BB14DItB.esm.js";
|
|
10
|
-
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-
|
|
10
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-Bcrw2pFu.esm.js";
|
|
11
11
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
12
12
|
function getPermissionStatus(snapshot) {
|
|
13
13
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken } from "./api-BNxrW8xK.esm.js";
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DSDSHENR.esm.js";
|
|
4
|
+
import "./trueSight-BAtlP0U8.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-CrqhpKkP.esm.js";
|
|
6
6
|
import { s as isIPhone14OrHigher } from "./platform-GIg4uPWe.esm.js";
|
|
7
7
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
@@ -9,9 +9,9 @@ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgos
|
|
|
9
9
|
import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BB14DItB.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
12
|
-
import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-
|
|
13
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
14
|
-
import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
12
|
+
import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-Bcrw2pFu.esm.js";
|
|
13
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CSiQ4_ay.esm.js";
|
|
14
|
+
import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-BvPHvAA4.esm.js";
|
|
15
15
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
16
16
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
17
17
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CnJYEirg.esm.js";
|
|
@@ -192,7 +192,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
192
192
|
/** Per-attempt fallback when no step owner supplies the recording service. */
|
|
193
193
|
async createAttemptRecordingService() {
|
|
194
194
|
const wasmUtil = await this.options.dependencies.getWasmUtil();
|
|
195
|
-
return (await import("./recordingService-
|
|
195
|
+
return (await import("./recordingService-C092bHW7.esm.js")).createRecordingService({
|
|
196
196
|
config: this.options.config,
|
|
197
197
|
wasmUtil,
|
|
198
198
|
sessionToken: getToken(),
|
|
@@ -492,7 +492,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
492
492
|
const input = getControllerInput();
|
|
493
493
|
const pending = (async () => {
|
|
494
494
|
const wasmUtil = await input.dependencies.getWasmUtil();
|
|
495
|
-
const recordingModule = await import("./recordingService-
|
|
495
|
+
const recordingModule = await import("./recordingService-C092bHW7.esm.js");
|
|
496
496
|
if (!active) return;
|
|
497
497
|
stepRecording ??= recordingModule.createRecordingService({
|
|
498
498
|
config: input.config,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-BGEzZXPX.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-CGHalFcv.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
1
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-BsqGSj_x.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ import "./xstate.cjs-D6Ur0X1F.js";
|
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
|
|
6
6
|
import { t as EkycConfig } from "./types-DEa3taWc.js";
|
|
7
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
8
|
-
import { t as AuthenticationConfig } from "./types-
|
|
7
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-D_-0O9pg.js";
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-DQACmFP1.js";
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-Cy6Lx3L6.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BgRHw-dR.js";
|
|
12
|
-
import { u as IdCaptureConfig } from "./types-
|
|
13
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
12
|
+
import { u as IdCaptureConfig } from "./types-eMmhwENp.js";
|
|
13
|
+
import { r as MandatoryConsentConfig } from "./types-DQ2BSAKU.js";
|
|
14
14
|
import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
16
16
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
|
|
17
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
17
|
+
import { o as FlowEventSubscribable } from "./index-BsqGSj_x.js";
|
|
18
18
|
import { n as ModuleRegistry } from "./types-C3rfDzgE.js";
|
|
19
19
|
//#region src/modules/flow/orchestratedFlowStateMachine.d.ts
|
|
20
20
|
type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import "./events-ChMS-UzR.esm.js";
|
|
3
3
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
4
|
-
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-
|
|
4
|
+
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-Adu2JkFA.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
9
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
8
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BETSa4vN.esm.js";
|
|
9
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BImyqF65.esm.js";
|
|
10
10
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
11
11
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
12
12
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
package/dist/{flowCompletionService-DFRGVClO.esm.js → flowCompletionService-BETSa4vN.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-D8p92jfK.esm.js";
|
|
3
3
|
//#region src/modules/flow/flowCompletionService.ts
|
|
4
4
|
const getFinishStatus = async (flowId, signal) => {
|
|
5
5
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-CBaYXBuZ.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
3
3
|
import { r as getToken, t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
4
|
-
import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
4
|
+
import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DmGppDQX.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CGHalFcv.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-D8p92jfK.esm.js";
|
|
7
|
+
import "./session-BlpaoMHX.esm.js";
|
|
8
8
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
9
9
|
import { a as prefetchStartInfo } from "./phoneServices-DC7AuUed.esm.js";
|
|
10
10
|
//#region src/modules/flow/dashboardConfig.ts
|
|
@@ -255,7 +255,7 @@ let configConverters;
|
|
|
255
255
|
async function loadFlowConfigConverters(flow) {
|
|
256
256
|
const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
|
|
257
257
|
if (configConverters || !needed) return;
|
|
258
|
-
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-
|
|
258
|
+
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-D4CwNG7Y.esm.js").then((n) => n.n), import("./ekybUtils-Z9MhFAer.esm.js").then((n) => n.t)]);
|
|
259
259
|
configConverters = {
|
|
260
260
|
toEkycConfig: ekyc.toEkycConfig,
|
|
261
261
|
toEkybConfig: ekyb.toEkybConfig
|