@incodetech/core 2.4.1-agentic → 2.4.1-agentic.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
- package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
- package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
- package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +11 -12
- package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
- package/dist/MultipartRecordingProvider-BfQPSgSO.esm.js +151 -0
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
- package/dist/WorkerEncoderRecordingProvider-CyCrQnZR.esm.js +80 -0
- package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-BSnbg4HO.esm.js} +4 -0
- package/dist/{apiError-CfuIvnUy.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
- package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-zQH85Elh.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
- package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
- package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-7aHaehwF.d.ts} +5 -5
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
- package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-D7ka2qOC.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
- package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
- package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +34 -29
- package/dist/definitionSource-BHNxbuiv.esm.js +184 -0
- package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +5 -5
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +3 -2
- package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-DDfviFg0.d.ts} +25 -4
- package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +67 -26
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +7 -3
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc-prefill.d.ts +17 -0
- package/dist/ekyc-prefill.esm.js +3 -0
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-q1fos6IY.d.ts} +2 -1
- package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
- package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
- package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
- package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
- package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-DBTczgGE.esm.js} +719 -596
- package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-Dcff8BOD.esm.js} +103 -14
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
- package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-C7h7oaTE.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +20 -18
- package/dist/extensibility.esm.js +37 -35
- package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
- package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +12 -403
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
- package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-CmKTG_T5.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +33 -18
- package/dist/flow.esm.js +82 -17
- package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Ca2vKNt2.esm.js} +84 -139
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-CeSDNgha.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +2 -2
- package/dist/id-ocr.esm.js +3 -19
- package/dist/id-selfie-flow.d.ts +3 -3
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +4 -4
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
- package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B5xqok0L.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CG8zbAp0.d.ts} +10 -8
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-BIF_7rub.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +50 -22
- package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-B5xeI2lg.d.ts} +3 -3
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
- package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
- package/dist/{index-DMDAk85K.d.ts → index-CSPOoqah.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-CnqwgKoV.esm.js +89 -0
- package/dist/kybChecksStateMachine-Be41K_NS.esm.js +719 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +20 -11
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-CCiRpByl.esm.js +407 -0
- package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
- package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-CZpORUWY.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-DEpESpz2.esm.js +87 -0
- package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-C-qD3p3N.esm.js} +3 -3
- package/dist/phoneServices-BdR1nmSO.esm.js +77 -0
- package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +20 -60
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-BVSCo0ac.esm.js +397 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +40 -22
- package/dist/resolveForm-f9PhUo9j.esm.js +143 -0
- package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-D0DWDKp9.esm.js} +4 -4
- package/dist/session.d.ts +2 -2
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-I92b2dmL.esm.js} +94 -24
- package/dist/{setup-CDAKwTr7.esm.js → setup-BpjzWqR1.esm.js} +25 -27
- package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-C2sigf9p.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +378 -0
- package/dist/step-up.esm.js +639 -0
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-BajQnjbf.esm.js → tri-DaUNvo-o.esm.js} +29 -34
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/types-B-PIc0en.d.ts +115 -0
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
- package/dist/{types-xEEWCx1j.d.ts → types-BqlZSoZ-.d.ts} +5 -5
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-e8fCsvvk.d.ts → types-Cbm9J2yF.d.ts} +1 -1
- package/dist/{types--3HDl2SF.d.ts → types-CgihAhT_.d.ts} +3 -3
- package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
- package/dist/{types-B2FK_wYb.d.ts → types-DEa3taWc.d.ts} +9 -41
- package/dist/{types-PTZHRhGX.d.ts → types-P9LzsfRo.d.ts} +3 -2
- package/dist/{types-DuD8TRJU.d.ts → types-TisHEbBg.d.ts} +12 -4
- package/dist/types-kLsU6Jkt.d.ts +6 -0
- package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
- package/dist/usStates-CwOQ2kAx.esm.js +209 -0
- package/dist/video-selfie.d.ts +5 -4
- package/dist/video-selfie.esm.js +9 -7
- package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +16 -14
- package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BkfxQZsC.esm.js → warmup-9iKKNNuW.esm.js} +69 -20
- package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
- package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-C3v3s_4H.esm.js} +34 -19
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
- package/dist/workflow.d.ts +226 -41
- package/dist/workflow.esm.js +163 -67
- package/package.json +21 -5
- package/dist/addressSearch-41sMcnJk.esm.js +0 -604
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
- package/dist/types-D9r3zRfY.d.ts +0 -6
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { r as getWasmStatus } from "./warmup-
|
|
2
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
3
|
-
import {
|
|
4
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
7
|
-
import {
|
|
1
|
+
import { r as getWasmStatus } from "./warmup-9iKKNNuW.esm.js";
|
|
2
|
+
import { r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-I92b2dmL.esm.js";
|
|
4
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CmKTG_T5.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-Bmwy1Fa7.esm.js";
|
|
6
|
+
import "./session-D0DWDKp9.esm.js";
|
|
7
|
+
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
8
|
+
import { a as prefetchStartInfo } from "./phoneServices-BdR1nmSO.esm.js";
|
|
8
9
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
10
|
function isPlainObject(value) {
|
|
10
11
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
@@ -21,132 +22,25 @@ function mergeDashboardConfig(dashboardConfig, localConfig) {
|
|
|
21
22
|
}
|
|
22
23
|
return result;
|
|
23
24
|
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region src/modules/ekyb/ekybConstants.ts
|
|
26
|
-
/**
|
|
27
|
-
* Countries available in all environments.
|
|
28
|
-
* Sorted alphabetically by display name.
|
|
29
|
-
*/
|
|
30
|
-
const SUPPORTED_COUNTRIES = [
|
|
31
|
-
"BR",
|
|
32
|
-
"CN",
|
|
33
|
-
"FR",
|
|
34
|
-
"DE",
|
|
35
|
-
"IL",
|
|
36
|
-
"IT",
|
|
37
|
-
"MX",
|
|
38
|
-
"ES",
|
|
39
|
-
"GB",
|
|
40
|
-
"US"
|
|
41
|
-
];
|
|
42
25
|
/**
|
|
43
|
-
*
|
|
26
|
+
* Merges `modulesConfig` over the dashboard config of each matching module.
|
|
27
|
+
* Runs on the normalized flow, so the keys are the step keys (`TUTORIAL_ID`
|
|
28
|
+
* is already `ID`).
|
|
44
29
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"KE",
|
|
48
|
-
"NG"
|
|
49
|
-
];
|
|
50
|
-
/**
|
|
51
|
-
* Union of all recognized country codes (prod + dev).
|
|
52
|
-
*/
|
|
53
|
-
const ALL_COUNTRIES = [...SUPPORTED_COUNTRIES, ...DEV_ONLY_COUNTRIES];
|
|
54
|
-
const ALL_COUNTRIES_SET = new Set(ALL_COUNTRIES);
|
|
55
|
-
function isSupportedCountry(code) {
|
|
56
|
-
return ALL_COUNTRIES_SET.has(code);
|
|
57
|
-
}
|
|
58
|
-
const FIELD_ORDER = [
|
|
59
|
-
"name-user_input",
|
|
60
|
-
"taxId-user_input",
|
|
61
|
-
"street-user_input",
|
|
62
|
-
"houseNo-user_input",
|
|
63
|
-
"address2-user_input",
|
|
64
|
-
"city-user_input",
|
|
65
|
-
"state-user_input",
|
|
66
|
-
"postalCode-user_input"
|
|
67
|
-
];
|
|
68
|
-
const FIELD_NAME_MAPPING = {
|
|
69
|
-
"name-user_input": "businessName",
|
|
70
|
-
"street-user_input": "street",
|
|
71
|
-
"houseNo-user_input": "houseNo",
|
|
72
|
-
"address2-user_input": "addressLine2",
|
|
73
|
-
"city-user_input": "city",
|
|
74
|
-
"state-user_input": "state",
|
|
75
|
-
"postalCode-user_input": "postalCode",
|
|
76
|
-
"taxId-user_input": "taxId"
|
|
77
|
-
};
|
|
78
|
-
const BUSINESS_NAME_OPTIONAL_COUNTRIES = [];
|
|
79
|
-
const ADDRESS_FULLY_OPTIONAL_COUNTRIES = [
|
|
80
|
-
"BR",
|
|
81
|
-
"GB",
|
|
82
|
-
"FR"
|
|
83
|
-
];
|
|
84
|
-
const ADDRESS_FIELDS = [
|
|
85
|
-
"street",
|
|
86
|
-
"houseNo",
|
|
87
|
-
"addressLine2",
|
|
88
|
-
"city",
|
|
89
|
-
"state",
|
|
90
|
-
"postalCode"
|
|
91
|
-
];
|
|
92
|
-
const ALL_COUNTRIES_OPTIONAL_FIELDS = ["ubo"];
|
|
93
|
-
const UBO_FIELD_LABELS = {
|
|
94
|
-
name: "ekyb.uboName",
|
|
95
|
-
surname: "ekyb.uboSurname"
|
|
96
|
-
};
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region src/modules/ekyb/ekybUtils.ts
|
|
99
|
-
/**
|
|
100
|
-
* Normalizes any supported eKYB config input into a manager-ready `EkybConfig`.
|
|
101
|
-
*
|
|
102
|
-
* Accepts either:
|
|
103
|
-
* - A manager-ready `EkybConfig` (with `flowId` or `verificationFields`) →
|
|
104
|
-
* returned unchanged.
|
|
105
|
-
* - A raw backend `EkybFlowConfig` (with `*Source` companions) → stripped to
|
|
106
|
-
* the four `check*` fields the manager consumes.
|
|
107
|
-
*
|
|
108
|
-
* Idempotent: `toEkybConfig(toEkybConfig(x))` equals `toEkybConfig(x)`.
|
|
109
|
-
*/
|
|
110
|
-
function toEkybConfig(config) {
|
|
111
|
-
if (config.flowId || config.verificationFields) return config;
|
|
30
|
+
function applyModulesConfig(flow, modulesConfig) {
|
|
31
|
+
if (!modulesConfig) return flow;
|
|
112
32
|
return {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
33
|
+
...flow,
|
|
34
|
+
flowModules: flow.flowModules.map((module) => {
|
|
35
|
+
const override = module.key === "TUTORIAL_ID" ? void 0 : modulesConfig[module.key];
|
|
36
|
+
if (!override) return module;
|
|
37
|
+
return {
|
|
38
|
+
...module,
|
|
39
|
+
configuration: mergeDashboardConfig(module.configuration, override)
|
|
40
|
+
};
|
|
41
|
+
})
|
|
117
42
|
};
|
|
118
43
|
}
|
|
119
|
-
/** Sorts modules based on a custom order; items not in order maintain relative position */
|
|
120
|
-
function sortModulesByOrder(modules, customOrder) {
|
|
121
|
-
return [...modules].sort((a, b) => {
|
|
122
|
-
const indexA = customOrder.indexOf(a);
|
|
123
|
-
const indexB = customOrder.indexOf(b);
|
|
124
|
-
if (indexA !== -1 && indexB !== -1) return indexA - indexB;
|
|
125
|
-
if (indexA !== -1) return -1;
|
|
126
|
-
if (indexB !== -1) return 1;
|
|
127
|
-
return 0;
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
/** Determines if a field is optional for the given country */
|
|
131
|
-
function isFieldOptional(fieldName, countryCode) {
|
|
132
|
-
if (ALL_COUNTRIES_OPTIONAL_FIELDS.includes(fieldName)) return true;
|
|
133
|
-
if (fieldName === "businessName") return BUSINESS_NAME_OPTIONAL_COUNTRIES.includes(countryCode);
|
|
134
|
-
if (fieldName === "addressLine2") return true;
|
|
135
|
-
if (ADDRESS_FIELDS.includes(fieldName)) return false;
|
|
136
|
-
if (fieldName === "taxId") return false;
|
|
137
|
-
return false;
|
|
138
|
-
}
|
|
139
|
-
/** Checks if at least one address field has a non-empty value */
|
|
140
|
-
function hasAtLeastOneAddressField(formData) {
|
|
141
|
-
return ADDRESS_FIELDS.some((field) => {
|
|
142
|
-
const value = formData[field];
|
|
143
|
-
return value !== void 0 && value.trim() !== "";
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
/** Returns false for countries where address is fully optional */
|
|
147
|
-
function requiresAddressValidation(countryCode) {
|
|
148
|
-
return !ADDRESS_FULLY_OPTIONAL_COUNTRIES.includes(countryCode);
|
|
149
|
-
}
|
|
150
44
|
//#endregion
|
|
151
45
|
//#region src/modules/video-selfie/videoSelfieSteps.ts
|
|
152
46
|
/** Steps that use the rear (environment) camera; everything else uses the front (user) camera. */
|
|
@@ -211,17 +105,32 @@ function enrichFlowModuleConfig(module, flow) {
|
|
|
211
105
|
};
|
|
212
106
|
return config;
|
|
213
107
|
}
|
|
108
|
+
let configConverters;
|
|
109
|
+
/**
|
|
110
|
+
* Loads the eKYC/eKYB config converters (the form-definitions catalog index)
|
|
111
|
+
* for a flow that has those steps, so other flows do not download them. The
|
|
112
|
+
* flow machine awaits it with the flow, before it reads any step config.
|
|
113
|
+
*/
|
|
114
|
+
async function loadFlowConfigConverters(flow) {
|
|
115
|
+
const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
|
|
116
|
+
if (configConverters || !needed) return;
|
|
117
|
+
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Dcff8BOD.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
|
|
118
|
+
configConverters = {
|
|
119
|
+
toEkycConfig: ekyc.toEkycConfig,
|
|
120
|
+
toEkybConfig: ekyb.toEkybConfig
|
|
121
|
+
};
|
|
122
|
+
}
|
|
214
123
|
function resolveFlowModuleConfig(module, flow) {
|
|
215
124
|
const config = enrichFlowModuleConfig(module, flow);
|
|
216
|
-
if (module.key === "EXTERNAL_VERIFICATION") return { ...toEkycConfig(module.configuration) };
|
|
217
|
-
if (module.key === "EKYB") return { ...toEkybConfig(module.configuration) };
|
|
125
|
+
if (module.key === "EXTERNAL_VERIFICATION") return { ...configConverters?.toEkycConfig(module.configuration) ?? module.configuration };
|
|
126
|
+
if (module.key === "EKYB") return { ...configConverters?.toEkybConfig(module.configuration) ?? module.configuration };
|
|
218
127
|
if (module.key === "FACE_MATCH" && (config.matchingType === void 0 || config.matchingType === "selfieVsId") && flow.flowModules.some((candidate) => candidate.key === "SECOND_ID")) return {
|
|
219
128
|
...config,
|
|
220
129
|
matchingType: "secondId"
|
|
221
130
|
};
|
|
222
131
|
if (module.key === "ID_OCR") return {
|
|
223
132
|
...config,
|
|
224
|
-
secondId: config.secondId ?? flow.flowModules.some((candidate) => candidate.key === "SECOND_ID"),
|
|
133
|
+
secondId: config.ocrDocument === void 0 && (config.secondId ?? flow.flowModules.some((candidate) => candidate.key === "SECOND_ID")),
|
|
225
134
|
flowId: flow.flowId
|
|
226
135
|
};
|
|
227
136
|
if (module.key === "SECOND_ID") return {
|
|
@@ -463,8 +372,18 @@ function toRegulationType(value) {
|
|
|
463
372
|
const normalized = value.trim().toLowerCase().replace(/[\s-]+/g, "_");
|
|
464
373
|
return REGULATION_TYPE_ALIASES[normalized] ?? "Other";
|
|
465
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* The consent decision rides on the device-fingerprint response. A flow that
|
|
377
|
+
* never checks for consent doesn't read that response, so its first module
|
|
378
|
+
* doesn't wait for the post, and the post keeps waiting for the device hash in
|
|
379
|
+
* the background. A flow that checks waits for the post, so the post stops
|
|
380
|
+
* waiting for the hash (`endDeviceHashWait`).
|
|
381
|
+
*/
|
|
382
|
+
function readsFingerprintResult(flow) {
|
|
383
|
+
return flow.mandatoryConsentCheck !== false;
|
|
384
|
+
}
|
|
466
385
|
function prependMandatoryConsent(flow) {
|
|
467
|
-
if (flow
|
|
386
|
+
if (!readsFingerprintResult(flow)) return flow;
|
|
468
387
|
const fingerprintResult = getSessionFingerprintResult();
|
|
469
388
|
if (!fingerprintResult?.showMandatoryConsent) return flow;
|
|
470
389
|
if (flow.flowModules.find((module) => module.key === "MANDATORY_CONSENT")) return flow;
|
|
@@ -486,12 +405,19 @@ function prependMandatoryConsent(flow) {
|
|
|
486
405
|
* everything). Returns the same object when nothing is injected.
|
|
487
406
|
*/
|
|
488
407
|
async function completeDeferredActivation(flow, signal) {
|
|
489
|
-
|
|
408
|
+
const awaitFingerprint = readsFingerprintResult(flow);
|
|
409
|
+
if (awaitFingerprint) endDeviceHashWait();
|
|
410
|
+
await initializeSession({
|
|
411
|
+
signal,
|
|
412
|
+
awaitFingerprint
|
|
413
|
+
}).catch(() => void 0);
|
|
490
414
|
throwIfAborted(signal);
|
|
491
415
|
await updateFeatureManagementUser({ customIDs: { flow_id: flow.flowId } });
|
|
492
416
|
throwIfAborted(signal);
|
|
493
|
-
|
|
494
|
-
|
|
417
|
+
if (awaitFingerprint) {
|
|
418
|
+
await whenSessionFingerprintSettled();
|
|
419
|
+
throwIfAborted(signal);
|
|
420
|
+
}
|
|
495
421
|
const withConsent = prependMandatoryConsent(flow);
|
|
496
422
|
if (withConsent === flow) return flow;
|
|
497
423
|
const [consent, ...rest] = withConsent.flowModules;
|
|
@@ -567,6 +493,7 @@ function preloadDashboardFlow(signal) {
|
|
|
567
493
|
const token = requireActiveToken();
|
|
568
494
|
if (dashboardFlowCache?.token === token) return waitForSharedPromise(dashboardFlowCache.promise, signal);
|
|
569
495
|
const request = fetchRawDashboardFlow();
|
|
496
|
+
request.then(warmFirstModule, () => void 0);
|
|
570
497
|
const cache = {
|
|
571
498
|
token,
|
|
572
499
|
promise: request
|
|
@@ -586,12 +513,19 @@ async function normalizeDashboardFlow(rawFlow, options, signal) {
|
|
|
586
513
|
throwIfAborted(signal);
|
|
587
514
|
let flow = rawFlow;
|
|
588
515
|
if (options.deferActivation !== true) {
|
|
589
|
-
|
|
516
|
+
const awaitFingerprint = readsFingerprintResult(rawFlow);
|
|
517
|
+
if (awaitFingerprint) endDeviceHashWait();
|
|
518
|
+
await initializeSession({
|
|
519
|
+
signal,
|
|
520
|
+
awaitFingerprint
|
|
521
|
+
}).catch(() => void 0);
|
|
590
522
|
throwIfAborted(signal);
|
|
591
523
|
await updateFeatureManagementUser({ customIDs: { flow_id: rawFlow.flowId } });
|
|
592
524
|
throwIfAborted(signal);
|
|
593
|
-
|
|
594
|
-
|
|
525
|
+
if (awaitFingerprint) {
|
|
526
|
+
await whenSessionFingerprintSettled();
|
|
527
|
+
throwIfAborted(signal);
|
|
528
|
+
}
|
|
595
529
|
flow = prependMandatoryConsent(rawFlow);
|
|
596
530
|
}
|
|
597
531
|
const normalizedModules = normalizeFlowModules(flow, options);
|
|
@@ -601,6 +535,16 @@ async function normalizeDashboardFlow(rawFlow, options, signal) {
|
|
|
601
535
|
flowModules: normalizedModules
|
|
602
536
|
};
|
|
603
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Starts what the first module requests before its first screen, while
|
|
540
|
+
* activation still runs, so that screen skips a second round trip.
|
|
541
|
+
*/
|
|
542
|
+
function warmFirstModule(flow) {
|
|
543
|
+
if (flow.flowModules[0]?.key === "PHONE") {
|
|
544
|
+
loadPhoneValidation();
|
|
545
|
+
prefetchStartInfo();
|
|
546
|
+
}
|
|
547
|
+
}
|
|
604
548
|
const getFlow = async (signal, options = {}) => {
|
|
605
549
|
throwIfAborted(signal);
|
|
606
550
|
const rawFlowPromise = preloadDashboardFlow(signal);
|
|
@@ -638,9 +582,10 @@ async function resolveDashboardModuleConfig(options) {
|
|
|
638
582
|
const occurrence = options.occurrence ?? 0;
|
|
639
583
|
const module = flow.flowModules.filter((module) => moduleKeys.includes(module.key))[occurrence];
|
|
640
584
|
if (!module) throw new Error(`Module "${options.moduleKey}" is not enabled in the active Flow`);
|
|
585
|
+
await loadFlowConfigConverters(flow);
|
|
641
586
|
const flowConfig = resolveFlowModuleConfig(module, flow);
|
|
642
587
|
if (flowPolicy.mergeConfig) return mergeDashboardConfig(flowConfig, options.config);
|
|
643
588
|
return flowConfig;
|
|
644
589
|
}
|
|
645
590
|
//#endregion
|
|
646
|
-
export {
|
|
591
|
+
export { resolveDashboardModuleConfig as a, getRequiredWasmPipelines as c, resolveFlowModuleConfig as d, facingModeForStep as f, mergeDashboardConfig as g, applyModulesConfig as h, resetDashboardFlowCache as i, loadFlowConfigConverters as l, videoSelfieWasmPipelines as m, getFlow as n, enrichFlowModuleConfig as o, resolveVideoSelfieSteps as p, preloadDashboardFlow as r, getNextRequiredWasmPipelines as s, completeDeferredActivation as t, normalizeFlowModules as u };
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-CiG32lIm.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-5rnTEOuw.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-5rnTEOuw.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-5rnTEOuw.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-Bmwy1Fa7.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
6
|
+
import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
9
9
|
const res = await api.post(endpoints.addGeolocation, {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
2
|
-
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-
|
|
1
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CeSDNgha.esm.js";
|
|
2
|
+
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-BivVZNVe.esm.js";
|
|
3
3
|
export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CeSDNgha.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
6
|
function createGovernmentValidationActor(options) {
|
|
7
7
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as StateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
-
import { t as EmptyConfig } from "./types-
|
|
3
|
+
import { t as EmptyConfig } from "./types-TisHEbBg.js";
|
|
4
4
|
//#region src/modules/home/types.d.ts
|
|
5
5
|
type HomeConfig = EmptyConfig;
|
|
6
6
|
//#endregion
|
package/dist/home.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
2
2
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/home/homeStateMachine.ts
|
|
4
4
|
const homeMachine = setup({ types: {
|
package/dist/http.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getApi, t as api } from "./api-
|
|
1
|
+
import { n as getApi, t as api } from "./api-BSnbg4HO.esm.js";
|
|
2
2
|
export { api, getApi };
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-
|
|
2
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-
|
|
1
|
+
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
2
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-B5xeI2lg.js";
|
|
3
3
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
4
4
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
5
5
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-
|
|
4
|
-
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
5
|
-
function formatCPF(value) {
|
|
6
|
-
const digits = value.replace(/\D/g, "").slice(0, 11);
|
|
7
|
-
const first = digits.slice(0, 3);
|
|
8
|
-
const second = digits.slice(3, 6);
|
|
9
|
-
const third = digits.slice(6, 9);
|
|
10
|
-
const verifier = digits.slice(9, 11);
|
|
11
|
-
if (digits.length > 9) return `${first}.${second}.${third}-${verifier}`;
|
|
12
|
-
if (digits.length > 6) return `${first}.${second}.${third}`;
|
|
13
|
-
if (digits.length > 3) return `${first}.${second}`;
|
|
14
|
-
return first;
|
|
15
|
-
}
|
|
16
|
-
function isValidCPF(value) {
|
|
17
|
-
return validateCPF(value);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
1
|
+
import { n as isValidCPF, t as formatCPF } from "./idOcrCpfUtils-Nfln1Psb.esm.js";
|
|
2
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-MAGnpWkb.esm.js";
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-DNbVTMIu.esm.js";
|
|
20
4
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, formatCPF, getOcrFields, idOcrStateMachine, isValidCPF };
|
package/dist/id-selfie-flow.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./warmup-
|
|
1
|
+
import "./warmup-BNhIuURi.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
5
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
6
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
7
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-
|
|
7
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-4XE2QI5q.js";
|
|
8
8
|
//#region src/modules/id-selfie-flow/types.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* The capture steps an ID + Selfie flow session can run, in flow order. A
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig,
|
|
4
|
+
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-Ca2vKNt2.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
8
|
-
import {
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-BSLpXAGx.esm.js";
|
|
8
|
+
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
11
|
-
import { _ as
|
|
10
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DBnOC28H.esm.js";
|
|
11
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
|
-
import {
|
|
14
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { r as getFinishStatus } from "./flowCompletionService-DvcH16XO.esm.js";
|
|
14
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CTOpqhov.esm.js";
|
|
15
|
+
import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
15
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
16
17
|
/** Default autocapture window for the selfie step. */
|
|
17
18
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
2
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
1
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-D5mBN2Ye.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BEAkamNm.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CG8zbAp0.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
|
-
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
6
|
-
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
5
|
+
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
|
+
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
|
|
7
7
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -34,4 +34,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
|
|
|
34
34
|
*/
|
|
35
35
|
declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
|
|
36
36
|
//#endregion
|
|
37
|
-
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdCountryDetectionDependencies, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
37
|
+
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdCountryDetectionDependencies, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, ID_QUALITY_BACKEND_VALIDATION_GATE, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B5xqok0L.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -12,4 +12,4 @@ const DEVICE_WALLET_ERROR_KEYS = {
|
|
|
12
12
|
WALLET_ERROR: "idv2.deviceWallet.errorDescription"
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
15
|
-
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
15
|
+
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, ID_QUALITY_BACKEND_VALIDATION_GATE, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { D as WASM_MODEL_FILES, P as resolveWasmSource, w as getBarcodeEnhanceModelUrl } from "./wasmWebClient-C3v3s_4H.esm.js";
|
|
2
|
+
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-9iKKNNuW.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
|
|
4
4
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/idCaptureWasmApi.ts
|
|
6
6
|
var IdCaptureWasmApi = class {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BpjzWqR1.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
7
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
8
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
8
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-lRIgn5Ic.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
10
|
+
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CZpORUWY.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
13
|
-
import {
|
|
14
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
12
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-B5cfgKvn.esm.js";
|
|
13
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BIF_7rub.esm.js";
|
|
14
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-C1-j4fsq.esm.js";
|
|
15
15
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
16
16
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
17
17
|
function isHoldingState(value) {
|
|
@@ -1131,6 +1131,7 @@ function createIdCaptureOnlyManager(options) {
|
|
|
1131
1131
|
* (see `createIdCaptureOnlyManager`): no backend, images go to `onCapture`.
|
|
1132
1132
|
*/
|
|
1133
1133
|
function createIdCaptureManager(options) {
|
|
1134
|
+
import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t).catch(() => void 0);
|
|
1134
1135
|
if (hasOnCaptureCallback(options.config)) return createIdCaptureOnlyManager({
|
|
1135
1136
|
config: pickIdCaptureOnlyConfig(options.config),
|
|
1136
1137
|
dependencies: options.dependencies
|