@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
package/dist/session.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./warmup-BO57syF6.js";
|
|
2
|
+
import { t as DeviceFingerprintResult } from "./types-Csh8vzPo.js";
|
|
2
3
|
import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
3
4
|
//#region src/internal/session/sessionService.d.ts
|
|
4
5
|
type CreateSessionOptions = {
|
|
5
6
|
/** The configuration/flow ID from the Incode dashboard */
|
|
6
7
|
configurationId: string;
|
|
7
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* External ID to associate with this session.
|
|
10
|
+
* @deprecated
|
|
11
|
+
*/
|
|
8
12
|
externalId?: string;
|
|
9
13
|
/** External customer ID */
|
|
10
14
|
externalCustomerId?: string;
|
|
@@ -12,15 +16,28 @@ type CreateSessionOptions = {
|
|
|
12
16
|
language?: string;
|
|
13
17
|
/** Custom fields to attach to the session */
|
|
14
18
|
customFields?: Record<string, unknown>;
|
|
15
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Onboarding-link UUID (the `uuid` of a desktop→mobile handoff link). When
|
|
21
|
+
* set, the session is continued through `POST /omni/session/continue`
|
|
22
|
+
* instead of started, and only `uuid` and `urlUuid` are sent.
|
|
23
|
+
*/
|
|
16
24
|
uuid?: string;
|
|
17
25
|
/** QR anti-phishing token for continuing a phishing-resistant session from a mobile link */
|
|
18
26
|
urlUuid?: string;
|
|
19
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Interview ID for continuing an existing interview.
|
|
29
|
+
* @deprecated
|
|
30
|
+
*/
|
|
20
31
|
interviewId?: string;
|
|
21
32
|
/** Hint forwarded to POST /omni/start as `loginHint` (e.g. from `auth_hint` URL param for identity search). */
|
|
22
33
|
loginHint?: string;
|
|
23
34
|
};
|
|
35
|
+
type ContinueSessionOptions = {
|
|
36
|
+
/** Onboarding-link UUID: the `uuid` of a desktop→mobile handoff link. */
|
|
37
|
+
uuid: string;
|
|
38
|
+
/** QR anti-phishing token from the link, already rotated by {@link refreshQrUrlUuid}. */
|
|
39
|
+
urlUuid?: string;
|
|
40
|
+
};
|
|
24
41
|
type Session = {
|
|
25
42
|
token: string;
|
|
26
43
|
interviewId: string;
|
|
@@ -49,6 +66,18 @@ declare const QR_VALIDATION_ERROR_CODES: {
|
|
|
49
66
|
readonly onboardingUrlAlreadyUsed: 4083;
|
|
50
67
|
};
|
|
51
68
|
type QrValidationErrorCode = (typeof QR_VALIDATION_ERROR_CODES)[keyof typeof QR_VALIDATION_ERROR_CODES];
|
|
69
|
+
/**
|
|
70
|
+
* Incode status codes `POST /omni/session/continue` rejects a handoff link
|
|
71
|
+
* with (as `IncodeApiError.status`). Trying again does not help: the same link
|
|
72
|
+
* fails the same way.
|
|
73
|
+
*/
|
|
74
|
+
declare const SESSION_CONTINUE_ERROR_CODES: {
|
|
75
|
+
readonly invalidUuid: 4026;
|
|
76
|
+
readonly invalidQrValidation: 4081;
|
|
77
|
+
readonly continuationPeriodExpired: 4086;
|
|
78
|
+
readonly continuationLimitReached: 4087;
|
|
79
|
+
readonly sessionNotActive: 4088;
|
|
80
|
+
};
|
|
52
81
|
type RefreshQrUrlUuidOptions = {
|
|
53
82
|
/** QR anti-phishing token from the incoming URL. When empty/undefined, the call is a no-op. */
|
|
54
83
|
urlUuid?: string;
|
|
@@ -68,7 +97,14 @@ declare class QrValidationError extends Error {
|
|
|
68
97
|
constructor(status: number, statusText: string);
|
|
69
98
|
}
|
|
70
99
|
/**
|
|
71
|
-
* Creates a new onboarding session
|
|
100
|
+
* Creates a new onboarding session, or continues an existing one when
|
|
101
|
+
* `options.uuid` is set (see {@link CreateSessionOptions.uuid}).
|
|
102
|
+
*
|
|
103
|
+
* The server allows a limited number of continues (a server setting, two by
|
|
104
|
+
* default), within 48 hours of the session start. Each successful call with a
|
|
105
|
+
* `uuid` spends one, a reload of the handoff link included. A refused continue
|
|
106
|
+
* throws an `IncodeApiError` whose `status` is one of
|
|
107
|
+
* {@link SESSION_CONTINUE_ERROR_CODES}.
|
|
72
108
|
*
|
|
73
109
|
* @param apiKey - The API key from the Incode dashboard
|
|
74
110
|
* @param options - Session creation options
|
|
@@ -85,6 +121,21 @@ declare class QrValidationError extends Error {
|
|
|
85
121
|
* ```
|
|
86
122
|
*/
|
|
87
123
|
declare function createSession(apiKey: string, options: CreateSessionOptions, signal?: AbortSignal): Promise<Session>;
|
|
124
|
+
/**
|
|
125
|
+
* Continues the session behind a desktop→mobile handoff link through
|
|
126
|
+
* `POST /omni/session/continue`. Only `uuid` and `urlUuid` are sent, and the
|
|
127
|
+
* response `sessionId` is returned as `interviewId`. `createSession` and
|
|
128
|
+
* `bootstrapSession` call it when `uuid` is set.
|
|
129
|
+
*
|
|
130
|
+
* Each successful call spends one continue. A refused continue throws an
|
|
131
|
+
* `IncodeApiError` whose `status` is one of {@link SESSION_CONTINUE_ERROR_CODES}.
|
|
132
|
+
*
|
|
133
|
+
* @param apiKey - The API key from the Incode dashboard
|
|
134
|
+
* @param options - The handoff link's `uuid` and `urlUuid`
|
|
135
|
+
* @param signal - Optional AbortSignal for request cancellation
|
|
136
|
+
* @returns The continued session with token
|
|
137
|
+
*/
|
|
138
|
+
declare function continueSession(apiKey: string, options: ContinueSessionOptions, signal?: AbortSignal): Promise<Session>;
|
|
88
139
|
/**
|
|
89
140
|
* Validates and rotates a QR anti-phishing URL UUID before creating a session.
|
|
90
141
|
*
|
|
@@ -115,8 +166,8 @@ declare function validateQrUuid(options: ValidateQrUuidOptions, signal?: AbortSi
|
|
|
115
166
|
declare function refreshQrUrlUuid(options: RefreshQrUrlUuidOptions, signal?: AbortSignal): Promise<string | undefined>;
|
|
116
167
|
/**
|
|
117
168
|
* Validates and rotates a QR anti-phishing `urlUuid` (when present), then
|
|
118
|
-
* creates a session bound to the refreshed value.
|
|
119
|
-
* behaves identically to {@link createSession}.
|
|
169
|
+
* creates (or, with `uuid`, continues) a session bound to the refreshed value.
|
|
170
|
+
* When `urlUuid` is absent, behaves identically to {@link createSession}.
|
|
120
171
|
*
|
|
121
172
|
* Use this when the host owns session creation and wants the SDK to handle
|
|
122
173
|
* phishing-resistance rotation in a single call. For raw control, compose
|
|
@@ -178,7 +229,17 @@ type FeatureName = 'VIDEO_SELFIE_V2' | 'USE_CLIENT_GLARE' | 'USE_OPEN_VIDU' | 'D
|
|
|
178
229
|
* unresolvable config all proceed (fail-open; the proxy's
|
|
179
230
|
* `truesight.api.enabled` is the environment authority).
|
|
180
231
|
*/
|
|
181
|
-
'TRUESIGHT_DIAGNOSTICS'
|
|
232
|
+
'TRUESIGHT_DIAGNOSTICS' |
|
|
233
|
+
/**
|
|
234
|
+
* Deepsight 2.0 capture metadata (ENG-61789). `enabled: true` makes the WASM
|
|
235
|
+
* emit the v2 capture-metadata document (ml-wasm-kit `smv(true)`); absent,
|
|
236
|
+
* `false` or an unresolvable config keep the v1 document (fail-closed). Read
|
|
237
|
+
* once per session in `sessionInitializer.ts` and latched on the WASM runtime,
|
|
238
|
+
* which replays it after every re-initialization. Delivered by provisioning;
|
|
239
|
+
* the key name is the SDK's assumption pending confirmation from the
|
|
240
|
+
* provisioning owners.
|
|
241
|
+
*/
|
|
242
|
+
'DEEPSIGHT_V2';
|
|
182
243
|
type FeatureConfig = {
|
|
183
244
|
enabled: boolean;
|
|
184
245
|
feature: FeatureName;
|
|
@@ -219,12 +280,19 @@ type SessionInitOptions = {
|
|
|
219
280
|
preloadFlow?: boolean;
|
|
220
281
|
/**
|
|
221
282
|
* `false` resolves as soon as the feature config is in, leaving the device
|
|
222
|
-
* fingerprint (
|
|
283
|
+
* fingerprint (IP lookup + submit) to finish in the background;
|
|
223
284
|
* `fingerprintSuccess`/`fingerprintResult` on the result are then not yet
|
|
224
285
|
* known — read them via `whenSessionFingerprintSettled()`. Default `true`
|
|
225
286
|
* keeps the historical contract: the promise settles after the fingerprint.
|
|
226
287
|
*/
|
|
227
288
|
awaitFingerprint?: boolean;
|
|
289
|
+
/**
|
|
290
|
+
* `false` loads no WASM runtime during activation, so the device
|
|
291
|
+
* fingerprint post goes out without waiting for a device hash and carries
|
|
292
|
+
* none. Without it, activation loads the runtime when a WASM config is
|
|
293
|
+
* known and `setup({ wasm: false })` wasn't called.
|
|
294
|
+
*/
|
|
295
|
+
wasm?: false;
|
|
228
296
|
};
|
|
229
297
|
type SessionInitResult = {
|
|
230
298
|
features: Features;
|
|
@@ -273,4 +341,22 @@ declare class SessionExpiredError extends Error {
|
|
|
273
341
|
/** One notification per subscription. Unsubscribe when its owner unmounts. */
|
|
274
342
|
declare function onSessionExpired(listener: (error: SessionExpiredError) => void): () => void;
|
|
275
343
|
//#endregion
|
|
276
|
-
|
|
344
|
+
//#region src/internal/session/connectivity.d.ts
|
|
345
|
+
/**
|
|
346
|
+
* Subscribes to connectivity loss and recovery. The listener receives `true`
|
|
347
|
+
* when the browser goes offline (or a request fails while it reports offline,
|
|
348
|
+
* before the `offline` event arrives), and
|
|
349
|
+
* `false` 1.5 s after the browser reports `online` (or on
|
|
350
|
+
* {@link resumeConnectivity}). Fires `true` at once if connectivity is already
|
|
351
|
+
* lost. Returns an unsubscribe function.
|
|
352
|
+
*/
|
|
353
|
+
declare function onConnectivityChange(listener: (lost: boolean) => void): () => void;
|
|
354
|
+
/** True while connectivity is lost. Starts the store, like a subscribe. */
|
|
355
|
+
declare function isConnectivityLost(): boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Ends the lost state at once, without the settle wait. Returns `false` and
|
|
358
|
+
* does nothing while the browser still reports offline.
|
|
359
|
+
*/
|
|
360
|
+
declare function resumeConnectivity(): boolean;
|
|
361
|
+
//#endregion
|
|
362
|
+
export { type BootstrapSessionOptions, type ContinueSessionOptions, type CreateSessionOptions, type DeviceFingerprintResult, type FinishStatus, type GetFinishStatusFn, IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, type QrValidationErrorCode, type QrValidationResult, type RefreshQrUrlUuidOptions, SESSION_CONTINUE_ERROR_CODES, type Session, SessionExpiredError, type SessionInitOptions, type SessionInitResult, type ValidateQrUuidOptions, bootstrapSession, continueSession, createSession, getFinishStatus, initializeSession, isConnectivityLost, onConnectivityChange, onSessionExpired, refreshQrUrlUuid, resumeConnectivity, validateQrUuid, whenSessionFingerprintSettled };
|
package/dist/session.esm.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-DsL7X2j9.esm.js";
|
|
4
|
+
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-DH-CH4Nz.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-CdSX4wsZ.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-CcCnPs_T.esm.js";
|
|
7
8
|
//#region src/internal/session/sessionExpired.ts
|
|
8
9
|
var SessionExpiredError = class extends Error {
|
|
9
10
|
constructor() {
|
|
@@ -27,4 +28,4 @@ function onSessionExpired(listener) {
|
|
|
27
28
|
return unsubscribe;
|
|
28
29
|
}
|
|
29
30
|
//#endregion
|
|
30
|
-
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, SessionExpiredError, bootstrapSession, createSession, getFinishStatus, initializeSession, onSessionExpired, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
|
|
31
|
+
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, SESSION_CONTINUE_ERROR_CODES, SessionExpiredError, bootstrapSession, continueSession, createSession, getFinishStatus, initializeSession, isConnectivityLost, onConnectivityChange, onSessionExpired, refreshQrUrlUuid, resumeConnectivity, validateQrUuid, whenSessionFingerprintSettled };
|