@incodetech/core 2.1.0-rc.2 → 2.1.0-rc.4
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/3dAvatarProvider-9zb-7MLE.esm.js +28214 -0
- package/dist/{BrowserStorageProvider-D5xc7Lqo.esm.js → BrowserStorageProvider-CBXGCHnK.esm.js} +1 -25
- package/dist/BrowserVisibilityObserverProvider-B04zvOXW.esm.js +25 -0
- package/dist/Face2DProvider-DqFSo9Ls.esm.js +824 -0
- package/dist/FaceDetectionProvider-BcPv1ruX.d.ts +119 -0
- package/dist/IVisibilityObserverCapability-BxPj7hsu.d.ts +12 -0
- package/dist/IWasmUtilCapability-Bf91iomn.d.ts +145 -0
- package/dist/{Manager-B2OEDYqf.d.ts → Manager-BfBOhrjh.d.ts} +1 -4
- package/dist/{OpenViduRecordingProvider-DF7A4ZNJ.esm.js → OpenViduRecordingProvider-DmA__QfK.esm.js} +1 -1
- package/dist/PrivacyLensProvider-CfmaSQy3.esm.js +339 -0
- package/dist/StateMachine-20ahmASR.d.ts +2 -0
- package/dist/{StreamCanvasCapture-Dr5n_iK1.esm.js → StreamCanvasCapture-CRk7c7u7.esm.js} +1 -1
- package/dist/StreamCanvasCapture-DHDxv6hH.d.ts +42 -0
- package/dist/{WasmUtilProvider-CIu373BZ.esm.js → WasmUtilProvider-ADG54T6M.esm.js} +16 -1
- package/dist/{addressSearch-BH96a3fq.esm.js → addressSearch-B9iJdbn8.esm.js} +4 -4
- package/dist/{ae-signature-CDEN8y-w.esm.js → ae-signature-Pp4oCAHD.esm.js} +1 -1
- package/dist/ae-signature.d.ts +4 -3
- package/dist/ae-signature.esm.js +9 -9
- package/dist/antifraud.d.ts +4 -3
- package/dist/antifraud.esm.js +6 -6
- package/dist/{antifraudManager-DZifA5zX.esm.js → antifraudManager-5KA84wtF.esm.js} +3 -3
- package/dist/{antifraudManager-B7WQTIdu.d.ts → antifraudManager-D-nGY1T9.d.ts} +2 -2
- package/dist/{antifraudStateMachine-DlKrK2hL.esm.js → antifraudStateMachine-BQVw46N5.esm.js} +3 -3
- package/dist/{api-DUZwyz0o.esm.js → api-DsbUi7TO.esm.js} +21 -2
- package/dist/authentication.d.ts +19 -12
- package/dist/authentication.esm.js +32 -27
- package/dist/{authenticationManager-Dve7mGLe.d.ts → authenticationManager-BnAY9lOO.d.ts} +3 -3
- package/dist/{authenticationManager-BM4LzyV7.esm.js → authenticationManager-BnPgoiL_.esm.js} +6 -6
- package/dist/{authenticationStateMachine-Chx3ySdT.esm.js → authenticationStateMachine-D50Q6Nvp.esm.js} +8 -8
- package/dist/avatar.d.ts +3 -0
- package/dist/avatar.esm.js +3 -0
- package/dist/{backCameraStream-iftkf3rd.esm.js → backCameraStream-POavVKz4.esm.js} +3 -3
- package/dist/{browser-DlFgHpoC-7tbRR1aR.esm.js → browser-DlFgHpoC-CR6x7ypG.esm.js} +1 -1
- package/dist/{browserSimulation-CGjpdNA1.esm.js → browserSimulation-DFpmweuc.esm.js} +153 -1216
- package/dist/camera-B0yWS33x.esm.js +79 -0
- package/dist/camera.d.ts +7 -1
- package/dist/camera.esm.js +4 -4
- package/dist/{StreamCanvasCapture-Ctgyx-oD.d.ts → canvas-pLrXU1id.d.ts} +1 -41
- package/dist/certificate-issuance.d.ts +31 -30
- package/dist/certificate-issuance.esm.js +7 -7
- package/dist/{certificateIssuanceStateMachine-CLNXtXaC.esm.js → certificateIssuanceStateMachine-CpewPqas.esm.js} +4 -4
- package/dist/clientLifecycle-Ct7h9uxx.esm.js +534 -0
- package/dist/consent.d.ts +4 -3
- package/dist/consent.esm.js +6 -6
- package/dist/{consentManager-BqUGU_YD.d.ts → consentManager-BuiDVAGn.d.ts} +52 -52
- package/dist/{consentManager-psDCeJ0E.esm.js → consentManager-DL93cPSU.esm.js} +3 -3
- package/dist/{consentStateMachine-DRsFFSHE.esm.js → consentStateMachine-DnqwsZ7o.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +4 -3
- package/dist/cpf-ocr.esm.js +6 -6
- package/dist/{cpfOcrManager-BxcgxvgO.esm.js → cpfOcrManager-BW8wlEU_.esm.js} +5 -5
- package/dist/{cpfOcrManager-B2u9hMzd.d.ts → cpfOcrManager-D_cnGuB7.d.ts} +19 -19
- package/dist/createFaceAvatar-CpmQJA8E.esm.js +46 -0
- package/dist/createFaceAvatar-DNMSIcRb.d.ts +401 -0
- package/dist/cross-document-data-match.d.ts +2 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +10 -7
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{curpValidationManager-Bt6CVD8b.d.ts → curpValidationManager-CJdVrCex.d.ts} +3 -3
- package/dist/{curpValidationManager-BgLDw0Ub.esm.js → curpValidationManager-u2FkvveY.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-BK_wJ48C.esm.js → curpValidationStateMachine-CeqDh2V5.esm.js} +3 -3
- package/dist/custom-fields.d.ts +3 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +2 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-Bi4P59HM.esm.js → customWatchlistStateMachine-dovMwTLv.esm.js} +3 -3
- package/dist/{deepsightLoader-BMmvk0X6.esm.js → deepsightLoader-CgK9h2KF.esm.js} +20 -14
- package/dist/{deepsightService-CEZrdiW0.esm.js → deepsightService-BsLpJT8o.esm.js} +13 -42
- package/dist/deepsightService-CbaqT7bP.d.ts +69 -0
- package/dist/device.d.ts +9 -1
- package/dist/device.esm.js +5 -5
- package/dist/document-capture.d.ts +179 -178
- package/dist/document-capture.esm.js +13 -13
- package/dist/document-upload.d.ts +48 -47
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-MpwpJO7t.esm.js → documentCaptureStateMachine-DK3nD2UZ.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +4 -192
- package/dist/dynamic-forms.esm.js +7 -160
- package/dist/dynamicFormsManager-B_4qA_CB.d.ts +239 -0
- package/dist/dynamicFormsManager-CNg60mlv.esm.js +167 -0
- package/dist/{dynamicFormsStateMachine-Do84A4uU.esm.js → dynamicFormsStateMachine-BfLLcxua.esm.js} +4 -4
- package/dist/ekyb.d.ts +9 -6
- package/dist/ekyb.esm.js +17 -17
- package/dist/{ekybStateMachine-nsuPOw3f.esm.js → ekybStateMachine-DJ9lWfdc.esm.js} +5 -5
- package/dist/ekyc.d.ts +4 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-DcynX0rj.esm.js → ekycStateMachine-BcPEEqMA.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +4 -3
- package/dist/electronic-signature.esm.js +8 -8
- package/dist/{electronicSignatureManager-B63aAuI5.esm.js → electronicSignatureManager-DESRgObX.esm.js} +49 -87
- package/dist/email.d.ts +5 -4
- package/dist/email.esm.js +8 -8
- package/dist/{emailManager-DxHjAe5u.esm.js → emailManager-C9O7k0-m.esm.js} +4 -4
- package/dist/{emailManager-C6D2u4mQ.d.ts → emailManager-CTOXMlVd.d.ts} +3 -3
- package/dist/{emailStateMachine-758f34gg.esm.js → emailStateMachine-Bk4pkysV.esm.js} +5 -5
- package/dist/{endpoints-BM2_j_IE.esm.js → endpoints-CwrFQfW7.esm.js} +13 -0
- package/dist/{events-DN-u67gb.esm.js → events-1wxZ97yf.esm.js} +3 -1
- package/dist/events.d.ts +2 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +37 -26
- package/dist/extensibility.esm.js +71 -59
- package/dist/{externalFetch-crimxkN9.esm.js → externalFetch-hvmz_npP.esm.js} +1 -1
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +5 -5
- package/dist/faceCaptureManagerFactory-DKBvmRxO.d.ts +400 -0
- package/dist/{faceCaptureManagerFactory-BNXZchWX.esm.js → faceCaptureManagerFactory-bJiqzRoj.esm.js} +24 -16
- package/dist/{faceCaptureSetup-Dqb09D24.esm.js → faceCaptureSetup-jYJNhw2K.esm.js} +97 -13
- package/dist/{faceMatchStateMachine-FikRaUZH.esm.js → faceMatchStateMachine-C6J09ygk.esm.js} +3 -3
- package/dist/field-comparison.d.ts +4 -3
- package/dist/field-comparison.esm.js +5 -5
- package/dist/{fieldComparisonManager-BXc6-DJv.d.ts → fieldComparisonManager-BOEgiOw_.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Dic0DVgl.esm.js → fieldComparisonManager-kk2RkWeb.esm.js} +4 -4
- package/dist/fiscal-qr.d.ts +5 -3
- package/dist/fiscal-qr.esm.js +12 -12
- package/dist/flow-events.d.ts +8 -6
- package/dist/flow.d.ts +21 -13
- package/dist/flow.esm.js +25 -19
- package/dist/{flowCompletionService-D_CsiDZM.esm.js → flowCompletionService-BDcDfyoA.esm.js} +3 -3
- package/dist/{flowCompletionService-CdGDKv0z.d.ts → flowCompletionService-nF7e8At0.d.ts} +2 -1
- package/dist/{flowServices-ar5DXv71.esm.js → flowServices-DTQUals9.esm.js} +24 -9
- package/dist/geolocation.d.ts +4 -127
- package/dist/geolocation.esm.js +7 -115
- package/dist/geolocationManager-B3lahU1a.d.ts +156 -0
- package/dist/geolocationManager-CVKUo6a4.esm.js +122 -0
- package/dist/{geolocationStateMachine-BWjrMGS_.esm.js → geolocationStateMachine-CdYh-pwi.esm.js} +4 -4
- package/dist/{getDeviceClass-rXKlXywy.esm.js → getDeviceClass-QxbJwsOO.esm.js} +1 -1
- package/dist/government-validation.d.ts +4 -3
- package/dist/government-validation.esm.js +7 -7
- package/dist/{governmentValidationStateMachine-BoF7U1of.esm.js → governmentValidationStateMachine-CjCs0_fG.esm.js} +5 -5
- package/dist/home.d.ts +18 -15
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +4 -625
- package/dist/id-ocr.esm.js +7 -84
- package/dist/id-verification.d.ts +28 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +16 -11
- package/dist/id.esm.js +36 -32
- package/dist/idCaptureDefaults-DJmo-U3D.esm.js +188 -0
- package/dist/{idCaptureManager-BvGUSN2e.d.ts → idCaptureManager-58R91WU3.d.ts} +40 -10
- package/dist/{idCaptureManager-Bm6Wm6Qv.esm.js → idCaptureManager-Cd7THjha.esm.js} +13 -11
- package/dist/{idCaptureStateMachine-D1YhOj6n.esm.js → idCaptureStateMachine-BFMIWmBu.esm.js} +395 -382
- package/dist/idOcrManager-CDIHkP-v.d.ts +641 -0
- package/dist/idOcrManager-CiEzYor8.esm.js +91 -0
- package/dist/{idOcrStateMachine-YMCDGplq.esm.js → idOcrStateMachine-CGeY01rX.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-Bo1IYuZH.esm.js → idVerificationStateMachine-B6Ccvut4.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +4 -3
- package/dist/identity-reuse.esm.js +6 -6
- package/dist/{identityReuseManager-DcWSvC-A.d.ts → identityReuseManager-BlJpsh9U.d.ts} +33 -33
- package/dist/{identityReuseManager-D0knIrOy.esm.js → identityReuseManager-CrbjKac7.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-CSQfZOqD.esm.js → identityReuseStateMachine-Do_M-z6z.esm.js} +3 -3
- package/dist/{index-DV134v62.d.ts → index-BgJYOyFO.d.ts} +175 -295
- package/dist/{index-BgxYUYuD.d.ts → index-CVgIGwUy.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +13 -13
- package/dist/{invokeOnCaptureCallback-Dzemudhk.esm.js → invokeOnCaptureCallback-gKRaO24Q.esm.js} +1 -1
- package/dist/{lib-7ZQ9BdKH.esm.js → lib-TRTXfron.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +10 -7
- package/dist/mandatory-consent.esm.js +6 -6
- package/dist/{mandatoryConsentManager-Tzl5Qd35.d.ts → mandatoryConsentManager-Da8pFx0L.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-Lon46nPQ.esm.js → mandatoryConsentManager-b1QKgIKi.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-D_dZ7IF6.esm.js → mandatoryConsentStateMachine-VPbrLLfo.esm.js} +3 -3
- package/dist/mediaRecorderOptions-BIn657lu.esm.js +42 -0
- package/dist/mediapipeShared-yKDdOf_V.esm.js +67 -0
- package/dist/{recordingService-CxMJP4tQ.esm.js → onDeviceFaceResults-BdfKrQrf.esm.js} +71 -389
- package/dist/{openviduLazy-oAXXI9w_.esm.js → openviduLazy-BXDnVFe2.esm.js} +2 -2
- package/dist/openviduLazy-lAZzee_g.esm.js +3 -0
- package/dist/{permissionGuards-D-Z-lgNj.esm.js → permissionGuards-CaZl9t7f.esm.js} +1 -1
- package/dist/{permissionServices-CPDboRoE.esm.js → permissionServices-D9lmzFYc.esm.js} +7 -4
- package/dist/personhood.d.ts +534 -0
- package/dist/personhood.esm.js +1500 -0
- package/dist/phone.d.ts +5 -4
- package/dist/phone.esm.js +8 -8
- package/dist/{phoneManager-TSq1Ief6.d.ts → phoneManager-CG1vTJiG.d.ts} +3 -3
- package/dist/{phoneManager-Blt4Oc2P.esm.js → phoneManager-DNTrIq-D.esm.js} +4 -4
- package/dist/{phoneStateMachine-W3c6Z8sj.esm.js → phoneStateMachine-MqNDf1Nh.esm.js} +5 -5
- package/dist/{qe-signature-CQLK6LKE.esm.js → qe-signature-CVnJ4RaW.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -3
- package/dist/qe-signature.esm.js +9 -9
- package/dist/recordingService-B5QNBYnv.esm.js +347 -0
- package/dist/redirect-to-mobile.d.ts +4 -3
- package/dist/redirect-to-mobile.esm.js +8 -8
- package/dist/{redirectToMobileManager-yOHAmwg-.d.ts → redirectToMobileManager-D7U9k-Xs.d.ts} +2 -2
- package/dist/{redirectToMobileManager-DCvpKdkD.esm.js → redirectToMobileManager-DuD03ggR.esm.js} +4 -4
- package/dist/{redirectToMobileStateMachine-DC9z4Vfu.esm.js → redirectToMobileStateMachine-WVg-n2is.esm.js} +10 -12
- package/dist/{runChildModule-C9G0wfVC.esm.js → runChildModule-XHWWqs39.esm.js} +3 -3
- package/dist/selfie.d.ts +19 -12
- package/dist/selfie.esm.js +33 -28
- package/dist/{selfieManager-imY2dAcH.d.ts → selfieManager-CXmUuCSV.d.ts} +3 -3
- package/dist/{selfieManager-BRL6c_Oc.esm.js → selfieManager-Cw29cKuL.esm.js} +6 -6
- package/dist/{selfieStateMachine-D2Q0uwDK.esm.js → selfieStateMachine-DUruCKBS.esm.js} +4 -4
- package/dist/{session-Be_IA1e0.esm.js → session-BWCjVIr6.esm.js} +3 -3
- package/dist/session.d.ts +7 -5
- package/dist/session.esm.js +13 -14
- package/dist/{sessionInitializer-CaiGA8GP.esm.js → sessionInitializer-CzPdr0Q1.esm.js} +73 -10
- package/dist/{setup-BJZAkajt.d.ts → setup-BbAMk9Rg.d.ts} +31 -3
- package/dist/setup-hKBHwm6K.esm.js +564 -0
- package/dist/signature.d.ts +3 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-DAxXmMrk.esm.js → signatureStateMachine-iT9BhNUf.esm.js} +3 -3
- package/dist/{stats-DntyIiGr.esm.js → stats-BVy52wLy.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/thumbmarkAdapter-CVyiGp0-.esm.js +1194 -0
- package/dist/{tri-CtxWthxz.esm.js → tri-CFBjqf5E.esm.js} +12 -2
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-CrWAulDi.esm.js → tri.esm-BzYyqlPa.esm.js} +27 -23
- package/dist/tri.esm.js +2 -2
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-Z9wv19v2.d.ts → types-B_YCuHZx.d.ts} +1 -1
- package/dist/{types-DpTWgfKY.d.ts → types-CRPns2d9.d.ts} +1 -1
- package/dist/{types-Dv-9WPJX.d.ts → types-Cyi3gwPK.d.ts} +39 -3
- package/dist/types-DWmubDie.d.ts +132 -0
- package/dist/video-DXf5H9rY.esm.js +36 -0
- package/dist/video-selfie.d.ts +351 -0
- package/dist/video-selfie.esm.js +1506 -0
- package/dist/videoSelfieSteps-C6E7mKFt.esm.js +58 -0
- package/dist/{warmup--6HA3yUR.d.ts → warmup-DzJ0I4Kv.d.ts} +5 -1
- package/dist/wasm.d.ts +4 -4
- package/dist/wasm.esm.js +14 -14
- package/dist/watchlist-for-business.d.ts +2 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +2 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-DtefJb-D.esm.js → watchlistForBusinessStateMachine-CyhTEi3N.esm.js} +3 -3
- package/dist/{watchlistStateMachine-B0aIS2_n.esm.js → watchlistStateMachine-CgKG-KSf.esm.js} +3 -3
- package/dist/workflow.d.ts +232 -100
- package/dist/workflow.esm.js +120 -79
- package/dist/{xstate.esm-Dkm1jy5u.esm.js → xstate.esm-nY3M5UYm.esm.js} +41 -1
- package/package.json +18 -3
- package/dist/IpifyProvider-oZf7Ke1O.esm.js +0 -167
- package/dist/camera-x4LjGTjZ.esm.js +0 -22
- package/dist/deepsightService-ByNKY5Jv.d.ts +0 -276
- package/dist/faceCaptureManagerFactory-CL-7T_vH.d.ts +0 -731
- package/dist/getBrowser-Dv8LZyHE.esm.js +0 -8
- package/dist/openviduLazy-B_s6jnEk.esm.js +0 -3
- package/dist/setup-C7tintPc.esm.js +0 -1064
- /package/dist/{Actor-fIPLXfoi.d.ts → Actor-DYjXVMQm.d.ts} +0 -0
- /package/dist/{BrowserTimerProvider-BVgutW_b.esm.js → BrowserTimerProvider-CHloo0eQ.esm.js} +0 -0
- /package/dist/{ITimerCapability-BvH0pDwp.esm.js → ITimerCapability-G7lQg-be.esm.js} +0 -0
- /package/dist/{MotionSensorProvider-C9fPAJdS.esm.js → MotionSensorProvider-BkHKMCPE.esm.js} +0 -0
- /package/dist/{apiError-D-GTvFrH.esm.js → apiError-DkOXfFBu.esm.js} +0 -0
- /package/dist/{camera-biGPWlmx.d.ts → camera-CWO06Lu5.d.ts} +0 -0
- /package/dist/{canvas-7uX2izHb.esm.js → canvas-DsJa51yU.esm.js} +0 -0
- /package/dist/{chunk-BK1xu56N.esm.js → chunk-CIKcdghV.esm.js} +0 -0
- /package/dist/{cpf-xBg-DFNn.esm.js → cpf-B9htWzDt.esm.js} +0 -0
- /package/dist/{dateUtils-8dCcuArE.esm.js → dateUtils-PXB_WRYL.esm.js} +0 -0
- /package/dist/{getDeviceClass-C0zrM97a.esm.js → getDeviceClass-BdgmyOOu.esm.js} +0 -0
- /package/dist/{http-CfVTgMfU.esm.js → http-CBbBcnBa.esm.js} +0 -0
- /package/dist/{index-52_qi4bd.d.ts → index-CCG6MnCO.d.ts} +0 -0
- /package/dist/{otp-BHJnjEEc.d.ts → otp-CETbFjXH.d.ts} +0 -0
- /package/dist/{otp-D87RTwrx.esm.js → otp-DepQPUIA.esm.js} +0 -0
- /package/dist/{platform-BfoqeM61.esm.js → platform-BoeUeUrV.esm.js} +0 -0
- /package/dist/{types-F0IXbaCB.d.ts → types-BOiKESZY.d.ts} +0 -0
- /package/dist/{types-DYZja-k9.d.ts → types-CTnn7kUK.d.ts} +0 -0
- /package/dist/{types-BdVOWGGW.esm.js → types-Db2ooXIu.esm.js} +0 -0
- /package/dist/{urlUtils-8RNHyW3x.esm.js → urlUtils-CpiYwn7w.esm.js} +0 -0
package/dist/selfie.esm.js
CHANGED
|
@@ -1,31 +1,36 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./stats-
|
|
6
|
-
import "./browserSimulation-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-
|
|
10
|
-
import { t as
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
|
+
import "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./events-1wxZ97yf.esm.js";
|
|
4
|
+
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
|
+
import "./stats-BVy52wLy.esm.js";
|
|
6
|
+
import "./browserSimulation-DFpmweuc.esm.js";
|
|
7
|
+
import "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
8
|
+
import "./platform-BoeUeUrV.esm.js";
|
|
9
|
+
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
10
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-jYJNhw2K.esm.js";
|
|
11
|
+
import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
12
|
+
import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
13
|
+
import "./permissionServices-D9lmzFYc.esm.js";
|
|
14
|
+
import "./camera-B0yWS33x.esm.js";
|
|
15
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-bJiqzRoj.esm.js";
|
|
16
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
17
|
+
import { p as processFace } from "./onDeviceFaceResults-BdfKrQrf.esm.js";
|
|
18
|
+
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
19
|
+
import "./canvas-DsJa51yU.esm.js";
|
|
20
|
+
import "./backCameraStream-POavVKz4.esm.js";
|
|
21
|
+
import "./video-DXf5H9rY.esm.js";
|
|
22
|
+
import "./getDeviceClass-BdgmyOOu.esm.js";
|
|
23
|
+
import "./deepsightService-BsLpJT8o.esm.js";
|
|
24
|
+
import "./getDeviceClass-QxbJwsOO.esm.js";
|
|
25
|
+
import "./types-Db2ooXIu.esm.js";
|
|
26
|
+
import "./createFaceAvatar-CpmQJA8E.esm.js";
|
|
27
|
+
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
28
|
+
import "./permissionGuards-CaZl9t7f.esm.js";
|
|
29
|
+
import "./recordingService-B5QNBYnv.esm.js";
|
|
30
|
+
import "./mediaRecorderOptions-BIn657lu.esm.js";
|
|
31
|
+
import { t as selfieMachine } from "./selfieStateMachine-DUruCKBS.esm.js";
|
|
32
|
+
import { t as createSelfieManager } from "./selfieManager-Cw29cKuL.esm.js";
|
|
33
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-gKRaO24Q.esm.js";
|
|
29
34
|
|
|
30
35
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
31
36
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import {
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
2
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BxPj7hsu.js";
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-DKBvmRxO.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
6
6
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./events-1wxZ97yf.esm.js";
|
|
3
|
+
import { s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-bJiqzRoj.esm.js";
|
|
5
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DUruCKBS.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as fromPromise, r as assign } from "./xstate.esm-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
1
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
2
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-jYJNhw2K.esm.js";
|
|
3
|
+
import { i as prepareOnDeviceFaceUpload, m as uploadSelfie, n as isOnDeviceMode, p as processFace, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BdfKrQrf.esm.js";
|
|
4
|
+
import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
7
7
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as getApi } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { n as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { n as getApi } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
|
+
import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
package/dist/session.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import "./camera-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./types-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import "./camera-CWO06Lu5.js";
|
|
2
|
+
import "./types-B_YCuHZx.js";
|
|
3
|
+
import "./types-CTnn7kUK.js";
|
|
4
|
+
import "./canvas-pLrXU1id.js";
|
|
5
|
+
import "./createFaceAvatar-DNMSIcRb.js";
|
|
6
|
+
import { a as RegulationTypes } from "./types-Cyi3gwPK.js";
|
|
7
|
+
import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-nF7e8At0.js";
|
|
6
8
|
|
|
7
9
|
//#region src/internal/fingerprint/types.d.ts
|
|
8
10
|
|
package/dist/session.esm.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import "./BrowserTimerProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./stats-
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import
|
|
9
|
-
import "./platform-
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import { n as getFinishStatus } from "./flowCompletionService-D_CsiDZM.esm.js";
|
|
1
|
+
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
|
+
import "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import "./events-1wxZ97yf.esm.js";
|
|
4
|
+
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
|
+
import "./stats-BVy52wLy.esm.js";
|
|
6
|
+
import "./browserSimulation-DFpmweuc.esm.js";
|
|
7
|
+
import { i as initializeSession } from "./sessionInitializer-CzPdr0Q1.esm.js";
|
|
8
|
+
import "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
9
|
+
import "./platform-BoeUeUrV.esm.js";
|
|
10
|
+
import "./tri-CFBjqf5E.esm.js";
|
|
11
|
+
import { t as IncodeApiError } from "./apiError-DkOXfFBu.esm.js";
|
|
12
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BWCjVIr6.esm.js";
|
|
13
|
+
import { n as getFinishStatus } from "./flowCompletionService-BDcDfyoA.esm.js";
|
|
15
14
|
|
|
16
15
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as getToken, s as setToken, t as api } from "./api-
|
|
2
|
-
import { _ as getAnalyticsBatcher, g as addEvent } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-
|
|
1
|
+
import { r as getToken, s as setToken, t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { _ as getAnalyticsBatcher, g as addEvent } from "./events-1wxZ97yf.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BVy52wLy.esm.js";
|
|
5
|
+
import { a as UAParser, i as getParsedUserAgent, n as isBrowserSimulation, o as BrowserEnvironmentProvider } from "./browserSimulation-DFpmweuc.esm.js";
|
|
6
|
+
import { t as getThumbmarkId } from "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
7
|
+
import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-CFBjqf5E.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/providers/browser/BrowserInfoProvider.ts
|
|
10
10
|
var BrowserInfoProvider = class {
|
|
@@ -157,6 +157,56 @@ var FingerprintProvider = class {
|
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region ../infra/src/providers/browser/IpifyProvider.ts
|
|
162
|
+
let cachedIp;
|
|
163
|
+
let inFlightLookup;
|
|
164
|
+
/**
|
|
165
|
+
* Resets the module-level IP cache. Intended for tests and full session resets.
|
|
166
|
+
*/
|
|
167
|
+
function resetIpifyCache() {
|
|
168
|
+
cachedIp = void 0;
|
|
169
|
+
inFlightLookup = void 0;
|
|
170
|
+
}
|
|
171
|
+
async function fetchIpFromIpify() {
|
|
172
|
+
if (typeof fetch === "undefined") return "";
|
|
173
|
+
let timeoutId = 0;
|
|
174
|
+
const controller = new AbortController();
|
|
175
|
+
if (AbortSignal.timeout) {
|
|
176
|
+
const signal = AbortSignal.timeout(3e3);
|
|
177
|
+
return (await (await fetch("https://api.ipify.org?format=json", { signal })).json()).ip;
|
|
178
|
+
}
|
|
179
|
+
const timeoutPromise = new Promise((_, reject) => {
|
|
180
|
+
timeoutId = setTimeout(() => {
|
|
181
|
+
controller.abort();
|
|
182
|
+
reject(/* @__PURE__ */ new Error("Request timeout"));
|
|
183
|
+
}, 3e3);
|
|
184
|
+
});
|
|
185
|
+
const fetchPromise = fetch("https://api.ipify.org?format=json", { signal: controller.signal }).then((res) => res.json()).then((data) => data.ip);
|
|
186
|
+
const result = await Promise.race([fetchPromise, timeoutPromise]);
|
|
187
|
+
clearTimeout(timeoutId);
|
|
188
|
+
return result;
|
|
189
|
+
}
|
|
190
|
+
var IpifyProvider = class {
|
|
191
|
+
async getIp() {
|
|
192
|
+
if (cachedIp !== void 0) return cachedIp;
|
|
193
|
+
if (inFlightLookup) return inFlightLookup;
|
|
194
|
+
inFlightLookup = (async () => {
|
|
195
|
+
try {
|
|
196
|
+
const ip = await fetchIpFromIpify();
|
|
197
|
+
cachedIp = ip;
|
|
198
|
+
return ip;
|
|
199
|
+
} catch {
|
|
200
|
+
cachedIp = "";
|
|
201
|
+
return "";
|
|
202
|
+
} finally {
|
|
203
|
+
inFlightLookup = void 0;
|
|
204
|
+
}
|
|
205
|
+
})();
|
|
206
|
+
return inFlightLookup;
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
|
|
160
210
|
//#endregion
|
|
161
211
|
//#region src/internal/featureConfig/featureConfigService.ts
|
|
162
212
|
let cachedFeatures$1 = null;
|
|
@@ -186,7 +236,7 @@ function resetFeatureConfigCache() {
|
|
|
186
236
|
|
|
187
237
|
//#endregion
|
|
188
238
|
//#region src/internal/version/sdkVersion.ts
|
|
189
|
-
const SDK_VERSION = "2.1.0-rc.
|
|
239
|
+
const SDK_VERSION = "2.1.0-rc.4";
|
|
190
240
|
|
|
191
241
|
//#endregion
|
|
192
242
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
@@ -224,9 +274,13 @@ let sessionInitialized = false;
|
|
|
224
274
|
let cachedFeatures = null;
|
|
225
275
|
let cachedDisableIpify = false;
|
|
226
276
|
let clientIpLookupEnabled = true;
|
|
277
|
+
let clientFingerprintEnabled = true;
|
|
227
278
|
function setClientIpLookupEnabled(enabled) {
|
|
228
279
|
clientIpLookupEnabled = enabled;
|
|
229
280
|
}
|
|
281
|
+
function setClientFingerprintEnabled(enabled) {
|
|
282
|
+
clientFingerprintEnabled = enabled;
|
|
283
|
+
}
|
|
230
284
|
function resolveDisableIpify(serverDisableIpify) {
|
|
231
285
|
return !clientIpLookupEnabled || serverDisableIpify;
|
|
232
286
|
}
|
|
@@ -288,7 +342,7 @@ async function initializeSession(options = {}) {
|
|
|
288
342
|
const disableIpify = resolveDisableIpify(serverDisableIpify);
|
|
289
343
|
let fingerprintSuccess = false;
|
|
290
344
|
let fingerprintResult;
|
|
291
|
-
try {
|
|
345
|
+
if (clientFingerprintEnabled) try {
|
|
292
346
|
const fingerprintProvider = new FingerprintProvider(new IpifyProvider());
|
|
293
347
|
const browserEnv = new BrowserEnvironmentProvider();
|
|
294
348
|
fingerprintResult = await submitDeviceFingerprint({
|
|
@@ -304,6 +358,7 @@ async function initializeSession(options = {}) {
|
|
|
304
358
|
} catch (error) {
|
|
305
359
|
console.warn("Failed to submit device fingerprint:", error);
|
|
306
360
|
}
|
|
361
|
+
else flushDeviceStatsQueue();
|
|
307
362
|
try {
|
|
308
363
|
const browserInfo = new BrowserInfoProvider().getBrowserInfo();
|
|
309
364
|
addEvent({
|
|
@@ -350,6 +405,14 @@ function getSessionFingerprintResult() {
|
|
|
350
405
|
return cachedFingerprintResult;
|
|
351
406
|
}
|
|
352
407
|
/**
|
|
408
|
+
* Gets whether client-side device-fingerprint submission is enabled.
|
|
409
|
+
* Consumed by `loadDeepsightSession` to resolve `disableFingerprint`
|
|
410
|
+
* (mirrors how `getDisableIpify` is used).
|
|
411
|
+
*/
|
|
412
|
+
function getFingerprintEnabled() {
|
|
413
|
+
return clientFingerprintEnabled;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
353
416
|
* Resets session initialization state.
|
|
354
417
|
* Useful for testing or when starting a new session.
|
|
355
418
|
*/
|
|
@@ -366,4 +429,4 @@ function resetSessionInit() {
|
|
|
366
429
|
}
|
|
367
430
|
|
|
368
431
|
//#endregion
|
|
369
|
-
export {
|
|
432
|
+
export { resetSessionInit as a, IpifyProvider as c, initializeSession as i, FingerprintProvider as l, getFingerprintEnabled as n, setClientFingerprintEnabled as o, getSessionFingerprintResult as r, setClientIpLookupEnabled as s, getDisableIpify as t, getDeviceFingerprintInfo as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup
|
|
2
|
-
import { s as TransactionalRiskIntelligenceSetupConfig } from "./index-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-DzJ0I4Kv.js";
|
|
2
|
+
import { s as TransactionalRiskIntelligenceSetupConfig } from "./index-CCG6MnCO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/setup.d.ts
|
|
5
5
|
|
|
@@ -163,6 +163,21 @@ type SetupOptions = {
|
|
|
163
163
|
* (lookup enabled).
|
|
164
164
|
*/
|
|
165
165
|
ipLookup?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Disables client-side device-fingerprint submission
|
|
168
|
+
* (`POST /omni/add/device-fingerprint`). When `false`, the SDK skips that
|
|
169
|
+
* request entirely — `initializeSession` still runs, but
|
|
170
|
+
* `getSessionFingerprintResult()` resolves to `undefined`, so
|
|
171
|
+
* `showMandatoryConsent`/`regulationType` are not available and mandatory
|
|
172
|
+
* consent will not be auto-injected into `flow`/`workflow`.
|
|
173
|
+
*
|
|
174
|
+
* Also blanks the `fingerprintHash` field of the Deepsight metadata bundle
|
|
175
|
+
* collected during face capture (selfie/authentication/id/personhood) — the
|
|
176
|
+
* descriptive device fields and `webglFingerprint` are unaffected.
|
|
177
|
+
*
|
|
178
|
+
* Default: `true` (fingerprint submission enabled).
|
|
179
|
+
*/
|
|
180
|
+
fingerprint?: boolean;
|
|
166
181
|
/**
|
|
167
182
|
* Disables the browser devtools detector for local development. When `true`,
|
|
168
183
|
* the detector is **not** started, so devtools no longer gets repeatedly
|
|
@@ -351,6 +366,19 @@ declare function setWasmConfig(config: WasmConfig): void;
|
|
|
351
366
|
* @throws Error if no config is provided and none is stored
|
|
352
367
|
*/
|
|
353
368
|
declare function initializeWasmUtil(config?: WasmConfig): Promise<void>;
|
|
369
|
+
/**
|
|
370
|
+
* Warms additional WASM pipelines on demand, reusing the WASM config stored by
|
|
371
|
+
* `setup({ wasm })` / `setWasmConfig`. Used for module-level lazy loading — e.g.
|
|
372
|
+
* the video-selfie tutorial preloads its `videoSelfie`/`videoSelfieId` pipelines
|
|
373
|
+
* while the user reads, so detection is ready the moment recording starts.
|
|
374
|
+
*
|
|
375
|
+
* `warmupWasm` is idempotent: already-loaded pipelines are skipped and missing
|
|
376
|
+
* ones are merged into the running instance. No-op when WASM was never
|
|
377
|
+
* configured or `pipelines` is empty.
|
|
378
|
+
*
|
|
379
|
+
* @param pipelines - The pipelines to ensure are loaded.
|
|
380
|
+
*/
|
|
381
|
+
declare function ensureWasmPipelines(pipelines: readonly WasmPipeline[]): Promise<void>;
|
|
354
382
|
/**
|
|
355
383
|
* Replaces the active HTTP client with the WASM-backed one. Used internally
|
|
356
384
|
* by lazy-loading UI components (`<incode-flow>`, `<incode-workflow>`) when
|
|
@@ -377,4 +405,4 @@ declare function isConfigured(): boolean;
|
|
|
377
405
|
*/
|
|
378
406
|
declare function reset(): void;
|
|
379
407
|
//#endregion
|
|
380
|
-
export {
|
|
408
|
+
export { isConfigured as a, setup as c, initializeWasmUtil as i, upgradeToWasmHttpClient as l, WasmConfig as n, reset as o, ensureWasmPipelines as r, setWasmConfig as s, SetupOptions as t };
|