@incodetech/core 2.4.1-agentic.1 → 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/DateFormattingProvider-DPq9zco-.esm.js +25 -0
- package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +9 -9
- 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-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
- package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
- package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
- 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-BObuHBjn.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
- package/dist/{api-CpP4PS4S.esm.js → api-BSnbg4HO.esm.js} +2 -0
- package/dist/{apiError-DH-CH4Nz.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
- package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-zQH85Elh.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
- package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-7aHaehwF.d.ts} +6 -6
- package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
- package/dist/{consentStateMachine-DIYSMxKQ.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-BFTdiEDB.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-DNpC3wyf.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
- package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-B3iVsDyt.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-CvI-pDT3.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
- package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
- package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +5 -5
- package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-BHNxbuiv.esm.js} +2 -72
- package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +2 -2
- package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
- package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C7HKaeVr.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-CeeJoRFY.esm.js} +2 -2
- package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-q1fos6IY.d.ts} +1 -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-CoFCUJ2z.esm.js → ekycStateMachine-DBTczgGE.esm.js} +584 -534
- package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-Dcff8BOD.esm.js} +24 -6
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
- package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
- package/dist/{events-ggpBBaZ8.esm.js → events-C7h7oaTE.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +18 -17
- package/dist/extensibility.esm.js +37 -36
- 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-DV2ULUYS.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
- package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
- package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +11 -11
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
- package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
- package/dist/{feature-management-BbCIA4og.esm.js → feature-management-CmKTG_T5.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-DuosZJso.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +31 -16
- package/dist/flow.esm.js +76 -15
- package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
- package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-Ca2vKNt2.esm.js} +29 -10
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-AEbn3Afi.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 +8 -8
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
- package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-B5xqok0L.esm.js} +8 -8
- package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-CG8zbAp0.d.ts} +7 -7
- package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-BIF_7rub.esm.js} +6 -6
- package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +47 -19
- 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-DNbVTMIu.esm.js} +2 -2
- package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
- package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
- package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
- package/dist/{index-DC0P2Vzw.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-BJ0GVHGr.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CnqwgKoV.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-Be41K_NS.esm.js} +5 -4
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +22 -13
- package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
- package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-CCiRpByl.esm.js} +2 -2
- package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
- package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-CZpORUWY.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-C-qD3p3N.esm.js} +2 -2
- package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-BdR1nmSO.esm.js} +1 -1
- package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +2 -2
- package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-BVSCo0ac.esm.js} +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +2 -2
- package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-f9PhUo9j.esm.js} +1 -209
- package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
- package/dist/{sdkVersion-CDd_gaR7.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-f4MgAG2A.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
- package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
- package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
- package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
- package/dist/{session-CdSX4wsZ.esm.js → session-D0DWDKp9.esm.js} +4 -4
- package/dist/session.d.ts +2 -2
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-I92b2dmL.esm.js} +20 -9
- package/dist/{setup-DDahygZs.esm.js → setup-BpjzWqR1.esm.js} +12 -15
- package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
- package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
- package/dist/{stats-CatA2dea.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/{tri-DG6priFa.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-GuLthUVK.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-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
- package/dist/{types-BPm1JSu7.d.ts → types-BqlZSoZ-.d.ts} +5 -5
- package/dist/{types-Csh8vzPo.d.ts → types-Cbm9J2yF.d.ts} +1 -1
- package/dist/{types-BEVHQbbC.d.ts → types-CgihAhT_.d.ts} +3 -3
- package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
- package/dist/{types-Cd0J0F9D.d.ts → types-P9LzsfRo.d.ts} +3 -2
- package/dist/{types-CRaFu6wS.d.ts → types-TisHEbBg.d.ts} +9 -3
- 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 +8 -8
- package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +14 -12
- package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
- package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
- 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-BtiR5pig.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
- package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
- package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
- package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
- package/dist/workflow.d.ts +226 -41
- package/dist/workflow.esm.js +157 -61
- package/package.json +11 -1
- package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
- package/dist/types-J6g6iKe_.d.ts +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
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
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.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, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
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-CSPOoqah.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
|
|
2
2
|
import { A as StateMachine, _ as MachineContext, c as AnyEventObject, l as AnyStateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
3
3
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
4
4
|
import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
|
|
5
|
-
import { t as EkycConfig } from "./types-
|
|
6
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
7
|
-
import { t as AuthenticationConfig } from "./types-
|
|
5
|
+
import { t as EkycConfig } from "./types-DEa3taWc.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-TisHEbBg.js";
|
|
7
|
+
import { t as AuthenticationConfig } from "./types-kLsU6Jkt.js";
|
|
8
8
|
import { r as DocumentCaptureConfig } from "./types-CyNndVAT.js";
|
|
9
9
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
10
10
|
import { t as EkybConfig } from "./types-BgRHw-dR.js";
|
|
11
|
-
import { u as IdCaptureConfig } from "./types-
|
|
12
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
13
|
-
import { t as IdOcrConfig } from "./types-
|
|
11
|
+
import { u as IdCaptureConfig } from "./types-BqlZSoZ-.js";
|
|
12
|
+
import { r as MandatoryConsentConfig } from "./types-P9LzsfRo.js";
|
|
13
|
+
import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
14
14
|
import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
15
15
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
|
|
16
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
16
|
+
import { o as FlowEventSubscribable } from "./index-CSPOoqah.js";
|
|
17
17
|
import { n as ModuleRegistry } from "./types-BQA7lRDV.js";
|
|
18
18
|
//#region src/modules/flow/orchestratedFlowStateMachine.d.ts
|
|
19
19
|
type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
|
|
@@ -61,6 +61,19 @@ type OrchestratedFlowEvent = {
|
|
|
61
61
|
[key: string]: unknown;
|
|
62
62
|
};
|
|
63
63
|
//#endregion
|
|
64
|
+
//#region src/modules/flow/dashboardConfig.d.ts
|
|
65
|
+
type DeepPartialValue<T> = T extends Record<string, unknown> ? DeepPartial<T> : T;
|
|
66
|
+
type PreserveArray<T> = T extends readonly unknown[] ? T : DeepPartialValue<T>;
|
|
67
|
+
type DeepPartial<T> = { [K in keyof T]?: PreserveArray<T[K]>; };
|
|
68
|
+
declare function mergeDashboardConfig<T>(dashboardConfig: T, localConfig: DeepPartial<T> | undefined): T;
|
|
69
|
+
/**
|
|
70
|
+
* Partial config per flow module, keyed by the module key of the flow
|
|
71
|
+
* (`ID`, `SECOND_ID`, `SELFIE`, ...). Each entry is merged over the dashboard
|
|
72
|
+
* config of that module. `TUTORIAL_ID` is not a key: the SDK turns that step
|
|
73
|
+
* into `ID` (and `SECOND_ID`) before the merge, so use `ID`.
|
|
74
|
+
*/
|
|
75
|
+
type FlowModulesConfig = { [K in Exclude<keyof FlowModuleConfig, 'TUTORIAL_ID'>]?: DeepPartial<FlowModuleConfig[K]>; };
|
|
76
|
+
//#endregion
|
|
64
77
|
//#region src/modules/flow/orchestratedFlowManager.d.ts
|
|
65
78
|
type OrchestratedFlowHomeScreen = {
|
|
66
79
|
visible: boolean;
|
|
@@ -100,6 +113,8 @@ type OrchestratedFlowReadyState = {
|
|
|
100
113
|
type OrchestratedFlowFinishedState = {
|
|
101
114
|
status: 'finished';
|
|
102
115
|
flow: Flow;
|
|
116
|
+
/** The originating browser observed completion on the linked mobile device. */
|
|
117
|
+
completedOnMobile?: boolean;
|
|
103
118
|
finishStatus: {
|
|
104
119
|
redirectionUrl: string;
|
|
105
120
|
action: 'approved' | 'rejected' | 'none';
|
|
@@ -128,6 +143,11 @@ type CreateOrchestratedFlowActorOptions = {
|
|
|
128
143
|
deferActivation?: OrchestratedFlowInput['deferActivation'];
|
|
129
144
|
/** A getter: the manager can exist before the session that owns the ID. */
|
|
130
145
|
getInterviewId?: () => string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Partial config per module key, merged over the dashboard config of each
|
|
148
|
+
* module when the flow loads. Values the flow sets at runtime still win.
|
|
149
|
+
*/
|
|
150
|
+
modulesConfig?: FlowModulesConfig;
|
|
131
151
|
};
|
|
132
152
|
declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowActorOptions): Manager<OrchestratedFlowState> & {
|
|
133
153
|
/**
|
|
@@ -249,12 +269,6 @@ declare function getNextRequiredWasmPipelines(state: Pick<OrchestratedFlowReadyS
|
|
|
249
269
|
*/
|
|
250
270
|
declare function normalizeFlowModules(flow: FlowForNormalization, options?: NormalizeFlowModulesOptions): FlowModule[];
|
|
251
271
|
//#endregion
|
|
252
|
-
//#region src/modules/flow/dashboardConfig.d.ts
|
|
253
|
-
type DeepPartialValue<T> = T extends Record<string, unknown> ? DeepPartial<T> : T;
|
|
254
|
-
type PreserveArray<T> = T extends readonly unknown[] ? T : DeepPartialValue<T>;
|
|
255
|
-
type DeepPartial<T> = { [K in keyof T]?: PreserveArray<T[K]>; };
|
|
256
|
-
declare function mergeDashboardConfig<T>(dashboardConfig: T, localConfig: DeepPartial<T> | undefined): T;
|
|
257
|
-
//#endregion
|
|
258
272
|
//#region src/modules/flow/flowServices.d.ts
|
|
259
273
|
type GetFlowOptions = {
|
|
260
274
|
isDesktop?: boolean;
|
|
@@ -420,8 +434,9 @@ declare function createFlowManager(options?: CreateFlowActorOptions): Manager<Fl
|
|
|
420
434
|
readonly canPrev: boolean;
|
|
421
435
|
/**
|
|
422
436
|
* Gets the configuration for a specific module by its key.
|
|
437
|
+
* Returns the active occurrence when the current step has that key.
|
|
423
438
|
* Useful for accessing config of modules other than the current one.
|
|
424
|
-
* @param moduleKey - The
|
|
439
|
+
* @param moduleKey - The module key
|
|
425
440
|
* @returns The module configuration or `undefined` if not found or not in `ready` state
|
|
426
441
|
*/
|
|
427
442
|
getModuleConfig: <T = unknown>(moduleKey: string) => T | undefined;
|
|
@@ -447,4 +462,4 @@ interface ModuleLoader {
|
|
|
447
462
|
}
|
|
448
463
|
declare function createModuleLoader(registry: ModuleLoaderRegistry): ModuleLoader;
|
|
449
464
|
//#endregion
|
|
450
|
-
export { type DeepPartial, type FinishScreenVariant, type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowReadyState, type FlowState, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowCompletingState, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, type ResolveDashboardModuleConfigOptions, type ResolvedDashboardModuleConfig, type TotalScore, classifyScoreStatus, createFlowManager, createModuleLoader, createOrchestratedFlowManager, enrichFlowModuleConfig, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };
|
|
465
|
+
export { type DeepPartial, type FinishScreenVariant, type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowModulesConfig, type FlowReadyState, type FlowState, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowCompletingState, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, type ResolveDashboardModuleConfigOptions, type ResolvedDashboardModuleConfig, type TotalScore, classifyScoreStatus, createFlowManager, createModuleLoader, createOrchestratedFlowManager, enrichFlowModuleConfig, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as addEvent } from "./events-
|
|
1
|
+
import { y as addEvent } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
|
-
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig,
|
|
3
|
+
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, g as mergeDashboardConfig, h as applyModulesConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-Ca2vKNt2.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";
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
6
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-DvcH16XO.esm.js";
|
|
7
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BmteMhR7.esm.js";
|
|
8
8
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
9
9
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
10
10
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
|
@@ -13,6 +13,37 @@ const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
|
|
13
13
|
states: { finished: { type: "final" } }
|
|
14
14
|
}))();
|
|
15
15
|
//#endregion
|
|
16
|
+
//#region src/modules/flow/flowOcrSteps.ts
|
|
17
|
+
/** Prepare the standard two-ID journey without changing standalone dashboard configuration. */
|
|
18
|
+
function prepareFlowOcrSteps(flow) {
|
|
19
|
+
const modules = flow.flowModules;
|
|
20
|
+
const firstIds = modules.filter((module) => module.key === "ID" || module.key === "TUTORIAL_ID");
|
|
21
|
+
const secondIds = modules.filter((module) => module.key === "SECOND_ID");
|
|
22
|
+
const reviews = modules.filter((module) => module.key === "ID_OCR");
|
|
23
|
+
if (firstIds.length !== 1 || secondIds.length !== 1 || reviews.length !== 1) return flow;
|
|
24
|
+
const [first] = firstIds;
|
|
25
|
+
const [second] = secondIds;
|
|
26
|
+
const [review] = reviews;
|
|
27
|
+
if (review.configuration.ocrDocument !== void 0 || modules.indexOf(first) >= modules.indexOf(second) || modules.indexOf(review) < modules.indexOf(first)) return flow;
|
|
28
|
+
const reviewFor = (ocrDocument) => ({
|
|
29
|
+
...review,
|
|
30
|
+
configuration: {
|
|
31
|
+
...review.configuration,
|
|
32
|
+
ocrDocument,
|
|
33
|
+
secondId: false
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
return {
|
|
37
|
+
...flow,
|
|
38
|
+
flowModules: modules.flatMap((module) => {
|
|
39
|
+
if (module === review) return [];
|
|
40
|
+
if (module === first) return [module, reviewFor("first")];
|
|
41
|
+
if (module === second && review.configuration.secondId !== false) return [module, reviewFor("second")];
|
|
42
|
+
return [module];
|
|
43
|
+
})
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
16
47
|
//#region src/modules/flow/flowStateMachine.ts
|
|
17
48
|
/**
|
|
18
49
|
* Flow-level `ds` (Deepsight) lives on the flow, not on the module, so it has
|
|
@@ -47,7 +78,7 @@ const flowMachine = /* @__PURE__ */ (() => setup({
|
|
|
47
78
|
getFlow: context.getFlow
|
|
48
79
|
})),
|
|
49
80
|
setFlowData: assign(({ event }) => {
|
|
50
|
-
const flow = event.output;
|
|
81
|
+
const flow = prepareFlowOcrSteps(event.output);
|
|
51
82
|
return {
|
|
52
83
|
flow,
|
|
53
84
|
steps: (flow.flowModules ?? []).map((m) => m.key),
|
|
@@ -190,7 +221,9 @@ function createApi({ actor, getSnapshot, trackElementClicked }) {
|
|
|
190
221
|
function getModuleConfig(moduleKey) {
|
|
191
222
|
const snapshot = getSnapshot();
|
|
192
223
|
if (!snapshot.matches("ready")) return;
|
|
193
|
-
|
|
224
|
+
const { flow, currentStepIndex } = snapshot.context;
|
|
225
|
+
const activeModule = flow?.flowModules[currentStepIndex];
|
|
226
|
+
return (activeModule?.key === moduleKey ? activeModule : flow?.flowModules.find((m) => m.key === moduleKey))?.configuration;
|
|
194
227
|
}
|
|
195
228
|
function isModuleEnabled(moduleKey) {
|
|
196
229
|
const snapshot = getSnapshot();
|
|
@@ -255,8 +288,9 @@ function createApi({ actor, getSnapshot, trackElementClicked }) {
|
|
|
255
288
|
},
|
|
256
289
|
/**
|
|
257
290
|
* Gets the configuration for a specific module by its key.
|
|
291
|
+
* Returns the active occurrence when the current step has that key.
|
|
258
292
|
* Useful for accessing config of modules other than the current one.
|
|
259
|
-
* @param moduleKey - The
|
|
293
|
+
* @param moduleKey - The module key
|
|
260
294
|
* @returns The module configuration or `undefined` if not found or not in `ready` state
|
|
261
295
|
*/
|
|
262
296
|
getModuleConfig,
|
|
@@ -363,6 +397,7 @@ function createBaseContext(context, isHomeContinueLoading) {
|
|
|
363
397
|
getFinishStatus: context.getFinishStatus,
|
|
364
398
|
enableHome: context.enableHome,
|
|
365
399
|
finishStatus: void 0,
|
|
400
|
+
completedOnMobile: false,
|
|
366
401
|
isHomeContinueLoading,
|
|
367
402
|
deferActivation: context.deferActivation,
|
|
368
403
|
activationResolved: false,
|
|
@@ -412,6 +447,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
|
|
|
412
447
|
input: {}
|
|
413
448
|
},
|
|
414
449
|
actors: {
|
|
450
|
+
resolveHandoffCompletion: fromPromise(({ signal }) => getHandoffFinishStatus(signal)),
|
|
415
451
|
fetchFlow: fromPromise(async ({ input, signal }) => {
|
|
416
452
|
const flow = await retryAfterReconnect(() => input.getFlow(signal), signal);
|
|
417
453
|
await loadFlowConfigConverters(flow);
|
|
@@ -440,7 +476,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
|
|
|
440
476
|
setHomeContinueLoading: assign({ isHomeContinueLoading: true }),
|
|
441
477
|
clearHomeContinueLoading: assign({ isHomeContinueLoading: false }),
|
|
442
478
|
setFlowData: assign(({ event }) => {
|
|
443
|
-
const flow = event.output;
|
|
479
|
+
const flow = prepareFlowOcrSteps(event.output);
|
|
444
480
|
const flowModules = flow.flowModules ?? [];
|
|
445
481
|
const firstModule = flowModules[0];
|
|
446
482
|
const config = getModuleConfig(firstModule, flow);
|
|
@@ -454,7 +490,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
|
|
|
454
490
|
};
|
|
455
491
|
}),
|
|
456
492
|
setActivatedFlow: assign(({ context, event }) => {
|
|
457
|
-
const flow = event.output;
|
|
493
|
+
const flow = prepareFlowOcrSteps(event.output);
|
|
458
494
|
const flowModules = flow.flowModules ?? [];
|
|
459
495
|
const steps = flowModules.map((m) => m.key);
|
|
460
496
|
let insertedAt = steps.findIndex((key, i) => key !== context.steps[i]);
|
|
@@ -524,6 +560,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
|
|
|
524
560
|
isAdvanceableModuleErrorOnLastStep: ({ context, event }) => isAdvanceableError(event.moduleErrorCode) && context.currentStepIndex >= 0 && context.currentStepIndex === context.steps.length - 1,
|
|
525
561
|
isLastStep: ({ context }) => context.currentStepIndex >= 0 && context.currentStepIndex === context.steps.length - 1,
|
|
526
562
|
canGoNext: ({ context }) => context.currentStepIndex >= 0 && context.currentStepIndex < context.steps.length - 1,
|
|
563
|
+
isRedirectToMobileStep: ({ context }) => context.currentStep === "REDIRECT_TO_MOBILE",
|
|
527
564
|
isOnboardingFinishedSignal: ({ event }) => event.output?.action === "onboardingFinished",
|
|
528
565
|
shouldEnterHome: ({ context }) => shouldEnterHome(context),
|
|
529
566
|
needsActivation: ({ context }) => context.deferActivation && !context.activationResolved && context.currentStep !== "REDIRECT_TO_MOBILE",
|
|
@@ -702,7 +739,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
|
|
|
702
739
|
on: {
|
|
703
740
|
MODULE_COMPLETE: [
|
|
704
741
|
{
|
|
705
|
-
target: "
|
|
742
|
+
target: "resolvingHandoffCompletion",
|
|
706
743
|
guard: "isOnboardingFinishedSignal"
|
|
707
744
|
},
|
|
708
745
|
{
|
|
@@ -738,13 +775,32 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
|
|
|
738
775
|
}
|
|
739
776
|
],
|
|
740
777
|
COMPLETE_FLOW: { target: "completing" },
|
|
741
|
-
FINISH_FLOW: {
|
|
778
|
+
FINISH_FLOW: [{
|
|
779
|
+
guard: "isRedirectToMobileStep",
|
|
780
|
+
target: "resolvingHandoffCompletion"
|
|
781
|
+
}, { target: "finished" }],
|
|
742
782
|
RESET: {
|
|
743
783
|
target: "idle",
|
|
744
784
|
actions: "resetContext"
|
|
745
785
|
}
|
|
746
786
|
}
|
|
747
787
|
},
|
|
788
|
+
resolvingHandoffCompletion: {
|
|
789
|
+
entry: assign({ completedOnMobile: true }),
|
|
790
|
+
after: { [HANDOFF_COMPLETION_TIMEOUT_MS]: "finished" },
|
|
791
|
+
invoke: {
|
|
792
|
+
src: "resolveHandoffCompletion",
|
|
793
|
+
onDone: {
|
|
794
|
+
target: "finished",
|
|
795
|
+
actions: "setFinishStatus"
|
|
796
|
+
},
|
|
797
|
+
onError: { target: "finished" }
|
|
798
|
+
},
|
|
799
|
+
on: { RESET: {
|
|
800
|
+
target: "idle",
|
|
801
|
+
actions: "resetContext"
|
|
802
|
+
} }
|
|
803
|
+
},
|
|
748
804
|
completing: {
|
|
749
805
|
invoke: {
|
|
750
806
|
id: "notifyBackend",
|
|
@@ -785,7 +841,7 @@ function deriveUiModel(snapshot, mappedStatus, isHomePhase, options) {
|
|
|
785
841
|
const effectiveEnableHome = enableHome === true && serverDisablesLaunch === false;
|
|
786
842
|
const isTerminal = mappedStatus === "finished" || mappedStatus === "error";
|
|
787
843
|
const awaitingOrchestrator = mappedStatus === "idle" || mappedStatus === "loading";
|
|
788
|
-
const isCompletingPhase =
|
|
844
|
+
const isCompletingPhase = mappedStatus === "completing";
|
|
789
845
|
const firstRealIndex = snapshot.context.steps[0] === "REDIRECT_TO_MOBILE" ? 1 : 0;
|
|
790
846
|
const isAtFirstRealModule = snapshot.context.currentStepIndex === firstRealIndex;
|
|
791
847
|
const isResolvingHomeAnchor = (snapshot.value === "resolvingModule" || snapshot.value === "resolvingActivation") && effectiveEnableHome && isAtFirstRealModule;
|
|
@@ -809,7 +865,7 @@ function deriveUiModel(snapshot, mappedStatus, isHomePhase, options) {
|
|
|
809
865
|
function getMappedStatus(snapshot) {
|
|
810
866
|
const { value } = snapshot;
|
|
811
867
|
if (value === "idle") return "idle";
|
|
812
|
-
if (value === "completing") return "completing";
|
|
868
|
+
if (value === "completing" || value === "resolvingHandoffCompletion") return "completing";
|
|
813
869
|
if (value === "loading" || value === "resolvingModule" || value === "resolvingActivation" || typeof value === "object") return "loading";
|
|
814
870
|
if (value === "finished") return "finished";
|
|
815
871
|
if (value === "error") return "error";
|
|
@@ -837,6 +893,7 @@ function mapOrchestratedFlowState(snapshot, uiOptions) {
|
|
|
837
893
|
if (mappedStatus === "finished") return {
|
|
838
894
|
status: "finished",
|
|
839
895
|
flow: context.flow ?? {},
|
|
896
|
+
...context.completedOnMobile ? { completedOnMobile: true } : {},
|
|
840
897
|
finishStatus: context.finishStatus ?? {
|
|
841
898
|
redirectionUrl: "",
|
|
842
899
|
action: "none",
|
|
@@ -911,7 +968,9 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
911
968
|
function getModuleConfig(moduleKey) {
|
|
912
969
|
const snapshot = getSnapshot();
|
|
913
970
|
if (snapshot.value !== "runningModule") return;
|
|
914
|
-
|
|
971
|
+
const { flow, currentStepIndex } = snapshot.context;
|
|
972
|
+
const activeModule = flow?.flowModules[currentStepIndex];
|
|
973
|
+
return (activeModule?.key === moduleKey ? activeModule : flow?.flowModules.find((m) => m.key === moduleKey))?.configuration;
|
|
915
974
|
}
|
|
916
975
|
function isModuleEnabled(moduleKey) {
|
|
917
976
|
const snapshot = getSnapshot();
|
|
@@ -1047,8 +1106,10 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
1047
1106
|
};
|
|
1048
1107
|
}
|
|
1049
1108
|
function createOrchestratedFlowActor(options) {
|
|
1109
|
+
const getFlow$1 = options.getFlow ?? getFlow;
|
|
1110
|
+
const { modulesConfig } = options;
|
|
1050
1111
|
return createActor(orchestratedFlowMachine, { input: {
|
|
1051
|
-
getFlow:
|
|
1112
|
+
getFlow: modulesConfig ? async (signal) => applyModulesConfig(await getFlow$1(signal), modulesConfig) : getFlow$1,
|
|
1052
1113
|
modules: options.modules,
|
|
1053
1114
|
lazyModules: options.lazyModules,
|
|
1054
1115
|
getFinishStatus: options.getFinishStatus,
|
package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-DvcH16XO.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-Bmwy1Fa7.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}` : ""}`;
|
|
@@ -13,6 +13,27 @@ const getFinishStatus = async (flowId, signal) => {
|
|
|
13
13
|
toIncodeApiError(endpoints.finishStatus, error);
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
+
const HANDOFF_COMPLETION_TIMEOUT_MS = 1e4;
|
|
17
|
+
/** Mobile already finished the session; read its redirect without finishing again. */
|
|
18
|
+
async function getHandoffFinishStatus(signal) {
|
|
19
|
+
try {
|
|
20
|
+
const data = (await api.get(endpoints.redirectionUrl, {
|
|
21
|
+
signal,
|
|
22
|
+
timeout: HANDOFF_COMPLETION_TIMEOUT_MS
|
|
23
|
+
})).data;
|
|
24
|
+
let redirectionUrl = "";
|
|
25
|
+
if (typeof data === "object" && data !== null && "redirectionUrl" in data && typeof data.redirectionUrl === "string") redirectionUrl = data.redirectionUrl;
|
|
26
|
+
return {
|
|
27
|
+
redirectionUrl,
|
|
28
|
+
action: "none",
|
|
29
|
+
scoreStatus: "UNKNOWN",
|
|
30
|
+
endScreenTitle: null,
|
|
31
|
+
endScreenText: null
|
|
32
|
+
};
|
|
33
|
+
} catch (error) {
|
|
34
|
+
toIncodeApiError(endpoints.redirectionUrl, error);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
16
37
|
const SCORE_VARIANTS = {
|
|
17
38
|
OK: "success",
|
|
18
39
|
WARN: "success",
|
|
@@ -36,4 +57,4 @@ async function getTotalScoreStatus(signal) {
|
|
|
36
57
|
}
|
|
37
58
|
}
|
|
38
59
|
//#endregion
|
|
39
|
-
export {
|
|
60
|
+
export { getTotalScoreStatus as a, getHandoffFinishStatus as i, classifyScoreStatus as n, getFinishStatus as r, HANDOFF_COMPLETION_TIMEOUT_MS as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as getWasmStatus } from "./warmup-
|
|
2
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-
|
|
4
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
1
|
+
import { r as getWasmStatus } from "./warmup-9iKKNNuW.esm.js";
|
|
2
|
+
import { r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-I92b2dmL.esm.js";
|
|
4
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CmKTG_T5.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-Bmwy1Fa7.esm.js";
|
|
6
|
+
import "./session-D0DWDKp9.esm.js";
|
|
7
7
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
8
|
-
import { a as prefetchStartInfo } from "./phoneServices-
|
|
8
|
+
import { a as prefetchStartInfo } from "./phoneServices-BdR1nmSO.esm.js";
|
|
9
9
|
//#region src/modules/flow/dashboardConfig.ts
|
|
10
10
|
function isPlainObject(value) {
|
|
11
11
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
@@ -22,6 +22,25 @@ function mergeDashboardConfig(dashboardConfig, localConfig) {
|
|
|
22
22
|
}
|
|
23
23
|
return result;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Merges `modulesConfig` over the dashboard config of each matching module.
|
|
27
|
+
* Runs on the normalized flow, so the keys are the step keys (`TUTORIAL_ID`
|
|
28
|
+
* is already `ID`).
|
|
29
|
+
*/
|
|
30
|
+
function applyModulesConfig(flow, modulesConfig) {
|
|
31
|
+
if (!modulesConfig) return flow;
|
|
32
|
+
return {
|
|
33
|
+
...flow,
|
|
34
|
+
flowModules: flow.flowModules.map((module) => {
|
|
35
|
+
const override = module.key === "TUTORIAL_ID" ? void 0 : modulesConfig[module.key];
|
|
36
|
+
if (!override) return module;
|
|
37
|
+
return {
|
|
38
|
+
...module,
|
|
39
|
+
configuration: mergeDashboardConfig(module.configuration, override)
|
|
40
|
+
};
|
|
41
|
+
})
|
|
42
|
+
};
|
|
43
|
+
}
|
|
25
44
|
//#endregion
|
|
26
45
|
//#region src/modules/video-selfie/videoSelfieSteps.ts
|
|
27
46
|
/** Steps that use the rear (environment) camera; everything else uses the front (user) camera. */
|
|
@@ -95,7 +114,7 @@ let configConverters;
|
|
|
95
114
|
async function loadFlowConfigConverters(flow) {
|
|
96
115
|
const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
|
|
97
116
|
if (configConverters || !needed) return;
|
|
98
|
-
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-
|
|
117
|
+
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Dcff8BOD.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
|
|
99
118
|
configConverters = {
|
|
100
119
|
toEkycConfig: ekyc.toEkycConfig,
|
|
101
120
|
toEkybConfig: ekyb.toEkybConfig
|
|
@@ -111,7 +130,7 @@ function resolveFlowModuleConfig(module, flow) {
|
|
|
111
130
|
};
|
|
112
131
|
if (module.key === "ID_OCR") return {
|
|
113
132
|
...config,
|
|
114
|
-
secondId: config.secondId ?? flow.flowModules.some((candidate) => candidate.key === "SECOND_ID"),
|
|
133
|
+
secondId: config.ocrDocument === void 0 && (config.secondId ?? flow.flowModules.some((candidate) => candidate.key === "SECOND_ID")),
|
|
115
134
|
flowId: flow.flowId
|
|
116
135
|
};
|
|
117
136
|
if (module.key === "SECOND_ID") return {
|
|
@@ -569,4 +588,4 @@ async function resolveDashboardModuleConfig(options) {
|
|
|
569
588
|
return flowConfig;
|
|
570
589
|
}
|
|
571
590
|
//#endregion
|
|
572
|
-
export { resolveDashboardModuleConfig as a, getRequiredWasmPipelines as c, resolveFlowModuleConfig as d, facingModeForStep as f, mergeDashboardConfig as h, resetDashboardFlowCache as i, loadFlowConfigConverters as l, videoSelfieWasmPipelines as m, getFlow as n, enrichFlowModuleConfig as o, resolveVideoSelfieSteps as p, preloadDashboardFlow as r, getNextRequiredWasmPipelines as s, completeDeferredActivation as t, normalizeFlowModules as u };
|
|
591
|
+
export { resolveDashboardModuleConfig as a, getRequiredWasmPipelines as c, resolveFlowModuleConfig as d, facingModeForStep as f, mergeDashboardConfig as g, applyModulesConfig as h, resetDashboardFlowCache as i, loadFlowConfigConverters as l, videoSelfieWasmPipelines as m, getFlow as n, enrichFlowModuleConfig as o, resolveVideoSelfieSteps as p, preloadDashboardFlow as r, getNextRequiredWasmPipelines as s, completeDeferredActivation as t, normalizeFlowModules as u };
|
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-CiG32lIm.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-5rnTEOuw.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-5rnTEOuw.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-5rnTEOuw.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-Bmwy1Fa7.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
6
|
+
import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
9
9
|
const res = await api.post(endpoints.addGeolocation, {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
2
|
-
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-
|
|
1
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CeSDNgha.esm.js";
|
|
2
|
+
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-BivVZNVe.esm.js";
|
|
3
3
|
export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.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 governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CeSDNgha.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
6
|
function createGovernmentValidationActor(options) {
|
|
7
7
|
return createActor(governmentValidationMachine, { 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-BSnbg4HO.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/government-validation/governmentValidationServices.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as StateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
-
import { t as EmptyConfig } from "./types-
|
|
3
|
+
import { t as EmptyConfig } from "./types-TisHEbBg.js";
|
|
4
4
|
//#region src/modules/home/types.d.ts
|
|
5
5
|
type HomeConfig = EmptyConfig;
|
|
6
6
|
//#endregion
|
package/dist/home.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/home/homeStateMachine.ts
|
|
4
4
|
const homeMachine = setup({ types: {
|
package/dist/http.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getApi, t as api } from "./api-
|
|
1
|
+
import { n as getApi, t as api } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
export { api, getApi };
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-
|
|
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-
|
|
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-B5xeI2lg.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-ocr.esm.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-
|
|
4
|
-
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
5
|
-
function formatCPF(value) {
|
|
6
|
-
const digits = value.replace(/\D/g, "").slice(0, 11);
|
|
7
|
-
const first = digits.slice(0, 3);
|
|
8
|
-
const second = digits.slice(3, 6);
|
|
9
|
-
const third = digits.slice(6, 9);
|
|
10
|
-
const verifier = digits.slice(9, 11);
|
|
11
|
-
if (digits.length > 9) return `${first}.${second}.${third}-${verifier}`;
|
|
12
|
-
if (digits.length > 6) return `${first}.${second}.${third}`;
|
|
13
|
-
if (digits.length > 3) return `${first}.${second}`;
|
|
14
|
-
return first;
|
|
15
|
-
}
|
|
16
|
-
function isValidCPF(value) {
|
|
17
|
-
return validateCPF(value);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
1
|
+
import { n as isValidCPF, t as formatCPF } from "./idOcrCpfUtils-Nfln1Psb.esm.js";
|
|
2
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-MAGnpWkb.esm.js";
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-DNbVTMIu.esm.js";
|
|
20
4
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, formatCPF, getOcrFields, idOcrStateMachine, isValidCPF };
|
package/dist/id-selfie-flow.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./warmup-
|
|
1
|
+
import "./warmup-BNhIuURi.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
5
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
6
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
7
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-
|
|
7
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-4XE2QI5q.js";
|
|
8
8
|
//#region src/modules/id-selfie-flow/types.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* The capture steps an ID + Selfie flow session can run, in flow order. A
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-Ca2vKNt2.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-BSLpXAGx.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
11
|
-
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
10
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DBnOC28H.esm.js";
|
|
11
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
|
-
import {
|
|
14
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { r as getFinishStatus } from "./flowCompletionService-DvcH16XO.esm.js";
|
|
14
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CTOpqhov.esm.js";
|
|
15
15
|
import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
16
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
17
17
|
/** Default autocapture window for the selfie step. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
2
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
1
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-D5mBN2Ye.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BEAkamNm.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|