@incodetech/core 0.0.0-dev-20261123-4e85f134 → 0.0.0-dev-20261124-bcd99b1e
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-CSiQ4_ay.esm.js → FaceDetectionProvider-D4ncumfe.esm.js} +6 -6
- package/dist/{IIdCaptureCapability-CAxToGns.d.ts → IIdCaptureCapability-BRAZQtkM.d.ts} +1 -0
- package/dist/{WasmUtilProvider-BDXl-HzX.esm.js → WasmUtilProvider-unrmGEHD.esm.js} +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-D8p92jfK.esm.js → apiError-a7tezk_O.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CLG0PAw9.d.ts → authenticationManager-Cp64l__H.d.ts} +1 -1
- package/dist/{authenticationManager-DzwIWNvb.esm.js → authenticationManager-IpVKgxPn.esm.js} +4 -4
- package/dist/{authenticationStateMachine-QgXVzF_L.esm.js → authenticationStateMachine-B4CuMBgC.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Bx_osBME.d.ts → consentManager-DlvhoJYc.d.ts} +5 -5
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-CA9w3fO6.d.ts → curpValidationManager-Dynwqu2z.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-Bcrw2pFu.esm.js → deepsightCaptureConfig-D0PCzVcM.esm.js} +2 -2
- package/dist/{deepsightLoader-DRDK4yts.esm.js → deepsightLoader-nbl5Dhvf.esm.js} +6 -6
- package/dist/{desktopCameraElection-BvPHvAA4.esm.js → desktopCameraElection-C2jhy2Fd.esm.js} +7 -7
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-Dqklz08K.esm.js → documentCaptureManager-CXu2_1E-.esm.js} +1 -1
- package/dist/{documentCaptureManager-DLWTqjUr.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +5 -5
- package/dist/{documentCaptureStateMachine-BluxHQWk.esm.js → documentCaptureStateMachine-DR6_Mk5G.esm.js} +2 -2
- package/dist/{documentSignatureStateMachine-PMOkZDCn.esm.js → documentSignatureStateMachine-DoeIrTmr.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BOQRxy_t.esm.js → dynamicFormsManager-D_QpTKfT.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Bv8m-KhL.esm.js → dynamicFormsStateMachine-D_KmQwDZ.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-Dt7Z6NEX.esm.js → ekybManager-BG7eju18.esm.js} +1 -1
- package/dist/{ekybStateMachine-DExt873D.esm.js → ekybStateMachine-Bc-m_PHQ.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +3 -3
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-N2EAITDJ.esm.js → ekycManager-BPUHoUHy.esm.js} +1 -1
- package/dist/{ekycManager-BKVQazAb.d.ts → ekycManager-BldDiWTJ.d.ts} +1 -1
- package/dist/{ekycPrefillManager-B1i-Fgy-.esm.js → ekycPrefillManager-BaX95xIW.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BzM-GMVT.d.ts → ekycPrefillManager-qgG_uUKA.d.ts} +3 -3
- package/dist/{ekycPrefillStateMachine-DlUZGMCd.esm.js → ekycPrefillStateMachine-C8FEAHbH.esm.js} +1 -1
- package/dist/{ekycStateMachine-1qQi52Ih.esm.js → ekycStateMachine-Cq94FpIm.esm.js} +272 -19
- package/dist/{ekycUtils-D4CwNG7Y.esm.js → ekycUtils-C6HZB46m.esm.js} +32 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-YyQFeYTi.esm.js → electronicSignatureManager-bgoE6nL8.esm.js} +1 -1
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +15 -15
- package/dist/{faceCaptureManagerFactory-BNY7JNj3.d.ts → faceCaptureManagerFactory-BZ2XHhkj.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-BOu2eQns.esm.js → faceCaptureManagerFactory-DvH9-zIi.esm.js} +4 -4
- package/dist/{faceCaptureSetup-CopYy5_O.esm.js → faceCaptureSetup-DuFiwK9F.esm.js} +9 -9
- package/dist/{feature-management-CGHalFcv.esm.js → feature-management-DiL2uBlX.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BETSa4vN.esm.js → flowCompletionService-Bs4oWd_W.esm.js} +1 -1
- package/dist/{flowServices-Adu2JkFA.esm.js → flowServices-KLGZ3eWm.esm.js} +6 -6
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationManager-CFSS2JSp.esm.js → geolocationManager-el4FUmYy.esm.js} +1 -1
- package/dist/{geolocationStateMachine-yhJy-Oli.esm.js → geolocationStateMachine-BnM-qTe3.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +2 -2
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-rx4eoUCU.esm.js → idCaptureDefaults-CFyXIRuM.esm.js} +16 -6
- package/dist/{idCaptureManager-DksvDJ5Y.d.ts → idCaptureManager-Co4ZZ-pd.d.ts} +3 -3
- package/dist/{idCaptureManager-biMO4ti8.esm.js → idCaptureManager-UnWwLa3I.esm.js} +6 -6
- package/dist/{idCaptureServices-DsBCDgPq.esm.js → idCaptureServices-DFUdwccM.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-DSVxM1sV.esm.js → idCaptureStateMachine-DGWGB0Tz.esm.js} +15 -15
- package/dist/{idOcrManager-CNGVEZ7B.d.ts → idOcrManager-C3BHGgSb.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-D_jiHp1n.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +4 -4
- package/dist/{index-BsqGSj_x.d.ts → index-RghgiJVx.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-BELqX_Lm.esm.js → kybChecksManager-CbkCctw0.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DK41gj76.esm.js → kybChecksStateMachine-BeB_cgk4.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-B4-gw9FV.d.ts → mandatoryConsentManager-B_eFZmo-.d.ts} +6 -6
- package/dist/{permissionGuards-CnJYEirg.esm.js → permissionGuards-BqqRUDJ3.esm.js} +1 -1
- package/dist/{permissionServices-BB14DItB.esm.js → permissionServices-Csq_7Cbg.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-C092bHW7.esm.js → recordingService-PUU8CObN.esm.js} +1 -1
- package/dist/{runChildModule-BImyqF65.esm.js → runChildModule-BOvtfM8r.esm.js} +1 -1
- package/dist/{sdkVersion-BGEzZXPX.esm.js → sdkVersion-thMGaHAC.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-BbrtgKm7.esm.js → selfieErrorUtils-CqudCvHN.esm.js} +1 -1
- package/dist/{selfieManager-CSxlf4Ls.d.ts → selfieManager-CKm034l4.d.ts} +1 -1
- package/dist/{selfieManager-Cdj5fjRN.esm.js → selfieManager-DWRVOhOE.esm.js} +4 -4
- package/dist/{selfieStateMachine-CAlutNlH.esm.js → selfieStateMachine-CNELgWFK.esm.js} +3 -3
- package/dist/{session-BlpaoMHX.esm.js → session-pNSU6n3-.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DmGppDQX.esm.js → sessionInitializer-BzvYgZCQ.esm.js} +6 -6
- package/dist/{setup-DA07nIIF.esm.js → setup-BQVlJnC0.esm.js} +8 -8
- package/dist/trueSight-CiveOb7r.esm.js +1 -0
- package/dist/{trueSightService-DSDSHENR.esm.js → trueSightService-DjwNQ37t.esm.js} +2 -2
- package/dist/{types-DEa3taWc.d.ts → types-Bdes6iC1.d.ts} +6 -0
- package/dist/{types-eMmhwENp.d.ts → types-BiUMy0Vp.d.ts} +2 -2
- package/dist/{types-CzoXVfgt.d.ts → types-DFgJ26nw.d.ts} +1 -1
- package/dist/{types-DQ2BSAKU.d.ts → types-Dy4XI7jR.d.ts} +1 -1
- package/dist/types-J7D0pbWH.d.ts +6 -0
- package/dist/{types-E4jPC3M2.d.ts → types-_rJ2GjgK.d.ts} +1 -1
- package/dist/{types-D_-0O9pg.d.ts → types-aKXf9SVN.d.ts} +2 -2
- package/dist/{types-Ct3OFmQs.d.ts → types-mK4qyHxM.d.ts} +1 -1
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-DWrg6vQd.esm.js → videoSelfieCameraWarmer-M25qqewS.esm.js} +5 -5
- package/dist/{videoSelfieStepDetector-Cu7EZdcz.d.ts → videoSelfieStepDetector-BBXE3DnI.d.ts} +3 -3
- package/dist/{warmup-CBaYXBuZ.esm.js → warmup-O3rAoe1-.esm.js} +1 -1
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BX01stN8.esm.js → wasmDsFlagSync-0SxaYTcb.esm.js} +1 -1
- package/dist/{wasmWebClient-IwBSS51s.esm.js → wasmWebClient-BIML49JC.esm.js} +9 -9
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +20 -20
- package/package.json +1 -1
- package/dist/trueSight-BAtlP0U8.esm.js +0 -1
- package/dist/types-DQACmFP1.d.ts +0 -6
|
@@ -1310,12 +1310,15 @@ var ekycUtils_exports = /* @__PURE__ */ __exportAll({
|
|
|
1310
1310
|
getEKYCCountry: () => getEKYCCountry,
|
|
1311
1311
|
getEKYCDisplayModes: () => getEKYCDisplayModes,
|
|
1312
1312
|
getEKYCFields: () => getEKYCFields,
|
|
1313
|
+
getEkycRiskAddons: () => getEkycRiskAddons,
|
|
1314
|
+
getRiskAddonFields: () => getRiskAddonFields,
|
|
1313
1315
|
indexCountries: () => indexCountries,
|
|
1314
1316
|
isFieldOptional: () => isFieldOptional,
|
|
1315
1317
|
legacyEkycCountry: () => legacyEkycCountry,
|
|
1316
1318
|
mapToEKYCvalue: () => mapToEKYCvalue,
|
|
1317
1319
|
resolveEkycSource: () => resolveEkycSource,
|
|
1318
|
-
toEkycConfig: () => toEkycConfig
|
|
1320
|
+
toEkycConfig: () => toEkycConfig,
|
|
1321
|
+
withRiskAddonFields: () => withRiskAddonFields
|
|
1319
1322
|
});
|
|
1320
1323
|
function mapToEKYCvalue(field) {
|
|
1321
1324
|
switch (field) {
|
|
@@ -1389,6 +1392,31 @@ function getEKYCFields(config) {
|
|
|
1389
1392
|
return fields;
|
|
1390
1393
|
}
|
|
1391
1394
|
/**
|
|
1395
|
+
* The verification fields the configured risk add-ons check, which are
|
|
1396
|
+
* required whatever the source says (decision B20). The vocabulary's
|
|
1397
|
+
* `enabledBy` names each group's add-ons, so a new add-on needs no code here.
|
|
1398
|
+
*/
|
|
1399
|
+
function getRiskAddonFields(riskAddons) {
|
|
1400
|
+
return new Set(FIELD_SWITCHES.filter((switches) => riskAddons?.some((addon) => switches.riskAddons.includes(addon))).map((switches) => switches.field));
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* A field mapping with the fields the risk add-ons check turned on, as
|
|
1404
|
+
* `getEKYCFields` does for a fetched module configuration (decision B20). A
|
|
1405
|
+
* field the mapping already turns on keeps its origin.
|
|
1406
|
+
*/
|
|
1407
|
+
function withRiskAddonFields(fields, riskAddons) {
|
|
1408
|
+
const merged = { ...fields };
|
|
1409
|
+
for (const field of getRiskAddonFields(riskAddons)) if (!merged[field]) merged[field] = "user_input";
|
|
1410
|
+
return merged;
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* The risk add-ons in force: the fetched module configuration's for a
|
|
1414
|
+
* `flowId` config, else the ones the resolved config carries.
|
|
1415
|
+
*/
|
|
1416
|
+
function getEkycRiskAddons(context) {
|
|
1417
|
+
return context.moduleConfig?.riskAddons ?? context.config.riskAddons;
|
|
1418
|
+
}
|
|
1419
|
+
/**
|
|
1392
1420
|
* Each verification field's display-mode key in module configuration, from
|
|
1393
1421
|
* the vocabulary's `displayModeKey` on its group.
|
|
1394
1422
|
*/
|
|
@@ -1483,7 +1511,8 @@ function toEkycConfig(config) {
|
|
|
1483
1511
|
fieldsCountry: getEKYCCountry(source),
|
|
1484
1512
|
enablePhoneRisk: config.enablePhoneRisk,
|
|
1485
1513
|
...config.autoExecution === true && { autoExecution: true },
|
|
1486
|
-
...Object.keys(displayModes).length > 0 && { displayModes }
|
|
1514
|
+
...Object.keys(displayModes).length > 0 && { displayModes },
|
|
1515
|
+
...config.riskAddons?.length ? { riskAddons: config.riskAddons } : {}
|
|
1487
1516
|
};
|
|
1488
1517
|
}
|
|
1489
1518
|
/** Determines if a field is optional given the current config source */
|
|
@@ -1500,4 +1529,4 @@ function isFieldOptional(fieldName, configSource) {
|
|
|
1500
1529
|
return false;
|
|
1501
1530
|
}
|
|
1502
1531
|
//#endregion
|
|
1503
|
-
export {
|
|
1532
|
+
export { POSTAL_CODE_SOURCES as C, VOCABULARY as D, TAX_ID_SOURCES as E, ONE_OF_REQUIRED_GROUPS as S, STREET_SOURCES as T, COUNTRY_SELECTOR_DISABLED_SOURCES as _, getEKYCFields as a, MIDDLE_NAME_SOURCES as b, isFieldOptional as c, toEkycConfig as d, withRiskAddonFields as f, COUNTRY_CODE_OMITTED_SOURCES as g, CITY_SOURCES as h, getEKYCDisplayModes as i, mapToEKYCvalue as l, APARTMENT_SOURCES as m, ekycUtils_exports as n, getEkycRiskAddons as o, ADDRESS_STATE_SOURCES as p, getEKYCCountry as r, getRiskAddonFields as s, EKYC_GROUP_KEYS as t, resolveEkycSource as u, EMAIL_SOURCES as v, STATE_CODE_HINTS as w, NAME_SOURCES as x, HOUSE_NO_SOURCES as y };
|
|
@@ -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-bgoE6nL8.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-a7tezk_O.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,42 +5,42 @@ 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-BZ2XHhkj.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-Co4ZZ-pd.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Cp64l__H.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-DlvhoJYc.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-Dynwqu2z.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
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-
|
|
24
|
-
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-qgG_uUKA.js";
|
|
24
|
+
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BldDiWTJ.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-CKm034l4.js";
|
|
27
|
+
import { i as CaptureIdResponse } from "./types-BiUMy0Vp.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-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-B_eFZmo-.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
37
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
38
38
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
|
|
39
39
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
|
|
40
40
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|
|
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-DFgJ26nw.js";
|
|
44
44
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
45
45
|
type AuthenticationUploadResponse = {
|
|
46
46
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BQVlJnC0.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
|
+
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-BzvYgZCQ.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-bgoE6nL8.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-DuFiwK9F.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-IpVKgxPn.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";
|
|
13
13
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-C6WmQToS.esm.js";
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BBy6X9nh.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-CtBMy2EF.esm.js";
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
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-
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CXu2_1E-.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-D_QpTKfT.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BG7eju18.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-BPUHoUHy.esm.js";
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-BaX95xIW.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-DWRVOhOE.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-UnWwLa3I.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-el4FUmYy.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-CbkCctw0.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-BNY7JNj3.d.ts → faceCaptureManagerFactory-BZ2XHhkj.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-aKXf9SVN.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-_rJ2GjgK.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-J7D0pbWH.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-BOu2eQns.esm.js → faceCaptureManagerFactory-DvH9-zIi.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-
|
|
7
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-DuFiwK9F.esm.js";
|
|
7
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
|
|
8
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
9
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
10
|
-
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-
|
|
9
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Csq_7Cbg.esm.js";
|
|
10
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-D0PCzVcM.esm.js";
|
|
11
11
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
12
12
|
function getPermissionStatus(snapshot) {
|
|
13
13
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -1,20 +1,20 @@
|
|
|
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-DjwNQ37t.esm.js";
|
|
4
|
+
import "./trueSight-CiveOb7r.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";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
9
|
import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
|
|
10
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
10
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Csq_7Cbg.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-D0PCzVcM.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-D4ncumfe.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-C2jhy2Fd.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
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
17
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BqqRUDJ3.esm.js";
|
|
18
18
|
import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
|
|
19
19
|
//#region src/internal/avatar/concealment.ts
|
|
20
20
|
/**
|
|
@@ -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-PUU8CObN.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-PUU8CObN.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-thMGaHAC.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-DiL2uBlX.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-RghgiJVx.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -3,18 +3,18 @@ import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, l as
|
|
|
3
3
|
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
|
-
import { t as EkycConfig } from "./types-
|
|
7
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
8
|
-
import { t as AuthenticationConfig } from "./types-
|
|
6
|
+
import { t as EkycConfig } from "./types-Bdes6iC1.js";
|
|
7
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-aKXf9SVN.js";
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-J7D0pbWH.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-BiUMy0Vp.js";
|
|
13
|
+
import { r as MandatoryConsentConfig } from "./types-Dy4XI7jR.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-RghgiJVx.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-KLGZ3eWm.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-Bs4oWd_W.esm.js";
|
|
9
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BOvtfM8r.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-BETSa4vN.esm.js → flowCompletionService-Bs4oWd_W.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-a7tezk_O.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
|
-
import { r as getWasmStatus } from "./warmup-
|
|
1
|
+
import { r as getWasmStatus } from "./warmup-O3rAoe1-.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-BzvYgZCQ.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DiL2uBlX.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-a7tezk_O.esm.js";
|
|
7
|
+
import "./session-pNSU6n3-.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-C6HZB46m.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
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-
|
|
1
|
+
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
2
2
|
export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-el4FUmYy.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BnM-qTe3.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
|
|
|
117
117
|
type: "isPermissionDenied";
|
|
118
118
|
params: unknown;
|
|
119
119
|
};
|
|
120
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
120
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
121
121
|
readonly id: "geolocation";
|
|
122
122
|
readonly initial: "idle";
|
|
123
123
|
readonly context: ({ input, self }: {
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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 geolocationMachine } from "./geolocationStateMachine-
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BnM-qTe3.esm.js";
|
|
6
6
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
7
7
|
var BrowserGeolocationProvider = class {
|
|
8
8
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-yhJy-Oli.esm.js → geolocationStateMachine-BnM-qTe3.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
2
|
import { i as isIOS, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-a7tezk_O.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";
|
|
6
6
|
import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
|
package/dist/home.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as NonReducibleUnknown, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
2
2
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
|
-
import { t as EmptyConfig } from "./types-
|
|
4
|
+
import { t as EmptyConfig } from "./types-aKXf9SVN.js";
|
|
5
5
|
//#region src/modules/home/types.d.ts
|
|
6
6
|
type HomeConfig = EmptyConfig;
|
|
7
7
|
//#endregion
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
2
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-
|
|
2
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
3
3
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
4
4
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
5
5
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
|
package/dist/id-selfie-flow.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import "./xstate.cjs-D6Ur0X1F.js";
|
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
4
|
import "./Actor-DqjOqDfU.js";
|
|
5
5
|
import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
6
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
6
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
7
7
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
8
|
-
import { i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-BBXE3DnI.js";
|
|
9
9
|
//#region src/modules/id-selfie-flow/types.d.ts
|
|
10
10
|
/**
|
|
11
11
|
* The capture steps an ID + Selfie flow session can run, in flow order. A
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BQVlJnC0.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-KLGZ3eWm.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
8
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
9
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
9
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-D4ncumfe.esm.js";
|
|
10
10
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
12
|
-
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CFyXIRuM.esm.js";
|
|
12
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-DFUdwccM.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
14
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
15
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
14
|
+
import { n as getFinishStatus } from "./flowCompletionService-Bs4oWd_W.esm.js";
|
|
15
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-M25qqewS.esm.js";
|
|
16
16
|
import { t as CameraCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
17
17
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
18
18
|
/** Default autocapture window for the selfie step. */
|
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
3
|
-
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-
|
|
3
|
+
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-Co4ZZ-pd.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
|
-
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
6
|
-
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
5
|
+
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
6
|
+
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BiUMy0Vp.js";
|
|
7
7
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-DGWGB0Tz.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-UnWwLa3I.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-DFUdwccM.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-
|
|
2
|
-
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-BIML49JC.esm.js";
|
|
2
|
+
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-O3rAoe1-.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
4
4
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/idCaptureWasmApi.ts
|
|
6
6
|
var IdCaptureWasmApi = class {
|
|
7
7
|
constructor(runtime = wasmRuntime) {
|
|
8
8
|
this.runtime = runtime;
|
|
9
9
|
}
|
|
10
|
-
async setIdCaptureThresholds(type, blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval) {
|
|
11
|
-
this.runtime.requireIdCaptureApi("Unable to set thresholds, cpp API hasn't been initialized")
|
|
10
|
+
async setIdCaptureThresholds(type, blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval, idDetectedTimeoutEnabled = true) {
|
|
11
|
+
const idCaptureWasmApi = this.runtime.requireIdCaptureApi("Unable to set thresholds, cpp API hasn't been initialized");
|
|
12
|
+
const workflow = this.runtime.pipelineTypeToWasmEnum(type);
|
|
13
|
+
idCaptureWasmApi.setIdCaptureThresholds(workflow, blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval);
|
|
14
|
+
if (!idDetectedTimeoutEnabled) idCaptureWasmApi.setIdDetectedTimeoutEnabled(workflow, false);
|
|
15
|
+
}
|
|
16
|
+
setAutocaptureTimeout(type, timeoutMs) {
|
|
17
|
+
this.runtime.requireIdCaptureApi("Unable to set ID autocapture timeout, cpp API hasn't been initialized").setAutocaptureTimeout(this.runtime.pipelineTypeToWasmEnum(type), timeoutMs);
|
|
12
18
|
}
|
|
13
19
|
async setIdCaptureCallbacks(type, onFarAway, onDetectionStarted, onMaskChange, onBlur, onGlare, onCapturing, onCapture, onBestFrame, onIDNotDetected, onSwitchToManualCapture, onIDTypeChange, onIDSideChange, onCapturingCounterValueChange) {
|
|
14
20
|
this.runtime.requireIdCaptureApi("Unable to set callbacks, cpp API hasn't been initialized").setIdCaptureCallbacks(this.runtime.pipelineTypeToWasmEnum(type), onFarAway, onDetectionStarted, onMaskChange, onBlur, onGlare, onCapturing, onCapture, onBestFrame, onIDNotDetected, onSwitchToManualCapture, onIDTypeChange, onIDSideChange, onCapturingCounterValueChange);
|
|
@@ -91,7 +97,11 @@ var IdCaptureProvider = class extends BaseWasmProvider {
|
|
|
91
97
|
}
|
|
92
98
|
setThresholds(thresholds) {
|
|
93
99
|
this.ensureInitialized();
|
|
94
|
-
idCaptureWasmApi.setIdCaptureThresholds(this.getPipelineType(), thresholds.blurThreshold, thresholds.blurChangeThreshold, thresholds.glareThreshold, thresholds.clsThreshold, thresholds.sideThreshold, thresholds.iouThreshold, thresholds.idDetectedTimeout, thresholds.autocaptureTimeout, thresholds.framesAggregationInterval);
|
|
100
|
+
idCaptureWasmApi.setIdCaptureThresholds(this.getPipelineType(), thresholds.blurThreshold, thresholds.blurChangeThreshold, thresholds.glareThreshold, thresholds.clsThreshold, thresholds.sideThreshold, thresholds.iouThreshold, thresholds.idDetectedTimeout, thresholds.autocaptureTimeout, thresholds.framesAggregationInterval, thresholds.idDetectedTimeoutEnabled ?? true);
|
|
101
|
+
}
|
|
102
|
+
setAutocaptureTimeout(timeoutMs) {
|
|
103
|
+
this.ensureInitialized();
|
|
104
|
+
idCaptureWasmApi.setAutocaptureTimeout(this.getPipelineType(), timeoutMs);
|
|
95
105
|
}
|
|
96
106
|
setGeometry(geometry) {
|
|
97
107
|
this.ensureInitialized();
|