@incodetech/core 0.0.0-dev-20261112-1cc51a7f → 0.0.0-dev-20261113-09b7dcfc
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/{FaceDetectionProvider-CgDGTjSP.esm.js → FaceDetectionProvider-BZx7aJLX.esm.js} +7 -7
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{addressSearch-B_4JYKa-.esm.js → addressSearch-D55PKLQZ.esm.js} +2 -2
- 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-stfTw3jA.esm.js → apiError-C4LIX1nN.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-aZzFZo6V.d.ts} +2 -2
- package/dist/{authenticationManager-CqCEnFTr.esm.js → authenticationManager-iUDnVDfI.esm.js} +6 -5
- package/dist/{authenticationStateMachine-BC9YdPnd.esm.js → authenticationStateMachine-OMxG3ZsL.esm.js} +50 -18
- package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +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-CQ_jhm2m.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-Dxvi20JA.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-sjhjBNVr.d.ts → consentManager-B0YKqYtZ.d.ts} +4 -3
- 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/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-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BVTt7IgC.esm.js → curpValidationManager-BNO88CiC.esm.js} +5 -3
- package/dist/{curpValidationManager-DEqTUWdu.d.ts → curpValidationManager-BfF2Qa5b.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-FB_MRbZQ.esm.js → curpValidationStateMachine-DBhkpzBq.esm.js} +4 -4
- 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-C_kiB5Su.esm.js → deepsightLoader-DiQZjZv7.esm.js} +3 -3
- package/dist/{desktopCameraElection-wRaWOx9n.esm.js → desktopCameraElection-DaMy0Vba.esm.js} +2 -2
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-C06k0q05.esm.js → documentCaptureManager-B1Q3MDt8.esm.js} +5 -3
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +5 -4
- package/dist/{documentCaptureStateMachine-CWefaHZd.esm.js → documentCaptureStateMachine-DWi3M3oW.esm.js} +4 -4
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-h5MPWjin.esm.js → dynamicFormsManager-BqclXuKv.esm.js} +5 -3
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-DHYxYzjG.esm.js → dynamicFormsStateMachine-Ct6XYI5x.esm.js} +4 -4
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybManager-BmVqhhkU.esm.js → ekybManager-C_wKhFRD.esm.js} +5 -3
- package/dist/{ekybStateMachine-YO0KPd1M.esm.js → ekybStateMachine-BQpqmi7r.esm.js} +5 -5
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +1 -1
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-C4gkJ1w_.d.ts → ekycManager-BKVQazAb.d.ts} +3 -3
- package/dist/{ekycManager-BwotHwyk.esm.js → ekycManager-BojVwTr3.esm.js} +5 -3
- package/dist/{ekycPrefillManager-B2V4p26P.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +12 -11
- package/dist/{ekycPrefillManager-CRYUIqlp.esm.js → ekycPrefillManager-CG389N2i.esm.js} +3 -2
- package/dist/{ekycPrefillStateMachine-Dmkrvg1I.esm.js → ekycPrefillStateMachine-wS7GypBD.esm.js} +4 -4
- package/dist/{ekycStateMachine-DlnHMsxH.esm.js → ekycStateMachine-BQCS2Ycg.esm.js} +4 -4
- 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-CDtznBxL.esm.js → electronicSignatureManager-CaGAmlpU.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 +37 -37
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-ChWaEruS.esm.js → faceCaptureManagerFactory-CV1XzKz3.esm.js} +15 -4
- package/dist/{faceCaptureManagerFactory-BVwVGa3z.d.ts → faceCaptureManagerFactory-XkMOX4z5.d.ts} +14 -7
- package/dist/{faceCaptureSetup-Bs0WQKzW.esm.js → faceCaptureSetup-P8D8b1-l.esm.js} +44 -36
- package/dist/{faceMatchManager-BZtEw6bB.d.ts → faceMatchManager-C5b5WtcY.d.ts} +3 -2
- package/dist/{faceMatchManager-BXC8qPiB.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-PADe6f6s.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +4 -4
- package/dist/{feature-management-C_ytnikL.esm.js → feature-management-DEmEmIxm.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-Cekt5YpP.esm.js → flowCompletionService-MUfIimZL.esm.js} +2 -2
- package/dist/{flowServices-DLJtphp_.esm.js → flowServices-Dchn-pEb.esm.js} +372 -11
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DE1-SblN.esm.js → geolocationManager-BZFhMFsz.esm.js} +5 -3
- package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
- package/dist/{geolocationStateMachine-Bm2U4p7Z.esm.js → geolocationStateMachine-Cqj9IAJB.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 +2 -2
- package/dist/id-selfie-flow.d.ts +4 -3
- package/dist/id-selfie-flow.esm.js +9 -8
- 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/{idCaptureManager-CG8zbAp0.d.ts → idCaptureManager-BRYJflLy.d.ts} +7 -6
- package/dist/{idCaptureManager-D5stn8N4.esm.js → idCaptureManager-DeQP0_6m.esm.js} +10 -8
- package/dist/{idCaptureServices-8MYwxyJb.esm.js → idCaptureServices-BepRI-l9.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-C0AFxzEZ.esm.js → idCaptureStateMachine-BxIDRKpU.esm.js} +17 -15
- package/dist/{idOcrManager-DNbVTMIu.esm.js → idOcrManager-BmH5urT2.esm.js} +5 -3
- package/dist/{idOcrManager-BAf6O4OR.d.ts → idOcrManager-DflRx-_u.d.ts} +4 -3
- package/dist/{idOcrStateMachine-MAGnpWkb.esm.js → idOcrStateMachine-DE7g_xnk.esm.js} +3 -3
- 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-B1birg5X.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +84 -17
- 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-CSPOoqah.d.ts → index-B52Rq3En.d.ts} +2 -2
- package/dist/index-DHuAkTe0.d.ts +1 -0
- 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-CFvrGnjr.esm.js → kybChecksManager-KVkpto1E.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-BlMXnl5r.esm.js → kybChecksStateMachine-CNsiaAGS.esm.js} +4 -4
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-_FkvjyE9.d.ts → mandatoryConsentManager-B8gtexL8.d.ts} +5 -4
- 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/{multipartRecordingService-CCiRpByl.esm.js → multipartRecordingService-DNB2iD6-.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- 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-CxBoYKTo.esm.js} +2 -2
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Plfc5twh.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +6 -4
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
- package/dist/{redirectToMobileStateMachine-BEBc1fw8.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +3 -3
- package/dist/{runChildModule-rdHx1biy.esm.js → runChildModule-D8jzOCFA.esm.js} +8 -6
- package/dist/{sdkVersion-Bo7uHRx3.esm.js → sdkVersion-BNcFY8ZQ.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +12 -11
- package/dist/{selfieErrorUtils-DFLrLAi1.esm.js → selfieErrorUtils-6x6vE4yQ.esm.js} +1 -1
- package/dist/{selfieManager-DJkhtKaQ.esm.js → selfieManager-BmCLNhM7.esm.js} +6 -5
- package/dist/{selfieManager-DREuBhXZ.d.ts → selfieManager-KLP66c1d.d.ts} +2 -2
- package/dist/{selfieStateMachine-9mmzYPHi.esm.js → selfieStateMachine-03r4x2QV.esm.js} +5 -5
- package/dist/{session-DEB57Iqt.esm.js → session-ygBb3cvv.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-CycXUh4e.esm.js → sessionInitializer-ygSccs6s.esm.js} +7 -6
- package/dist/{setup-CgDSBcH-.esm.js → setup-CwJtE0qQ.esm.js} +8 -7
- 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/{trueSightService-BtAqGc7n.esm.js → trueSightService-AsG7-iPZ.esm.js} +6 -3
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +5 -3
- package/dist/{types-P9LzsfRo.d.ts → types-B4VMIIgN.d.ts} +1 -1
- package/dist/types-BBvW20-Z.d.ts +6 -0
- package/dist/{types-CgihAhT_.d.ts → types-BsWmnAUf.d.ts} +1 -1
- package/dist/{types-TisHEbBg.d.ts → types-C1IvtlAM.d.ts} +27 -0
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/{types-BqlZSoZ-.d.ts → types-DS_RiYko.d.ts} +1 -1
- package/dist/{events-C7h7oaTE.esm.js → types-DYYMdAGv.esm.js} +3 -298
- package/dist/{types-Cbm9J2yF.d.ts → types-Xp1E3FVT.d.ts} +1 -1
- package/dist/video-selfie.d.ts +5 -4
- package/dist/video-selfie.esm.js +11 -10
- package/dist/{videoSelfieCameraWarmer-CL79Y9WD.esm.js → videoSelfieCameraWarmer-DY0365B_.esm.js} +4 -4
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-4XE2QI5q.d.ts → videoSelfieStepDetector-Ret6gbJg.d.ts} +2 -2
- package/dist/wasm.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-CEOMKI63.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-Bj_hnoK5.esm.js → watchlistForBusinessStateMachine-CDb2mHbq.esm.js} +3 -3
- 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 +50 -42
- 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 +8 -3
- package/dist/Actor-DpTj5PFb.d.ts +0 -1
- package/dist/index-DpTj5PFb.d.ts +0 -1
- package/dist/types-kLsU6Jkt.d.ts +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
package/dist/{FaceDetectionProvider-CgDGTjSP.esm.js → FaceDetectionProvider-BZx7aJLX.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-CwJtE0qQ.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
|
|
4
|
-
import { t as api, u as endpoints } from "./api-
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
7
|
-
import { t as addDeviceStats } from "./stats-
|
|
4
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-AsG7-iPZ.esm.js";
|
|
6
|
+
import "./sessionInitializer-ygSccs6s.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
10
|
import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { n as saveProcessFaceMatch } from "./processFaceMatch-
|
|
12
|
+
import { n as saveProcessFaceMatch } from "./processFaceMatch-B_DkDTE5.esm.js";
|
|
13
13
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
14
14
|
/**
|
|
15
15
|
* On-device still-face capture is owned by the protected camera-cycle actor.
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DiQZjZv7.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
//#region ../infra/src/manager/Manager.ts
|
|
2
|
+
/**
|
|
3
|
+
* Creates a manager that wraps a state machine actor with a clean public API.
|
|
4
|
+
*
|
|
5
|
+
* The manager provides:
|
|
6
|
+
* - `getState()` - Returns the mapped public state
|
|
7
|
+
* - `subscribe()` - Listen to state changes
|
|
8
|
+
* - `stop()` - Stop the actor
|
|
9
|
+
* - Plus any custom API methods from `createApi`
|
|
10
|
+
*
|
|
11
|
+
* @template TMachine - The state machine type
|
|
12
|
+
* @template TMapState - Function type that maps raw snapshot to public state
|
|
13
|
+
* @template TCreateApi - Function type that creates the custom API
|
|
14
|
+
*
|
|
15
|
+
* @param options - Configuration options
|
|
16
|
+
* @param options.actor - The started actor instance
|
|
17
|
+
* @param options.mapState - Function to transform raw snapshot into public state
|
|
18
|
+
* @param options.createApi - Factory function to create custom API methods
|
|
19
|
+
*
|
|
20
|
+
* @returns Combined manager with base methods and custom API
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const manager = createManager({
|
|
25
|
+
* actor: createActor(myMachine).start(),
|
|
26
|
+
* mapState: (snapshot) => ({ status: snapshot.value }),
|
|
27
|
+
* createApi: ({ actor }) => ({
|
|
28
|
+
* doSomething() { actor.send({ type: 'DO_IT' }); }
|
|
29
|
+
* }),
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
function createManager(options) {
|
|
34
|
+
const { actor, mapState, createApi, instrumentation } = options;
|
|
35
|
+
function getSnapshot() {
|
|
36
|
+
return actor.getSnapshot();
|
|
37
|
+
}
|
|
38
|
+
function getState() {
|
|
39
|
+
return mapState(getSnapshot());
|
|
40
|
+
}
|
|
41
|
+
function subscribe(listener) {
|
|
42
|
+
const subscription = actor.subscribe(() => {
|
|
43
|
+
listener(getState());
|
|
44
|
+
});
|
|
45
|
+
return () => subscription.unsubscribe();
|
|
46
|
+
}
|
|
47
|
+
let currentScreenName = instrumentation?.getScreenName(getSnapshot());
|
|
48
|
+
let currentStateName = instrumentation?.getStateName?.(getSnapshot());
|
|
49
|
+
let currentErrorName = instrumentation?.getErrorName(getSnapshot());
|
|
50
|
+
let currentErrorPayload = instrumentation?.getErrorPayload(getSnapshot());
|
|
51
|
+
const api = createApi({
|
|
52
|
+
actor,
|
|
53
|
+
getSnapshot,
|
|
54
|
+
trackElementClicked: instrumentation ? (elementName, payload) => {
|
|
55
|
+
instrumentation.onElementClicked?.(instrumentation.moduleName, currentStateName ?? currentScreenName, {
|
|
56
|
+
element: elementName,
|
|
57
|
+
action: payload?.action,
|
|
58
|
+
metadata: payload?.metadata
|
|
59
|
+
});
|
|
60
|
+
} : void 0,
|
|
61
|
+
trackCaptureAttemptFinished: instrumentation ? (payload) => {
|
|
62
|
+
instrumentation.onCaptureAttemptFinished?.(instrumentation.moduleName, currentStateName ?? currentScreenName, { logs: payload.logs });
|
|
63
|
+
} : void 0
|
|
64
|
+
});
|
|
65
|
+
instrumentation?.onModuleOpened(instrumentation.moduleName);
|
|
66
|
+
if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, currentScreenName);
|
|
67
|
+
if (instrumentation && currentErrorName !== void 0) instrumentation.onErrorTriggered(instrumentation.moduleName, currentErrorName, currentScreenName, currentErrorPayload);
|
|
68
|
+
let lastVisible = instrumentation?.getInitialVisibility?.();
|
|
69
|
+
if (instrumentation && lastVisible === false) instrumentation.onBackground?.(instrumentation.moduleName, currentScreenName);
|
|
70
|
+
const stopVisibility = instrumentation?.subscribeVisibility?.((visible) => {
|
|
71
|
+
if (visible === lastVisible) return;
|
|
72
|
+
lastVisible = visible;
|
|
73
|
+
if (visible) instrumentation.onForeground?.(instrumentation.moduleName, currentScreenName);
|
|
74
|
+
else instrumentation.onBackground?.(instrumentation.moduleName, currentScreenName);
|
|
75
|
+
});
|
|
76
|
+
const actorSubscription = instrumentation ? actor.subscribe((snapshot) => {
|
|
77
|
+
const nextScreenName = instrumentation.getScreenName(snapshot);
|
|
78
|
+
const nextErrorName = instrumentation.getErrorName(snapshot);
|
|
79
|
+
const nextErrorPayload = instrumentation.getErrorPayload(snapshot);
|
|
80
|
+
const nextStateName = instrumentation.getStateName?.(snapshot);
|
|
81
|
+
if (currentScreenName === nextScreenName) {
|
|
82
|
+
const previousStateName = currentStateName;
|
|
83
|
+
currentStateName = nextStateName;
|
|
84
|
+
if (currentScreenName !== void 0 && nextStateName !== void 0 && nextStateName !== previousStateName) instrumentation.onStateChanged?.(instrumentation.moduleName, currentScreenName, nextStateName);
|
|
85
|
+
if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, currentScreenName, nextErrorPayload);
|
|
86
|
+
currentErrorName = nextErrorName;
|
|
87
|
+
currentErrorPayload = nextErrorPayload;
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
|
|
91
|
+
if (nextScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, nextScreenName);
|
|
92
|
+
currentScreenName = nextScreenName;
|
|
93
|
+
currentStateName = nextStateName;
|
|
94
|
+
if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, nextScreenName, nextErrorPayload);
|
|
95
|
+
currentErrorName = nextErrorName;
|
|
96
|
+
currentErrorPayload = nextErrorPayload;
|
|
97
|
+
}) : void 0;
|
|
98
|
+
let isStopped = false;
|
|
99
|
+
return Object.defineProperties({
|
|
100
|
+
getState,
|
|
101
|
+
subscribe,
|
|
102
|
+
stop() {
|
|
103
|
+
if (isStopped) return;
|
|
104
|
+
isStopped = true;
|
|
105
|
+
try {
|
|
106
|
+
if (actor.getSnapshot().status === "active") options.beforeStop?.();
|
|
107
|
+
} finally {
|
|
108
|
+
try {
|
|
109
|
+
actorSubscription?.unsubscribe();
|
|
110
|
+
stopVisibility?.();
|
|
111
|
+
if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
|
|
112
|
+
currentScreenName = void 0;
|
|
113
|
+
currentStateName = void 0;
|
|
114
|
+
currentErrorName = void 0;
|
|
115
|
+
currentErrorPayload = void 0;
|
|
116
|
+
instrumentation?.onModuleClosed(instrumentation.moduleName);
|
|
117
|
+
} finally {
|
|
118
|
+
actor.stop();
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}, Object.getOwnPropertyDescriptors(api));
|
|
123
|
+
}
|
|
124
|
+
//#endregion
|
|
125
|
+
export { createManager as t };
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare global {
|
|
3
|
-
interface SymbolConstructor {
|
|
4
|
-
readonly observable: symbol;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
1
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
8
2
|
//#region ../infra/src/manager/Manager.d.ts
|
|
9
3
|
/**
|
|
10
4
|
* Base manager interface providing state access, subscriptions, and lifecycle control.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { t as fromCallback } from "./xstate-actors.esm-
|
|
3
|
+
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
|
|
5
5
|
/**
|
|
6
6
|
* The rollout switch for form definitions (ENG-59781): one all-or-nothing
|
|
@@ -7,6 +7,9 @@ const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION
|
|
|
7
7
|
* "retryable" (the module's own concern): it only decides what the flow does
|
|
8
8
|
* *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
|
|
9
9
|
* `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
|
|
10
|
+
* In a Flow with identity reuse, face authentication ends with
|
|
11
|
+
* `NO_MORE_ATTEMPTS` only after a not-recognized attempt, and with a code that
|
|
12
|
+
* isn't listed here otherwise, so the flow fails.
|
|
10
13
|
* The face codes are literals (checked against `FaceErrorCode`), so modules
|
|
11
14
|
* without face capture do not bundle `FACE_ERROR_CODES`.
|
|
12
15
|
*/
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, i as ConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS } from "./types-D0gekt4U.js";
|
|
3
|
-
import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
3
|
+
import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-5tYz-a4o.js";
|
|
4
4
|
import "./electronic-signature.js";
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CaGAmlpU.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
|
|
2
2
|
//#region src/modules/antifraud/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for the antifraud module.
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DKNOi9-z.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -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/antifraud/antifraudStateMachine.d.ts
|
|
5
5
|
declare const antifraudMachine: any;
|
|
6
6
|
type AntifraudMachine = typeof antifraudMachine;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } 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 {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
|
|
5
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
8
|
function createAntifraudActor() {
|
|
7
9
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-CX9I2f3s.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
+
import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
5
5
|
async function processAntifraud(signal) {
|
|
6
6
|
const res = await api.get(endpoints.processAntifraud, { signal });
|
|
@@ -90,9 +90,9 @@ const endpoints = {
|
|
|
90
90
|
qrValidateUuid: "/omni/qr/validate",
|
|
91
91
|
addSignature: "/omni/add/signature",
|
|
92
92
|
addSignatureV2: "/omni/add/signature/v2",
|
|
93
|
-
identityReuseCandidates: "/omni/identity-reuse/candidates",
|
|
94
93
|
identityReuseDocuments: "/omni/identity-reuse/documents",
|
|
95
94
|
identityReuseSubmit: "/omni/identity-reuse/submit",
|
|
95
|
+
identitySearch: "/omni/identity-search",
|
|
96
96
|
processAntifraud: "/omni/process/antifraud",
|
|
97
97
|
processGlobalWatchlist: "/omni/process/global-watchlist",
|
|
98
98
|
processWatchlist: "/omni/process/watchlist",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
3
|
//#region src/internal/session/attemptCarry.ts
|
|
4
4
|
const carried = /* @__PURE__ */ new Map();
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-XkMOX4z5.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-BBvW20-Z.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-aZzFZo6V.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-OMxG3ZsL.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-iUDnVDfI.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-XkMOX4z5.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-CqCEnFTr.esm.js → authenticationManager-iUDnVDfI.esm.js}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-CwJtE0qQ.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
3
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
4
|
+
import "./events-CP3yOzAl.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CV1XzKz3.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-OMxG3ZsL.esm.js";
|
|
7
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
9
|
function createAuthenticationActor(options) {
|
|
9
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as assign } from "./xstate.esm-
|
|
2
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
1
|
+
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-P8D8b1-l.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BZx7aJLX.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DaMy0Vba.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
|
@@ -26,14 +26,29 @@ const AUTH_ERROR_MAP = {
|
|
|
26
26
|
HINT_NOT_PROVIDED: FACE_ERROR_CODES.HINT_NOT_PROVIDED
|
|
27
27
|
};
|
|
28
28
|
const NON_RETRYABLE_AUTH_ERROR_CODES = [FACE_ERROR_CODES.NONEXISTENT_CUSTOMER, FACE_ERROR_CODES.HINT_NOT_PROVIDED];
|
|
29
|
+
const IDENTITY_REUSE_NON_RETRYABLE_AUTH_ERROR_CODES = [...NON_RETRYABLE_AUTH_ERROR_CODES, FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED];
|
|
30
|
+
/**
|
|
31
|
+
* The code an authentication ends with once its attempts run out. Today's
|
|
32
|
+
* `NO_MORE_ATTEMPTS`, which a flow advances past. With `identityReuseOutcomes`
|
|
33
|
+
* that code means "not recognized" only: if no attempt came back
|
|
34
|
+
* USER_IS_NOT_RECOGNIZED, the module ends with the last attempt's code, which
|
|
35
|
+
* fails the flow.
|
|
36
|
+
*
|
|
37
|
+
* @param lastAttemptCode - Why the last attempt failed, when known. After a
|
|
38
|
+
* reconnect that carried a spent budget it is lost, and SERVER_ERROR stands in.
|
|
39
|
+
*/
|
|
40
|
+
const getExhaustedAuthErrorCode = ({ identityReuseOutcomes, userNotRecognized, lastAttemptCode }) => {
|
|
41
|
+
if (!identityReuseOutcomes || userNotRecognized || lastAttemptCode === FACE_ERROR_CODES.USER_IS_NOT_RECOGNIZED) return FACE_ERROR_CODES.NO_MORE_ATTEMPTS;
|
|
42
|
+
return lastAttemptCode ?? FACE_ERROR_CODES.SERVER;
|
|
43
|
+
};
|
|
29
44
|
const validateAuthUploadResponse = (response) => {
|
|
30
45
|
if (!response) return FACE_ERROR_CODES.SERVER;
|
|
31
46
|
if (response.overallStatus !== "PASS") return AUTH_ERROR_MAP[response.error?.name] ?? FACE_ERROR_CODES.SERVER;
|
|
32
47
|
};
|
|
33
|
-
const isTerminalAuthError = (response, attemptsRemaining) => {
|
|
34
|
-
if (!response) return false;
|
|
48
|
+
const isTerminalAuthError = (response, attemptsRemaining, nonRetryableCodes = NON_RETRYABLE_AUTH_ERROR_CODES) => {
|
|
49
|
+
if (!response || response.overallStatus === "PASS") return false;
|
|
35
50
|
const mappedError = AUTH_ERROR_MAP[response.error?.name];
|
|
36
|
-
if (mappedError &&
|
|
51
|
+
if (mappedError && nonRetryableCodes.includes(mappedError)) return true;
|
|
37
52
|
if (attemptsRemaining <= 0) return true;
|
|
38
53
|
return false;
|
|
39
54
|
};
|
|
@@ -44,6 +59,11 @@ const isTerminalAuthError = (response, attemptsRemaining) => {
|
|
|
44
59
|
* to the auth response shape. Centralizes the one cast the auth variant needs.
|
|
45
60
|
*/
|
|
46
61
|
const authUploadResponse = (context) => context.uploadResponse;
|
|
62
|
+
/**
|
|
63
|
+
* The step runs in a Flow with identity reuse, whose preset sets this field
|
|
64
|
+
* (see `FlowModuleConfig['AUTHENTICATION'].identityReuseOutcomes`).
|
|
65
|
+
*/
|
|
66
|
+
const usesIdentityReuseOutcomes = (context) => context.config.identityReuseOutcomes === true;
|
|
47
67
|
const authenticationMachine = faceCaptureMachine.provide({
|
|
48
68
|
actors: {
|
|
49
69
|
protectedFaceController: createDefaultProtectedFaceControllerActor({
|
|
@@ -53,16 +73,28 @@ const authenticationMachine = faceCaptureMachine.provide({
|
|
|
53
73
|
processFace: fromPromise(async () => ({}))
|
|
54
74
|
},
|
|
55
75
|
actions: {
|
|
56
|
-
setUploadErrorFromUploadValidation: assign(
|
|
57
|
-
if (isOnDeviceMode(context.config)) return;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
type: "FACE_AUTH_ERROR",
|
|
63
|
-
message: "No more attempts remaining",
|
|
64
|
-
moduleErrorCode: FACE_ERROR_CODES.NO_MORE_ATTEMPTS
|
|
76
|
+
setUploadErrorFromUploadValidation: assign(({ context }) => {
|
|
77
|
+
if (isOnDeviceMode(context.config)) return { uploadError: void 0 };
|
|
78
|
+
const uploadError = validateAuthUploadResponse(authUploadResponse(context)) ?? FACE_ERROR_CODES.SERVER;
|
|
79
|
+
return {
|
|
80
|
+
uploadError,
|
|
81
|
+
userNotRecognized: context.userNotRecognized === true || uploadError === FACE_ERROR_CODES.USER_IS_NOT_RECOGNIZED
|
|
65
82
|
};
|
|
83
|
+
}),
|
|
84
|
+
setTerminalError: assign({ error: ({ context }) => {
|
|
85
|
+
if (context.attemptsRemaining <= 0) {
|
|
86
|
+
const resp = authUploadResponse(context);
|
|
87
|
+
const responseCode = resp?.error?.name ? AUTH_ERROR_MAP[resp.error.name] : void 0;
|
|
88
|
+
return {
|
|
89
|
+
type: "FACE_AUTH_ERROR",
|
|
90
|
+
message: "No more attempts remaining",
|
|
91
|
+
moduleErrorCode: getExhaustedAuthErrorCode({
|
|
92
|
+
identityReuseOutcomes: usesIdentityReuseOutcomes(context),
|
|
93
|
+
userNotRecognized: context.userNotRecognized === true,
|
|
94
|
+
lastAttemptCode: context.uploadError ?? responseCode
|
|
95
|
+
})
|
|
96
|
+
};
|
|
97
|
+
}
|
|
66
98
|
const resp = authUploadResponse(context);
|
|
67
99
|
return {
|
|
68
100
|
type: "FACE_AUTH_ERROR",
|
|
@@ -78,7 +110,7 @@ const authenticationMachine = faceCaptureMachine.provide({
|
|
|
78
110
|
},
|
|
79
111
|
isTerminalUploadError: ({ context }) => {
|
|
80
112
|
if (isOnDeviceMode(context.config)) return false;
|
|
81
|
-
return isTerminalAuthError(authUploadResponse(context), context.attemptsRemaining);
|
|
113
|
+
return isTerminalAuthError(authUploadResponse(context), context.attemptsRemaining, usesIdentityReuseOutcomes(context) ? IDENTITY_REUSE_NON_RETRYABLE_AUTH_ERROR_CODES : NON_RETRYABLE_AUTH_ERROR_CODES);
|
|
82
114
|
},
|
|
83
115
|
isNoAttemptsTerminal: () => true
|
|
84
116
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as Snapshot, M as AnyActorSystem, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, m as EventObject, n as ActorLogic } from "./spawn-COZKetCS.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/declarations/src/actors/callback.d.ts
|
|
3
3
|
type CallbackSnapshot<TInput> = Snapshot<undefined> & {
|
|
4
4
|
input: TInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CertificateIssuanceActor, c as CertificateIssuanceType, d as PasswordValidations, f as MIN_PASSWORD_LENGTH, i as createCertificateIssuanceManagerFromActor, l as IssueCertificateResponse, m as REQUIREMENT_I18N_KEYS, n as CertificateIssuanceState, o as certificateIssuanceMachine, p as PASSWORD_VALIDATION_KEYS, r as createCertificateIssuanceManager, s as CertificateIssuanceConfig, t as CertificateIssuanceManager, u as PasswordValidationKey } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as CertificateIssuanceActor, c as CertificateIssuanceType, d as PasswordValidations, f as MIN_PASSWORD_LENGTH, i as createCertificateIssuanceManagerFromActor, l as IssueCertificateResponse, m as REQUIREMENT_I18N_KEYS, n as CertificateIssuanceState, o as certificateIssuanceMachine, p as PASSWORD_VALIDATION_KEYS, r as createCertificateIssuanceManager, s as CertificateIssuanceConfig, t as CertificateIssuanceManager, u as PasswordValidationKey } from "./certificateIssuanceManager-BcYhxO63.js";
|
|
2
2
|
//#region src/modules/certificate-issuance/certificateIssuanceUtils.d.ts
|
|
3
3
|
declare function emptyPasswordValidations(): PasswordValidations;
|
|
4
4
|
declare function validatePassword(value: string): PasswordValidations;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
-
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-_EQcjGE3.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-DaUklfNj.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
1
|
+
import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } 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
|
//#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
|
|
5
6
|
declare const MIN_PASSWORD_LENGTH = 8;
|
|
6
7
|
declare const PASSWORD_VALIDATION_KEYS: readonly ["length", "uppercase", "lowercase", "number"];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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 { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-_EQcjGE3.esm.js";
|
|
4
6
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
7
|
/**
|
|
6
8
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as getApi, r as getToken, 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-
|
|
1
|
+
import { n as getApi, r as getToken, 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
4
|
import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
|
5
5
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
|
6
6
|
function buildIssueCertificateUrl(baseURL) {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-DgiIcT9q.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BPocwpm2.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
1
|
+
import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } 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
|
//#region src/modules/consent/types.d.ts
|
|
5
6
|
type ConsentConfig = {
|
|
6
7
|
combinedConsents?: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } 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 {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-DgiIcT9q.esm.js";
|
|
5
7
|
//#region src/modules/consent/consentActor.ts
|
|
6
8
|
function createConsentActor(options) {
|
|
7
9
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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
4
|
//#region src/modules/consent/consentServices.ts
|
|
5
5
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
6
6
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, o as crossDocumentDataMatchMachine, r as createCrossDocumentDataMatchManager, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
|
|
2
2
|
//#region src/modules/cross-document-data-match/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for the cross-document data match module.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BfA29Aji.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -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 { 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
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
6
8
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
7
9
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
@@ -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/cross-document-data-match/crossDocumentDataMatchStateMachine.d.ts
|
|
5
5
|
declare const crossDocumentDataMatchMachine: any;
|
|
6
6
|
type CrossDocumentDataMatchMachine = typeof crossDocumentDataMatchMachine;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-BfF2Qa5b.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|