@incodetech/core 2.4.1-agentic.5 → 2.4.1-agentic.7
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/DateFormattingProvider-DPq9zco-.esm.js +25 -0
- package/dist/{FaceDetectionProvider-ZiDiL_hY.esm.js → FaceDetectionProvider-CFYVWVLU.esm.js} +7 -7
- package/dist/addressSearch-D6cKPWmk.esm.js +72 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-CbIwM35x.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-qNNXrlsP.esm.js} +1 -1
- package/dist/{api-CpP4PS4S.esm.js → api-C_P9YXbL.esm.js} +1 -0
- package/dist/{apiError-CeyLcwt3.esm.js → apiError-B-pHP4hU.esm.js} +1 -1
- package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-BaAXPR_w.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-ffZXiENz.esm.js → authenticationManager-Cw5nswyP.esm.js} +4 -4
- package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-DKLRA91K.d.ts} +1 -1
- package/dist/{authenticationStateMachine-ebqsPLXI.esm.js → authenticationStateMachine-Czd4u-94.esm.js} +3 -3
- package/dist/{browser-pQZA35G2-Bu4in9gN.esm.js → browser-pQZA35G2-DJEJnmCd.esm.js} +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-IRO_1Ug6.esm.js → certificateIssuanceManager-CrF3wjCH.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-CjxTBZuH.esm.js → certificateIssuanceStateMachine-uSD9IkcV.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-DXetSxcx.d.ts → consentManager-7aHaehwF.d.ts} +4 -4
- package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-BD7wwgat.esm.js} +2 -2
- package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-BAiLDE3D.esm.js} +1 -1
- package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-CUc1uACE.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-Crz3bnCo.d.ts} +1 -1
- package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-DBfZSQbu.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-DyAEyScb.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-BZhIPyaY.esm.js} +2 -2
- package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-B4cmxi__.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-ZZoDGRAZ.esm.js} +1 -1
- package/dist/{deepsightLoader-CJbBiTpq.esm.js → deepsightLoader-UDNbSO_O.esm.js} +3 -3
- package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-1vPLtuXE.esm.js} +1 -72
- package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-m2dAj6Zu.esm.js} +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-v57klTso.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-CgCtimSa.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C1pBbCWs.esm.js → dynamicFormsManager-Bx4jzvI6.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-iVdrXC1r.esm.js → dynamicFormsStateMachine-DK-O_wyz.esm.js} +2 -2
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-OZ0SeXvq.esm.js → ekybManager-DgBvPmSW.esm.js} +2 -2
- package/dist/{ekybStateMachine-BDh-yJkS.esm.js → ekybStateMachine-mo6zRyPH.esm.js} +6 -4
- package/dist/ekyc-prefill.d.ts +17 -0
- package/dist/ekyc-prefill.esm.js +3 -0
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-Bwv-qYAZ.esm.js} +2 -2
- package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-CERRvIfg.d.ts} +1 -1
- package/dist/ekycPrefillManager-DHfC1T9s.d.ts +565 -0
- package/dist/ekycPrefillManager-Pgb16lcO.esm.js +102 -0
- package/dist/ekycPrefillStateMachine-j_WwaTPe.esm.js +686 -0
- package/dist/ekycRules-B7vXnbdg.esm.js +319 -0
- package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-DlN1RCob.esm.js} +418 -533
- package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-K6VJXnOg.esm.js} +18 -6
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CHe4KM2h.esm.js → electronicSignatureManager-BG10ax7f.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-BSaGg1Gl.esm.js} +2 -2
- package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CaoPZtZN.esm.js} +2 -2
- package/dist/{events-ggpBBaZ8.esm.js → events-kU5WJU4B.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +14 -13
- package/dist/extensibility.esm.js +36 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-GmZMp6TR.esm.js → faceCaptureManagerFactory-DDnkBGNU.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-ZudYP6Qp.d.ts} +3 -3
- package/dist/{faceCaptureSetup--MEv7wIJ.esm.js → faceCaptureSetup-C0svTi1Y.esm.js} +9 -9
- package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-qPJsa5Ac.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-D90ZHY1r.esm.js} +2 -2
- package/dist/{feature-management-hZhfjdAu.esm.js → feature-management-jqhhP3Bu.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-BLLj_Ey1.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-Bh3rxb7Y.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +9 -8
- package/dist/flow.esm.js +46 -10
- package/dist/{flowCompletionService-E8ipjpAG.esm.js → flowCompletionService-BNoVcNAa.esm.js} +2 -2
- package/dist/{flowServices-Co77kn9L.esm.js → flowServices-Bzlb_4VT.esm.js} +8 -8
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-C8DY8c1D.esm.js → geolocationManager-Ck2V9vfc.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BluJR9Ew.esm.js → geolocationStateMachine-toB05StJ.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-D5HkBqfr.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-BwMClTqC.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +2 -2
- package/dist/id-ocr.esm.js +3 -19
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-6amWi8Ko.esm.js → idCaptureManager-BXs_sb4-.esm.js} +6 -6
- package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-NRGuCVv2.d.ts} +2 -2
- package/dist/{idCaptureServices-Bpa4MmVC.esm.js → idCaptureServices-DEhJe_fA.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-BzBA2B4_.esm.js → idCaptureStateMachine-CH3gW-gJ.esm.js} +42 -14
- package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
- package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-B5xeI2lg.d.ts} +2 -2
- package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-BMK2oou0.esm.js} +2 -2
- package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-RjNycN07.esm.js} +8 -7
- package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-4wY-Ee4j.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-Bj00uWvh.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-CCZ-ES2E.esm.js} +2 -2
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-BtpkGpYZ.esm.js} +1 -1
- package/dist/{index-DC0P2Vzw.d.ts → index-BGnYn_4J.d.ts} +1 -1
- package/dist/{index-bD4-zpjs.d.ts → index-DlVDVTcf.d.ts} +31 -16
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-BkvXSZfa.esm.js} +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CbqLrEox.esm.js → kybChecksManager-PIRw77NR.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-B_GS-KmL.esm.js → kybChecksStateMachine-Deabuca9.esm.js} +5 -4
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-BBeOo3Sz.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-CEn59Ytw.d.ts → mandatoryConsentManager-Dr3pcPt_.d.ts} +5 -5
- package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-BJEyS63E.esm.js} +1 -1
- package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-2iVLb-2Y.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneFormat-JJNaWthV.esm.js → phoneFormat-DEpESpz2.esm.js} +13 -1
- package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-BylOWecM.esm.js} +2 -2
- package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-Crge7uSV.esm.js} +1 -1
- package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-CHnhCS-4.esm.js} +2 -2
- package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-BveUAHts.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-DKXaaOHO.esm.js} +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-CCSNyi19.esm.js → redirectToMobileManager-DUpLyXsq.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-BKyOdAUe.esm.js → redirectToMobileStateMachine-D0DW4y-f.esm.js} +1 -1
- package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-f9PhUo9j.esm.js} +1 -209
- package/dist/{runChildModule-DHDczcGZ.esm.js → runChildModule-CMxMWHBm.esm.js} +2 -2
- package/dist/{sdkVersion-CxaRTa9r.esm.js → sdkVersion-C8FKcN44.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieErrorUtils-Dk0ofKio.esm.js → selfieErrorUtils-CS1xwN-1.esm.js} +1 -1
- package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-BPOlD-UN.d.ts} +1 -1
- package/dist/{selfieManager-EgnSX_Hu.esm.js → selfieManager-DBc_zThO.esm.js} +4 -4
- package/dist/{selfieStateMachine-B8pBvum8.esm.js → selfieStateMachine-C3mqlhwI.esm.js} +3 -3
- package/dist/{session-CaliXPVw.esm.js → session-C9v6HFIu.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-Tr_ZkaSs.esm.js → sessionInitializer-CVFa4wKw.esm.js} +7 -7
- package/dist/{setup-Bz4l-E3R.esm.js → setup-BlJx-S74.esm.js} +10 -13
- package/dist/{setup-Dyv1tJFj.d.ts → setup-prV5HQCQ.d.ts} +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-QlegdTo3.esm.js} +2 -2
- package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-DFbbbFwg.esm.js} +1 -1
- package/dist/{stats-CatA2dea.esm.js → stats-Bv5PiWvo.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +3 -5
- package/dist/step-up.esm.js +5 -11
- package/dist/{tri-CKUbuky5.esm.js → tri-DFho7f3x.esm.js} +3 -32
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-DgtAka_v.esm.js +2145 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-DDdJ8TrY.esm.js → trueSightService-B3SMJJ9O.esm.js} +3 -3
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-Csh8vzPo.d.ts → types-0Rr7etmf.d.ts} +1 -1
- package/dist/types-B2M1IPZn.d.ts +6 -0
- package/dist/{types-BEVHQbbC.d.ts → types-BD9sV5oG.d.ts} +1 -1
- package/dist/{types-CuMJ2M7D.d.ts → types-BaDx6utW.d.ts} +4 -1
- package/dist/{types-BPm1JSu7.d.ts → types-BpJ21a4T.d.ts} +1 -1
- package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
- package/dist/{types-CRaFu6wS.d.ts → types-CquDWYfv.d.ts} +6 -2
- package/dist/types-D9vIGFbl.d.ts +115 -0
- package/dist/{types-Cd0J0F9D.d.ts → types-NMBsvLIN.d.ts} +1 -1
- package/dist/usStates-CwOQ2kAx.esm.js +209 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +6 -6
- package/dist/{videoSelfieCameraWarmer-Dsk8JQNy.esm.js → videoSelfieCameraWarmer-BtlqdcFh.esm.js} +4 -4
- package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-B78BE_x9.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-DOYmIiaj.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-D8qIyL8w.esm.js} +1 -1
- package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BJGLRv-x.esm.js} +2 -2
- package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-DeLfuGSl.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -36
- package/package.json +6 -1
- package/dist/tri.esm-DvgaFxHR.esm.js +0 -3838
- package/dist/types-J6g6iKe_.d.ts +0 -6
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
2
|
+
var DateFormattingProvider = class {
|
|
3
|
+
utcToIsoDateString(value) {
|
|
4
|
+
if (value === void 0 || value === null || value === "") return "";
|
|
5
|
+
const date = new Date(value);
|
|
6
|
+
if (Number.isNaN(date.getTime())) return "";
|
|
7
|
+
return `${date.getUTCFullYear()}-${String(date.getUTCMonth() + 1).padStart(2, "0")}-${String(date.getUTCDate()).padStart(2, "0")}`;
|
|
8
|
+
}
|
|
9
|
+
parseIsoDateStringToEpochMs(value) {
|
|
10
|
+
return Date.parse(value);
|
|
11
|
+
}
|
|
12
|
+
getAgeInYears(birthDate, referenceEpochMs) {
|
|
13
|
+
const now = new Date(referenceEpochMs);
|
|
14
|
+
const birth = typeof birthDate === "string" && /^\d{4}-\d{2}-\d{2}$/.test(birthDate) ? (() => {
|
|
15
|
+
const [y, m, d] = birthDate.split("-").map(Number);
|
|
16
|
+
return new Date(y, m - 1, d);
|
|
17
|
+
})() : new Date(birthDate);
|
|
18
|
+
let age = now.getFullYear() - birth.getFullYear();
|
|
19
|
+
const monthDiff = now.getMonth() - birth.getMonth();
|
|
20
|
+
if (monthDiff < 0 || monthDiff === 0 && now.getDate() < birth.getDate()) age--;
|
|
21
|
+
return age;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DateFormattingProvider as t };
|
package/dist/{FaceDetectionProvider-ZiDiL_hY.esm.js → FaceDetectionProvider-CFYVWVLU.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-DtB0DJpl.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BlJx-S74.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
|
-
import { t as api, u as endpoints } from "./api-
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
7
|
-
import { t as addDeviceStats } from "./stats-
|
|
4
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-B3SMJJ9O.esm.js";
|
|
6
|
+
import "./sessionInitializer-CVFa4wKw.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
10
|
import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { n as saveProcessFaceMatch } from "./processFaceMatch-
|
|
12
|
+
import { n as saveProcessFaceMatch } from "./processFaceMatch-BveUAHts.esm.js";
|
|
13
13
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
14
14
|
/**
|
|
15
15
|
* On-device still-face capture is owned by the protected camera-cycle actor.
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-UDNbSO_O.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
+
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
|
+
//#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
|
|
5
|
+
/**
|
|
6
|
+
* The rollout switch for form definitions (ENG-59781): one all-or-nothing
|
|
7
|
+
* answer to "do eKYC and eKYB build their forms from catalog definitions, or
|
|
8
|
+
* with today's builders?". Both module adapters ask it before selecting a
|
|
9
|
+
* definition (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
|
|
10
|
+
* (`internal/forms`) knows nothing about it.
|
|
11
|
+
*
|
|
12
|
+
* Off by default, so every source and country keeps today's builder. A
|
|
13
|
+
* catalog-only eKYC source, one today's builder never knew, uses its
|
|
14
|
+
* definition either way, since it has no old path to fall back to.
|
|
15
|
+
*
|
|
16
|
+
* This is Incode's rollout decision, not the integrator's: it is not a
|
|
17
|
+
* `setup()` option. It stays a constant: customers move to definitions only
|
|
18
|
+
* once the migration is done, so it is turned on in code at that point.
|
|
19
|
+
*/
|
|
20
|
+
const ENABLED_BY_DEFAULT = false;
|
|
21
|
+
/** Whether sources and countries with a form definition use it. */
|
|
22
|
+
function isFormDefinitionsEnabled() {
|
|
23
|
+
return ENABLED_BY_DEFAULT;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/shared/addressSearch.ts
|
|
27
|
+
/** Searches for address suggestions via the address autocomplete API. */
|
|
28
|
+
async function searchAddress(query, signal) {
|
|
29
|
+
const res = await api.post(endpoints.addressAutocomplete, { search: query }, { signal });
|
|
30
|
+
if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
|
|
31
|
+
return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
|
|
32
|
+
const addr = item.address ?? item;
|
|
33
|
+
return {
|
|
34
|
+
id: item.id ?? i,
|
|
35
|
+
label: addr.label ?? item.title ?? "",
|
|
36
|
+
street: addr.street,
|
|
37
|
+
city: addr.city,
|
|
38
|
+
stateCode: addr.stateCode ?? addr.state,
|
|
39
|
+
postalCode: addr.postalCode,
|
|
40
|
+
houseNumber: addr.houseNumber,
|
|
41
|
+
countryCode: addr.countryCode
|
|
42
|
+
};
|
|
43
|
+
}) } };
|
|
44
|
+
}
|
|
45
|
+
const DEBOUNCE_MS = 300;
|
|
46
|
+
/**
|
|
47
|
+
* XState callback actor that debounces address search requests.
|
|
48
|
+
* Cancels in-flight HTTP requests when the actor is stopped.
|
|
49
|
+
*/
|
|
50
|
+
const debounceSearchActor = fromCallback(({ input, sendBack }) => {
|
|
51
|
+
const timerProvider = BrowserTimerProvider.getInstance();
|
|
52
|
+
const controller = new AbortController();
|
|
53
|
+
const handle = timerProvider.setTimeout(async () => {
|
|
54
|
+
try {
|
|
55
|
+
sendBack({
|
|
56
|
+
type: "RESULTS",
|
|
57
|
+
suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
|
|
58
|
+
});
|
|
59
|
+
} catch {
|
|
60
|
+
if (!controller.signal.aborted) sendBack({
|
|
61
|
+
type: "RESULTS",
|
|
62
|
+
suggestions: []
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, DEBOUNCE_MS);
|
|
66
|
+
return () => {
|
|
67
|
+
timerProvider.clearTimeout(handle);
|
|
68
|
+
controller.abort();
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
//#endregion
|
|
72
|
+
export { searchAddress as n, isFormDefinitionsEnabled as r, debounceSearchActor as t };
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BG10ax7f.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-qNNXrlsP.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CbIwM35x.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-qNNXrlsP.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
|
7
7
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-qNNXrlsP.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
@@ -64,6 +64,7 @@ const endpoints = {
|
|
|
64
64
|
addGeolocation: "/omni/add/geolocation",
|
|
65
65
|
ekycSubmit: "/omni/externalVerification/ekyc",
|
|
66
66
|
ekybSubmit: "/omni/externalVerification/ekyb",
|
|
67
|
+
ekycPrefillSubmit: "/omni/externalVerification/ekyc-prefill",
|
|
67
68
|
kybForm: "/omni/kyb/form",
|
|
68
69
|
kybSubmit: "/omni/kyb",
|
|
69
70
|
getCombinedConsent: "/omni/get/combined-consent",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
3
|
//#region src/internal/session/attemptCarry.ts
|
|
4
4
|
const carried = /* @__PURE__ */ new Map();
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-ZudYP6Qp.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-B2M1IPZn.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DKLRA91K.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Czd4u-94.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Cw5nswyP.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-ffZXiENz.esm.js → authenticationManager-Cw5nswyP.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BlJx-S74.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
+
import { n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DDnkBGNU.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Czd4u-94.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-ZudYP6Qp.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-C0svTi1Y.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CFYVWVLU.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-m2dAj6Zu.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261106194836-3be2f3455028545d5047fdf7a07ac4e7bd6a38a1/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
|
|
2
2
|
var n = {};
|
|
3
3
|
var t = Uint8Array;
|
|
4
4
|
var i = Uint16Array;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
-
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-uSD9IkcV.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-CrF3wjCH.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
3
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-uSD9IkcV.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as getApi, r as getToken, u as endpoints } from "./api-
|
|
1
|
+
import { n as getApi, r as getToken, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
import { t as externalFetch } from "./externalFetch-cUjJYyXj.esm.js";
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-7aHaehwF.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-BAiLDE3D.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BD7wwgat.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -86,10 +86,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
86
86
|
type: "setLoadError";
|
|
87
87
|
params: NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
|
-
resetContext: {
|
|
90
|
-
type: "resetContext";
|
|
91
|
-
params: NonReducibleUnknown;
|
|
92
|
-
};
|
|
93
89
|
setConsentData: {
|
|
94
90
|
type: "setConsentData";
|
|
95
91
|
params: NonReducibleUnknown;
|
|
@@ -98,6 +94,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
98
94
|
type: "toggleCheckbox";
|
|
99
95
|
params: NonReducibleUnknown;
|
|
100
96
|
};
|
|
97
|
+
resetContext: {
|
|
98
|
+
type: "resetContext";
|
|
99
|
+
params: NonReducibleUnknown;
|
|
100
|
+
};
|
|
101
101
|
}>, {
|
|
102
102
|
type: "canSubmit";
|
|
103
103
|
params: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-BAiLDE3D.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
7
7
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
2
|
-
var DateFormattingProvider = class {
|
|
3
|
-
utcToIsoDateString(value) {
|
|
4
|
-
if (value === void 0 || value === null || value === "") return "";
|
|
5
|
-
const date = new Date(value);
|
|
6
|
-
if (Number.isNaN(date.getTime())) return "";
|
|
7
|
-
return `${date.getUTCFullYear()}-${String(date.getUTCMonth() + 1).padStart(2, "0")}-${String(date.getUTCDate()).padStart(2, "0")}`;
|
|
8
|
-
}
|
|
9
|
-
parseIsoDateStringToEpochMs(value) {
|
|
10
|
-
return Date.parse(value);
|
|
11
|
-
}
|
|
12
|
-
getAgeInYears(birthDate, referenceEpochMs) {
|
|
13
|
-
const now = new Date(referenceEpochMs);
|
|
14
|
-
const birth = typeof birthDate === "string" && /^\d{4}-\d{2}-\d{2}$/.test(birthDate) ? (() => {
|
|
15
|
-
const [y, m, d] = birthDate.split("-").map(Number);
|
|
16
|
-
return new Date(y, m - 1, d);
|
|
17
|
-
})() : new Date(birthDate);
|
|
18
|
-
let age = now.getFullYear() - birth.getFullYear();
|
|
19
|
-
const monthDiff = now.getMonth() - birth.getMonth();
|
|
20
|
-
if (monthDiff < 0 || monthDiff === 0 && now.getDate() < birth.getDate()) age--;
|
|
21
|
-
return age;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
1
|
//#region src/shared/validators/cpf.ts
|
|
26
2
|
const INVALID_CPF_PATTERNS = [
|
|
27
3
|
"00000000000",
|
|
@@ -58,4 +34,4 @@ function validateCPF(cpfString) {
|
|
|
58
34
|
return true;
|
|
59
35
|
}
|
|
60
36
|
//#endregion
|
|
61
|
-
export {
|
|
37
|
+
export { validateCPF as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-CUc1uACE.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
3
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-Crz3bnCo.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DyAEyScb.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DBfZSQbu.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-CquDWYfv.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-DBfZSQbu.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
|
|
5
|
-
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
5
|
+
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DyAEyScb.esm.js";
|
|
6
6
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
7
7
|
function createCurpValidationActor(options) {
|
|
8
8
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
4
|
+
import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
|
|
5
5
|
import { t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
|
|
6
6
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
7
7
|
/** Convert YYYY-MM-DD to DD/MM/YYYY for the API */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-
|
|
1
|
+
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BZhIPyaY.esm.js";
|
|
2
2
|
export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
2
|
-
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-ZZoDGRAZ.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-B4cmxi__.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-B4cmxi__.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
4
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-ZZoDGRAZ.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
6
6
|
function createCustomWatchlistActor() {
|
|
7
7
|
return createActor(customWatchlistMachine).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as SDK_PLATFORM, x as IpifyProvider } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-B3SMJJ9O.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-C8FKcN44.esm.js";
|
|
4
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as SDK_PLATFORM, x as IpifyProvider } from "./sessionInitializer-CVFa4wKw.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BtiR5pig.esm.js";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
1
|
//#region src/shared/addressSuggestion.ts
|
|
5
2
|
/** Shown when an autocomplete suggestion has no street (city/region-level result). */
|
|
6
3
|
const STREET_LEVEL_REQUIRED_ERROR = { key: "verification.errors.streetLevelRequired" };
|
|
@@ -183,72 +180,4 @@ function createBundledDefinitionSource(definitions) {
|
|
|
183
180
|
return { select: (query) => byQuery.get(queryKey(query)) };
|
|
184
181
|
}
|
|
185
182
|
//#endregion
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* The rollout switch for form definitions (ENG-59781): one all-or-nothing
|
|
189
|
-
* answer to "do eKYC and eKYB build their forms from catalog definitions, or
|
|
190
|
-
* with today's builders?". Both module adapters ask it before selecting a
|
|
191
|
-
* definition (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
|
|
192
|
-
* (`internal/forms`) knows nothing about it.
|
|
193
|
-
*
|
|
194
|
-
* Off by default, so every source and country keeps today's builder. A
|
|
195
|
-
* catalog-only eKYC source, one today's builder never knew, uses its
|
|
196
|
-
* definition either way, since it has no old path to fall back to.
|
|
197
|
-
*
|
|
198
|
-
* This is Incode's rollout decision, not the integrator's: it is not a
|
|
199
|
-
* `setup()` option. A later step reads a Statsig gate here instead of the
|
|
200
|
-
* constant.
|
|
201
|
-
*/
|
|
202
|
-
const ENABLED_BY_DEFAULT = false;
|
|
203
|
-
/** Whether sources and countries with a form definition use it. */
|
|
204
|
-
function isFormDefinitionsEnabled() {
|
|
205
|
-
return ENABLED_BY_DEFAULT;
|
|
206
|
-
}
|
|
207
|
-
//#endregion
|
|
208
|
-
//#region src/shared/addressSearch.ts
|
|
209
|
-
/** Searches for address suggestions via the address autocomplete API. */
|
|
210
|
-
async function searchAddress(query, signal) {
|
|
211
|
-
const res = await api.post(endpoints.addressAutocomplete, { search: query }, { signal });
|
|
212
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
|
|
213
|
-
return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
|
|
214
|
-
const addr = item.address ?? item;
|
|
215
|
-
return {
|
|
216
|
-
id: item.id ?? i,
|
|
217
|
-
label: addr.label ?? item.title ?? "",
|
|
218
|
-
street: addr.street,
|
|
219
|
-
city: addr.city,
|
|
220
|
-
stateCode: addr.stateCode ?? addr.state,
|
|
221
|
-
postalCode: addr.postalCode,
|
|
222
|
-
houseNumber: addr.houseNumber,
|
|
223
|
-
countryCode: addr.countryCode
|
|
224
|
-
};
|
|
225
|
-
}) } };
|
|
226
|
-
}
|
|
227
|
-
const DEBOUNCE_MS = 300;
|
|
228
|
-
/**
|
|
229
|
-
* XState callback actor that debounces address search requests.
|
|
230
|
-
* Cancels in-flight HTTP requests when the actor is stopped.
|
|
231
|
-
*/
|
|
232
|
-
const debounceSearchActor = fromCallback(({ input, sendBack }) => {
|
|
233
|
-
const timerProvider = BrowserTimerProvider.getInstance();
|
|
234
|
-
const controller = new AbortController();
|
|
235
|
-
const handle = timerProvider.setTimeout(async () => {
|
|
236
|
-
try {
|
|
237
|
-
sendBack({
|
|
238
|
-
type: "RESULTS",
|
|
239
|
-
suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
|
|
240
|
-
});
|
|
241
|
-
} catch {
|
|
242
|
-
if (!controller.signal.aborted) sendBack({
|
|
243
|
-
type: "RESULTS",
|
|
244
|
-
suggestions: []
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
}, DEBOUNCE_MS);
|
|
248
|
-
return () => {
|
|
249
|
-
timerProvider.clearTimeout(handle);
|
|
250
|
-
controller.abort();
|
|
251
|
-
};
|
|
252
|
-
});
|
|
253
|
-
//#endregion
|
|
254
|
-
export { FIXED_DIGIT_POSTAL_CODE_LENGTH as a, getPostalCodeMaxLength as c, fillFromSuggestion as d, getStreetLevelErrorForSuggestion as f, createBundledDefinitionSource as i, validatePostalCode as l, searchAddress as n, formatPostalCode as o, isFormDefinitionsEnabled as r, getPostalCodeErrorKey as s, debounceSearchActor as t, STREET_LEVEL_REQUIRED_ERROR as u };
|
|
183
|
+
export { getPostalCodeMaxLength as a, fillFromSuggestion as c, getPostalCodeErrorKey as i, getStreetLevelErrorForSuggestion as l, FIXED_DIGIT_POSTAL_CODE_LENGTH as n, validatePostalCode as o, formatPostalCode as r, STREET_LEVEL_REQUIRED_ERROR as s, createBundledDefinitionSource as t };
|
package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-m2dAj6Zu.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-DtB0DJpl.esm.js";
|
|
3
3
|
import { i as utilityWasmApi } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
|
-
import { t as api, u as endpoints } from "./api-
|
|
4
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
import { l as markCameraGrantedInDocument, n as enumerateVideoDevices, o as clearCameraGrantedInDocument, s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
7
7
|
import { l as queryCameraPermission } from "./permissionServices-D190ATGD.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CgCtimSa.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-v57klTso.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-v57klTso.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
4
|
+
import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CgCtimSa.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
import { a as stopCameraStream } from "./camera-E_Kcre4O.esm.js";
|
|
5
5
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D190ATGD.esm.js";
|
|
6
6
|
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DFV-Ws0a.esm.js";
|
|
7
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
7
|
+
import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|