@incodetech/core 2.4.0 → 2.4.1-agentic.1
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/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-CLwrF5wD.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -744
- package/dist/{FaceDetectionProvider-DcPOC2gS.esm.js → FaceDetectionProvider-CAY43vSI.esm.js} +28 -64
- package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
- package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
- package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-Cqiaxydi.d.ts} +31 -4
- package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
- package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
- package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-C3xNfOsv.d.ts} +12 -3
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +75 -22
- package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
- package/dist/addressSearch-DzbE9Ogt.esm.js +254 -0
- package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-k-U-cL5m.esm.js} +1 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
- package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
- package/dist/{api-Cz90EHyu.esm.js → api-CpP4PS4S.esm.js} +8 -5
- package/dist/{apiError-DPwFas2f.esm.js → apiError-DH-CH4Nz.esm.js} +1 -1
- package/dist/attemptCarry-WOkfvFMw.esm.js +45 -0
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationManager-2Lr5V_7p.esm.js → authenticationManager-DjX0XDyH.esm.js} +5 -5
- package/dist/{authenticationStateMachine-C99B0GFP.esm.js → authenticationStateMachine-BMbZL8wm.esm.js} +3 -3
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-DS1oDiUq.esm.js} +12 -107
- package/dist/{browser-DlFgHpoC-DnyrCR8r.esm.js → browser-pQZA35G2-DtkAf6sn.esm.js} +161 -150
- package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
- 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-BfeMv2PU.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +2 -2
- package/dist/cnpj-Co1ottYN.esm.js +77 -0
- package/dist/connectivity-BCuEoQ-n.esm.js +114 -0
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-DMlSL6Ax.esm.js} +4 -3
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-bjfVXO7p.d.ts} +9 -2
- package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +20 -7
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-DNpC3wyf.esm.js} +3 -2
- package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +28 -20
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
- package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
- package/dist/{deepsightService-CKTYDIXD.esm.js → deepsightLoader-B7DEYoyY.esm.js} +40 -74
- package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +177 -40
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +37 -4
- package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +27 -19
- package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +105 -56
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
- package/dist/{dynamicFormsManager-DiKYjcF3.esm.js → dynamicFormsManager-DfqCEPg9.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DEI45xYW.esm.js → dynamicFormsStateMachine-USQMB-uV.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-8WLkNcqg.esm.js → ekybManager-CR8YSYux.esm.js} +2 -2
- package/dist/{ekybStateMachine-BLRT45Ex.esm.js → ekybStateMachine-kHwdz6hm.esm.js} +28 -44
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc.d.ts +4 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
- package/dist/ekycStateMachine-CoFCUJ2z.esm.js +7578 -0
- package/dist/ekycUtils-GRuMELYr.esm.js +1472 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CcIMOb_Y.esm.js → electronicSignatureManager-BCE3uA3z.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-ButFktRm.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +32 -20
- package/dist/{events-Du2A4-Qr.esm.js → events-ggpBBaZ8.esm.js} +2 -2
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +37 -22
- package/dist/extensibility.esm.js +36 -35
- package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +71 -66
- package/dist/{faceCaptureManagerFactory-BlGvXzXA.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js} +4 -4
- package/dist/{faceCaptureSetup-TY8RXc2N.esm.js → faceCaptureSetup-ZfiWg0fo.esm.js} +84 -457
- package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
- package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
- package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +40 -27
- package/dist/{feature-management-B5rR10uS.esm.js → feature-management-BbCIA4og.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-BZeklojR.esm.js} +4 -4
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +10 -10
- package/dist/flow.esm.js +10 -9
- package/dist/{flowCompletionService-BDI5QpfR.esm.js → flowCompletionService-CcCnPs_T.esm.js} +2 -2
- package/dist/{flowServices-roD0oIQL.esm.js → flowServices-Dmnc8Rye.esm.js} +69 -185
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-6e1i9UIR.d.ts} +15 -17
- package/dist/{geolocationManager-DnONzWL5.esm.js → geolocationManager-BJJ3m_I8.esm.js} +6 -8
- package/dist/{geolocationStateMachine-eWy_G4Os.esm.js → geolocationStateMachine-CTI3m4Ie.esm.js} +12 -8
- package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-AEbn3Afi.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 +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -16
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
- package/dist/{idCaptureManager-BrfYjCm_.esm.js → idCaptureManager-B3oR4RnA.esm.js} +64 -17
- package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +68 -5
- package/dist/{idCaptureServices-BSj6EH2l.esm.js → idCaptureServices-DK0QboqT.esm.js} +29 -198
- package/dist/{idCaptureStateMachine-dXKBYHQp.esm.js → idCaptureStateMachine-zzar9MPy.esm.js} +914 -536
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
- package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +2 -2
- package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-CKQ9QBZP.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/{index-BKOWUhxG.d.ts → index-DEfwds5y.d.ts} +55 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-BJ0GVHGr.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-DpGOp4Su.esm.js +89 -0
- package/dist/kybChecksStateMachine-B43NAnv7.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +4 -3
- package/dist/{mandatoryConsentManager-BQ43yndC.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +10 -3
- package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +20 -7
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
- package/dist/nationalIds-B91f_RuB.esm.js +99 -0
- package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
- package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-D190ATGD.esm.js} +11 -9
- package/dist/phone-number.d.ts +7 -1
- package/dist/phone-number.esm.js +15 -2
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-6nrJkvkG.d.ts} +5 -0
- package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
- package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
- package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +54 -82
- package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
- package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
- package/dist/processFaceMatch-Bst83HaS.esm.js +21 -0
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-CTko6Cjn.esm.js +397 -0
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +5 -4
- package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
- package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +65 -26
- package/dist/resolveForm-O7-r79VA.esm.js +351 -0
- package/dist/{runChildModule-BF_atgNx.esm.js → runChildModule-BffFArwl.esm.js} +3 -3
- package/dist/{sdkVersion-CsIbltJF.esm.js → sdkVersion-CDd_gaR7.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BY0-YbPW.esm.js → selfieErrorUtils-f4MgAG2A.esm.js} +1 -1
- package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieManager-vAAwzsHk.esm.js → selfieManager-hopelYEk.esm.js} +5 -5
- package/dist/{selfieStateMachine-BFVp3ElQ.esm.js → selfieStateMachine-DaZIVv3Q.esm.js} +3 -3
- package/dist/{session-CpwfoVdH.esm.js → session-CdSX4wsZ.esm.js} +77 -9
- package/dist/session.d.ts +96 -10
- package/dist/session.esm.js +7 -6
- package/dist/{sessionInitializer-BTjYgE-V.esm.js → sessionInitializer-DsL7X2j9.esm.js} +465 -206
- package/dist/{setup-YPKTUCY5.d.ts → setup-D9qt8YVU.d.ts} +2 -2
- package/dist/{setup-BInNAvQw.esm.js → setup-DDahygZs.esm.js} +44 -30
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
- package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
- package/dist/{stats-BEvexnKC.esm.js → stats-CatA2dea.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-xzRLIIMN.esm.js → tri-DG6priFa.esm.js} +142 -8
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-CzTNi5Q_.esm.js +3826 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-BMT-TubT.esm.js → trueSightService-GuLthUVK.esm.js} +19 -10
- package/dist/trust-graph.esm.js +1 -1
- package/dist/types-B9C8W01q.d.ts +34 -0
- package/dist/{types-yPH8lAH-.d.ts → types-BEVHQbbC.d.ts} +2 -2
- package/dist/{types-BAxn7MpY.d.ts → types-BPm1JSu7.d.ts} +123 -48
- package/dist/{types-0L-eFDmr.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-B6HsSzpk.d.ts → types-CRaFu6wS.d.ts} +6 -3
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-Ckir_BEs.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-CK8Jbjkp.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/types-CuMJ2M7D.d.ts +210 -0
- package/dist/{types-DUnFZ08M.d.ts → types-CyNndVAT.d.ts} +16 -8
- package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
- package/dist/video-selfie.d.ts +8 -8
- package/dist/video-selfie.esm.js +97 -22
- package/dist/{videoSelfieCameraWarmer-D1xA0u8y.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js} +18 -21
- package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +9 -4
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BElYWRh7.esm.js → warmup-DtB0DJpl.esm.js} +198 -27
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
- package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-BDrax6Eu.esm.js} +55 -26
- package/dist/watchlist-for-business.d.ts +2 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
- package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +37 -7
- package/dist/watchlistForBusinessStateMachine-DdaPl2PS.esm.js +166 -0
- package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
- package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
- package/dist/workflow.d.ts +5 -2
- package/dist/workflow.esm.js +60 -50
- package/package.json +12 -5
- package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
- package/dist/addressSearch-DPjIKJrX.esm.js +0 -563
- package/dist/deepsightLoader-DeNvGU3c.esm.js +0 -55
- package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
- package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
- package/dist/thumbmark.esm-CRc0cYvz.esm.js +0 -1242
- package/dist/tri.esm-BIjHhBJ2.esm.js +0 -2620
- package/dist/types-BvLo3U4u.d.ts +0 -134
- package/dist/types-zOgZqMni.d.ts +0 -6
- package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
- /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BCE3uA3z.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DH-CH4Nz.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { t as externalFetch } from "./externalFetch-
|
|
7
|
+
import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
|
8
8
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
9
9
|
async function fetchUnsignedDocuments(signal) {
|
|
10
10
|
try {
|
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine-KgHfDNvM.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-CGoE3CUe.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-KgHfDNvM.esm.js";
|
|
4
4
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
5
5
|
//#region src/modules/email/emailActor.ts
|
|
6
6
|
function createEmailActor(options) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
|
+
import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
|
|
5
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
6
7
|
//#region src/modules/email/emailServices.ts
|
|
7
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
|
@@ -162,26 +163,37 @@ const emailMachine = setup({
|
|
|
162
163
|
}).createMachine({
|
|
163
164
|
id: "email",
|
|
164
165
|
initial: "idle",
|
|
165
|
-
context: ({ input }) =>
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
166
|
+
context: ({ input, self }) => {
|
|
167
|
+
const carried = carryAttempts("email", self, (s) => ({ attemptsRemaining: s.matches("error") ? s.context.attemptsRemaining - 1 : s.context.attemptsRemaining }));
|
|
168
|
+
return {
|
|
169
|
+
config: input.config,
|
|
170
|
+
email: "",
|
|
171
|
+
isValid: false,
|
|
172
|
+
emailError: void 0,
|
|
173
|
+
validationErrors: void 0,
|
|
174
|
+
prefilledEmail: void 0,
|
|
175
|
+
error: void 0,
|
|
176
|
+
otpCode: "",
|
|
177
|
+
otpError: void 0,
|
|
178
|
+
otpValidationErrors: void 0,
|
|
179
|
+
attemptsRemaining: carried.attemptsRemaining ?? input.config.maxOtpAttempts ?? 3,
|
|
180
|
+
resendTimer: 0,
|
|
181
|
+
resendTimerActive: false
|
|
182
|
+
};
|
|
183
|
+
},
|
|
180
184
|
states: {
|
|
181
|
-
idle: { on: { LOAD: [
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
idle: { on: { LOAD: [
|
|
186
|
+
{
|
|
187
|
+
target: "error",
|
|
188
|
+
guard: ({ context }) => context.attemptsRemaining <= 0 && context.attemptsRemaining < (context.config.maxOtpAttempts ?? 3),
|
|
189
|
+
actions: assign({ error: () => "Maximum OTP attempts exceeded" })
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
target: "loadingPrefill",
|
|
193
|
+
guard: "hasPrefill"
|
|
194
|
+
},
|
|
195
|
+
{ target: "inputting" }
|
|
196
|
+
] } },
|
|
185
197
|
loadingPrefill: { invoke: {
|
|
186
198
|
id: "fetchEmail",
|
|
187
199
|
src: "fetchEmail",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as api } from "./api-
|
|
1
|
+
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
+
import { t as api } from "./api-CpP4PS4S.esm.js";
|
|
3
3
|
//#region src/internal/events/eventBus.ts
|
|
4
4
|
function createEventBus() {
|
|
5
5
|
const listeners = [];
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, y as addEvent } from "./events-
|
|
1
|
+
import { C as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, y as addEvent } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -5,40 +5,41 @@ import "./Actor-DpTj5PFb.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DV2ULUYS.js";
|
|
9
9
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
10
|
-
import { a as IStorageCapability } from "./IWasmUtilCapability-
|
|
11
|
-
import "./StreamCanvasCapture-
|
|
12
|
-
import {
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
11
|
+
import "./StreamCanvasCapture-C3xNfOsv.js";
|
|
12
|
+
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-CCA2D1Ah.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CWmh7aSY.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-bjfVXO7p.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
17
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
17
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-z8428oCM.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
21
|
-
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
22
|
-
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-
|
|
23
|
-
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CD5iQiUI.js";
|
|
21
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
|
|
22
|
+
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BLOkwmWO.js";
|
|
23
|
+
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-DlGIn9wA.js";
|
|
24
24
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
25
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
26
|
-
import { i as CaptureIdResponse } from "./types-
|
|
27
|
-
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-
|
|
25
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DmZFzs1-.js";
|
|
26
|
+
import { i as CaptureIdResponse } from "./types-BPm1JSu7.js";
|
|
27
|
+
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-6nrJkvkG.js";
|
|
28
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
|
|
29
|
-
import { i as WatchlistForBusinessState,
|
|
29
|
+
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-DX2AyM4Y.js";
|
|
30
30
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
33
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
34
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B88Sm5nd.js";
|
|
33
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BTdHlJ9D.js";
|
|
34
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
|
|
36
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
36
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-6e1i9UIR.js";
|
|
37
37
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-B82zOut8.js";
|
|
38
38
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
|
|
39
|
-
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-
|
|
39
|
+
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-Z4UDLwAv.js";
|
|
40
40
|
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-D0Iy7EKR.js";
|
|
41
|
-
import "./
|
|
41
|
+
import { c as KybChecksState, d as createKybChecksManagerFromActor, f as KybChecksActor, o as KybChecksManager } from "./kybChecksManager-CblEL97E.js";
|
|
42
|
+
import "./types-Csh8vzPo.js";
|
|
42
43
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
43
44
|
type AuthenticationUploadResponse = {
|
|
44
45
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -117,6 +118,20 @@ type FingerprintResult = {
|
|
|
117
118
|
declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
|
|
118
119
|
//#endregion
|
|
119
120
|
//#region src/internal/fingerprint/fingerprintApi.d.ts
|
|
121
|
+
/**
|
|
122
|
+
* Collects the device fingerprint: device info, the IP, and the Incode pid.
|
|
123
|
+
*
|
|
124
|
+
* `visitorId` is the current session's Incode pid, the device hash
|
|
125
|
+
* user-service returned for the session's PID signal, with the
|
|
126
|
+
* `algorithmName` and `algorithmVersion` it named. While that signal is in
|
|
127
|
+
* flight, this waits up to 3 s for it.
|
|
128
|
+
*
|
|
129
|
+
* Without a session (no token), with `setup({ fingerprint: false })`, or when
|
|
130
|
+
* no pid arrives within 3 s (WASM not loaded, or an older server), `visitorId`
|
|
131
|
+
* is `''` and `algorithmName` and `algorithmVersion` are absent.
|
|
132
|
+
*
|
|
133
|
+
* @param disableIpify - Skip the IP lookup. Defaults to the session's setting.
|
|
134
|
+
*/
|
|
120
135
|
declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
|
|
121
136
|
//#endregion
|
|
122
|
-
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type CertificateIssuanceActor, type CertificateIssuanceManager, type CertificateIssuanceState, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type CustomFieldsActor, type CustomFieldsManager, type CustomFieldsState, type CustomWatchlistActor, type CustomWatchlistManager, type CustomWatchlistState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type FiscalQrActor, type FiscalQrManager, type FiscalQrState, type GeolocationActor, type GeolocationManager, type GeolocationState, type GovernmentValidationActor, type GovernmentValidationManager, type GovernmentValidationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistForBusinessActor, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
137
|
+
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type CertificateIssuanceActor, type CertificateIssuanceManager, type CertificateIssuanceState, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type CustomFieldsActor, type CustomFieldsManager, type CustomFieldsState, type CustomWatchlistActor, type CustomWatchlistManager, type CustomWatchlistState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type FiscalQrActor, type FiscalQrManager, type FiscalQrState, type GeolocationActor, type GeolocationManager, type GeolocationState, type GovernmentValidationActor, type GovernmentValidationManager, type GovernmentValidationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type KybChecksActor, type KybChecksManager, type KybChecksState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistForBusinessActor, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import {
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DDahygZs.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
|
+
import { b as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-DsL7X2j9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
7
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
10
|
-
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-
|
|
11
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
12
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
13
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
14
|
-
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-
|
|
15
|
-
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
20
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
23
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
24
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
25
|
-
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-
|
|
26
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
27
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
28
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
29
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
30
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
31
|
-
import { n as createSignatureManagerFromActor } from "./signatureManager-
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
33
|
-
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-
|
|
34
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
35
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
36
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
37
|
-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BCE3uA3z.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-BObuHBjn.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-ZfiWg0fo.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DjX0XDyH.esm.js";
|
|
10
|
+
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C1nETQos.esm.js";
|
|
11
|
+
import { n as createConsentManagerFromActor } from "./consentManager-DMlSL6Ax.esm.js";
|
|
12
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BFTdiEDB.esm.js";
|
|
13
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DNpC3wyf.esm.js";
|
|
14
|
+
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CvI-pDT3.esm.js";
|
|
15
|
+
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-BuHtUb0y.esm.js";
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DLPqruXJ.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DfqCEPg9.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-CR8YSYux.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-DymCvmVB.esm.js";
|
|
20
|
+
import { n as createEmailManagerFromActor } from "./emailManager-CGoE3CUe.esm.js";
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-hopelYEk.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B3oR4RnA.esm.js";
|
|
23
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-Dy5tODCU.esm.js";
|
|
24
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CdpXzT4B.esm.js";
|
|
25
|
+
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-DqUpAEj_.esm.js";
|
|
26
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CcpovlfD.esm.js";
|
|
27
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-DgDbEeFZ.esm.js";
|
|
28
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-B4vCYslr.esm.js";
|
|
29
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-xyEZNOBa.esm.js";
|
|
30
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-CgGaT2NP.esm.js";
|
|
31
|
+
import { n as createSignatureManagerFromActor } from "./signatureManager-CwqjcxPg.esm.js";
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BJJ3m_I8.esm.js";
|
|
33
|
+
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CjChjZ3C.esm.js";
|
|
34
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DdnvYfgN.esm.js";
|
|
35
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-D2xKPjjQ.esm.js";
|
|
36
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-BZeklojR.esm.js";
|
|
37
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-DpGOp4Su.esm.js";
|
|
38
|
+
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
2
|
-
import {
|
|
2
|
+
import { i as stripUrlQueryAndFragment, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
3
3
|
//#region ../infra/src/http/externalFetch.ts
|
|
4
4
|
/**
|
|
5
5
|
* Lightweight fetch wrapper for requests to external URLs (e.g. presigned S3).
|
|
@@ -13,6 +13,9 @@ async function externalFetch(config) {
|
|
|
13
13
|
headers: config.headers,
|
|
14
14
|
body: config.body,
|
|
15
15
|
signal: config.signal
|
|
16
|
+
}).catch((error) => {
|
|
17
|
+
if (error instanceof TypeError) reportHttpError(new HttpRequestError(0, "Network Error", stripUrlQueryAndFragment(url), config.method, {}, null), config.headers);
|
|
18
|
+
throw error;
|
|
16
19
|
});
|
|
17
20
|
if (!res.ok) throw reportHttpError(new HttpRequestError(res.status, res.statusText, stripUrlQueryAndFragment(url), config.method, Object.fromEntries(res.headers), null), config.headers);
|
|
18
21
|
return res;
|
package/dist/face-match.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-Z4UDLwAv.js";
|
|
2
2
|
//#region src/modules/face-match/faceMatchStateMachine.d.ts
|
|
3
3
|
declare const faceMatchMachine: any;
|
|
4
4
|
//#endregion
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-CUvwiQi9.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-D2xKPjjQ.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts}
RENAMED
|
@@ -4,13 +4,13 @@ import "./Actor-DpTj5PFb.js";
|
|
|
4
4
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
5
5
|
import "./index-DpTj5PFb.js";
|
|
6
6
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
|
|
7
|
-
import { i as FlowModuleConfig } from "./types-
|
|
8
|
-
import "./IWasmUtilCapability-
|
|
7
|
+
import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
|
|
8
|
+
import "./IWasmUtilCapability-Cqiaxydi.js";
|
|
9
9
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
10
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
-
import { t as AuthenticationConfig } from "./types-
|
|
10
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-BEVHQbbC.js";
|
|
11
|
+
import { t as AuthenticationConfig } from "./types-J6g6iKe_.js";
|
|
12
12
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-Bq3OHo7P.js";
|
|
13
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
13
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
|
|
14
14
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
15
15
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
16
16
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -26,6 +26,72 @@ type CreateAuthenticationActorOptions = {
|
|
|
26
26
|
type AuthenticationActor = ActorRefFrom<AuthenticationMachine>;
|
|
27
27
|
declare function createAuthenticationActor(options: CreateAuthenticationActorOptions): AuthenticationActor;
|
|
28
28
|
//#endregion
|
|
29
|
+
//#region src/modules/selfie/types.d.ts
|
|
30
|
+
/**
|
|
31
|
+
* Public selfie configuration.
|
|
32
|
+
*
|
|
33
|
+
* For the captureOnly flow (delivering the captured image locally instead of
|
|
34
|
+
* uploading to Incode), use `createSelfieCaptureOnlyManager` with
|
|
35
|
+
* `SelfieCaptureOnlyConfig`.
|
|
36
|
+
*/
|
|
37
|
+
type SelfieConfig = FlowModuleConfig['SELFIE'] & BaseFaceCaptureConfig & {
|
|
38
|
+
/**
|
|
39
|
+
* When true, the selfie machine reaches `finished` right after the upload
|
|
40
|
+
* instead of invoking `/process/face`. Set by the Workflow engine, whose
|
|
41
|
+
* `FACE_MATCH` node owns face matching. Flow and standalone callers leave
|
|
42
|
+
* this unset so the selfie keeps processing the face itself.
|
|
43
|
+
*
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
skipProcessFace?: boolean;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Public selfie configuration for the captureOnly flow.
|
|
50
|
+
*
|
|
51
|
+
* captureOnly bypasses the Incode upload/processing pipeline, so this config
|
|
52
|
+
* intentionally exposes ONLY the options that affect the on-device capture
|
|
53
|
+
* experience: the tutorial/preview UX, attempts, timeout, and the on-device
|
|
54
|
+
* face validations. Backend-coupled flags of {@link SelfieConfig} (face
|
|
55
|
+
* recording, assisted onboarding, on-device results submission, …) don't apply
|
|
56
|
+
* here and are omitted.
|
|
57
|
+
*
|
|
58
|
+
* `onCapture` is the one required field — it receives the captured image
|
|
59
|
+
* locally (compile-time enforced so you can't ship a captureOnly flow with no
|
|
60
|
+
* destination for the payload). Everything else is optional and defaulted by
|
|
61
|
+
* the factory (see `DEFAULT_SELFIE_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
62
|
+
* about, e.g. `{ onCapture, captureAttempts: 5, validateBrightness: true }`.
|
|
63
|
+
*/
|
|
64
|
+
type SelfieCaptureOnlyConfig = Partial<Pick<SelfieConfig, 'showTutorial' | 'showPreview' | 'captureAttempts' | 'autoCaptureTimeout' | 'validateLenses' | 'validateFaceMask' | 'validateHeadCover' | 'validateClosedEyes' | 'validateBrightness'>> & {
|
|
65
|
+
onCapture: (response: FaceCaptureOnlyResponse) => void | Promise<void>;
|
|
66
|
+
};
|
|
67
|
+
type SelfieDependencies = FaceCaptureDependencies;
|
|
68
|
+
type SendFaceImageResponse = {
|
|
69
|
+
age: number;
|
|
70
|
+
confidence: number;
|
|
71
|
+
hasClosedEyes: boolean;
|
|
72
|
+
hasFaceMask: boolean;
|
|
73
|
+
hasHeadCover: boolean;
|
|
74
|
+
hasLenses: boolean;
|
|
75
|
+
isBright: boolean;
|
|
76
|
+
liveness: boolean;
|
|
77
|
+
imageBase64: string;
|
|
78
|
+
sessionStatus: string;
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
82
|
+
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
83
|
+
type ProcessFaceResponse = {
|
|
84
|
+
faceMatch: boolean;
|
|
85
|
+
confidence: number;
|
|
86
|
+
existingUser: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* `faceRecognition.overall.status === 'OK'` of the session score. Sent only
|
|
89
|
+
* when the API key blocks score retrieval with the session token.
|
|
90
|
+
*/
|
|
91
|
+
success?: boolean | null;
|
|
92
|
+
};
|
|
93
|
+
declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
|
|
94
|
+
//#endregion
|
|
29
95
|
//#region src/internal/faceCapture/recordingService.d.ts
|
|
30
96
|
type RecordingService = {
|
|
31
97
|
start(stream: MediaStream): Promise<void>;
|
|
@@ -104,67 +170,6 @@ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDet
|
|
|
104
170
|
private formatFaceCoordinates;
|
|
105
171
|
}
|
|
106
172
|
//#endregion
|
|
107
|
-
//#region src/modules/selfie/types.d.ts
|
|
108
|
-
/**
|
|
109
|
-
* Public selfie configuration.
|
|
110
|
-
*
|
|
111
|
-
* For the captureOnly flow (delivering the captured image locally instead of
|
|
112
|
-
* uploading to Incode), use `createSelfieCaptureOnlyManager` with
|
|
113
|
-
* `SelfieCaptureOnlyConfig`.
|
|
114
|
-
*/
|
|
115
|
-
type SelfieConfig = FlowModuleConfig['SELFIE'] & BaseFaceCaptureConfig & {
|
|
116
|
-
/**
|
|
117
|
-
* When true, the selfie machine reaches `finished` right after the upload
|
|
118
|
-
* instead of invoking `/process/face`. Set by the Workflow engine, whose
|
|
119
|
-
* `FACE_MATCH` node owns face matching. Flow and standalone callers leave
|
|
120
|
-
* this unset so the selfie keeps processing the face itself.
|
|
121
|
-
*
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
skipProcessFace?: boolean;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Public selfie configuration for the captureOnly flow.
|
|
128
|
-
*
|
|
129
|
-
* captureOnly bypasses the Incode upload/processing pipeline, so this config
|
|
130
|
-
* intentionally exposes ONLY the options that affect the on-device capture
|
|
131
|
-
* experience: the tutorial/preview UX, attempts, timeout, and the on-device
|
|
132
|
-
* face validations. Backend-coupled flags of {@link SelfieConfig} (face
|
|
133
|
-
* recording, assisted onboarding, on-device results submission, …) don't apply
|
|
134
|
-
* here and are omitted.
|
|
135
|
-
*
|
|
136
|
-
* `onCapture` is the one required field — it receives the captured image
|
|
137
|
-
* locally (compile-time enforced so you can't ship a captureOnly flow with no
|
|
138
|
-
* destination for the payload). Everything else is optional and defaulted by
|
|
139
|
-
* the factory (see `DEFAULT_SELFIE_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
140
|
-
* about, e.g. `{ onCapture, captureAttempts: 5, validateBrightness: true }`.
|
|
141
|
-
*/
|
|
142
|
-
type SelfieCaptureOnlyConfig = Partial<Pick<SelfieConfig, 'showTutorial' | 'showPreview' | 'captureAttempts' | 'autoCaptureTimeout' | 'validateLenses' | 'validateFaceMask' | 'validateHeadCover' | 'validateClosedEyes' | 'validateBrightness'>> & {
|
|
143
|
-
onCapture: (response: FaceCaptureOnlyResponse) => void | Promise<void>;
|
|
144
|
-
};
|
|
145
|
-
type SelfieDependencies = FaceCaptureDependencies;
|
|
146
|
-
type SendFaceImageResponse = {
|
|
147
|
-
age: number;
|
|
148
|
-
confidence: number;
|
|
149
|
-
hasClosedEyes: boolean;
|
|
150
|
-
hasFaceMask: boolean;
|
|
151
|
-
hasHeadCover: boolean;
|
|
152
|
-
hasLenses: boolean;
|
|
153
|
-
isBright: boolean;
|
|
154
|
-
liveness: boolean;
|
|
155
|
-
imageBase64: string;
|
|
156
|
-
sessionStatus: string;
|
|
157
|
-
};
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
160
|
-
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
161
|
-
type ProcessFaceResponse = {
|
|
162
|
-
faceMatch: boolean;
|
|
163
|
-
confidence: number;
|
|
164
|
-
existingUser: boolean;
|
|
165
|
-
};
|
|
166
|
-
declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
|
|
167
|
-
//#endregion
|
|
168
173
|
//#region src/internal/faceCapture/faceCaptureSetup.d.ts
|
|
169
174
|
type FaceCaptureConfig = BaseFaceCaptureConfig;
|
|
170
175
|
type FaceCaptureInput = {
|
package/dist/{faceCaptureManagerFactory-BlGvXzXA.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
5
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
6
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
5
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-ZfiWg0fo.esm.js";
|
|
6
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BtiR5pig.esm.js";
|
|
7
7
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
8
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
8
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D190ATGD.esm.js";
|
|
9
9
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
10
10
|
function getPermissionStatus(snapshot) {
|
|
11
11
|
if (!snapshot.matches("permissions")) return;
|