@incodetech/core 2.4.1-agentic → 2.4.1-agentic.10
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/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
- package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
- package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
- package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +11 -12
- package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
- package/dist/MultipartRecordingProvider-BfQPSgSO.esm.js +151 -0
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
- package/dist/WorkerEncoderRecordingProvider-CyCrQnZR.esm.js +80 -0
- package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-BSnbg4HO.esm.js} +4 -0
- package/dist/{apiError-CfuIvnUy.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
- package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-zQH85Elh.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
- package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
- package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-7aHaehwF.d.ts} +5 -5
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
- package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-D7ka2qOC.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
- package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
- package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +34 -29
- package/dist/definitionSource-BHNxbuiv.esm.js +184 -0
- package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +5 -5
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +3 -2
- package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-DDfviFg0.d.ts} +25 -4
- package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +67 -26
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +7 -3
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc-prefill.d.ts +17 -0
- package/dist/ekyc-prefill.esm.js +3 -0
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-q1fos6IY.d.ts} +2 -1
- package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
- package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
- package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
- package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
- package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-DBTczgGE.esm.js} +719 -596
- package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-Dcff8BOD.esm.js} +103 -14
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
- package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-C7h7oaTE.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +20 -18
- package/dist/extensibility.esm.js +37 -35
- package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
- package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +12 -403
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
- package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-CmKTG_T5.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +33 -18
- package/dist/flow.esm.js +82 -17
- package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Ca2vKNt2.esm.js} +84 -139
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-CeSDNgha.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 +3 -3
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +4 -4
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
- package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B5xqok0L.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CG8zbAp0.d.ts} +10 -8
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-BIF_7rub.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +50 -22
- package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-B5xeI2lg.d.ts} +3 -3
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
- package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
- package/dist/{index-DMDAk85K.d.ts → index-CSPOoqah.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-CnqwgKoV.esm.js +89 -0
- package/dist/kybChecksStateMachine-Be41K_NS.esm.js +719 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +20 -11
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-CCiRpByl.esm.js +407 -0
- package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
- package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-CZpORUWY.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-DEpESpz2.esm.js +87 -0
- package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-C-qD3p3N.esm.js} +3 -3
- package/dist/phoneServices-BdR1nmSO.esm.js +77 -0
- package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +20 -60
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-BVSCo0ac.esm.js +397 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +40 -22
- package/dist/resolveForm-f9PhUo9j.esm.js +143 -0
- package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-D0DWDKp9.esm.js} +4 -4
- package/dist/session.d.ts +2 -2
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-I92b2dmL.esm.js} +94 -24
- package/dist/{setup-CDAKwTr7.esm.js → setup-BpjzWqR1.esm.js} +25 -27
- package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-C2sigf9p.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +378 -0
- package/dist/step-up.esm.js +639 -0
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-BajQnjbf.esm.js → tri-DaUNvo-o.esm.js} +29 -34
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/types-B-PIc0en.d.ts +115 -0
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
- package/dist/{types-xEEWCx1j.d.ts → types-BqlZSoZ-.d.ts} +5 -5
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-e8fCsvvk.d.ts → types-Cbm9J2yF.d.ts} +1 -1
- package/dist/{types--3HDl2SF.d.ts → types-CgihAhT_.d.ts} +3 -3
- package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
- package/dist/{types-B2FK_wYb.d.ts → types-DEa3taWc.d.ts} +9 -41
- package/dist/{types-PTZHRhGX.d.ts → types-P9LzsfRo.d.ts} +3 -2
- package/dist/{types-DuD8TRJU.d.ts → types-TisHEbBg.d.ts} +12 -4
- package/dist/types-kLsU6Jkt.d.ts +6 -0
- package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
- package/dist/usStates-CwOQ2kAx.esm.js +209 -0
- package/dist/video-selfie.d.ts +5 -4
- package/dist/video-selfie.esm.js +9 -7
- package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +16 -14
- package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BkfxQZsC.esm.js → warmup-9iKKNNuW.esm.js} +69 -20
- package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
- package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-C3v3s_4H.esm.js} +34 -19
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
- package/dist/workflow.d.ts +226 -41
- package/dist/workflow.esm.js +163 -67
- package/package.json +21 -5
- package/dist/addressSearch-41sMcnJk.esm.js +0 -604
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
- package/dist/types-D9r3zRfY.d.ts +0 -6
package/dist/workflow.esm.js
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
4
|
-
import {
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as retryAfterReconnect } from "./connectivity-
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-g2tVWsJl.esm.js";
|
|
9
|
-
import { c as toEkycConfig } from "./ekycUtils-BFncpC4F.esm.js";
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-C7h7oaTE.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-DHYTBCIn.esm.js";
|
|
4
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-I92b2dmL.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CmKTG_T5.esm.js";
|
|
6
|
+
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-Bmwy1Fa7.esm.js";
|
|
10
8
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
11
9
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
10
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BKQuhJm_.esm.js";
|
|
13
11
|
import "./ae-signature.esm.js";
|
|
14
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
16
|
-
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
17
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
18
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
19
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
20
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import {
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { t as
|
|
32
|
-
import {
|
|
33
|
-
import { n as
|
|
34
|
-
import { t as
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
12
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-CX9I2f3s.esm.js";
|
|
13
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BMD1JLwr.esm.js";
|
|
14
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BAOYLACb.esm.js";
|
|
15
|
+
import { t as consentMachine } from "./consentStateMachine-4nZIH2O8.esm.js";
|
|
16
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-FB_MRbZQ.esm.js";
|
|
17
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CpEVPzuT.esm.js";
|
|
18
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-C7PW_Ah9.esm.js";
|
|
19
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-2ZHyejBc.esm.js";
|
|
20
|
+
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-C7HKaeVr.esm.js";
|
|
22
|
+
import { t as ekycMachine } from "./ekycStateMachine-DBTczgGE.esm.js";
|
|
23
|
+
import { l as toEkycConfig } from "./ekycUtils-Dcff8BOD.esm.js";
|
|
24
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-Dku90kZL.esm.js";
|
|
25
|
+
import { t as emailMachine } from "./emailStateMachine-CGY1UGs2.esm.js";
|
|
26
|
+
import { t as selfieMachine } from "./selfieStateMachine-48PKdKrw.esm.js";
|
|
27
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
|
|
28
|
+
import { t as phoneMachine } from "./phoneStateMachine-2FMTdjtJ.esm.js";
|
|
29
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-Bgkh1gra.esm.js";
|
|
30
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-Bj_hnoK5.esm.js";
|
|
31
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-D5bXgw9h.esm.js";
|
|
32
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DTSyDqQs.esm.js";
|
|
33
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-MAGnpWkb.esm.js";
|
|
34
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CXqfo2Gd.esm.js";
|
|
35
|
+
import { t as signatureMachine } from "./signatureStateMachine-0_frzAN5.esm.js";
|
|
36
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-5rnTEOuw.esm.js";
|
|
37
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CeSDNgha.esm.js";
|
|
38
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-D5mBN2Ye.esm.js";
|
|
39
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-EX9QhxFE.esm.js";
|
|
40
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Be41K_NS.esm.js";
|
|
41
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-DvcH16XO.esm.js";
|
|
42
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BmteMhR7.esm.js";
|
|
41
43
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
42
44
|
import "./qe-signature.esm.js";
|
|
43
45
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
@@ -67,6 +69,8 @@ const DEFAULT_MODULE_REGISTRY = {
|
|
|
67
69
|
GEOLOCATION: geolocationMachine,
|
|
68
70
|
EXTERNAL_VERIFICATION: ekycMachine,
|
|
69
71
|
EKYB: ekybMachine,
|
|
72
|
+
EKYB_CHECKS: kybChecksMachine,
|
|
73
|
+
EKYC_PREFILL: ekycPrefillMachine,
|
|
70
74
|
DOCUMENT_CAPTURE: documentCaptureMachine,
|
|
71
75
|
ADDRESS: documentCaptureMachine,
|
|
72
76
|
COMBINED_CONSENT: consentMachine,
|
|
@@ -162,13 +166,11 @@ async function processCustomNode(data, signal) {
|
|
|
162
166
|
//#endregion
|
|
163
167
|
//#region src/modules/workflow/workflowActors.ts
|
|
164
168
|
async function loadWorkflow(input, signal) {
|
|
165
|
-
await initializeSession({
|
|
169
|
+
const [workflowConfig] = await Promise.all([retryAfterReconnect(() => getWorkflowConfig(signal), signal), initializeSession({
|
|
166
170
|
signal,
|
|
167
171
|
preloadFlow: false
|
|
168
|
-
}).catch(() => void 0);
|
|
169
|
-
const
|
|
170
|
-
await updateFeatureManagementUser({ customIDs: { workflow_id: workflowConfig.id } });
|
|
171
|
-
const realNode = await retryAfterReconnect(() => getCurrentNode(signal), signal);
|
|
172
|
+
}).catch(() => void 0)]);
|
|
173
|
+
const [realNode] = await Promise.all([retryAfterReconnect(() => getCurrentNode(signal), signal), updateFeatureManagementUser({ customIDs: { workflow_id: workflowConfig.id } })]);
|
|
172
174
|
const fingerprintResult = getSessionFingerprintResult();
|
|
173
175
|
let currentNode = realNode;
|
|
174
176
|
let firstNode;
|
|
@@ -301,16 +303,92 @@ function applyWorkflowNodeOverlays(moduleKey, config, skipFaceMatch) {
|
|
|
301
303
|
...config,
|
|
302
304
|
isSecondId: config.isSecondId === true || config.idRank === "SECOND_ID"
|
|
303
305
|
};
|
|
304
|
-
if (moduleKey === "
|
|
306
|
+
if (moduleKey === "ID_OCR") return {
|
|
305
307
|
...config,
|
|
306
|
-
|
|
308
|
+
ocrDocument: config.ocrDocument ?? (config.isSecondId === true || config.idRank === "SECOND_ID" ? "second" : "first")
|
|
307
309
|
};
|
|
308
|
-
if (moduleKey === "
|
|
310
|
+
if (moduleKey === "SELFIE") return {
|
|
309
311
|
...config,
|
|
310
|
-
|
|
312
|
+
skipProcessFace: true
|
|
311
313
|
};
|
|
314
|
+
if (moduleKey === "FACE_MATCH") {
|
|
315
|
+
const faceMatchConfig = config.idRank === "SECOND_ID" ? {
|
|
316
|
+
...config,
|
|
317
|
+
matchingType: "secondId"
|
|
318
|
+
} : config;
|
|
319
|
+
return skipFaceMatch ? {
|
|
320
|
+
...faceMatchConfig,
|
|
321
|
+
skipFaceMatch: true
|
|
322
|
+
} : faceMatchConfig;
|
|
323
|
+
}
|
|
312
324
|
return config;
|
|
313
325
|
}
|
|
326
|
+
const handoffCompletionMachine = setup({
|
|
327
|
+
types: {
|
|
328
|
+
context: {},
|
|
329
|
+
input: {},
|
|
330
|
+
output: {}
|
|
331
|
+
},
|
|
332
|
+
actors: {
|
|
333
|
+
readRedirect: fromPromise(({ signal }) => getHandoffFinishStatus(signal)),
|
|
334
|
+
readScore: fromPromise(({ input, signal }) => input(signal))
|
|
335
|
+
}
|
|
336
|
+
}).createMachine({
|
|
337
|
+
id: "handoffCompletion",
|
|
338
|
+
initial: "collecting",
|
|
339
|
+
context: ({ input }) => ({
|
|
340
|
+
...input,
|
|
341
|
+
finishStatus: void 0,
|
|
342
|
+
totalScoreStatus: void 0
|
|
343
|
+
}),
|
|
344
|
+
output: ({ context }) => ({
|
|
345
|
+
finishStatus: context.finishStatus,
|
|
346
|
+
totalScoreStatus: context.totalScoreStatus
|
|
347
|
+
}),
|
|
348
|
+
states: {
|
|
349
|
+
collecting: {
|
|
350
|
+
type: "parallel",
|
|
351
|
+
after: { [HANDOFF_COMPLETION_TIMEOUT_MS]: "#handoffCompletion.finished" },
|
|
352
|
+
onDone: "finished",
|
|
353
|
+
states: {
|
|
354
|
+
redirect: {
|
|
355
|
+
initial: "loading",
|
|
356
|
+
states: {
|
|
357
|
+
loading: { invoke: {
|
|
358
|
+
src: "readRedirect",
|
|
359
|
+
onDone: {
|
|
360
|
+
target: "finished",
|
|
361
|
+
actions: assign(({ event }) => ({ finishStatus: event.output }))
|
|
362
|
+
},
|
|
363
|
+
onError: "finished"
|
|
364
|
+
} },
|
|
365
|
+
finished: { type: "final" }
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
score: {
|
|
369
|
+
initial: "checking",
|
|
370
|
+
states: {
|
|
371
|
+
checking: { always: [{
|
|
372
|
+
target: "loading",
|
|
373
|
+
guard: ({ context }) => context.resolveScore
|
|
374
|
+
}, { target: "finished" }] },
|
|
375
|
+
loading: { invoke: {
|
|
376
|
+
src: "readScore",
|
|
377
|
+
input: ({ context }) => context.getTotalScoreStatus,
|
|
378
|
+
onDone: {
|
|
379
|
+
target: "finished",
|
|
380
|
+
actions: assign(({ event }) => ({ totalScoreStatus: event.output }))
|
|
381
|
+
},
|
|
382
|
+
onError: "finished"
|
|
383
|
+
} },
|
|
384
|
+
finished: { type: "final" }
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
finished: { type: "final" }
|
|
390
|
+
}
|
|
391
|
+
});
|
|
314
392
|
//#endregion
|
|
315
393
|
//#region src/modules/workflow/workflowStateMachine.ts
|
|
316
394
|
/**
|
|
@@ -342,6 +420,7 @@ const workflowMachine = setup({
|
|
|
342
420
|
input: {}
|
|
343
421
|
},
|
|
344
422
|
actors: {
|
|
423
|
+
resolveHandoffCompletion: handoffCompletionMachine,
|
|
345
424
|
loadWorkflow: fromPromise(({ input, signal }) => loadWorkflow(input, signal)),
|
|
346
425
|
processNextNode: fromPromise(({ input, signal }) => processNextNode(input, signal)),
|
|
347
426
|
handleCustomModule: fromPromise(({ input, signal }) => handleCustomModule(input, signal)),
|
|
@@ -437,7 +516,7 @@ const workflowMachine = setup({
|
|
|
437
516
|
isOnboardingFinishedSignal: ({ event }) => event.output?.action === "onboardingFinished",
|
|
438
517
|
isAdvanceableModuleError: ({ event }) => isAdvanceableError(event.moduleErrorCode),
|
|
439
518
|
shouldResolveScore: ({ context }) => context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
440
|
-
|
|
519
|
+
isRedirectToMobileNode: ({ context }) => context.currentNode?.moduleKey === "REDIRECT_TO_MOBILE",
|
|
441
520
|
shouldEnterHome: ({ context, event }) => {
|
|
442
521
|
if (context.hasShownHome) return false;
|
|
443
522
|
const result = event.output;
|
|
@@ -468,6 +547,7 @@ const workflowMachine = setup({
|
|
|
468
547
|
registeredModules: input.modules,
|
|
469
548
|
configMappers: input.configMappers ?? {},
|
|
470
549
|
finishStatus: void 0,
|
|
550
|
+
completedOnMobile: false,
|
|
471
551
|
totalScoreStatus: void 0,
|
|
472
552
|
customModuleCallback: input.customModuleCallback,
|
|
473
553
|
interviewId: input.interviewId ?? "",
|
|
@@ -559,20 +639,13 @@ const workflowMachine = setup({
|
|
|
559
639
|
}
|
|
560
640
|
},
|
|
561
641
|
on: {
|
|
562
|
-
MODULE_COMPLETE: [
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
guard: "isOnboardingFinishedSignal"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
target: "processingNode",
|
|
573
|
-
actions: ["persistSkipFaceMatch"]
|
|
574
|
-
}
|
|
575
|
-
],
|
|
642
|
+
MODULE_COMPLETE: [{
|
|
643
|
+
target: "resolvingHandoffCompletion",
|
|
644
|
+
guard: "isOnboardingFinishedSignal"
|
|
645
|
+
}, {
|
|
646
|
+
target: "processingNode",
|
|
647
|
+
actions: ["persistSkipFaceMatch"]
|
|
648
|
+
}],
|
|
576
649
|
MODULE_ERROR: [{
|
|
577
650
|
guard: "isAdvanceableModuleError",
|
|
578
651
|
target: "processingNode",
|
|
@@ -586,10 +659,17 @@ const workflowMachine = setup({
|
|
|
586
659
|
]
|
|
587
660
|
}],
|
|
588
661
|
COMPLETE_FLOW: "completing",
|
|
589
|
-
FINISH_WORKFLOW: [
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
662
|
+
FINISH_WORKFLOW: [
|
|
663
|
+
{
|
|
664
|
+
target: "resolvingHandoffCompletion",
|
|
665
|
+
guard: "isRedirectToMobileNode"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
target: "resolvingScore",
|
|
669
|
+
guard: "shouldResolveScore"
|
|
670
|
+
},
|
|
671
|
+
{ target: "finished" }
|
|
672
|
+
]
|
|
593
673
|
}
|
|
594
674
|
},
|
|
595
675
|
handlingCustomModule: { invoke: {
|
|
@@ -665,6 +745,21 @@ const workflowMachine = setup({
|
|
|
665
745
|
actions: "setError"
|
|
666
746
|
}
|
|
667
747
|
} },
|
|
748
|
+
resolvingHandoffCompletion: {
|
|
749
|
+
entry: assign({ completedOnMobile: true }),
|
|
750
|
+
invoke: {
|
|
751
|
+
src: "resolveHandoffCompletion",
|
|
752
|
+
input: ({ context }) => ({
|
|
753
|
+
resolveScore: context.workflowConfig?.showFinishScreenBySessionStatus === true,
|
|
754
|
+
getTotalScoreStatus: context.getTotalScoreStatus
|
|
755
|
+
}),
|
|
756
|
+
onDone: {
|
|
757
|
+
target: "finished",
|
|
758
|
+
actions: assign(({ event }) => event.output)
|
|
759
|
+
},
|
|
760
|
+
onError: "finished"
|
|
761
|
+
}
|
|
762
|
+
},
|
|
668
763
|
completing: { invoke: {
|
|
669
764
|
id: "notifyBackend",
|
|
670
765
|
src: "notifyBackend",
|
|
@@ -779,7 +874,8 @@ function mapState(snapshot) {
|
|
|
779
874
|
status: "finished",
|
|
780
875
|
workflowConfig: context.workflowConfig,
|
|
781
876
|
finishStatus,
|
|
782
|
-
scoreStatus: context.totalScoreStatus ?? finishStatus.scoreStatus
|
|
877
|
+
scoreStatus: context.totalScoreStatus ?? finishStatus.scoreStatus,
|
|
878
|
+
...context.completedOnMobile ? { completedOnMobile: true } : {}
|
|
783
879
|
};
|
|
784
880
|
}
|
|
785
881
|
if (snapshot.matches("asyncResolution")) return {
|
|
@@ -794,7 +890,7 @@ function mapState(snapshot) {
|
|
|
794
890
|
errorCode: context.errorCode,
|
|
795
891
|
moduleErrorCode: context.moduleErrorCode
|
|
796
892
|
};
|
|
797
|
-
if (snapshot.matches("completing")) return {
|
|
893
|
+
if (snapshot.matches("completing") || snapshot.matches("resolvingHandoffCompletion")) return {
|
|
798
894
|
status: "completing",
|
|
799
895
|
homeScreen
|
|
800
896
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.4.1-agentic",
|
|
3
|
+
"version": "2.4.1-agentic.10",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -135,6 +135,16 @@
|
|
|
135
135
|
"types": "./dist/ekyb.d.ts",
|
|
136
136
|
"import": "./dist/ekyb.esm.js"
|
|
137
137
|
},
|
|
138
|
+
"./kyb-checks": {
|
|
139
|
+
"source": "./src/modules/kyb-checks/index.ts",
|
|
140
|
+
"types": "./dist/kyb-checks.d.ts",
|
|
141
|
+
"import": "./dist/kyb-checks.esm.js"
|
|
142
|
+
},
|
|
143
|
+
"./ekyc-prefill": {
|
|
144
|
+
"source": "./src/modules/ekyc-prefill/index.ts",
|
|
145
|
+
"types": "./dist/ekyc-prefill.d.ts",
|
|
146
|
+
"import": "./dist/ekyc-prefill.esm.js"
|
|
147
|
+
},
|
|
138
148
|
"./home": {
|
|
139
149
|
"source": "./src/modules/home/index.ts",
|
|
140
150
|
"types": "./dist/home.d.ts",
|
|
@@ -220,6 +230,11 @@
|
|
|
220
230
|
"types": "./dist/workflow.d.ts",
|
|
221
231
|
"import": "./dist/workflow.esm.js"
|
|
222
232
|
},
|
|
233
|
+
"./step-up": {
|
|
234
|
+
"source": "./src/modules/step-up/index.ts",
|
|
235
|
+
"types": "./dist/step-up.d.ts",
|
|
236
|
+
"import": "./dist/step-up.esm.js"
|
|
237
|
+
},
|
|
223
238
|
"./cross-document-data-match": {
|
|
224
239
|
"source": "./src/modules/cross-document-data-match/index.ts",
|
|
225
240
|
"types": "./dist/cross-document-data-match.d.ts",
|
|
@@ -284,15 +299,16 @@
|
|
|
284
299
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|
|
285
300
|
"build:cdn": "tsdown -c tsdown.config.ts --minify && pnpm check:dist-types",
|
|
286
301
|
"build:dev": "tsdown -c tsdown.config.ts",
|
|
287
|
-
"check:dist-types": "
|
|
302
|
+
"check:dist-types": "bun check -p tsconfig.dist-types.json --no-script",
|
|
288
303
|
"test": "vitest run",
|
|
304
|
+
"test:shard": "vitest run --shard=$VITEST_SHARD",
|
|
289
305
|
"test:changed": "vitest run --changed origin/main --passWithNoTests",
|
|
290
306
|
"coverage": "vitest run --coverage",
|
|
291
|
-
"lint": "
|
|
292
|
-
"lint:fix": "
|
|
307
|
+
"lint": "oxlint .",
|
|
308
|
+
"lint:fix": "oxlint . --fix",
|
|
293
309
|
"format": "prettier --write . --ignore-path ../../.prettierignore",
|
|
294
310
|
"format:check": "prettier --check . --ignore-path ../../.prettierignore",
|
|
295
|
-
"typecheck": "
|
|
311
|
+
"typecheck": "bun check -p tsconfig.json --noEmit --rootDir=.. --no-script",
|
|
296
312
|
"parity:record": "PARITY_RECORD=1 vitest run __parity__"
|
|
297
313
|
}
|
|
298
314
|
}
|