@incodetech/core 2.1.0-rc.3 → 2.1.0-rc.5
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-ChciZmjE.esm.js → 3dAvatarProvider-9zb-7MLE.esm.js} +2 -2
- package/dist/{Face2DProvider-BeLlYBbB.esm.js → Face2DProvider-DqFSo9Ls.esm.js} +2 -2
- package/dist/{FaceDetectionProvider-B78455D4.d.ts → FaceDetectionProvider-BcPv1ruX.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-d2XvzaCk.d.ts → IWasmUtilCapability-Bf91iomn.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-B_0GKkzc.esm.js → OpenViduRecordingProvider-DmA__QfK.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-hDzaDzZ6.esm.js → PrivacyLensProvider-CfmaSQy3.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-Bz17q4FP.esm.js → StreamCanvasCapture-CRk7c7u7.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DS1TOoiH.d.ts → StreamCanvasCapture-DHDxv6hH.d.ts} +2 -2
- package/dist/{addressSearch-DJyNTg5S.esm.js → addressSearch-B9iJdbn8.esm.js} +2 -2
- package/dist/{ae-signature-DlElqFrZ.esm.js → ae-signature-Pp4oCAHD.esm.js} +1 -1
- package/dist/ae-signature.d.ts +4 -4
- package/dist/ae-signature.esm.js +8 -9
- package/dist/antifraud.d.ts +4 -4
- package/dist/antifraud.esm.js +5 -6
- package/dist/{antifraudManager-BKdQoMFf.esm.js → antifraudManager-5KA84wtF.esm.js} +3 -4
- package/dist/{antifraudManager-DpIvbrZP.d.ts → antifraudManager-D-nGY1T9.d.ts} +2 -2
- package/dist/{antifraudStateMachine-C0NGnP9W.esm.js → antifraudStateMachine-BQVw46N5.esm.js} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +30 -31
- package/dist/{authenticationManager-Dtl1vcET.esm.js → authenticationManager-BN5MY-hj.esm.js} +5 -5
- package/dist/{authenticationManager-CdPbNS2H.d.ts → authenticationManager-BnAY9lOO.d.ts} +3 -3
- package/dist/{authenticationStateMachine-D-hOlg8p.esm.js → authenticationStateMachine-C9Ie077T.esm.js} +7 -7
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-ZyqrFyjO.esm.js → backCameraStream-uixCSgiq.esm.js} +3 -3
- package/dist/{browserSimulation-TsSoavQv.esm.js → browserSimulation-CWJhFPZ2.esm.js} +1216 -153
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/certificate-issuance.d.ts +31 -31
- package/dist/certificate-issuance.esm.js +6 -7
- package/dist/{certificateIssuanceStateMachine-C07m7qtP.esm.js → certificateIssuanceStateMachine-CpewPqas.esm.js} +3 -3
- package/dist/consent.d.ts +4 -4
- package/dist/consent.esm.js +5 -6
- package/dist/{consentManager-DufVo9D9.d.ts → consentManager-Ccwh6xMM.d.ts} +52 -52
- package/dist/{consentManager-BtnPZUW4.esm.js → consentManager-DL93cPSU.esm.js} +3 -4
- package/dist/{consentStateMachine-DO2JqoZW.esm.js → consentStateMachine-DnqwsZ7o.esm.js} +2 -2
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/cpf-ocr.esm.js +5 -6
- package/dist/{cpfOcrManager-C4rLgKsu.esm.js → cpfOcrManager-BW8wlEU_.esm.js} +4 -5
- package/dist/{cpfOcrManager-DqZZ94Gt.d.ts → cpfOcrManager-CXf5PhZ6.d.ts} +19 -19
- package/dist/{createFaceAvatar-BOHDKQRq.esm.js → createFaceAvatar-CpmQJA8E.esm.js} +3 -3
- package/dist/{createFaceAvatar-B8pFpy6o.d.ts → createFaceAvatar-DNMSIcRb.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +2 -2
- package/dist/cross-document-data-match.esm.js +4 -5
- package/dist/curp-validation.d.ts +10 -10
- package/dist/curp-validation.esm.js +5 -6
- package/dist/{curpValidationManager-Co6LZAHT.d.ts → curpValidationManager-CJdVrCex.d.ts} +3 -3
- package/dist/{curpValidationManager-BafobPXC.esm.js → curpValidationManager-u2FkvveY.esm.js} +3 -4
- package/dist/{curpValidationStateMachine-DXTPK6vI.esm.js → curpValidationStateMachine-CeqDh2V5.esm.js} +2 -2
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-fields.esm.js +4 -5
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/custom-watchlist.esm.js +4 -5
- package/dist/{customWatchlistStateMachine-B4G3Chkx.esm.js → customWatchlistStateMachine-dovMwTLv.esm.js} +2 -2
- package/dist/{deepsightLoader-DHSVD776.esm.js → deepsightLoader-mHrOfFNb.esm.js} +18 -13
- package/dist/{deepsightService-CMB9XjES.d.ts → deepsightService-CbaqT7bP.d.ts} +2 -2
- package/dist/{deepsightService-CDahSjGP.esm.js → deepsightService-DU9yBWg_.esm.js} +11 -11
- package/dist/device.d.ts +1 -9
- package/dist/device.esm.js +5 -5
- package/dist/document-capture.d.ts +175 -175
- package/dist/document-capture.esm.js +11 -12
- package/dist/document-upload.d.ts +45 -45
- package/dist/document-upload.esm.js +7 -8
- package/dist/{documentCaptureStateMachine-DSOX2epf.esm.js → documentCaptureStateMachine-4p5MuzfS.esm.js} +6 -6
- package/dist/dynamic-forms.d.ts +4 -4
- package/dist/dynamic-forms.esm.js +6 -7
- package/dist/{dynamicFormsManager-CUYLOj9g.d.ts → dynamicFormsManager-B_4qA_CB.d.ts} +2 -2
- package/dist/{dynamicFormsManager-BOefZbyF.esm.js → dynamicFormsManager-CNg60mlv.esm.js} +3 -4
- package/dist/{dynamicFormsStateMachine-BXHcaocI.esm.js → dynamicFormsStateMachine-BfLLcxua.esm.js} +3 -3
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +15 -18
- package/dist/{ekybStateMachine-CCSeqjCt.esm.js → ekybStateMachine-BVsSys9P.esm.js} +4 -4
- package/dist/ekyc.d.ts +4 -4
- package/dist/ekyc.esm.js +6 -7
- package/dist/{ekycStateMachine-DkLVTOyA.esm.js → ekycStateMachine-BcPEEqMA.esm.js} +4 -4
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/electronic-signature.esm.js +7 -8
- package/dist/{electronicSignatureManager-DjzUzqZj.esm.js → electronicSignatureManager-DESRgObX.esm.js} +5 -6
- package/dist/email.d.ts +5 -5
- package/dist/email.esm.js +6 -7
- package/dist/{emailManager-B_XzEsXH.esm.js → emailManager-C9O7k0-m.esm.js} +4 -5
- package/dist/{emailManager-fHASH6uo.d.ts → emailManager-CTOXMlVd.d.ts} +3 -3
- package/dist/{emailStateMachine-fqJ42b19.esm.js → emailStateMachine-Bk4pkysV.esm.js} +3 -3
- package/dist/{events-CqGY1yMq.esm.js → events-1wxZ97yf.esm.js} +189 -1
- package/dist/events.esm.js +1 -2
- package/dist/extensibility.d.ts +35 -35
- package/dist/extensibility.esm.js +67 -70
- package/dist/{externalFetch-CyhBfD-n.esm.js → externalFetch-hvmz_npP.esm.js} +1 -1
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +4 -5
- package/dist/{faceCaptureManagerFactory-2brKTzMb.esm.js → faceCaptureManagerFactory-BjtXPUp3.esm.js} +5 -6
- package/dist/{faceCaptureManagerFactory-CGKbf7zt.d.ts → faceCaptureManagerFactory-DKBvmRxO.d.ts} +13 -13
- package/dist/{faceCaptureSetup-CDUVU1nl.esm.js → faceCaptureSetup-DMUHOk1F.esm.js} +8 -8
- package/dist/{faceMatchStateMachine-DUeUjEPx.esm.js → faceMatchStateMachine-C6J09ygk.esm.js} +2 -2
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +4 -5
- package/dist/{fieldComparisonManager-DdLqDeB2.d.ts → fieldComparisonManager-BOEgiOw_.d.ts} +2 -2
- package/dist/{fieldComparisonManager-B9W0a9A5.esm.js → fieldComparisonManager-kk2RkWeb.esm.js} +3 -4
- package/dist/fiscal-qr.d.ts +5 -5
- package/dist/fiscal-qr.esm.js +10 -11
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +14 -14
- package/dist/flow.esm.js +16 -19
- package/dist/{flowCompletionService-qEqh_g14.esm.js → flowCompletionService-BDcDfyoA.esm.js} +2 -2
- package/dist/{flowServices-C4piblgx.esm.js → flowServices-nnIjcwZD.esm.js} +4 -4
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +6 -7
- package/dist/{geolocationManager-Cs50eRlC.d.ts → geolocationManager-B3lahU1a.d.ts} +2 -2
- package/dist/{geolocationManager-BP2Do9O-.esm.js → geolocationManager-Dmbh6TXA.esm.js} +3 -4
- package/dist/{geolocationStateMachine-BYfOOOG0.esm.js → geolocationStateMachine-BRLIXR1x.esm.js} +3 -3
- package/dist/getBrowser-1yNcfFZR.esm.js +8 -0
- package/dist/{getDeviceClass-DGGzzfqm.esm.js → getDeviceClass-QxbJwsOO.esm.js} +1 -1
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +5 -6
- package/dist/{governmentValidationStateMachine-CwoPPO8b.esm.js → governmentValidationStateMachine-CjCs0_fG.esm.js} +3 -3
- package/dist/home.d.ts +18 -18
- package/dist/home.esm.js +2 -3
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -4
- package/dist/id-ocr.esm.js +6 -7
- package/dist/id-verification.d.ts +28 -28
- package/dist/id-verification.esm.js +4 -5
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +33 -36
- package/dist/{idCaptureDefaults-DNJON8Xo.esm.js → idCaptureDefaults-DJmo-U3D.esm.js} +1 -1
- package/dist/{idCaptureManager-BVdvfJys.d.ts → idCaptureManager-58R91WU3.d.ts} +12 -12
- package/dist/{idCaptureManager-Bo9DCQSU.esm.js → idCaptureManager-DgwTu2Ad.esm.js} +6 -7
- package/dist/{idCaptureStateMachine-BeDidMLU.esm.js → idCaptureStateMachine-C_LkJ5Cv.esm.js} +18 -18
- package/dist/{idOcrManager-CJzrmM91.d.ts → idOcrManager-4y4ch6fe.d.ts} +54 -54
- package/dist/{idOcrManager-BkRDrpZu.esm.js → idOcrManager-CiEzYor8.esm.js} +3 -4
- package/dist/{idOcrStateMachine-DRZc4FBl.esm.js → idOcrStateMachine-CGeY01rX.esm.js} +4 -4
- package/dist/{idVerificationStateMachine-oqiERKpg.esm.js → idVerificationStateMachine-B6Ccvut4.esm.js} +2 -2
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +5 -6
- package/dist/{identityReuseManager-TWKbXuvY.d.ts → identityReuseManager-CBcBvR0M.d.ts} +33 -33
- package/dist/{identityReuseManager-Bu62LToE.esm.js → identityReuseManager-CrbjKac7.esm.js} +3 -4
- package/dist/{identityReuseStateMachine-BmONeF6B.esm.js → identityReuseStateMachine-Do_M-z6z.esm.js} +2 -2
- package/dist/{index-DtUlD-bz.d.ts → index-CVgIGwUy.d.ts} +2 -2
- package/dist/{index-Icld-cKW.d.ts → index-DFYycWvJ.d.ts} +151 -151
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +9 -12
- package/dist/{invokeOnCaptureCallback-v_PV_IJz.esm.js → invokeOnCaptureCallback-gKRaO24Q.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/mandatory-consent.esm.js +5 -6
- package/dist/{mandatoryConsentManager-Bmdjo14S.d.ts → mandatoryConsentManager-D4EeVURE.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-CQ3jirlZ.esm.js → mandatoryConsentManager-b1QKgIKi.esm.js} +3 -4
- package/dist/{mandatoryConsentStateMachine-DkJJLHqC.esm.js → mandatoryConsentStateMachine-VPbrLLfo.esm.js} +2 -2
- package/dist/{mediaRecorderOptions-C3NAkVgK.esm.js → mediaRecorderOptions-DuYelylE.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-DVBggeq8.esm.js → onDeviceFaceResults-BFhwH1Ba.esm.js} +11 -11
- package/dist/{openviduLazy-BTOIauGP.esm.js → openviduLazy-BXDnVFe2.esm.js} +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +3 -0
- package/dist/{permissionGuards-BR2oN573.esm.js → permissionGuards-CaZl9t7f.esm.js} +1 -1
- package/dist/{permissionServices-BJhGL13R.esm.js → permissionServices-D9lmzFYc.esm.js} +2 -2
- package/dist/personhood.d.ts +16 -16
- package/dist/personhood.esm.js +29 -23
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +6 -7
- package/dist/{phoneManager-BOTcjXgs.d.ts → phoneManager-CG1vTJiG.d.ts} +3 -3
- package/dist/{phoneManager-BWlxqbyD.esm.js → phoneManager-DNTrIq-D.esm.js} +4 -5
- package/dist/{phoneStateMachine-B_V9nODs.esm.js → phoneStateMachine-MqNDf1Nh.esm.js} +3 -3
- package/dist/{qe-signature-BhFnI9pT.esm.js → qe-signature-CVnJ4RaW.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +8 -9
- package/dist/{recordingService-m_1xCthr.esm.js → recordingService-CflL9aAS.esm.js} +6 -6
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/redirect-to-mobile.esm.js +6 -7
- package/dist/{redirectToMobileManager-Br0KZK1G.d.ts → redirectToMobileManager-D7U9k-Xs.d.ts} +2 -2
- package/dist/{redirectToMobileManager-BaAo9rgi.esm.js → redirectToMobileManager-DuD03ggR.esm.js} +3 -4
- package/dist/{redirectToMobileStateMachine-DoAnf2ql.esm.js → redirectToMobileStateMachine-WVg-n2is.esm.js} +3 -3
- package/dist/{runChildModule-0nQfjVVo.esm.js → runChildModule-XHWWqs39.esm.js} +3 -3
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +31 -32
- package/dist/{selfieManager-R0Jw5sjb.d.ts → selfieManager-CXmUuCSV.d.ts} +3 -3
- package/dist/{selfieManager-D_ZFERsE.esm.js → selfieManager-vgJaCuGq.esm.js} +5 -5
- package/dist/{selfieStateMachine-CIgeeiN9.esm.js → selfieStateMachine-BrxBZpXx.esm.js} +4 -4
- package/dist/{session-9jIfKFCc.esm.js → session-BWCjVIr6.esm.js} +2 -2
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +11 -14
- package/dist/sessionInitializer-IghS6XM8.esm.js +547 -0
- package/dist/{setup-CpRnXxn8.d.ts → setup-BbAMk9Rg.d.ts} +17 -2
- package/dist/{setup-DHc6OaHm.esm.js → setup-BvUZozWd.esm.js} +7 -5
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +4 -5
- package/dist/{signatureStateMachine-DtoiPzys.esm.js → signatureStateMachine-iT9BhNUf.esm.js} +2 -2
- package/dist/{stats-CYcScXcO.esm.js → stats-BVy52wLy.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{tri-BG1iJsr4.esm.js → tri-CFBjqf5E.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-DUC01NgO.esm.js → tri.esm-BzYyqlPa.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/trust-graph.esm.js +2 -3
- package/dist/{types-DgGlgyZT.d.ts → types-B_YCuHZx.d.ts} +1 -1
- package/dist/{types-BklZ_Wne.d.ts → types-CRPns2d9.d.ts} +1 -1
- package/dist/{types-BsYXnC5s.d.ts → types-Cyi3gwPK.d.ts} +2 -2
- package/dist/{types-CxW2e0Ar.d.ts → types-DWmubDie.d.ts} +3 -3
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +26 -29
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +9 -12
- package/dist/watchlist-for-business.d.ts +2 -2
- package/dist/watchlist-for-business.esm.js +4 -5
- package/dist/watchlist.d.ts +2 -2
- package/dist/watchlist.esm.js +4 -5
- package/dist/{watchlistForBusinessStateMachine-DvEunDxs.esm.js → watchlistForBusinessStateMachine-CyhTEi3N.esm.js} +2 -2
- package/dist/{watchlistStateMachine-AHXVf-TB.esm.js → watchlistStateMachine-CgKG-KSf.esm.js} +2 -2
- package/dist/workflow.d.ts +113 -113
- package/dist/workflow.esm.js +68 -71
- package/package.json +3 -3
- package/dist/IpifyProvider-BRW14_uo.esm.js +0 -51
- package/dist/getDeviceData-TrKM8NPh.esm.js +0 -101
- package/dist/openviduLazy-Dov8oKfL.esm.js +0 -3
- package/dist/sessionInitializer-C_TYIgyk.esm.js +0 -273
- package/dist/thumbmarkAdapter-fHBUDlAP.esm.js +0 -1194
- package/dist/types-ElOJAGaM.esm.js +0 -189
- /package/dist/{Actor-CGEelYtQ.d.ts → Actor-DYjXVMQm.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-CrrN540a.esm.js → BrowserStorageProvider-CBXGCHnK.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-rim9Jrz-.esm.js → BrowserVisibilityObserverProvider-B04zvOXW.esm.js} +0 -0
- /package/dist/{ITimerCapability-pltuG1E8.esm.js → ITimerCapability-G7lQg-be.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-BbWjgpiF.d.ts → IVisibilityObserverCapability-BxPj7hsu.d.ts} +0 -0
- /package/dist/{Manager-CJ3G2zqi.d.ts → Manager-BfBOhrjh.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-DCbId4De.esm.js → MotionSensorProvider-BkHKMCPE.esm.js} +0 -0
- /package/dist/{StateMachine-C_AY4cs7.d.ts → StateMachine-20ahmASR.d.ts} +0 -0
- /package/dist/{apiError-DNS2OCEX.esm.js → apiError-DkOXfFBu.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-qLKs75Qp.esm.js → browser-DlFgHpoC-CR6x7ypG.esm.js} +0 -0
- /package/dist/{camera-DUkgmYMo.esm.js → camera-B0yWS33x.esm.js} +0 -0
- /package/dist/{camera-CNVUo-bC.d.ts → camera-CWO06Lu5.d.ts} +0 -0
- /package/dist/{canvas-_I95hkPg.esm.js → canvas-DsJa51yU.esm.js} +0 -0
- /package/dist/{canvas-CJUmoXSD.d.ts → canvas-pLrXU1id.d.ts} +0 -0
- /package/dist/{cpf-BKaho0j_.esm.js → cpf-B9htWzDt.esm.js} +0 -0
- /package/dist/{dateUtils-7-tQYRNN.esm.js → dateUtils-PXB_WRYL.esm.js} +0 -0
- /package/dist/{endpoints-BzMJFAPV.esm.js → endpoints-CwrFQfW7.esm.js} +0 -0
- /package/dist/{flowCompletionService-BIqSTZcd.d.ts → flowCompletionService-nF7e8At0.d.ts} +0 -0
- /package/dist/{getDeviceClass-DavNdcxh.esm.js → getDeviceClass-BdgmyOOu.esm.js} +0 -0
- /package/dist/{http-BkiUT7EB.esm.js → http-CBbBcnBa.esm.js} +0 -0
- /package/dist/{index-XTtxaahe.d.ts → index-CCG6MnCO.d.ts} +0 -0
- /package/dist/{lib-B050WTth.esm.js → lib-TRTXfron.esm.js} +0 -0
- /package/dist/{mediapipeShared-CRAKVElv.esm.js → mediapipeShared-yKDdOf_V.esm.js} +0 -0
- /package/dist/{otp-M4iy57XY.d.ts → otp-CETbFjXH.d.ts} +0 -0
- /package/dist/{otp-Bfnzf7I3.esm.js → otp-DepQPUIA.esm.js} +0 -0
- /package/dist/{platform-uIVQUnJP.esm.js → platform-0Ot-bF_a.esm.js} +0 -0
- /package/dist/{types-Duy2rDxF.d.ts → types-BOiKESZY.d.ts} +0 -0
- /package/dist/{types-D_IceWxT.d.ts → types-CTnn7kUK.d.ts} +0 -0
- /package/dist/{types-CMcxlSmH.esm.js → types-Db2ooXIu.esm.js} +0 -0
- /package/dist/{urlUtils-BZqFU9rR.esm.js → urlUtils-CpiYwn7w.esm.js} +0 -0
- /package/dist/{video-C2WIj6TS.esm.js → video-DXf5H9rY.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-7M5vxKn-.esm.js → videoSelfieSteps-C6E7mKFt.esm.js} +0 -0
- /package/dist/{warmup-BJZPQIiX.d.ts → warmup-DzJ0I4Kv.d.ts} +0 -0
- /package/dist/{xstate.esm-Bomq1a0z.esm.js → xstate.esm-nY3M5UYm.esm.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
|
|
3
|
+
import * as xstate986 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/cpf-ocr/types.d.ts
|
|
6
6
|
type CpfOcrDataResponse = {
|
|
@@ -17,7 +17,7 @@ type CpfOcrContext = {
|
|
|
17
17
|
error: string | undefined;
|
|
18
18
|
};
|
|
19
19
|
type CpfOcrInput = Record<string, never>;
|
|
20
|
-
declare const cpfOcrMachine:
|
|
20
|
+
declare const cpfOcrMachine: xstate986.StateMachine<CpfOcrContext, {
|
|
21
21
|
type: "LOAD";
|
|
22
22
|
} | {
|
|
23
23
|
type: "SET_CPF";
|
|
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "RETRY";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]:
|
|
30
|
+
[x: string]: xstate986.ActorRefFromLogic<xstate986.PromiseActorLogic<CpfOcrDataResponse, void, xstate986.EventObject>> | xstate986.ActorRefFromLogic<xstate986.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
31
31
|
cpf: string;
|
|
32
|
-
},
|
|
33
|
-
},
|
|
32
|
+
}, xstate986.EventObject>> | undefined;
|
|
33
|
+
}, xstate986.Values<{
|
|
34
34
|
fetchCpfOcrData: {
|
|
35
35
|
src: "fetchCpfOcrData";
|
|
36
|
-
logic:
|
|
36
|
+
logic: xstate986.PromiseActorLogic<CpfOcrDataResponse, void, xstate986.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
submitCpfOcr: {
|
|
40
40
|
src: "submitCpfOcr";
|
|
41
|
-
logic:
|
|
41
|
+
logic: xstate986.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
42
42
|
cpf: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate986.EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
46
|
+
}>, xstate986.Values<{
|
|
47
47
|
setError: {
|
|
48
48
|
type: "setError";
|
|
49
|
-
params:
|
|
49
|
+
params: xstate986.NonReducibleUnknown;
|
|
50
50
|
};
|
|
51
51
|
clearError: {
|
|
52
52
|
type: "clearError";
|
|
53
|
-
params:
|
|
53
|
+
params: xstate986.NonReducibleUnknown;
|
|
54
54
|
};
|
|
55
55
|
setPrefill: {
|
|
56
56
|
type: "setPrefill";
|
|
57
|
-
params:
|
|
57
|
+
params: xstate986.NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
59
|
setCpf: {
|
|
60
60
|
type: "setCpf";
|
|
61
|
-
params:
|
|
61
|
+
params: xstate986.NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate986.NonReducibleUnknown, xstate986.EventObject, xstate986.MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -118,7 +118,7 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
118
118
|
} | {
|
|
119
119
|
type: "RETRY";
|
|
120
120
|
};
|
|
121
|
-
self:
|
|
121
|
+
self: xstate986.ActorRef<xstate986.MachineSnapshot<CpfOcrContext, {
|
|
122
122
|
type: "LOAD";
|
|
123
123
|
} | {
|
|
124
124
|
type: "SET_CPF";
|
|
@@ -127,7 +127,7 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
127
127
|
type: "SUBMIT";
|
|
128
128
|
} | {
|
|
129
129
|
type: "RETRY";
|
|
130
|
-
}, Record<string,
|
|
130
|
+
}, Record<string, xstate986.AnyActorRef>, xstate986.StateValue, string, unknown, any, any>, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "SET_CPF";
|
|
@@ -136,7 +136,7 @@ declare const cpfOcrMachine: xstate1552.StateMachine<CpfOcrContext, {
|
|
|
136
136
|
type: "SUBMIT";
|
|
137
137
|
} | {
|
|
138
138
|
type: "RETRY";
|
|
139
|
-
},
|
|
139
|
+
}, xstate986.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
cpf: string;
|
|
142
142
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/** Lazy-load the provider for an avatar id (each lands in its own chunk). */
|
|
3
3
|
async function loadProvider(variant) {
|
|
4
4
|
switch (variant) {
|
|
5
|
-
case "avatar-3d": return (await import("./3dAvatarProvider-
|
|
6
|
-
case "avatar-2d": return (await import("./Face2DProvider-
|
|
7
|
-
case "privacy-lens": return (await import("./PrivacyLensProvider-
|
|
5
|
+
case "avatar-3d": return (await import("./3dAvatarProvider-9zb-7MLE.esm.js")).createProvider();
|
|
6
|
+
case "avatar-2d": return (await import("./Face2DProvider-DqFSo9Ls.esm.js")).createProvider();
|
|
7
|
+
case "privacy-lens": return (await import("./PrivacyLensProvider-CfmaSQy3.esm.js")).createProvider();
|
|
8
8
|
default: {
|
|
9
9
|
const exhaustive = variant;
|
|
10
10
|
throw new Error(`Unknown avatar variant: ${String(exhaustive)}`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchManager.d.ts
|
|
5
5
|
type CrossDocumentDataMatchIdleState = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import { n as createManagerInstrumentation } from "./events-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as sleep } from "./ITimerCapability-pltuG1E8.esm.js";
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
+
import { a as fromPromise, l as createManager, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
+
import { t as sleep } from "./ITimerCapability-G7lQg-be.esm.js";
|
|
7
6
|
|
|
8
7
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
9
8
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./camera-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./canvas-
|
|
8
|
-
import "./createFaceAvatar-
|
|
9
|
-
import "./types-
|
|
10
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import "./Manager-BfBOhrjh.js";
|
|
3
|
+
import "./Actor-DYjXVMQm.js";
|
|
4
|
+
import "./camera-CWO06Lu5.js";
|
|
5
|
+
import "./types-B_YCuHZx.js";
|
|
6
|
+
import "./types-CTnn7kUK.js";
|
|
7
|
+
import "./canvas-pLrXU1id.js";
|
|
8
|
+
import "./createFaceAvatar-DNMSIcRb.js";
|
|
9
|
+
import "./types-Cyi3gwPK.js";
|
|
10
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-CJdVrCex.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
13
13
|
type MexicanState = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BafobPXC.esm.js";
|
|
2
|
+
import "./events-1wxZ97yf.esm.js";
|
|
3
|
+
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
+
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CeqDh2V5.esm.js";
|
|
6
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-u2FkvveY.esm.js";
|
|
8
7
|
|
|
9
8
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-Cyi3gwPK.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
package/dist/{curpValidationManager-BafobPXC.esm.js → curpValidationManager-u2FkvveY.esm.js}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-DXTPK6vI.esm.js";
|
|
1
|
+
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
2
|
+
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-CeqDh2V5.esm.js";
|
|
5
4
|
|
|
6
5
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
7
6
|
function createCurpValidationActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
6
6
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
package/dist/custom-fields.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
3
|
+
import "./Actor-DYjXVMQm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/custom-fields/types.d.ts
|
|
6
6
|
type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as isoDateToMs } from "./dateUtils-7-tQYRNN.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
+
import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
+
import { t as isoDateToMs } from "./dateUtils-PXB_WRYL.esm.js";
|
|
7
6
|
|
|
8
7
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
9
8
|
async function submitCustomFields(params, signal) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts
|
|
5
5
|
type CustomWatchlistResult = 'success' | 'skipped';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import { n as
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B4G3Chkx.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
3
|
+
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
|
+
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-dovMwTLv.esm.js";
|
|
7
6
|
|
|
8
7
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
9
8
|
function createCustomWatchlistActor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
6
6
|
async function processWatchlist(signal) {
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
|
+
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
3
|
import "./api-DsbUi7TO.esm.js";
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import "./platform-
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
4
|
+
import "./events-1wxZ97yf.esm.js";
|
|
5
|
+
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
|
+
import "./stats-BVy52wLy.esm.js";
|
|
7
|
+
import { c as IpifyProvider, d as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-IghS6XM8.esm.js";
|
|
8
|
+
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
9
|
+
import "./platform-0Ot-bF_a.esm.js";
|
|
10
|
+
import "./getBrowser-1yNcfFZR.esm.js";
|
|
11
|
+
import "./tri-CFBjqf5E.esm.js";
|
|
12
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
13
|
+
import "./camera-B0yWS33x.esm.js";
|
|
14
|
+
import "./canvas-DsJa51yU.esm.js";
|
|
15
|
+
import "./video-DXf5H9rY.esm.js";
|
|
16
|
+
import "./getDeviceClass-BdgmyOOu.esm.js";
|
|
17
|
+
import { t as createDeepsightService } from "./deepsightService-DU9yBWg_.esm.js";
|
|
15
18
|
|
|
16
19
|
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
17
20
|
var VisibilityProvider = class {
|
|
@@ -53,7 +56,9 @@ async function loadDeepsightSession(options) {
|
|
|
53
56
|
motionSensor: new MotionSensorProvider(),
|
|
54
57
|
ipLookup: new IpifyProvider()
|
|
55
58
|
});
|
|
56
|
-
|
|
59
|
+
const disableIpify = options.disableIpify ?? getDisableIpify();
|
|
60
|
+
const disableFingerprint = options.disableFingerprint ?? !getFingerprintEnabled();
|
|
61
|
+
await service.initialize(disableIpify, disableFingerprint);
|
|
57
62
|
await service.startMotionSensors();
|
|
58
63
|
return service;
|
|
59
64
|
}
|
|
@@ -5,7 +5,7 @@ type MotionPermissionState = 'granted' | 'denied' | 'not-required';
|
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/internal/deepsight/metadataService.d.ts
|
|
7
7
|
type MetadataService = {
|
|
8
|
-
initialize(sdkVersion: string, disableIpify?: boolean): Promise<void>;
|
|
8
|
+
initialize(sdkVersion: string, disableIpify?: boolean, disableFingerprint?: boolean): Promise<void>;
|
|
9
9
|
updateCameraInfo(videoTrack: MediaStreamTrack): void;
|
|
10
10
|
checkForVirtualCameraByLabel(videoTrack: MediaStreamTrack | null): Promise<boolean>;
|
|
11
11
|
analyzeFrame(imageData: ImageData): Promise<void>;
|
|
@@ -44,7 +44,7 @@ type FrameSource = (typeof frameSources)[keyof typeof frameSources];
|
|
|
44
44
|
type DeepsightService = {
|
|
45
45
|
readonly metadata: MetadataService;
|
|
46
46
|
readonly motion: MotionStatusService;
|
|
47
|
-
initialize(disableIpify?: boolean): Promise<void>;
|
|
47
|
+
initialize(disableIpify?: boolean, disableFingerprint?: boolean): Promise<void>;
|
|
48
48
|
requestMotionPermission(): Promise<'granted' | 'denied' | 'not-required'>;
|
|
49
49
|
startMotionSensors(): Promise<void>;
|
|
50
50
|
primeWasmMotionSensor(): Promise<void>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
-
import { t as addDeviceStats } from "./stats-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
6
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
7
|
-
import { t as createHiddenVideoElement } from "./video-
|
|
8
|
-
import { t as getDeviceInfo } from "./getDeviceClass-
|
|
2
|
+
import { t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
|
|
3
|
+
import { n as getThumbmarkId, r as getParsedUserAgent, t as isBrowserSimulation } from "./browserSimulation-CWJhFPZ2.esm.js";
|
|
4
|
+
import { t as getUserAgent } from "./getBrowser-1yNcfFZR.esm.js";
|
|
5
|
+
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-B0yWS33x.esm.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-DsJa51yU.esm.js";
|
|
7
|
+
import { t as createHiddenVideoElement } from "./video-DXf5H9rY.esm.js";
|
|
8
|
+
import { t as getDeviceInfo } from "./getDeviceClass-BdgmyOOu.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/internal/deepsight/metadataService.ts
|
|
11
11
|
function createMetadataService(wasmUtil, visibility, browserEnv, ipLookup) {
|
|
12
12
|
return {
|
|
13
|
-
async initialize(sdkVersion, disableIpify = false) {
|
|
13
|
+
async initialize(sdkVersion, disableIpify = false, disableFingerprint = false) {
|
|
14
14
|
wasmUtil.setSdkPlatform("WEBAPP");
|
|
15
15
|
wasmUtil.setSdkVersion(sdkVersion);
|
|
16
16
|
const ua = getUserAgent();
|
|
@@ -18,7 +18,7 @@ function createMetadataService(wasmUtil, visibility, browserEnv, ipLookup) {
|
|
|
18
18
|
const isMobile = /Android|iPhone|iPad|iPod/i.test(ua);
|
|
19
19
|
const deviceInfo = getDeviceInfo();
|
|
20
20
|
let fingerprintHash = "";
|
|
21
|
-
try {
|
|
21
|
+
if (!disableFingerprint) try {
|
|
22
22
|
fingerprintHash = await getThumbmarkId();
|
|
23
23
|
} catch {
|
|
24
24
|
fingerprintHash = browserEnv.generateCanvasFingerprint();
|
|
@@ -178,8 +178,8 @@ function createDeepsightService(config) {
|
|
|
178
178
|
return {
|
|
179
179
|
metadata,
|
|
180
180
|
motion,
|
|
181
|
-
async initialize(disableIpify = false) {
|
|
182
|
-
await metadata.initialize(config.sdkVersion, disableIpify);
|
|
181
|
+
async initialize(disableIpify = false, disableFingerprint = false) {
|
|
182
|
+
await metadata.initialize(config.sdkVersion, disableIpify, disableFingerprint);
|
|
183
183
|
metadata.estimatePerformance();
|
|
184
184
|
},
|
|
185
185
|
async requestMotionPermission() {
|
package/dist/device.d.ts
CHANGED
|
@@ -43,12 +43,4 @@ type ScreenOrientationObserver = {
|
|
|
43
43
|
};
|
|
44
44
|
declare function createScreenOrientationObserver(provider: IScreenOrientationCapability, deviceClass: DeviceClass): ScreenOrientationObserver;
|
|
45
45
|
//#endregion
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Zero-arg convenience over {@link isBrowserSimulation} that reads the live
|
|
49
|
-
* browser environment. Returns `true` when the browser appears to be
|
|
50
|
-
* simulated/automated.
|
|
51
|
-
*/
|
|
52
|
-
declare function isBrowserSimulated(): boolean;
|
|
53
|
-
//#endregion
|
|
54
|
-
export { type Browser, type DeviceClass, type ScreenOrientationObserver, ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isBrowserSimulated, isIPad };
|
|
46
|
+
export { type Browser, type DeviceClass, type ScreenOrientationObserver, ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isIPad };
|
package/dist/device.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./getDeviceClass-
|
|
4
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
1
|
+
import { i as isIPad } from "./platform-0Ot-bF_a.esm.js";
|
|
2
|
+
import { t as getUserAgent } from "./getBrowser-1yNcfFZR.esm.js";
|
|
3
|
+
import "./getDeviceClass-BdgmyOOu.esm.js";
|
|
4
|
+
import { t as getDeviceClass } from "./getDeviceClass-QxbJwsOO.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/device/getBrowser.ts
|
|
7
7
|
function getBrowser() {
|
|
@@ -104,4 +104,4 @@ var ScreenOrientationProvider = class {
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
//#endregion
|
|
107
|
-
export { ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass,
|
|
107
|
+
export { ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isIPad };
|