@incodetech/core 2.1.1-rc.2 → 2.1.1-rc.3
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-BwOmTMOy.esm.js → 3dAvatarProvider-9zb-7MLE.esm.js} +2 -2
- package/dist/{Face2DProvider-CZU11g6r.esm.js → Face2DProvider-DqFSo9Ls.esm.js} +2 -2
- package/dist/{FaceDetectionProvider-CPWg-PAH.d.ts → FaceDetectionProvider-ZFnJ8ebm.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-DaSNxgA8.d.ts → IWasmUtilCapability-Bo5y6BGA.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-DmA__QfK.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-B_zrV25p.esm.js → PrivacyLensProvider-CfmaSQy3.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CAqUdVkM.esm.js → StreamCanvasCapture-CRk7c7u7.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DHaWferF.d.ts → StreamCanvasCapture-DHDxv6hH.d.ts} +2 -2
- package/dist/ae-signature.d.ts +4 -4
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-DCiNI6np.d.ts → antifraudManager-D-nGY1T9.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +23 -24
- package/dist/{authenticationManager-CoN9Qrs3.esm.js → authenticationManager-BYOqf17_.esm.js} +3 -3
- package/dist/{authenticationManager-BeT6tNZm.d.ts → authenticationManager-Bz11dMMx.d.ts} +3 -3
- package/dist/{authenticationStateMachine-S_y15DH-.esm.js → authenticationStateMachine-C5-MnTtO.esm.js} +4 -4
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-ChrMTJv-.esm.js → backCameraStream-Cz2EvzSR.esm.js} +2 -2
- 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 +1 -1
- package/dist/consent.d.ts +4 -4
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CQqaIPg9.d.ts → consentManager-D-u7zzJs.d.ts} +49 -49
- package/dist/{consentManager-BwNu-uC-.esm.js → consentManager-DL93cPSU.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-9eM4z4o7.esm.js → cpfOcrManager-BW8wlEU_.esm.js} +1 -1
- package/dist/{cpfOcrManager-flj_VHTf.d.ts → cpfOcrManager-bRKGv0Gu.d.ts} +19 -19
- package/dist/{createFaceAvatar-BZSg2MNo.esm.js → createFaceAvatar-CpmQJA8E.esm.js} +3 -3
- package/dist/{createFaceAvatar-CpdYp9Iy.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 +1 -1
- package/dist/curp-validation.d.ts +10 -10
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CoqODZx5.d.ts → curpValidationManager-CJdVrCex.d.ts} +3 -3
- package/dist/{curpValidationManager-Cbji2inV.esm.js → curpValidationManager-u2FkvveY.esm.js} +1 -1
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-jX2tqKLf.esm.js → deepsightLoader-DyECVkoj.esm.js} +20 -10
- package/dist/{deepsightService-CkZqM1Q2.esm.js → deepsightService-DU9yBWg_.esm.js} +4 -4
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +254 -254
- package/dist/document-capture.esm.js +7 -7
- package/dist/document-upload.d.ts +48 -48
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureStateMachine-BHIYPUEu.esm.js → documentCaptureStateMachine-CteYwf1y.esm.js} +4 -4
- package/dist/dynamic-forms.d.ts +4 -4
- package/dist/dynamic-forms.esm.js +3 -3
- package/dist/{dynamicFormsManager-CKZkE7Wo.d.ts → dynamicFormsManager-B_4qA_CB.d.ts} +2 -2
- package/dist/{dynamicFormsManager-CHXUBNs4.esm.js → dynamicFormsManager-CNg60mlv.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DJ1HGZff.esm.js → dynamicFormsStateMachine-BfLLcxua.esm.js} +1 -1
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +7 -7
- package/dist/{ekybStateMachine-DgXSlCgg.esm.js → ekybStateMachine-D_cRrsi8.esm.js} +2 -2
- package/dist/ekyc.d.ts +4 -4
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DnVRiu3s.esm.js → ekycStateMachine-BcPEEqMA.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/email.d.ts +5 -5
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-B9Vrv3Ma.esm.js → emailManager-C9O7k0-m.esm.js} +2 -2
- package/dist/{emailManager-CMS4q_r6.d.ts → emailManager-CTOXMlVd.d.ts} +3 -3
- package/dist/{emailStateMachine-CbmKFVSi.esm.js → emailStateMachine-Bk4pkysV.esm.js} +1 -1
- package/dist/extensibility.d.ts +35 -35
- package/dist/extensibility.esm.js +56 -57
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-DiJ64oem.d.ts → faceCaptureManagerFactory-C3vBl6Fp.d.ts} +14 -14
- package/dist/{faceCaptureManagerFactory-e07bKys2.esm.js → faceCaptureManagerFactory-CWnrasW3.esm.js} +3 -6
- package/dist/{faceCaptureSetup-DMTtkWFT.esm.js → faceCaptureSetup-BKPSJ0lw.esm.js} +7 -7
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-OLKVsG2Z.d.ts → fieldComparisonManager-BOEgiOw_.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -5
- package/dist/fiscal-qr.esm.js +6 -6
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +30 -14
- package/dist/flow.esm.js +20 -29
- package/dist/{flowServices-C1J_gLLK.esm.js → flowServices-HZECmDUc.esm.js} +29 -3
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DaHYFkVO.d.ts → geolocationManager-B3lahU1a.d.ts} +2 -2
- package/dist/{geolocationManager-CF6-NizA.esm.js → geolocationManager-Dmbh6TXA.esm.js} +1 -1
- package/dist/{getDeviceClass-DIjnTPjR.esm.js → getDeviceClass-QxbJwsOO.esm.js} +1 -1
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-BE5wiQ7Y.esm.js → governmentValidationStateMachine-CjCs0_fG.esm.js} +1 -1
- package/dist/home.d.ts +18 -18
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -4
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-verification.d.ts +28 -28
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +25 -26
- package/dist/{idCaptureDefaults-CZajItdO.esm.js → idCaptureDefaults-BaPDKms3.esm.js} +1 -1
- package/dist/{idCaptureManager-BUB8sEr0.esm.js → idCaptureManager-1VQHQJl5.esm.js} +4 -7
- package/dist/{idCaptureManager-CwuXtVu6.d.ts → idCaptureManager-mX-A6LVq.d.ts} +13 -13
- package/dist/{idCaptureStateMachine-B-xj8GBZ.esm.js → idCaptureStateMachine-BXhL_IKZ.esm.js} +13 -13
- package/dist/{idOcrManager-d_rlJiol.d.ts → idOcrManager-B7HXKHAk.d.ts} +57 -57
- package/dist/{idOcrManager-Tm4LzKR0.esm.js → idOcrManager-CiEzYor8.esm.js} +1 -1
- package/dist/{idOcrStateMachine-BJxZCxwS.esm.js → idOcrStateMachine-CGeY01rX.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-D_nfdUP9.d.ts → identityReuseManager-BbmyL7_3.d.ts} +33 -33
- package/dist/{identityReuseManager-LjkPvSQN.esm.js → identityReuseManager-CrbjKac7.esm.js} +1 -1
- package/dist/{index-Bp9Z53ca.d.ts → index-BO3dlVd5.d.ts} +151 -151
- package/dist/{index-DrpWp15Z.d.ts → index-CVgIGwUy.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-8xnX3oo5.d.ts → mandatoryConsentManager-BA4GDdTC.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-DZ26sg4B.esm.js → mandatoryConsentManager-b1QKgIKi.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-Dyf7XrQL.esm.js → onDeviceFaceResults-6nBUTkSq.esm.js} +8 -8
- package/dist/{openviduLazy-wEojM41w.esm.js → openviduLazy-BXDnVFe2.esm.js} +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +3 -0
- package/dist/{permissionGuards-BPZGWaL4.esm.js → permissionGuards-jvARexN9.esm.js} +1 -1
- package/dist/{permissionServices-BElIOcoJ.esm.js → permissionServices-BTNLDsub.esm.js} +2 -2
- package/dist/personhood.d.ts +27 -16
- package/dist/personhood.esm.js +31 -21
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-_KtitbUA.d.ts → phoneManager-CG1vTJiG.d.ts} +3 -3
- package/dist/{phoneManager-CRblfdcI.esm.js → phoneManager-DNTrIq-D.esm.js} +2 -2
- package/dist/{phoneStateMachine-DjFGWMjQ.esm.js → phoneStateMachine-MqNDf1Nh.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CpOcPhvE.esm.js → recordingService-CDZHWq_z.esm.js} +4 -4
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-dv29o_LS.d.ts → redirectToMobileManager-D7U9k-Xs.d.ts} +2 -2
- package/dist/{redirectToMobileManager-DbuNUlru.esm.js → redirectToMobileManager-DuD03ggR.esm.js} +1 -1
- package/dist/{runChildModule-kojSv3MH.esm.js → runChildModule-XHWWqs39.esm.js} +1 -1
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +24 -26
- package/dist/{selfieManager-pQxiZgKc.esm.js → selfieManager-BTplRdKZ.esm.js} +3 -3
- package/dist/{selfieManager-4juKfrHG.d.ts → selfieManager-DVhF0jHn.d.ts} +3 -3
- package/dist/{selfieStateMachine-BsWk2zUJ.esm.js → selfieStateMachine-CvhjDaWQ.esm.js} +3 -3
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CNplP7aj.esm.js → sessionInitializer-CrJTBMQE.esm.js} +2 -2
- package/dist/{setup-rMaZNElx.esm.js → setup-0QMvgc69.esm.js} +2 -2
- package/dist/{setup-CmA2apmN.d.ts → setup-sxZLfgvF.d.ts} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-CFAPtAUM.esm.js → tri-CFBjqf5E.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-DDJ1zOqG.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/{types-DV3wkhQ4.d.ts → types-B_YCuHZx.d.ts} +1 -1
- package/dist/{types-D8Cl1N2Z.d.ts → types-CRPns2d9.d.ts} +1 -1
- package/dist/{types-fO6KIdol.d.ts → types-Cf0Ry6ff.d.ts} +3 -3
- package/dist/{types-BUgeB2X6.d.ts → types-Cyi3gwPK.d.ts} +2 -2
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +19 -19
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +2 -2
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +2 -2
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +117 -117
- package/dist/workflow.esm.js +55 -55
- package/package.json +3 -3
- package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
- package/dist/wasmDsFlagSync-Ch0mFJNT.esm.js +0 -14
- /package/dist/{Actor-BwgmOPkb.d.ts → Actor-DYjXVMQm.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-fZsibQTR.esm.js → BrowserStorageProvider-CBXGCHnK.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-GBS6XSii.esm.js → BrowserVisibilityObserverProvider-C71KNDM2.esm.js} +0 -0
- /package/dist/{ITimerCapability-DJ73P4RK.esm.js → ITimerCapability-G7lQg-be.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-BZ1rE7ly.d.ts → IVisibilityObserverCapability-BxPj7hsu.d.ts} +0 -0
- /package/dist/{Manager-goNPc_h_.d.ts → Manager-BfBOhrjh.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-D95kOKVK.esm.js → MotionSensorProvider-BkHKMCPE.esm.js} +0 -0
- /package/dist/{StateMachine-D5WO6lHS.d.ts → StateMachine-20ahmASR.d.ts} +0 -0
- /package/dist/{addressSearch-D7msRieq.esm.js → addressSearch-B9iJdbn8.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-Br3G10gw.esm.js → browser-DlFgHpoC-CR6x7ypG.esm.js} +0 -0
- /package/dist/{camera-CxxXV0VN.esm.js → camera-B0yWS33x.esm.js} +0 -0
- /package/dist/{camera-CKU96nwJ.d.ts → camera-CWO06Lu5.d.ts} +0 -0
- /package/dist/{canvas-Pi10hG_l.esm.js → canvas-DsJa51yU.esm.js} +0 -0
- /package/dist/{canvas-90BqS0NF.d.ts → canvas-pLrXU1id.d.ts} +0 -0
- /package/dist/{certificateIssuanceStateMachine-DlZQT1_u.esm.js → certificateIssuanceStateMachine-CpewPqas.esm.js} +0 -0
- /package/dist/{consentStateMachine-BOkVFiU7.esm.js → consentStateMachine-DnqwsZ7o.esm.js} +0 -0
- /package/dist/{cpf-16m_cGAM.esm.js → cpf-B9htWzDt.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-CeqDh2V5.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-dovMwTLv.esm.js} +0 -0
- /package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-PXB_WRYL.esm.js} +0 -0
- /package/dist/{deepsightService-BuTOFTr8.d.ts → deepsightService-CbaqT7bP.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-MDb30gCm.esm.js → faceMatchStateMachine-C6J09ygk.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-Cw4uzD7S.esm.js → fieldComparisonManager-kk2RkWeb.esm.js} +0 -0
- /package/dist/{flowCompletionService-B6P6_EF3.esm.js → flowCompletionService-BDcDfyoA.esm.js} +0 -0
- /package/dist/{flowCompletionService-BOSTlAWo.d.ts → flowCompletionService-nF7e8At0.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-CD2XJs1b.esm.js → geolocationStateMachine-BRLIXR1x.esm.js} +0 -0
- /package/dist/{getDeviceClass-C-Dg6IsJ.esm.js → getDeviceClass-BdgmyOOu.esm.js} +0 -0
- /package/dist/{http-CnsKEaJY.esm.js → http-CBbBcnBa.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-DXN9WcdM.esm.js → idVerificationStateMachine-B6Ccvut4.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-Bp-zONoV.esm.js → identityReuseStateMachine-Do_M-z6z.esm.js} +0 -0
- /package/dist/{index-BAyZ8_iI.d.ts → index-CCG6MnCO.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-CCS2Ruzi.esm.js → invokeOnCaptureCallback-gKRaO24Q.esm.js} +0 -0
- /package/dist/{lib-Bjd6nOLG.esm.js → lib-TRTXfron.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-_44ZoDSh.esm.js → mandatoryConsentStateMachine-VPbrLLfo.esm.js} +0 -0
- /package/dist/{mediaRecorderOptions-CClCKAiF.esm.js → mediaRecorderOptions-DuYelylE.esm.js} +0 -0
- /package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-yKDdOf_V.esm.js} +0 -0
- /package/dist/{otp-B1YeyRXu.d.ts → otp-CETbFjXH.d.ts} +0 -0
- /package/dist/{otp-uaXiKt_R.esm.js → otp-DepQPUIA.esm.js} +0 -0
- /package/dist/{qe-signature-BnWIpR-O.esm.js → qe-signature-CVnJ4RaW.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-BRaIJWOM.esm.js → redirectToMobileStateMachine-WVg-n2is.esm.js} +0 -0
- /package/dist/{session-CLsU2Jnb.esm.js → session-BWCjVIr6.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CdhlMih-.esm.js → signatureStateMachine-iT9BhNUf.esm.js} +0 -0
- /package/dist/{types-BcF-fii5.d.ts → types-BOiKESZY.d.ts} +0 -0
- /package/dist/{types-BgjMAEXl.d.ts → types-CTnn7kUK.d.ts} +0 -0
- /package/dist/{types-BKLb3C42.esm.js → types-Db2ooXIu.esm.js} +0 -0
- /package/dist/{video-ZY92rkel.esm.js → video-DXf5H9rY.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-Djpv7cjb.esm.js → videoSelfieSteps-C6E7mKFt.esm.js} +0 -0
- /package/dist/{warmup-Dd0iq6KF.d.ts → warmup-Bq8ivhlI.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-R1Yp1g5A.esm.js → watchlistForBusinessStateMachine-CyhTEi3N.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-D07UVq1m.esm.js → watchlistStateMachine-CgKG-KSf.esm.js} +0 -0
|
@@ -4,71 +4,70 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
4
4
|
import "./events-1wxZ97yf.esm.js";
|
|
5
5
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
|
-
import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
7
|
+
import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-CrJTBMQE.esm.js";
|
|
8
8
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
9
9
|
import "./platform-0Ot-bF_a.esm.js";
|
|
10
10
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
11
|
-
import "./tri-
|
|
11
|
+
import "./tri-CFBjqf5E.esm.js";
|
|
12
12
|
import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
13
13
|
import "./urlUtils-CpiYwn7w.esm.js";
|
|
14
14
|
import "./apiError-DkOXfFBu.esm.js";
|
|
15
15
|
import "./antifraudStateMachine-BQVw46N5.esm.js";
|
|
16
16
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-5KA84wtF.esm.js";
|
|
17
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
38
|
-
import "./
|
|
39
|
-
import "./
|
|
40
|
-
import
|
|
41
|
-
import "./
|
|
42
|
-
import { n as
|
|
43
|
-
import
|
|
44
|
-
import "./
|
|
45
|
-
import "./
|
|
46
|
-
import
|
|
47
|
-
import "./
|
|
48
|
-
import "./
|
|
49
|
-
import
|
|
50
|
-
import "./
|
|
51
|
-
import "./
|
|
52
|
-
import "./
|
|
53
|
-
import
|
|
54
|
-
import "./
|
|
55
|
-
import
|
|
56
|
-
import "./
|
|
57
|
-
import "./
|
|
58
|
-
import
|
|
59
|
-
import "./
|
|
60
|
-
import
|
|
61
|
-
import "./
|
|
62
|
-
import { n as
|
|
63
|
-
import
|
|
64
|
-
import "./
|
|
65
|
-
import
|
|
66
|
-
import "./
|
|
67
|
-
import
|
|
68
|
-
import "./
|
|
69
|
-
import { n as
|
|
70
|
-
import
|
|
71
|
-
import "./geolocationStateMachine-CD2XJs1b.esm.js";
|
|
17
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BKPSJ0lw.esm.js";
|
|
18
|
+
import "./BrowserVisibilityObserverProvider-C71KNDM2.esm.js";
|
|
19
|
+
import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
20
|
+
import "./permissionServices-BTNLDsub.esm.js";
|
|
21
|
+
import "./camera-B0yWS33x.esm.js";
|
|
22
|
+
import "./faceCaptureManagerFactory-CWnrasW3.esm.js";
|
|
23
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
24
|
+
import "./onDeviceFaceResults-6nBUTkSq.esm.js";
|
|
25
|
+
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
26
|
+
import "./canvas-DsJa51yU.esm.js";
|
|
27
|
+
import "./backCameraStream-Cz2EvzSR.esm.js";
|
|
28
|
+
import "./video-DXf5H9rY.esm.js";
|
|
29
|
+
import "./getDeviceClass-BdgmyOOu.esm.js";
|
|
30
|
+
import "./deepsightService-DU9yBWg_.esm.js";
|
|
31
|
+
import "./getDeviceClass-QxbJwsOO.esm.js";
|
|
32
|
+
import "./types-Db2ooXIu.esm.js";
|
|
33
|
+
import "./createFaceAvatar-CpmQJA8E.esm.js";
|
|
34
|
+
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
35
|
+
import "./permissionGuards-jvARexN9.esm.js";
|
|
36
|
+
import "./recordingService-CDZHWq_z.esm.js";
|
|
37
|
+
import "./mediaRecorderOptions-DuYelylE.esm.js";
|
|
38
|
+
import "./authenticationStateMachine-C5-MnTtO.esm.js";
|
|
39
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BYOqf17_.esm.js";
|
|
40
|
+
import "./consentStateMachine-DnqwsZ7o.esm.js";
|
|
41
|
+
import { n as createConsentManagerFromActor } from "./consentManager-DL93cPSU.esm.js";
|
|
42
|
+
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-BW8wlEU_.esm.js";
|
|
43
|
+
import "./cpf-B9htWzDt.esm.js";
|
|
44
|
+
import "./curpValidationStateMachine-CeqDh2V5.esm.js";
|
|
45
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-u2FkvveY.esm.js";
|
|
46
|
+
import "./dateUtils-PXB_WRYL.esm.js";
|
|
47
|
+
import "./dynamicFormsStateMachine-BfLLcxua.esm.js";
|
|
48
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CNg60mlv.esm.js";
|
|
49
|
+
import "./session-BWCjVIr6.esm.js";
|
|
50
|
+
import "./emailStateMachine-Bk4pkysV.esm.js";
|
|
51
|
+
import "./otp-DepQPUIA.esm.js";
|
|
52
|
+
import { n as createEmailManagerFromActor } from "./emailManager-C9O7k0-m.esm.js";
|
|
53
|
+
import "./selfieStateMachine-CvhjDaWQ.esm.js";
|
|
54
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-BTplRdKZ.esm.js";
|
|
55
|
+
import "./idCaptureStateMachine-BXhL_IKZ.esm.js";
|
|
56
|
+
import "./idCaptureDefaults-BaPDKms3.esm.js";
|
|
57
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-1VQHQJl5.esm.js";
|
|
58
|
+
import "./phoneStateMachine-MqNDf1Nh.esm.js";
|
|
59
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-DNTrIq-D.esm.js";
|
|
60
|
+
import "./identityReuseStateMachine-Do_M-z6z.esm.js";
|
|
61
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CrbjKac7.esm.js";
|
|
62
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-kk2RkWeb.esm.js";
|
|
63
|
+
import "./mandatoryConsentStateMachine-VPbrLLfo.esm.js";
|
|
64
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-b1QKgIKi.esm.js";
|
|
65
|
+
import "./idOcrStateMachine-CGeY01rX.esm.js";
|
|
66
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-CiEzYor8.esm.js";
|
|
67
|
+
import "./redirectToMobileStateMachine-WVg-n2is.esm.js";
|
|
68
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DuD03ggR.esm.js";
|
|
69
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-Dmbh6TXA.esm.js";
|
|
70
|
+
import "./geolocationStateMachine-BRLIXR1x.esm.js";
|
|
72
71
|
|
|
73
72
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
74
73
|
async function getFingerprint(disableIpify) {
|
package/dist/face-match.d.ts
CHANGED
package/dist/face-match.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
5
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-C6J09ygk.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
8
8
|
function createFaceMatchActor(options) {
|
package/dist/{faceCaptureManagerFactory-DiJ64oem.d.ts → faceCaptureManagerFactory-C3vBl6Fp.d.ts}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
7
|
-
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates } from "./createFaceAvatar-
|
|
8
|
-
import { i as FlowModuleConfig } from "./types-
|
|
9
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
10
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
-
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
12
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
13
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
1
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-20ahmASR.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BxPj7hsu.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CWO06Lu5.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-pLrXU1id.js";
|
|
7
|
+
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates } from "./createFaceAvatar-DNMSIcRb.js";
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-Cyi3gwPK.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BOiKESZY.js";
|
|
10
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Cf0Ry6ff.js";
|
|
11
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-ZFnJ8ebm.js";
|
|
12
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DHDxv6hH.js";
|
|
13
|
+
import { t as DeepsightService } from "./deepsightService-CbaqT7bP.js";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
16
16
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -54,7 +54,7 @@ type SelfieConfig = FlowModuleConfig['SELFIE'] & BaseFaceCaptureConfig;
|
|
|
54
54
|
* the factory (see `DEFAULT_SELFIE_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
55
55
|
* about, e.g. `{ onCapture, captureAttempts: 5, validateBrightness: true }`.
|
|
56
56
|
*/
|
|
57
|
-
type SelfieCaptureOnlyConfig = Partial<Pick<SelfieConfig, 'showTutorial' | 'showPreview' | 'captureAttempts' | 'autoCaptureTimeout' | 'validateLenses' | 'validateFaceMask' | 'validateHeadCover' | 'validateClosedEyes' | 'validateBrightness'>> & {
|
|
57
|
+
type SelfieCaptureOnlyConfig = Partial<Pick<SelfieConfig, 'showTutorial' | 'showPreview' | 'captureAttempts' | 'autoCaptureTimeout' | 'validateLenses' | 'validateFaceMask' | 'validateHeadCover' | 'validateClosedEyes' | 'validateBrightness' | 'ds'>> & {
|
|
58
58
|
onCapture: (response: FaceCaptureOnlyResponse) => void | Promise<void>;
|
|
59
59
|
};
|
|
60
60
|
type SelfieDependencies = FaceCaptureDependencies;
|
package/dist/{faceCaptureManagerFactory-e07bKys2.esm.js → faceCaptureManagerFactory-CWnrasW3.esm.js}
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
2
2
|
import { l as createManager } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BElIOcoJ.esm.js";
|
|
3
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-BKPSJ0lw.esm.js";
|
|
4
|
+
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-C71KNDM2.esm.js";
|
|
5
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BTNLDsub.esm.js";
|
|
7
6
|
|
|
8
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
9
8
|
function getPermissionStatus(snapshot) {
|
|
@@ -245,8 +244,6 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
245
244
|
snapshot.context.dependencies.trackCaptureAttemptFinished = trackCaptureAttemptFinished;
|
|
246
245
|
return {
|
|
247
246
|
load() {
|
|
248
|
-
const { config } = actor.getSnapshot().context;
|
|
249
|
-
if (config.ds === true) setWasmDsFlagSync(true);
|
|
250
247
|
actor.send({ type: "LOAD" });
|
|
251
248
|
},
|
|
252
249
|
async nextStep() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as getToken } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
4
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
-
import { t as FACE_ERROR_CODES } from "./types-
|
|
6
|
-
import { t as createFaceAvatar } from "./createFaceAvatar-
|
|
7
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
8
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
9
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
3
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BTNLDsub.esm.js";
|
|
4
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-6nBUTkSq.esm.js";
|
|
5
|
+
import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
|
|
6
|
+
import { t as createFaceAvatar } from "./createFaceAvatar-CpmQJA8E.esm.js";
|
|
7
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
8
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-jvARexN9.esm.js";
|
|
9
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-CDZHWq_z.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { a as FieldComparisonActor, c as FieldComparisonFields, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, o as fieldComparisonMachine, r as createFieldComparisonManager, s as FieldComparisonConfig, t as FieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import "./Manager-BfBOhrjh.js";
|
|
3
|
+
import "./Actor-DYjXVMQm.js";
|
|
4
|
+
import { a as FieldComparisonActor, c as FieldComparisonFields, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, o as fieldComparisonMachine, r as createFieldComparisonManager, s as FieldComparisonConfig, t as FieldComparisonManager } from "./fieldComparisonManager-BOEgiOw_.js";
|
|
5
5
|
export { type FieldComparisonActor, type FieldComparisonConfig, type FieldComparisonFields, type FieldComparisonManager, type FieldComparisonState, createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
|
@@ -2,6 +2,6 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-1wxZ97yf.esm.js";
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
5
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-kk2RkWeb.esm.js";
|
|
6
6
|
|
|
7
7
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/field-comparison/types.d.ts
|
|
5
5
|
|
package/dist/fiscal-qr.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./canvas-
|
|
5
|
-
import "./StreamCanvasCapture-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
3
|
+
import "./camera-CWO06Lu5.js";
|
|
4
|
+
import "./canvas-pLrXU1id.js";
|
|
5
|
+
import "./StreamCanvasCapture-DHDxv6hH.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/fiscal-qr/types.d.ts
|
|
8
8
|
/**
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -4,12 +4,12 @@ import { g as addEvent, n as eventModuleNames, s as createManagerInstrumentation
|
|
|
4
4
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./platform-0Ot-bF_a.esm.js";
|
|
6
6
|
import { a as fromPromise, i as fromCallback, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
7
|
-
import { a as stopCameraStream } from "./camera-
|
|
8
|
-
import "./ITimerCapability-
|
|
9
|
-
import "./canvas-
|
|
10
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
11
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
12
|
-
import "./http-
|
|
7
|
+
import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
|
|
8
|
+
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
9
|
+
import "./canvas-DsJa51yU.esm.js";
|
|
10
|
+
import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
|
|
11
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
12
|
+
import "./http-CBbBcnBa.esm.js";
|
|
13
13
|
import { BrowserQRCodeReader } from "@zxing/browser";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/fiscal-qr/fiscalQrConstants.ts
|
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./camera-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./canvas-
|
|
5
|
-
import "./createFaceAvatar-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./flowCompletionService-
|
|
8
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
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 "./types-Cyi3gwPK.js";
|
|
7
|
+
import "./flowCompletionService-nF7e8At0.js";
|
|
8
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-CVgIGwUy.js";
|
|
9
9
|
export { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import "./camera-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./canvas-
|
|
8
|
-
import "./createFaceAvatar-
|
|
9
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
10
|
-
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-
|
|
11
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
12
|
-
import { n as ModuleRegistry } from "./types-
|
|
13
|
-
import * as
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-Bq8ivhlI.js";
|
|
2
|
+
import { t as AnyStateMachine } from "./StateMachine-20ahmASR.js";
|
|
3
|
+
import { t as Manager } from "./Manager-BfBOhrjh.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 { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Cyi3gwPK.js";
|
|
10
|
+
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-nF7e8At0.js";
|
|
11
|
+
import { o as FlowEventSubscribable } from "./index-CVgIGwUy.js";
|
|
12
|
+
import { n as ModuleRegistry } from "./types-CRPns2d9.js";
|
|
13
|
+
import * as xstate1104 from "xstate";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/flow/flowUtils.d.ts
|
|
16
16
|
type NormalizeFlowModulesOptions = {
|
|
@@ -20,6 +20,22 @@ type NormalizeFlowModulesOptions = {
|
|
|
20
20
|
useCPF?: boolean;
|
|
21
21
|
};
|
|
22
22
|
type FlowForNormalization = Pick<Flow, 'flowId' | 'flowModules' | 'redirectDesktopToMobile' | 'disableSmsOption' | 'addContinueToDesktop' | 'qrPhishingResistance'>;
|
|
23
|
+
/**
|
|
24
|
+
* Builds the config a flow module is started with: its own `configuration`
|
|
25
|
+
* plus the flow-level flags that live on the `Flow` root rather than inside
|
|
26
|
+
* `configuration`.
|
|
27
|
+
*
|
|
28
|
+
* `ds` (Deepsight) MUST be merged here. The WASM records it on every
|
|
29
|
+
* `prc`/`poc`/`rsp`/`ssl` call and echoes it to the backend as `iad.ds`, which
|
|
30
|
+
* is cross-checked against the org config — an orchestrator that starts a
|
|
31
|
+
* capture module without `ds` makes the upload fail with 400 "Invalid Capture
|
|
32
|
+
* Metadata". `ageAssurance` follows the same root-level pattern and falls back
|
|
33
|
+
* only when the module didn't set it.
|
|
34
|
+
*
|
|
35
|
+
* Every orchestrator (flow, orchestrated flow) resolves module config through
|
|
36
|
+
* this one function so the two cannot drift apart.
|
|
37
|
+
*/
|
|
38
|
+
|
|
23
39
|
/**
|
|
24
40
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
25
41
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
@@ -62,7 +78,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
62
78
|
declare const getFlow: GetFlow;
|
|
63
79
|
//#endregion
|
|
64
80
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
65
|
-
declare const noOpFlowModuleMachine:
|
|
81
|
+
declare const noOpFlowModuleMachine: xstate1104.StateMachine<xstate1104.MachineContext, xstate1104.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1104.NonReducibleUnknown, xstate1104.NonReducibleUnknown, xstate1104.EventObject, xstate1104.MetaObject, {
|
|
66
82
|
readonly id: "noOpFlowModule";
|
|
67
83
|
readonly initial: "finished";
|
|
68
84
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -3,19 +3,19 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { g as addEvent } from "./events-1wxZ97yf.esm.js";
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./stats-BVy52wLy.esm.js";
|
|
6
|
-
import "./sessionInitializer-
|
|
6
|
+
import "./sessionInitializer-CrJTBMQE.esm.js";
|
|
7
7
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
8
8
|
import "./platform-0Ot-bF_a.esm.js";
|
|
9
9
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
10
|
-
import "./tri-
|
|
10
|
+
import "./tri-CFBjqf5E.esm.js";
|
|
11
11
|
import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
12
12
|
import "./apiError-DkOXfFBu.esm.js";
|
|
13
|
-
import "./types-
|
|
14
|
-
import "./session-
|
|
15
|
-
import "./videoSelfieSteps-
|
|
16
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
17
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
18
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
13
|
+
import "./types-Db2ooXIu.esm.js";
|
|
14
|
+
import "./session-BWCjVIr6.esm.js";
|
|
15
|
+
import "./videoSelfieSteps-C6E7mKFt.esm.js";
|
|
16
|
+
import { i as resolveFlowModuleConfig, n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-HZECmDUc.esm.js";
|
|
17
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BDcDfyoA.esm.js";
|
|
18
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-XHWWqs39.esm.js";
|
|
19
19
|
|
|
20
20
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
21
21
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
@@ -52,7 +52,7 @@ const flowMachine = setup({
|
|
|
52
52
|
steps: (flow.flowModules ?? []).map((m) => m.key),
|
|
53
53
|
currentStepIndex: (flow.flowModules ?? []).length > 0 ? 0 : -1,
|
|
54
54
|
currentStep: flow.flowModules?.[0]?.key,
|
|
55
|
-
config: flow.flowModules?.[0]
|
|
55
|
+
config: resolveFlowModuleConfig(flow.flowModules?.[0], flow)
|
|
56
56
|
};
|
|
57
57
|
}),
|
|
58
58
|
setError: assign(({ event }) => ({ error: String(event.error) })),
|
|
@@ -62,7 +62,7 @@ const flowMachine = setup({
|
|
|
62
62
|
return {
|
|
63
63
|
currentStepIndex: nextIndex,
|
|
64
64
|
currentStep: module?.key,
|
|
65
|
-
config: module
|
|
65
|
+
config: resolveFlowModuleConfig(module, context.flow)
|
|
66
66
|
};
|
|
67
67
|
}),
|
|
68
68
|
decrementStep: assign(({ context }) => {
|
|
@@ -71,7 +71,7 @@ const flowMachine = setup({
|
|
|
71
71
|
return {
|
|
72
72
|
currentStepIndex: prevIndex,
|
|
73
73
|
currentStep: module?.key,
|
|
74
|
-
config: module
|
|
74
|
+
config: resolveFlowModuleConfig(module, context.flow)
|
|
75
75
|
};
|
|
76
76
|
})
|
|
77
77
|
},
|
|
@@ -188,10 +188,12 @@ function createApi({ actor, getSnapshot, trackElementClicked }) {
|
|
|
188
188
|
const snapshot = getSnapshot();
|
|
189
189
|
return snapshot.matches("ready") && snapshot.context.currentStepIndex > 0;
|
|
190
190
|
}
|
|
191
|
-
function getModuleConfig
|
|
191
|
+
function getModuleConfig(moduleKey) {
|
|
192
192
|
const snapshot = getSnapshot();
|
|
193
193
|
if (!snapshot.matches("ready")) return;
|
|
194
|
-
|
|
194
|
+
const mod = snapshot.context.flow?.flowModules.find((m) => m.key === moduleKey);
|
|
195
|
+
if (!mod) return;
|
|
196
|
+
return resolveFlowModuleConfig(mod, snapshot.context.flow);
|
|
195
197
|
}
|
|
196
198
|
function isModuleEnabled(moduleKey) {
|
|
197
199
|
const snapshot = getSnapshot();
|
|
@@ -223,7 +225,7 @@ function createApi({ actor, getSnapshot, trackElementClicked }) {
|
|
|
223
225
|
get canPrev() {
|
|
224
226
|
return getCanPrev();
|
|
225
227
|
},
|
|
226
|
-
getModuleConfig
|
|
228
|
+
getModuleConfig,
|
|
227
229
|
isModuleEnabled
|
|
228
230
|
};
|
|
229
231
|
}
|
|
@@ -303,17 +305,6 @@ function createModuleLoader(registry) {
|
|
|
303
305
|
|
|
304
306
|
//#endregion
|
|
305
307
|
//#region src/modules/flow/orchestratedFlowStateMachine.ts
|
|
306
|
-
function getModuleConfig(module, flow) {
|
|
307
|
-
const config = {
|
|
308
|
-
...module?.configuration,
|
|
309
|
-
ds: flow?.ds
|
|
310
|
-
};
|
|
311
|
-
if (module?.key === "ID" || module?.key === "TUTORIAL_ID" || module?.key === "SECOND_ID" || module?.key === "SELFIE") return {
|
|
312
|
-
...config,
|
|
313
|
-
ageAssurance: config.ageAssurance ?? flow?.ageAssurance
|
|
314
|
-
};
|
|
315
|
-
return config;
|
|
316
|
-
}
|
|
317
308
|
function createBaseContext(context, isHomeContinueLoading) {
|
|
318
309
|
return {
|
|
319
310
|
flow: void 0,
|
|
@@ -396,7 +387,7 @@ const orchestratedFlowMachine = setup({
|
|
|
396
387
|
const flow = event.output;
|
|
397
388
|
const flowModules = flow.flowModules ?? [];
|
|
398
389
|
const firstModule = flowModules[0];
|
|
399
|
-
const config =
|
|
390
|
+
const config = resolveFlowModuleConfig(firstModule, flow);
|
|
400
391
|
return {
|
|
401
392
|
flow,
|
|
402
393
|
steps: flowModules.map((m) => m.key),
|
|
@@ -416,7 +407,7 @@ const orchestratedFlowMachine = setup({
|
|
|
416
407
|
incrementStep: assign(({ context }) => {
|
|
417
408
|
const nextIndex = context.currentStepIndex + 1;
|
|
418
409
|
const module = context.flow?.flowModules?.[nextIndex];
|
|
419
|
-
const config =
|
|
410
|
+
const config = resolveFlowModuleConfig(module, context.flow);
|
|
420
411
|
return {
|
|
421
412
|
currentStepIndex: nextIndex,
|
|
422
413
|
currentStep: module?.key,
|
|
@@ -780,7 +771,7 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
780
771
|
const { currentStepIndex, steps } = snapshot.context;
|
|
781
772
|
return snapshot.value === "runningModule" && currentStepIndex >= 0 && currentStepIndex < steps.length - 1;
|
|
782
773
|
}
|
|
783
|
-
function getModuleConfig
|
|
774
|
+
function getModuleConfig(moduleKey) {
|
|
784
775
|
const snapshot = getSnapshot();
|
|
785
776
|
if (snapshot.value !== "runningModule") return;
|
|
786
777
|
return (snapshot.context.flow?.flowModules.find((m) => m.key === moduleKey))?.configuration;
|
|
@@ -826,7 +817,7 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
826
817
|
get canNext() {
|
|
827
818
|
return getCanNext();
|
|
828
819
|
},
|
|
829
|
-
getModuleConfig
|
|
820
|
+
getModuleConfig,
|
|
830
821
|
isModuleEnabled,
|
|
831
822
|
isAwaitingOrchestratorReady() {
|
|
832
823
|
return mapSnapshot().presentation.isAwaitingReady;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CrJTBMQE.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
|
|
5
|
-
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-
|
|
5
|
+
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-C6E7mKFt.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/flow/flowUtils.ts
|
|
8
8
|
const WASM_MODULE_PIPELINES = {
|
|
@@ -22,6 +22,32 @@ function isVideoOnboardingModule(module) {
|
|
|
22
22
|
return module.key === "VIDEO_ONBOARDING";
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
+
* Builds the config a flow module is started with: its own `configuration`
|
|
26
|
+
* plus the flow-level flags that live on the `Flow` root rather than inside
|
|
27
|
+
* `configuration`.
|
|
28
|
+
*
|
|
29
|
+
* `ds` (Deepsight) MUST be merged here. The WASM records it on every
|
|
30
|
+
* `prc`/`poc`/`rsp`/`ssl` call and echoes it to the backend as `iad.ds`, which
|
|
31
|
+
* is cross-checked against the org config — an orchestrator that starts a
|
|
32
|
+
* capture module without `ds` makes the upload fail with 400 "Invalid Capture
|
|
33
|
+
* Metadata". `ageAssurance` follows the same root-level pattern and falls back
|
|
34
|
+
* only when the module didn't set it.
|
|
35
|
+
*
|
|
36
|
+
* Every orchestrator (flow, orchestrated flow) resolves module config through
|
|
37
|
+
* this one function so the two cannot drift apart.
|
|
38
|
+
*/
|
|
39
|
+
function resolveFlowModuleConfig(module, flow) {
|
|
40
|
+
const config = {
|
|
41
|
+
...module?.configuration,
|
|
42
|
+
ds: flow?.ds
|
|
43
|
+
};
|
|
44
|
+
if (module?.key === "ID" || module?.key === "TUTORIAL_ID" || module?.key === "SECOND_ID" || module?.key === "SELFIE") return {
|
|
45
|
+
...config,
|
|
46
|
+
ageAssurance: config.ageAssurance ?? flow?.ageAssurance
|
|
47
|
+
};
|
|
48
|
+
return config;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
25
51
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
26
52
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
27
53
|
*
|
|
@@ -205,4 +231,4 @@ const getFlow = async (signal, options = {}) => {
|
|
|
205
231
|
};
|
|
206
232
|
|
|
207
233
|
//#endregion
|
|
208
|
-
export { getRequiredWasmPipelines as n, normalizeFlowModules as r, getFlow as t };
|
|
234
|
+
export { resolveFlowModuleConfig as i, getRequiredWasmPipelines as n, normalizeFlowModules as r, getFlow as t };
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-
|
|
1
|
+
import "./StateMachine-20ahmASR.js";
|
|
2
|
+
import "./Manager-BfBOhrjh.js";
|
|
3
|
+
import "./Actor-DYjXVMQm.js";
|
|
4
|
+
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-B3lahU1a.js";
|
|
5
5
|
export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./events-1wxZ97yf.esm.js";
|
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import "./platform-0Ot-bF_a.esm.js";
|
|
5
5
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
6
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
7
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
6
|
+
import { t as createGeolocationManager } from "./geolocationManager-Dmbh6TXA.esm.js";
|
|
7
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BRLIXR1x.esm.js";
|
|
8
8
|
|
|
9
9
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
2
2
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BRLIXR1x.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
6
6
|
var BrowserGeolocationProvider = class {
|