@incodetech/core 2.4.1-agentic.10 → 2.4.1-agentic.11
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/Actor-DqjOqDfU.d.ts +1 -0
- package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-BSLpXAGx.esm.js → FaceDetectionProvider-2NzWDbV8.esm.js} +8 -8
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +1 -1
- package/dist/{WasmUtilProvider-C_puwvVn.esm.js → WasmUtilProvider-DdhAHHw4.esm.js} +40 -4
- package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
- package/dist/{addressSearch-B_4JYKa-.esm.js → addressSearch-Rxm1K67A.esm.js} +5 -4
- package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
- package/dist/ae-signature.d.ts +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
- package/dist/{antifraudManager-BWCVkSu2.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
- package/dist/{antifraudStateMachine-CX9I2f3s.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
- package/dist/{api-BSnbg4HO.esm.js → api-CZpuJuZl.esm.js} +1 -1
- package/dist/{apiError-Bmwy1Fa7.esm.js → apiError-BamZ815u.esm.js} +1 -1
- package/dist/{attemptCarry-zQH85Elh.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CISxaY6N.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
- package/dist/{authenticationManager-BoiOaB0m.esm.js → authenticationManager-yBVGiIf_.esm.js} +7 -6
- package/dist/{authenticationStateMachine-BMD1JLwr.esm.js → authenticationStateMachine-DPqTOJPp.esm.js} +50 -18
- package/dist/{browser-pQZA35G2-PIj2uGBm.esm.js → browser-pQZA35G2-DxIBykpe.esm.js} +1 -1
- package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.d.ts +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
- package/dist/{certificateIssuanceManager-DzDuQTsK.esm.js → certificateIssuanceManager-Dxl9UwR0.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-BAOYLACb.esm.js → certificateIssuanceStateMachine-CM4q71h1.esm.js} +3 -3
- package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-7aHaehwF.d.ts → consentManager-B2F_VeAo.d.ts} +8 -7
- package/dist/{consentManager-DFSKQTcR.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
- package/dist/{consentStateMachine-4nZIH2O8.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
- package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-D7ka2qOC.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
- package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
- package/dist/curp-DZGvefg3.esm.js +14 -0
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BVTt7IgC.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
- package/dist/{curpValidationManager-DEqTUWdu.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-FB_MRbZQ.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
- package/dist/custom-fields.d.ts +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-gbsq53p6.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
- package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
- package/dist/{customWatchlistManager-50APwk4Z.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
- package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
- package/dist/{customWatchlistStateMachine-CpEVPzuT.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
- package/dist/{deepsightLoader-BKCT8UT1.esm.js → deepsightLoader-CEY2mSPM.esm.js} +5 -5
- package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
- package/dist/{desktopCameraElection-Dvvw7PRY.esm.js → desktopCameraElection-enVPfRsQ.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +5 -4
- package/dist/{documentCaptureManager-BG5TuqJz.esm.js → documentCaptureManager-C11k5BO-.esm.js} +5 -3
- package/dist/{documentCaptureStateMachine-C7PW_Ah9.esm.js → documentCaptureStateMachine-g0gfL0_1.esm.js} +6 -6
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-B0bpHhhJ.esm.js → dynamicFormsManager-BmfCZ2zV.esm.js} +5 -3
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-2ZHyejBc.esm.js → dynamicFormsStateMachine-B-eYytau.esm.js} +4 -4
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-P9mC7W9J.esm.js → ekybManager-BPaMfbgw.esm.js} +5 -3
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybStateMachine-C7HKaeVr.esm.js → ekybStateMachine-C_lEw4I7.esm.js} +18 -20
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-q1fos6IY.d.ts → ekycManager-BKVQazAb.d.ts} +47 -6
- package/dist/{ekycManager-CeeJoRFY.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
- package/dist/{ekycPrefillManager-C6BFFKxc.esm.js → ekycPrefillManager-CCtbmrFd.esm.js} +3 -2
- package/dist/{ekycPrefillManager-PPGVZbWk.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +8 -7
- package/dist/{ekycPrefillStateMachine-Dku90kZL.esm.js → ekycPrefillStateMachine-XpxgCAoC.esm.js} +11 -10
- package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-DXP2hqVw.esm.js} +198 -38
- package/dist/{ekycStateMachine-DBTczgGE.esm.js → ekycStateMachine-nwJRel2s.esm.js} +333 -64
- package/dist/{ekycUtils-Dcff8BOD.esm.js → ekycUtils-FcqA6oU4.esm.js} +44 -43
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
- package/dist/{electronicSignatureManager-BKQuhJm_.esm.js → electronicSignatureManager-M2O2VDks.esm.js} +7 -5
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CGmKbsBL.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
- package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
- package/dist/{emailStateMachine-CGY1UGs2.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
- package/dist/events-CP3yOzAl.esm.js +299 -0
- package/dist/events.d.ts +3 -1
- package/dist/events.esm.js +2 -1
- package/dist/extensibility.d.ts +39 -39
- package/dist/extensibility.esm.js +38 -38
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-ClFsByZc.esm.js → faceCaptureManagerFactory-3Or5qfbA.esm.js} +17 -6
- package/dist/{faceCaptureManagerFactory-BVwVGa3z.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +14 -7
- package/dist/{faceCaptureSetup-9hv5GC_H.esm.js → faceCaptureSetup-Cf87i0rT.esm.js} +46 -38
- package/dist/{faceMatchManager-BZtEw6bB.d.ts → faceMatchManager-C5b5WtcY.d.ts} +3 -2
- package/dist/{faceMatchManager-CRe7Nvm6.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-EX9QhxFE.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +18 -6
- package/dist/{feature-management-CmKTG_T5.esm.js → feature-management-DG016L6E.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DuosZJso.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
- package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
- package/dist/{fiscalQrManager-ji0qDaTW.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +47 -11
- package/dist/flow.esm.js +214 -58
- package/dist/{flowCompletionService-DvcH16XO.esm.js → flowCompletionService-BpeAbbXc.esm.js} +2 -2
- package/dist/{flowServices-Ca2vKNt2.esm.js → flowServices-rDg1bAMs.esm.js} +373 -12
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
- package/dist/{geolocationManager-CiG32lIm.esm.js → geolocationManager-T8m4lqvF.esm.js} +5 -3
- package/dist/{geolocationStateMachine-5rnTEOuw.esm.js → geolocationStateMachine-NWmA1Dtn.esm.js} +5 -5
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-BivVZNVe.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
- package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
- package/dist/{governmentValidationStateMachine-CeSDNgha.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
- package/dist/home.d.ts +4 -3
- package/dist/home.esm.js +4 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-selfie-flow.d.ts +4 -3
- package/dist/id-selfie-flow.esm.js +12 -11
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-DBnOC28H.esm.js → idCaptureDefaults-Cjesf5i9.esm.js} +1 -1
- package/dist/{idCaptureManager-B5xqok0L.esm.js → idCaptureManager-5-ReVgbB.esm.js} +12 -10
- package/dist/{idCaptureManager-CG8zbAp0.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +7 -6
- package/dist/{idCaptureServices-BIF_7rub.esm.js → idCaptureServices-exB6I9lV.esm.js} +7 -7
- package/dist/{idCaptureStateMachine-B5cfgKvn.esm.js → idCaptureStateMachine-DQ14d3GR.esm.js} +21 -19
- package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
- package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-C0C7lFGd.d.ts} +4 -3
- package/dist/{idOcrManager-DNbVTMIu.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
- package/dist/{idOcrStateMachine-MAGnpWkb.esm.js → idOcrStateMachine-B832arAl.esm.js} +4 -4
- package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
- package/dist/{idVerificationManager-BEAkamNm.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
- package/dist/{idVerificationStateMachine-D5mBN2Ye.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.d.ts +97 -0
- package/dist/identity-search.esm.js +97 -0
- package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
- package/dist/{identityReuseManager-M8-BTjar.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
- package/dist/{identityReuseStateMachine-D5bXgw9h.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
- package/dist/index-DHuAkTe0.d.ts +1 -0
- package/dist/{index-Btj1EhiM.d.ts → index-DM43R87x.d.ts} +1 -1
- package/dist/{index-CSPOoqah.d.ts → index-DxYNO94y.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-C1-j4fsq.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
- package/dist/{kybChecksManager-CnqwgKoV.esm.js → kybChecksManager-CZfdCkLC.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-Be41K_NS.esm.js → kybChecksStateMachine-DkWxSU4L.esm.js} +8 -7
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CYOJd_IZ.d.ts → mandatoryConsentManager-Bh1asNJh.d.ts} +9 -8
- package/dist/{mandatoryConsentManager-LFhUlLvO.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
- package/dist/{mandatoryConsentStateMachine-DTSyDqQs.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +3 -3
- package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
- package/dist/{multipartRecordingService-CCiRpByl.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
- package/dist/{permissionGuards-DjQUR1du.esm.js → permissionGuards-D-4_VU7-.esm.js} +1 -1
- package/dist/{permissionServices-CZpORUWY.esm.js → permissionServices-DpccEnzE.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
- package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
- package/dist/{phoneManager-C-qD3p3N.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
- package/dist/{phoneServices-BdR1nmSO.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
- package/dist/{phoneStateMachine-2FMTdjtJ.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
- package/dist/{processFaceMatch-B1YnoBer.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BVSCo0ac.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-CqyDfDxs.esm.js → redirectToMobileManager-DTB_pWuS.esm.js} +6 -4
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
- package/dist/{redirectToMobileStateMachine-CXqfo2Gd.esm.js → redirectToMobileStateMachine-nP9DM01_.esm.js} +3 -3
- package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
- package/dist/{runChildModule-BmteMhR7.esm.js → runChildModule-CXLcOcXN.esm.js} +8 -6
- package/dist/{sdkVersion-KZROt6l3.esm.js → sdkVersion-fqxsdqFZ.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +13 -12
- package/dist/{selfieErrorUtils-fqxp645p.esm.js → selfieErrorUtils-MOfYdGPz.esm.js} +1 -1
- package/dist/{selfieManager-DREuBhXZ.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
- package/dist/{selfieManager-A-n3k9Tu.esm.js → selfieManager-Dq8tIqGd.esm.js} +7 -6
- package/dist/{selfieStateMachine-48PKdKrw.esm.js → selfieStateMachine-BZVDQB8R.esm.js} +5 -5
- package/dist/{session-D0DWDKp9.esm.js → session-C7x_iJ-p.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-I92b2dmL.esm.js → sessionInitializer-k-hKIBg8.esm.js} +9 -8
- package/dist/{setup-BpjzWqR1.esm.js → setup-BRbhjHiU.esm.js} +10 -9
- package/dist/{setup-CG6oLkAa.d.ts → setup-CpXbdA1X.d.ts} +1 -1
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-M9vQBj19.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
- package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
- package/dist/{signatureStateMachine-0_frzAN5.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
- package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
- package/dist/{stats-C2sigf9p.esm.js → stats-DoByUnTa.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +3 -2
- package/dist/step-up.esm.js +2 -1
- package/dist/{tri-DaUNvo-o.esm.js → tri-CI2exudk.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-CxLWmTZk.esm.js +2287 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-DHYTBCIn.esm.js → trueSightService-DhW2O8mB.esm.js} +6 -3
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +5 -3
- package/dist/{types-CgihAhT_.d.ts → types-9wlf1-GE.d.ts} +1 -1
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/types-CE1jkHw3.d.ts +6 -0
- package/dist/{types-BqlZSoZ-.d.ts → types-Cpdum4vi.d.ts} +1 -1
- package/dist/{types-Cbm9J2yF.d.ts → types-DFP7eSle.d.ts} +1 -1
- package/dist/{types-P9LzsfRo.d.ts → types-DJPU3W2M.d.ts} +1 -1
- package/dist/{events-C7h7oaTE.esm.js → types-DYYMdAGv.esm.js} +3 -298
- package/dist/{types-TisHEbBg.d.ts → types-Ddc4Tr_f.d.ts} +28 -1
- package/dist/video-selfie.d.ts +5 -4
- package/dist/video-selfie.esm.js +14 -13
- package/dist/{videoSelfieCameraWarmer-CTOpqhov.esm.js → videoSelfieCameraWarmer-YwO_uP-b.esm.js} +6 -6
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-4XE2QI5q.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-lRIgn5Ic.esm.js → wasmDsFlagSync-D_6e8W62.esm.js} +1 -1
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-C1S5y5yj.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-Bj_hnoK5.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
- package/dist/{watchlistManager-BpegtZbc.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
- package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
- package/dist/{watchlistStateMachine-Bgkh1gra.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
- package/dist/workflow.d.ts +6 -5
- package/dist/workflow.esm.js +51 -43
- package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
- package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
- package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
- package/package.json +6 -1
- package/dist/Actor-DpTj5PFb.d.ts +0 -1
- package/dist/index-DpTj5PFb.d.ts +0 -1
- package/dist/nationalIds-B91f_RuB.esm.js +0 -99
- package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
- package/dist/tri.esm-Df5eKLsY.esm.js +0 -2165
- package/dist/types-kLsU6Jkt.d.ts +0 -6
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { b as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-
|
|
4
|
-
import { s as createActor } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
7
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
10
|
-
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-
|
|
11
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
12
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
13
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
14
|
-
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-
|
|
15
|
-
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
20
|
-
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-
|
|
21
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
22
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
23
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
24
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
25
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
26
|
-
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-
|
|
27
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
28
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
29
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
30
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
31
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
32
|
-
import { n as createSignatureManagerFromActor } from "./signatureManager-
|
|
33
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
34
|
-
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-
|
|
35
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
36
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
37
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
38
|
-
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BRbhjHiU.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DdhAHHw4.esm.js";
|
|
3
|
+
import { b as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-k-hKIBg8.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-M2O2VDks.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DKNOi9-z.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Cf87i0rT.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-yBVGiIf_.esm.js";
|
|
10
|
+
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Dxl9UwR0.esm.js";
|
|
11
|
+
import { n as createConsentManagerFromActor } from "./consentManager-BPocwpm2.esm.js";
|
|
12
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BfA29Aji.esm.js";
|
|
13
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CbvBDoE1.esm.js";
|
|
14
|
+
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BRqSCR9R.esm.js";
|
|
15
|
+
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Bd1ooIDB.esm.js";
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-C11k5BO-.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BmfCZ2zV.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BPaMfbgw.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-nRT0rxei.esm.js";
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-CCtbmrFd.esm.js";
|
|
21
|
+
import { n as createEmailManagerFromActor } from "./emailManager-Co4jarT1.esm.js";
|
|
22
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-Dq8tIqGd.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-5-ReVgbB.esm.js";
|
|
24
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-rA7updqF.esm.js";
|
|
25
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-BDaVjzLW.esm.js";
|
|
26
|
+
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
|
|
27
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CjFZ7WRa.esm.js";
|
|
28
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-VgCU4X96.esm.js";
|
|
29
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-Dh3pBhOe.esm.js";
|
|
30
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-im7VfJQi.esm.js";
|
|
31
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DTB_pWuS.esm.js";
|
|
32
|
+
import { n as createSignatureManagerFromActor } from "./signatureManager-BgAja97K.esm.js";
|
|
33
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-T8m4lqvF.esm.js";
|
|
34
|
+
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-6JQQkzha.esm.js";
|
|
35
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-PMGM4hXY.esm.js";
|
|
36
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CGmNGbov.esm.js";
|
|
37
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-DOLq45ph.esm.js";
|
|
38
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-CZfdCkLC.esm.js";
|
|
39
39
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|
|
2
2
|
//#region src/modules/face-match/faceMatchStateMachine.d.ts
|
|
3
3
|
declare const faceMatchMachine: any;
|
|
4
4
|
//#endregion
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BuHt7kec.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-CGmNGbov.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-ClFsByZc.esm.js → faceCaptureManagerFactory-3Or5qfbA.esm.js}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { n as eventModuleNames,
|
|
1
|
+
import { n as eventModuleNames, r as eventScreenNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
2
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
5
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
5
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
6
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-Cf87i0rT.esm.js";
|
|
7
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-D_6e8W62.esm.js";
|
|
7
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
8
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
9
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DpccEnzE.esm.js";
|
|
9
10
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
10
11
|
function getPermissionStatus(snapshot) {
|
|
11
12
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -326,6 +327,10 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
326
327
|
}
|
|
327
328
|
};
|
|
328
329
|
}
|
|
330
|
+
/** The code of the terminal error, such as `SPOOF_ATTEMPT_DETECTED`, when known. */
|
|
331
|
+
function terminalErrorCode(error) {
|
|
332
|
+
return typeof error === "object" ? error.moduleErrorCode : void 0;
|
|
333
|
+
}
|
|
329
334
|
/**
|
|
330
335
|
* Figma-aligned, machine-stable reason token per face error code. Mirrors the
|
|
331
336
|
* leaf used by `getResultErrorScreen` (e.g. `LENSES_DETECTED` → `lensesDetected`)
|
|
@@ -390,7 +395,13 @@ function getFaceCaptureErrorName(snapshot) {
|
|
|
390
395
|
}
|
|
391
396
|
function getFaceCaptureErrorPayload(snapshot) {
|
|
392
397
|
const topLevel = topLevelStateName(snapshot.value);
|
|
393
|
-
if (topLevel === "error")
|
|
398
|
+
if (topLevel === "error") {
|
|
399
|
+
const errorCode = terminalErrorCode(snapshot.context.error);
|
|
400
|
+
return errorCode === void 0 ? { reason: "fatal" } : {
|
|
401
|
+
errorCode,
|
|
402
|
+
reason: "fatal"
|
|
403
|
+
};
|
|
404
|
+
}
|
|
394
405
|
if (topLevel === "capture" && isFaceCaptureSubstateActive(snapshot.value, "detecting") && snapshot.context.detectionStatus === "offline") return { reason: "noConnection" };
|
|
395
406
|
const errorCode = snapshot.context.uploadError;
|
|
396
407
|
if (typeof errorCode !== "string" || errorCode.length === 0) return;
|
package/dist/{faceCaptureManagerFactory-BVwVGa3z.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
1
|
+
import { i as ActorRefFrom, j as StateMachine, l as AnyStateMachine } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
5
|
-
import "./index-
|
|
6
|
+
import "./index-DHuAkTe0.js";
|
|
6
7
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
7
|
-
import { i as FlowModuleConfig } from "./types-
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
8
9
|
import "./IWasmUtilCapability-BRn0wz8v.js";
|
|
9
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
10
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
-
import { t as AuthenticationConfig } from "./types-
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-9wlf1-GE.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-CE1jkHw3.js";
|
|
12
13
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
|
|
13
14
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-ixfy84ys.js";
|
|
14
15
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
@@ -208,6 +209,12 @@ type FaceCaptureContext = {
|
|
|
208
209
|
recordingService?: RecordingService | undefined;
|
|
209
210
|
attemptsRemaining: number;
|
|
210
211
|
uploadError: FaceErrorCode | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Face authentication only: an attempt in this run came back
|
|
214
|
+
* USER_IS_NOT_RECOGNIZED. It stays set through retries, so the module can
|
|
215
|
+
* tell "not recognized" from other failures once the attempts run out.
|
|
216
|
+
*/
|
|
217
|
+
userNotRecognized?: boolean;
|
|
211
218
|
permissionResult: PermissionResult | 'refresh' | undefined;
|
|
212
219
|
/** @deprecated Detection callback ownership is private and this is always absent. */
|
|
213
220
|
resetDetection?: (() => void) | undefined;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { r as getToken } from "./api-
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./sessionInitializer-
|
|
5
|
-
import { t as addDeviceStats } from "./stats-
|
|
2
|
+
import { r as getToken } from "./api-CZpuJuZl.esm.js";
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DhW2O8mB.esm.js";
|
|
4
|
+
import "./sessionInitializer-k-hKIBg8.esm.js";
|
|
5
|
+
import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
6
6
|
import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
|
|
7
|
-
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-
|
|
8
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
7
|
+
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
9
|
import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
10
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
12
|
-
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
10
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DpccEnzE.esm.js";
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-2NzWDbV8.esm.js";
|
|
12
|
+
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-enVPfRsQ.esm.js";
|
|
13
13
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
14
14
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
15
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
16
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
15
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D-4_VU7-.esm.js";
|
|
16
|
+
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
|
17
17
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
18
18
|
//#region src/internal/avatar/concealment.ts
|
|
19
19
|
/**
|
|
@@ -181,7 +181,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
181
181
|
/** Per-attempt fallback when no step owner supplies the recording service. */
|
|
182
182
|
async createAttemptRecordingService() {
|
|
183
183
|
const wasmUtil = await this.options.dependencies.getWasmUtil();
|
|
184
|
-
return (await import("./recordingService-
|
|
184
|
+
return (await import("./recordingService-DxiwS8TV.esm.js")).createRecordingService({
|
|
185
185
|
config: this.options.config,
|
|
186
186
|
wasmUtil,
|
|
187
187
|
sessionToken: getToken(),
|
|
@@ -479,7 +479,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
479
479
|
const input = getControllerInput();
|
|
480
480
|
const pending = (async () => {
|
|
481
481
|
const wasmUtil = await input.dependencies.getWasmUtil();
|
|
482
|
-
const recordingModule = await import("./recordingService-
|
|
482
|
+
const recordingModule = await import("./recordingService-DxiwS8TV.esm.js");
|
|
483
483
|
if (!active) return;
|
|
484
484
|
stepRecording ??= recordingModule.createRecordingService({
|
|
485
485
|
config: input.config,
|
|
@@ -913,6 +913,7 @@ const faceCaptureMachine = setup({
|
|
|
913
913
|
processResponse: void 0,
|
|
914
914
|
attemptsRemaining: getAttemptsFromConfig(context.config),
|
|
915
915
|
uploadError: void 0,
|
|
916
|
+
userNotRecognized: void 0,
|
|
916
917
|
permissionResult: void 0,
|
|
917
918
|
deepsightReady: false,
|
|
918
919
|
manualCaptureTriggered: false,
|
|
@@ -1104,31 +1105,38 @@ const faceCaptureMachine = setup({
|
|
|
1104
1105
|
id: "faceCapture",
|
|
1105
1106
|
initial: "idle",
|
|
1106
1107
|
entry: "bindProtectedFaceController",
|
|
1107
|
-
context: ({ input, self }) =>
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1108
|
+
context: ({ input, self }) => {
|
|
1109
|
+
const carried = carryAttempts("faceCapture", self, (s) => ({
|
|
1110
|
+
attemptsRemaining: s.context.attemptsRemaining,
|
|
1111
|
+
userNotRecognized: s.context.userNotRecognized
|
|
1112
|
+
}));
|
|
1113
|
+
return {
|
|
1114
|
+
config: input.config,
|
|
1115
|
+
dependencies: input.dependencies,
|
|
1116
|
+
authHint: input.authHint,
|
|
1117
|
+
stream: void 0,
|
|
1118
|
+
usingBackCamera: false,
|
|
1119
|
+
error: void 0,
|
|
1120
|
+
detectionStatus: "idle",
|
|
1121
|
+
capturedImage: void 0,
|
|
1122
|
+
faceCoordinates: void 0,
|
|
1123
|
+
uploadResponse: void 0,
|
|
1124
|
+
processResponse: void 0,
|
|
1125
|
+
attemptsRemaining: carried.attemptsRemaining ?? getAttemptsFromConfig(input.config),
|
|
1126
|
+
uploadError: void 0,
|
|
1127
|
+
userNotRecognized: carried.userNotRecognized,
|
|
1128
|
+
permissionResult: void 0,
|
|
1129
|
+
deepsightReady: false,
|
|
1130
|
+
encryptedBase64Image: void 0,
|
|
1131
|
+
uploadRecordingId: void 0,
|
|
1132
|
+
manualCaptureTriggered: false,
|
|
1133
|
+
retainManualMode: false,
|
|
1134
|
+
captureOnlyResult: void 0,
|
|
1135
|
+
avatarCanvas: void 0,
|
|
1136
|
+
faceFeed: void 0,
|
|
1137
|
+
protectedVisible: true
|
|
1138
|
+
};
|
|
1139
|
+
},
|
|
1132
1140
|
invoke: {
|
|
1133
1141
|
id: "protectedFaceController",
|
|
1134
1142
|
src: "protectedFaceController"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { E as Actor } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
4
|
//#region src/modules/face-match/types.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Face match comparison variant.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
1
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
3
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-BuHt7kec.esm.js";
|
|
4
6
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
5
7
|
function createFaceMatchActor(options) {
|
|
6
8
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
package/dist/{faceMatchStateMachine-EX9QhxFE.esm.js → faceMatchStateMachine-BuHt7kec.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
-
import { t as getProcessFaceMatch } from "./processFaceMatch-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
|
+
import { t as getProcessFaceMatch } from "./processFaceMatch-B_DkDTE5.esm.js";
|
|
5
5
|
//#region src/modules/face-match/constants.ts
|
|
6
6
|
/**
|
|
7
7
|
* Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
|
|
@@ -112,13 +112,25 @@ async function processFaceForMatch(matchingType, signal) {
|
|
|
112
112
|
* Liveness comes only from `/omni/get/score`, so it is `null` whenever the
|
|
113
113
|
* match result comes from `success`, `config.matched` or the saved selfie
|
|
114
114
|
* result.
|
|
115
|
+
*
|
|
116
|
+
* With `disableFaceMatchAnimation`, no screen shows the images, so the images
|
|
117
|
+
* calls are skipped and every image is `null`.
|
|
118
|
+
*
|
|
119
|
+
* A failed images call also gives `null` images, and the screen shows the
|
|
120
|
+
* placeholders. Some session tokens cannot read images (status 4091), but the
|
|
121
|
+
* match result is still valid. Only a failed result call is an error.
|
|
115
122
|
*/
|
|
116
123
|
async function fetchFaceMatchData(config, signal) {
|
|
117
124
|
const isSecondId = config.matchingType === "secondId";
|
|
125
|
+
const showImages = config.disableFaceMatchAnimation !== true;
|
|
126
|
+
const noImages = {
|
|
127
|
+
idFace: null,
|
|
128
|
+
selfie: null
|
|
129
|
+
};
|
|
118
130
|
const fromProcessFace = (isSecondId ? null : config.matched ?? getProcessFaceMatch()) ?? await processFaceForMatch(config.matchingType, signal);
|
|
119
131
|
const [imagesRes, secondIdRes, result] = await Promise.all([
|
|
120
|
-
fetchFaceMatchImages(signal),
|
|
121
|
-
isSecondId ? fetchSecondIdImages(signal) : void 0,
|
|
132
|
+
showImages ? fetchFaceMatchImages(signal).catch(() => noImages) : noImages,
|
|
133
|
+
showImages && isSecondId ? fetchSecondIdImages(signal).catch(() => void 0) : void 0,
|
|
122
134
|
fromProcessFace === null ? fetchScore(config.matchingType, signal) : {
|
|
123
135
|
matched: fromProcessFace,
|
|
124
136
|
liveness: null
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-fqxsdqFZ.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-DG016L6E.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FieldComparisonActor, c as FieldComparisonFields, i as createFieldComparisonManagerFromActor, l as FieldComparisonValidationErrors, n as FieldComparisonState, o as fieldComparisonMachine, r as createFieldComparisonManager, s as FieldComparisonConfig, t as FieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { a as FieldComparisonActor, c as FieldComparisonFields, i as createFieldComparisonManagerFromActor, l as FieldComparisonValidationErrors, n as FieldComparisonState, o as fieldComparisonMachine, r as createFieldComparisonManager, s as FieldComparisonConfig, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
|
|
2
2
|
export { type FieldComparisonActor, type FieldComparisonConfig, type FieldComparisonFields, type FieldComparisonManager, type FieldComparisonState, type FieldComparisonValidationErrors, createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-VgCU4X96.esm.js";
|
|
2
2
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-DuosZJso.esm.js → fieldComparisonManager-VgCU4X96.esm.js}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
7
|
//#region src/modules/field-comparison/fieldComparisonServices.ts
|
|
6
8
|
/** Submit first and last name for backend field comparison. Throws on failure. */
|
|
7
9
|
async function submitFieldComparison(params, signal) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
//#region src/modules/field-comparison/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Configuration options for the field comparison module.
|
package/dist/fiscal-qr.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, o as fiscalQrMachine, r as createFiscalQrManager, s as FiscalQrConfig, t as FiscalQrManager } from "./fiscalQrManager-
|
|
1
|
+
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, o as fiscalQrMachine, r as createFiscalQrManager, s as FiscalQrConfig, t as FiscalQrManager } from "./fiscalQrManager-DFnFVpP9.js";
|
|
2
2
|
export { type FiscalQrActor, type FiscalQrConfig, type FiscalQrManager, type FiscalQrState, createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-
|
|
1
|
+
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-DOLq45ph.esm.js";
|
|
2
2
|
export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
//#region src/modules/fiscal-qr/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Configuration options for the Fiscal QR module.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames,
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
3
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
5
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
|
+
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
8
|
import { a as stopCameraStream } from "./camera-E_Kcre4O.esm.js";
|
|
7
9
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
8
10
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.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-DxYNO94y.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, l as AnyStateMachine, m as EventObject, v as MachineContext, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
3
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
5
|
import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
|
|
5
6
|
import { t as EkycConfig } from "./types-DEa3taWc.js";
|
|
6
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
7
|
-
import { t as AuthenticationConfig } from "./types-
|
|
7
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Ddc4Tr_f.js";
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-CE1jkHw3.js";
|
|
8
9
|
import { r as DocumentCaptureConfig } from "./types-CyNndVAT.js";
|
|
9
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
10
11
|
import { t as EkybConfig } from "./types-BgRHw-dR.js";
|
|
11
|
-
import { u as IdCaptureConfig } from "./types-
|
|
12
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
12
|
+
import { u as IdCaptureConfig } from "./types-Cpdum4vi.js";
|
|
13
|
+
import { r as MandatoryConsentConfig } from "./types-DJPU3W2M.js";
|
|
13
14
|
import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
14
15
|
import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
15
16
|
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-
|
|
17
|
-
import { n as ModuleRegistry } from "./types-
|
|
17
|
+
import { o as FlowEventSubscribable } from "./index-DxYNO94y.js";
|
|
18
|
+
import { n as ModuleRegistry } from "./types-C3rfDzgE.js";
|
|
18
19
|
//#region src/modules/flow/orchestratedFlowStateMachine.d.ts
|
|
19
20
|
type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
|
|
20
21
|
type LazyModuleRegistry = {
|
|
@@ -72,7 +73,18 @@ declare function mergeDashboardConfig<T>(dashboardConfig: T, localConfig: DeepPa
|
|
|
72
73
|
* config of that module. `TUTORIAL_ID` is not a key: the SDK turns that step
|
|
73
74
|
* into `ID` (and `SECOND_ID`) before the merge, so use `ID`.
|
|
74
75
|
*/
|
|
75
|
-
type FlowModulesConfig = { [K in Exclude<keyof FlowModuleConfig, 'TUTORIAL_ID'>]?: DeepPartial<
|
|
76
|
+
type FlowModulesConfig = { [K in Exclude<keyof FlowModuleConfig, 'TUTORIAL_ID'>]?: DeepPartial<OverridableConfig<K>>; };
|
|
77
|
+
/**
|
|
78
|
+
* Fields only the SDK sets, which an override can't set. The identity reuse
|
|
79
|
+
* preset sets `identityReuseOutcomes` on AUTHENTICATION when the flow runs
|
|
80
|
+
* identity reuse; anywhere else it would change how face authentication ends.
|
|
81
|
+
* `FlowModulesConfig` leaves them out of its type, and `applyModulesConfig`
|
|
82
|
+
* drops them at runtime for a host that writes them anyway.
|
|
83
|
+
*/
|
|
84
|
+
type SdkOnlyFields = {
|
|
85
|
+
AUTHENTICATION: 'identityReuseOutcomes';
|
|
86
|
+
};
|
|
87
|
+
type OverridableConfig<K extends keyof FlowModuleConfig> = K extends keyof SdkOnlyFields ? Omit<FlowModuleConfig[K], SdkOnlyFields[K]> : FlowModuleConfig[K];
|
|
76
88
|
//#endregion
|
|
77
89
|
//#region src/modules/flow/orchestratedFlowManager.d.ts
|
|
78
90
|
type OrchestratedFlowHomeScreen = {
|
|
@@ -83,6 +95,13 @@ type OrchestratedFlowPresentation = {
|
|
|
83
95
|
isAwaitingReady: boolean;
|
|
84
96
|
lazyModuleKey: string | undefined;
|
|
85
97
|
shouldPrefetchHome: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* The modules worth loading while the current one runs: the next step, or,
|
|
100
|
+
* on a step that decides the path (face authentication and identity reuse,
|
|
101
|
+
* in a Flow with identity reuse), the next step on each path. Empty when no
|
|
102
|
+
* module renders.
|
|
103
|
+
*/
|
|
104
|
+
prefetchModuleKeys: string[];
|
|
86
105
|
};
|
|
87
106
|
type OrchestratedFlowIdleState = {
|
|
88
107
|
status: 'idle';
|
|
@@ -208,6 +227,11 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
|
|
|
208
227
|
* Prefer using the typed methods (completeModule, errorModule) when possible.
|
|
209
228
|
*/
|
|
210
229
|
send(event: OrchestratedFlowEvent): void;
|
|
230
|
+
/**
|
|
231
|
+
* True while a step runs that `completeModule()` would move past to
|
|
232
|
+
* another step. False on the last step, and on a step only its own machine
|
|
233
|
+
* can end, such as the identity search.
|
|
234
|
+
*/
|
|
211
235
|
readonly canNext: boolean;
|
|
212
236
|
getModuleConfig: <T = unknown>(moduleKey: string) => T | undefined;
|
|
213
237
|
isModuleEnabled: (moduleKey: string) => boolean;
|
|
@@ -265,7 +289,8 @@ declare function getNextRequiredWasmPipelines(state: Pick<OrchestratedFlowReadyS
|
|
|
265
289
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
266
290
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
267
291
|
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
268
|
-
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
292
|
+
* - Bare ID following TUTORIAL_ID is dropped (already merged), except in a
|
|
293
|
+
* flow with identity reuse, where it becomes an ID_VALIDATION step
|
|
269
294
|
*/
|
|
270
295
|
declare function normalizeFlowModules(flow: FlowForNormalization, options?: NormalizeFlowModulesOptions): FlowModule[];
|
|
271
296
|
//#endregion
|
|
@@ -325,6 +350,17 @@ declare const noOpFlowModuleMachine: StateMachine<MachineContext, AnyEventObject
|
|
|
325
350
|
};
|
|
326
351
|
}>;
|
|
327
352
|
//#endregion
|
|
353
|
+
//#region src/modules/flow/presets/flowPresets.d.ts
|
|
354
|
+
/**
|
|
355
|
+
* The key of the first module a flow runs once the presets it switches on
|
|
356
|
+
* have prepared it and laid it out, for preloading before the flow loads. It
|
|
357
|
+
* doesn't run the presets' checks, so it also answers for a raw dashboard
|
|
358
|
+
* flow or one that will fail to load. With the identity search hint from
|
|
359
|
+
* session start, for example, that is the module after the dropped contact
|
|
360
|
+
* steps.
|
|
361
|
+
*/
|
|
362
|
+
declare function getFirstFlowModuleKey(flow: Flow): string | undefined;
|
|
363
|
+
//#endregion
|
|
328
364
|
//#region src/modules/flow/flowActor.d.ts
|
|
329
365
|
type CreateFlowActorOptions = {
|
|
330
366
|
getFlow?: GetFlow;
|
|
@@ -462,4 +498,4 @@ interface ModuleLoader {
|
|
|
462
498
|
}
|
|
463
499
|
declare function createModuleLoader(registry: ModuleLoaderRegistry): ModuleLoader;
|
|
464
500
|
//#endregion
|
|
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 };
|
|
501
|
+
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, getFirstFlowModuleKey, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };
|