@incodetech/core 2.1.1-rc.3 → 2.1.1-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-9zb-7MLE.esm.js → 3dAvatarProvider-BwOmTMOy.esm.js} +2 -2
- package/dist/{Face2DProvider-DqFSo9Ls.esm.js → Face2DProvider-CZU11g6r.esm.js} +2 -2
- package/dist/{FaceDetectionProvider-ZFnJ8ebm.d.ts → FaceDetectionProvider-CPWg-PAH.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Bo5y6BGA.d.ts → IWasmUtilCapability-DaSNxgA8.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-DmA__QfK.esm.js → OpenViduRecordingProvider-CK6A5kiU.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-CfmaSQy3.esm.js → PrivacyLensProvider-B_zrV25p.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-CAqUdVkM.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DHDxv6hH.d.ts → StreamCanvasCapture-DHaWferF.d.ts} +2 -2
- package/dist/ae-signature.d.ts +4 -4
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-D-nGY1T9.d.ts → antifraudManager-DCiNI6np.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +24 -23
- package/dist/{authenticationManager-Bz11dMMx.d.ts → authenticationManager-BeT6tNZm.d.ts} +3 -3
- package/dist/{authenticationManager-BYOqf17_.esm.js → authenticationManager-CcD_dGoc.esm.js} +3 -3
- package/dist/{authenticationStateMachine-C5-MnTtO.esm.js → authenticationStateMachine-DXqqxJ6I.esm.js} +4 -4
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-Cz2EvzSR.esm.js → backCameraStream-ChrMTJv-.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-D-u7zzJs.d.ts → consentManager-4ADOtZeb.d.ts} +49 -49
- package/dist/{consentManager-DL93cPSU.esm.js → consentManager-BwNu-uC-.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-BW8wlEU_.esm.js → cpfOcrManager-9eM4z4o7.esm.js} +1 -1
- package/dist/{cpfOcrManager-bRKGv0Gu.d.ts → cpfOcrManager-CPAjetkl.d.ts} +19 -19
- package/dist/{createFaceAvatar-CpmQJA8E.esm.js → createFaceAvatar-BZSg2MNo.esm.js} +3 -3
- package/dist/{createFaceAvatar-DNMSIcRb.d.ts → createFaceAvatar-CpdYp9Iy.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-u2FkvveY.esm.js → curpValidationManager-Cbji2inV.esm.js} +1 -1
- package/dist/{curpValidationManager-CJdVrCex.d.ts → curpValidationManager-CoqODZx5.d.ts} +3 -3
- 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-DyECVkoj.esm.js → deepsightLoader-BXYxT6Ze.esm.js} +10 -20
- package/dist/{deepsightService-DU9yBWg_.esm.js → deepsightService-CkZqM1Q2.esm.js} +4 -4
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +236 -236
- package/dist/document-capture.esm.js +7 -7
- package/dist/document-upload.d.ts +51 -51
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureStateMachine-CteYwf1y.esm.js → documentCaptureStateMachine-BHIYPUEu.esm.js} +4 -4
- package/dist/dynamic-forms.d.ts +4 -4
- package/dist/dynamic-forms.esm.js +3 -3
- package/dist/{dynamicFormsManager-CNg60mlv.esm.js → dynamicFormsManager-CHXUBNs4.esm.js} +1 -1
- package/dist/{dynamicFormsManager-B_4qA_CB.d.ts → dynamicFormsManager-CKZkE7Wo.d.ts} +2 -2
- package/dist/{dynamicFormsStateMachine-BfLLcxua.esm.js → dynamicFormsStateMachine-DJ1HGZff.esm.js} +1 -1
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +7 -7
- package/dist/{ekybStateMachine-D_cRrsi8.esm.js → ekybStateMachine-CGUi38oD.esm.js} +2 -2
- package/dist/ekyc.d.ts +4 -4
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-BcPEEqMA.esm.js → ekycStateMachine-DnVRiu3s.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-C9O7k0-m.esm.js → emailManager-B9Vrv3Ma.esm.js} +2 -2
- package/dist/{emailManager-CTOXMlVd.d.ts → emailManager-CMS4q_r6.d.ts} +3 -3
- package/dist/{emailStateMachine-Bk4pkysV.esm.js → emailStateMachine-CbmKFVSi.esm.js} +1 -1
- package/dist/extensibility.d.ts +35 -35
- package/dist/extensibility.esm.js +57 -56
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-CWnrasW3.esm.js → faceCaptureManagerFactory-BvY-Bjln.esm.js} +6 -3
- package/dist/{faceCaptureManagerFactory-C3vBl6Fp.d.ts → faceCaptureManagerFactory-DiJ64oem.d.ts} +14 -14
- package/dist/{faceCaptureSetup-BKPSJ0lw.esm.js → faceCaptureSetup-DqJSpW5Z.esm.js} +7 -7
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BOEgiOw_.d.ts → fieldComparisonManager-OLKVsG2Z.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 +14 -30
- package/dist/flow.esm.js +29 -20
- package/dist/{flowServices-HZECmDUc.esm.js → flowServices-CeUfzu0a.esm.js} +3 -29
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Dmbh6TXA.esm.js → geolocationManager-CF6-NizA.esm.js} +1 -1
- package/dist/{geolocationManager-B3lahU1a.d.ts → geolocationManager-DaHYFkVO.d.ts} +2 -2
- package/dist/{getDeviceClass-QxbJwsOO.esm.js → getDeviceClass-DIjnTPjR.esm.js} +1 -1
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-CjCs0_fG.esm.js → governmentValidationStateMachine-BE5wiQ7Y.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 +26 -25
- package/dist/{idCaptureDefaults-BaPDKms3.esm.js → idCaptureDefaults-CZajItdO.esm.js} +1 -1
- package/dist/{idCaptureManager-mX-A6LVq.d.ts → idCaptureManager-CwuXtVu6.d.ts} +13 -13
- package/dist/{idCaptureManager-1VQHQJl5.esm.js → idCaptureManager-DeObKOhW.esm.js} +7 -4
- package/dist/{idCaptureStateMachine-BXhL_IKZ.esm.js → idCaptureStateMachine-DfHWOR-E.esm.js} +13 -13
- package/dist/{idOcrManager-B7HXKHAk.d.ts → idOcrManager-In32pFy6.d.ts} +57 -57
- package/dist/{idOcrManager-CiEzYor8.esm.js → idOcrManager-Tm4LzKR0.esm.js} +1 -1
- package/dist/{idOcrStateMachine-CGeY01rX.esm.js → idOcrStateMachine-BJxZCxwS.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-BbmyL7_3.d.ts → identityReuseManager-CL6t3MXb.d.ts} +33 -33
- package/dist/{identityReuseManager-CrbjKac7.esm.js → identityReuseManager-LjkPvSQN.esm.js} +1 -1
- package/dist/{index-BO3dlVd5.d.ts → index-DhxHjfpy.d.ts} +151 -151
- package/dist/{index-CVgIGwUy.d.ts → index-DrpWp15Z.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-BA4GDdTC.d.ts → mandatoryConsentManager-C5mBEdnA.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-b1QKgIKi.esm.js → mandatoryConsentManager-DZ26sg4B.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-6nBUTkSq.esm.js → onDeviceFaceResults-C9oNZSHm.esm.js} +8 -8
- package/dist/openviduLazy-jPgABwrt.esm.js +3 -0
- package/dist/{openviduLazy-BXDnVFe2.esm.js → openviduLazy-wEojM41w.esm.js} +1 -1
- package/dist/{permissionGuards-jvARexN9.esm.js → permissionGuards-BPZGWaL4.esm.js} +1 -1
- package/dist/{permissionServices-BTNLDsub.esm.js → permissionServices-BElIOcoJ.esm.js} +2 -2
- package/dist/personhood.d.ts +16 -27
- package/dist/personhood.esm.js +21 -31
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DNTrIq-D.esm.js → phoneManager-CRblfdcI.esm.js} +2 -2
- package/dist/{phoneManager-CG1vTJiG.d.ts → phoneManager-_KtitbUA.d.ts} +3 -3
- package/dist/{phoneStateMachine-MqNDf1Nh.esm.js → phoneStateMachine-DjFGWMjQ.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CDZHWq_z.esm.js → recordingService-B8X6E9kx.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-DuD03ggR.esm.js → redirectToMobileManager-DbuNUlru.esm.js} +1 -1
- package/dist/{redirectToMobileManager-D7U9k-Xs.d.ts → redirectToMobileManager-dv29o_LS.d.ts} +2 -2
- package/dist/{runChildModule-XHWWqs39.esm.js → runChildModule-kojSv3MH.esm.js} +1 -1
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +26 -24
- package/dist/{selfieManager-DVhF0jHn.d.ts → selfieManager-4juKfrHG.d.ts} +3 -3
- package/dist/{selfieManager-BTplRdKZ.esm.js → selfieManager-up_j4EgF.esm.js} +3 -3
- package/dist/{selfieStateMachine-CvhjDaWQ.esm.js → selfieStateMachine-BjQjy8na.esm.js} +3 -3
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CrJTBMQE.esm.js → sessionInitializer-D3VzSnPy.esm.js} +2 -2
- package/dist/{setup-0QMvgc69.esm.js → setup-CB0_nSzg.esm.js} +2 -2
- package/dist/{setup-sxZLfgvF.d.ts → setup-CmA2apmN.d.ts} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-CFBjqf5E.esm.js → tri-CFAPtAUM.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-BzYyqlPa.esm.js → tri.esm-DDJ1zOqG.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/{types-Cyi3gwPK.d.ts → types-BUgeB2X6.d.ts} +2 -2
- package/dist/{types-CRPns2d9.d.ts → types-D8Cl1N2Z.d.ts} +1 -1
- package/dist/{types-B_YCuHZx.d.ts → types-DV3wkhQ4.d.ts} +1 -1
- package/dist/{types-Cf0Ry6ff.d.ts → types-fO6KIdol.d.ts} +3 -3
- 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/wasmDsFlagSync-Ch0mFJNT.esm.js +14 -0
- 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 +114 -114
- package/dist/workflow.esm.js +55 -55
- package/package.json +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +0 -3
- /package/dist/{Actor-DYjXVMQm.d.ts → Actor-BwgmOPkb.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-fZsibQTR.esm.js} +0 -0
- /package/dist/{BrowserVisibilityObserverProvider-C71KNDM2.esm.js → BrowserVisibilityObserverProvider-GBS6XSii.esm.js} +0 -0
- /package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DJ73P4RK.esm.js} +0 -0
- /package/dist/{IVisibilityObserverCapability-BxPj7hsu.d.ts → IVisibilityObserverCapability-BZ1rE7ly.d.ts} +0 -0
- /package/dist/{Manager-BfBOhrjh.d.ts → Manager-goNPc_h_.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-D95kOKVK.esm.js} +0 -0
- /package/dist/{StateMachine-20ahmASR.d.ts → StateMachine-D5WO6lHS.d.ts} +0 -0
- /package/dist/{addressSearch-B9iJdbn8.esm.js → addressSearch-D7msRieq.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-CR6x7ypG.esm.js → browser-DlFgHpoC-Br3G10gw.esm.js} +0 -0
- /package/dist/{camera-CWO06Lu5.d.ts → camera-CKU96nwJ.d.ts} +0 -0
- /package/dist/{camera-B0yWS33x.esm.js → camera-CxxXV0VN.esm.js} +0 -0
- /package/dist/{canvas-pLrXU1id.d.ts → canvas-90BqS0NF.d.ts} +0 -0
- /package/dist/{canvas-DsJa51yU.esm.js → canvas-Pi10hG_l.esm.js} +0 -0
- /package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-DlZQT1_u.esm.js} +0 -0
- /package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-BOkVFiU7.esm.js} +0 -0
- /package/dist/{cpf-B9htWzDt.esm.js → cpf-16m_cGAM.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-CeqDh2V5.esm.js → curpValidationStateMachine-Dlw4qfFb.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-dovMwTLv.esm.js → customWatchlistStateMachine-D8w0mNxm.esm.js} +0 -0
- /package/dist/{dateUtils-PXB_WRYL.esm.js → dateUtils-BW6mBV6p.esm.js} +0 -0
- /package/dist/{deepsightService-CbaqT7bP.d.ts → deepsightService-BuTOFTr8.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-C6J09ygk.esm.js → faceMatchStateMachine-MDb30gCm.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-kk2RkWeb.esm.js → fieldComparisonManager-Cw4uzD7S.esm.js} +0 -0
- /package/dist/{flowCompletionService-BDcDfyoA.esm.js → flowCompletionService-B6P6_EF3.esm.js} +0 -0
- /package/dist/{flowCompletionService-nF7e8At0.d.ts → flowCompletionService-BOSTlAWo.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-BRLIXR1x.esm.js → geolocationStateMachine-CD2XJs1b.esm.js} +0 -0
- /package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-C-Dg6IsJ.esm.js} +0 -0
- /package/dist/{http-CBbBcnBa.esm.js → http-CnsKEaJY.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-B6Ccvut4.esm.js → idVerificationStateMachine-DXN9WcdM.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-Do_M-z6z.esm.js → identityReuseStateMachine-Bp-zONoV.esm.js} +0 -0
- /package/dist/{index-CCG6MnCO.d.ts → index-BAyZ8_iI.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-gKRaO24Q.esm.js → invokeOnCaptureCallback-CCS2Ruzi.esm.js} +0 -0
- /package/dist/{lib-TRTXfron.esm.js → lib-Bjd6nOLG.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-VPbrLLfo.esm.js → mandatoryConsentStateMachine-_44ZoDSh.esm.js} +0 -0
- /package/dist/{mediaRecorderOptions-DuYelylE.esm.js → mediaRecorderOptions-CClCKAiF.esm.js} +0 -0
- /package/dist/{mediapipeShared-yKDdOf_V.esm.js → mediapipeShared-Bcmkzs3x.esm.js} +0 -0
- /package/dist/{otp-CETbFjXH.d.ts → otp-B1YeyRXu.d.ts} +0 -0
- /package/dist/{otp-DepQPUIA.esm.js → otp-uaXiKt_R.esm.js} +0 -0
- /package/dist/{qe-signature-CVnJ4RaW.esm.js → qe-signature-BnWIpR-O.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-WVg-n2is.esm.js → redirectToMobileStateMachine-BRaIJWOM.esm.js} +0 -0
- /package/dist/{session-BWCjVIr6.esm.js → session-CLsU2Jnb.esm.js} +0 -0
- /package/dist/{signatureStateMachine-iT9BhNUf.esm.js → signatureStateMachine-CdhlMih-.esm.js} +0 -0
- /package/dist/{types-Db2ooXIu.esm.js → types-BKLb3C42.esm.js} +0 -0
- /package/dist/{types-BOiKESZY.d.ts → types-BcF-fii5.d.ts} +0 -0
- /package/dist/{types-CTnn7kUK.d.ts → types-BgjMAEXl.d.ts} +0 -0
- /package/dist/{video-DXf5H9rY.esm.js → video-ZY92rkel.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-C6E7mKFt.esm.js → videoSelfieSteps-Djpv7cjb.esm.js} +0 -0
- /package/dist/{warmup-Bq8ivhlI.d.ts → warmup-Dd0iq6KF.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-CyhTEi3N.esm.js → watchlistForBusinessStateMachine-R1Yp1g5A.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-CgKG-KSf.esm.js → watchlistStateMachine-D07UVq1m.esm.js} +0 -0
|
@@ -4,70 +4,71 @@ 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-D3VzSnPy.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-CFAPtAUM.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 "./
|
|
17
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DqJSpW5Z.esm.js";
|
|
18
|
+
import "./wasmDsFlagSync-Ch0mFJNT.esm.js";
|
|
19
|
+
import "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
|
|
20
|
+
import "./MotionSensorProvider-D95kOKVK.esm.js";
|
|
21
|
+
import "./permissionServices-BElIOcoJ.esm.js";
|
|
22
|
+
import "./camera-CxxXV0VN.esm.js";
|
|
23
|
+
import "./faceCaptureManagerFactory-BvY-Bjln.esm.js";
|
|
24
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
|
|
25
|
+
import "./onDeviceFaceResults-C9oNZSHm.esm.js";
|
|
26
|
+
import "./ITimerCapability-DJ73P4RK.esm.js";
|
|
27
|
+
import "./canvas-Pi10hG_l.esm.js";
|
|
28
|
+
import "./backCameraStream-ChrMTJv-.esm.js";
|
|
29
|
+
import "./video-ZY92rkel.esm.js";
|
|
30
|
+
import "./getDeviceClass-C-Dg6IsJ.esm.js";
|
|
31
|
+
import "./deepsightService-CkZqM1Q2.esm.js";
|
|
32
|
+
import "./getDeviceClass-DIjnTPjR.esm.js";
|
|
33
|
+
import "./types-BKLb3C42.esm.js";
|
|
34
|
+
import "./createFaceAvatar-BZSg2MNo.esm.js";
|
|
35
|
+
import "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
36
|
+
import "./permissionGuards-BPZGWaL4.esm.js";
|
|
37
|
+
import "./recordingService-B8X6E9kx.esm.js";
|
|
38
|
+
import "./mediaRecorderOptions-CClCKAiF.esm.js";
|
|
39
|
+
import "./authenticationStateMachine-DXqqxJ6I.esm.js";
|
|
40
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CcD_dGoc.esm.js";
|
|
41
|
+
import "./consentStateMachine-BOkVFiU7.esm.js";
|
|
42
|
+
import { n as createConsentManagerFromActor } from "./consentManager-BwNu-uC-.esm.js";
|
|
43
|
+
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-9eM4z4o7.esm.js";
|
|
44
|
+
import "./cpf-16m_cGAM.esm.js";
|
|
45
|
+
import "./curpValidationStateMachine-Dlw4qfFb.esm.js";
|
|
46
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-Cbji2inV.esm.js";
|
|
47
|
+
import "./dateUtils-BW6mBV6p.esm.js";
|
|
48
|
+
import "./dynamicFormsStateMachine-DJ1HGZff.esm.js";
|
|
49
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CHXUBNs4.esm.js";
|
|
50
|
+
import "./session-CLsU2Jnb.esm.js";
|
|
51
|
+
import "./emailStateMachine-CbmKFVSi.esm.js";
|
|
52
|
+
import "./otp-uaXiKt_R.esm.js";
|
|
53
|
+
import { n as createEmailManagerFromActor } from "./emailManager-B9Vrv3Ma.esm.js";
|
|
54
|
+
import "./selfieStateMachine-BjQjy8na.esm.js";
|
|
55
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-up_j4EgF.esm.js";
|
|
56
|
+
import "./idCaptureStateMachine-DfHWOR-E.esm.js";
|
|
57
|
+
import "./idCaptureDefaults-CZajItdO.esm.js";
|
|
58
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DeObKOhW.esm.js";
|
|
59
|
+
import "./phoneStateMachine-DjFGWMjQ.esm.js";
|
|
60
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-CRblfdcI.esm.js";
|
|
61
|
+
import "./identityReuseStateMachine-Bp-zONoV.esm.js";
|
|
62
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-LjkPvSQN.esm.js";
|
|
63
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-Cw4uzD7S.esm.js";
|
|
64
|
+
import "./mandatoryConsentStateMachine-_44ZoDSh.esm.js";
|
|
65
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-DZ26sg4B.esm.js";
|
|
66
|
+
import "./idOcrStateMachine-BJxZCxwS.esm.js";
|
|
67
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-Tm4LzKR0.esm.js";
|
|
68
|
+
import "./redirectToMobileStateMachine-BRaIJWOM.esm.js";
|
|
69
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DbuNUlru.esm.js";
|
|
70
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-CF6-NizA.esm.js";
|
|
71
|
+
import "./geolocationStateMachine-CD2XJs1b.esm.js";
|
|
71
72
|
|
|
72
73
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
73
74
|
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-MDb30gCm.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
8
8
|
function createFaceMatchActor(options) {
|
package/dist/{faceCaptureManagerFactory-CWnrasW3.esm.js → faceCaptureManagerFactory-BvY-Bjln.esm.js}
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
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 {
|
|
3
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-DqJSpW5Z.esm.js";
|
|
4
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ch0mFJNT.esm.js";
|
|
5
|
+
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
|
|
6
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BElIOcoJ.esm.js";
|
|
6
7
|
|
|
7
8
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
8
9
|
function getPermissionStatus(snapshot) {
|
|
@@ -244,6 +245,8 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
244
245
|
snapshot.context.dependencies.trackCaptureAttemptFinished = trackCaptureAttemptFinished;
|
|
245
246
|
return {
|
|
246
247
|
load() {
|
|
248
|
+
const { config } = actor.getSnapshot().context;
|
|
249
|
+
if (config.ds === true) setWasmDsFlagSync(true);
|
|
247
250
|
actor.send({ type: "LOAD" });
|
|
248
251
|
},
|
|
249
252
|
async nextStep() {
|
package/dist/{faceCaptureManagerFactory-C3vBl6Fp.d.ts → faceCaptureManagerFactory-DiJ64oem.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-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BZ1rE7ly.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CKU96nwJ.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-90BqS0NF.js";
|
|
7
|
+
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates } from "./createFaceAvatar-CpdYp9Iy.js";
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-BUgeB2X6.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BcF-fii5.js";
|
|
10
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-fO6KIdol.js";
|
|
11
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-CPWg-PAH.js";
|
|
12
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DHaWferF.js";
|
|
13
|
+
import { t as DeepsightService } from "./deepsightService-BuTOFTr8.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'>> & {
|
|
58
58
|
onCapture: (response: FaceCaptureOnlyResponse) => void | Promise<void>;
|
|
59
59
|
};
|
|
60
60
|
type SelfieDependencies = FaceCaptureDependencies;
|
|
@@ -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-BElIOcoJ.esm.js";
|
|
4
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-C9oNZSHm.esm.js";
|
|
5
|
+
import { t as FACE_ERROR_CODES } from "./types-BKLb3C42.esm.js";
|
|
6
|
+
import { t as createFaceAvatar } from "./createFaceAvatar-BZSg2MNo.esm.js";
|
|
7
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
8
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BPZGWaL4.esm.js";
|
|
9
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-B8X6E9kx.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-D5WO6lHS.js";
|
|
2
|
+
import "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.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-OLKVsG2Z.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-Cw4uzD7S.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-goNPc_h_.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.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-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./camera-CKU96nwJ.js";
|
|
4
|
+
import "./canvas-90BqS0NF.js";
|
|
5
|
+
import "./StreamCanvasCapture-DHaWferF.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-CxxXV0VN.esm.js";
|
|
8
|
+
import "./ITimerCapability-DJ73P4RK.esm.js";
|
|
9
|
+
import "./canvas-Pi10hG_l.esm.js";
|
|
10
|
+
import { n as getBackCameraStream } from "./backCameraStream-ChrMTJv-.esm.js";
|
|
11
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
12
|
+
import "./http-CnsKEaJY.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-CKU96nwJ.js";
|
|
2
|
+
import "./types-DV3wkhQ4.js";
|
|
3
|
+
import "./types-BgjMAEXl.js";
|
|
4
|
+
import "./canvas-90BqS0NF.js";
|
|
5
|
+
import "./createFaceAvatar-CpdYp9Iy.js";
|
|
6
|
+
import "./types-BUgeB2X6.js";
|
|
7
|
+
import "./flowCompletionService-BOSTlAWo.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-DrpWp15Z.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-Dd0iq6KF.js";
|
|
2
|
+
import { t as AnyStateMachine } from "./StateMachine-D5WO6lHS.js";
|
|
3
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
4
|
+
import "./camera-CKU96nwJ.js";
|
|
5
|
+
import "./types-DV3wkhQ4.js";
|
|
6
|
+
import "./types-BgjMAEXl.js";
|
|
7
|
+
import "./canvas-90BqS0NF.js";
|
|
8
|
+
import "./createFaceAvatar-CpdYp9Iy.js";
|
|
9
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BUgeB2X6.js";
|
|
10
|
+
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BOSTlAWo.js";
|
|
11
|
+
import { o as FlowEventSubscribable } from "./index-DrpWp15Z.js";
|
|
12
|
+
import { n as ModuleRegistry } from "./types-D8Cl1N2Z.js";
|
|
13
|
+
import * as xstate965 from "xstate";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/flow/flowUtils.d.ts
|
|
16
16
|
type NormalizeFlowModulesOptions = {
|
|
@@ -20,22 +20,6 @@ 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
|
-
|
|
39
23
|
/**
|
|
40
24
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
41
25
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
@@ -78,7 +62,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
78
62
|
declare const getFlow: GetFlow;
|
|
79
63
|
//#endregion
|
|
80
64
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
81
|
-
declare const noOpFlowModuleMachine:
|
|
65
|
+
declare const noOpFlowModuleMachine: xstate965.StateMachine<xstate965.MachineContext, xstate965.AnyEventObject, {}, never, never, never, never, "finished", string, xstate965.NonReducibleUnknown, xstate965.NonReducibleUnknown, xstate965.EventObject, xstate965.MetaObject, {
|
|
82
66
|
readonly id: "noOpFlowModule";
|
|
83
67
|
readonly initial: "finished";
|
|
84
68
|
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-D3VzSnPy.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-CFAPtAUM.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 {
|
|
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-BKLb3C42.esm.js";
|
|
14
|
+
import "./session-CLsU2Jnb.esm.js";
|
|
15
|
+
import "./videoSelfieSteps-Djpv7cjb.esm.js";
|
|
16
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-CeUfzu0a.esm.js";
|
|
17
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-B6P6_EF3.esm.js";
|
|
18
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-kojSv3MH.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:
|
|
55
|
+
config: flow.flowModules?.[0]?.configuration
|
|
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:
|
|
65
|
+
config: module?.configuration
|
|
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:
|
|
74
|
+
config: module?.configuration
|
|
75
75
|
};
|
|
76
76
|
})
|
|
77
77
|
},
|
|
@@ -188,12 +188,10 @@ 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(moduleKey) {
|
|
191
|
+
function getModuleConfig$1(moduleKey) {
|
|
192
192
|
const snapshot = getSnapshot();
|
|
193
193
|
if (!snapshot.matches("ready")) return;
|
|
194
|
-
|
|
195
|
-
if (!mod) return;
|
|
196
|
-
return resolveFlowModuleConfig(mod, snapshot.context.flow);
|
|
194
|
+
return (snapshot.context.flow?.flowModules.find((m) => m.key === moduleKey))?.configuration;
|
|
197
195
|
}
|
|
198
196
|
function isModuleEnabled(moduleKey) {
|
|
199
197
|
const snapshot = getSnapshot();
|
|
@@ -225,7 +223,7 @@ function createApi({ actor, getSnapshot, trackElementClicked }) {
|
|
|
225
223
|
get canPrev() {
|
|
226
224
|
return getCanPrev();
|
|
227
225
|
},
|
|
228
|
-
getModuleConfig,
|
|
226
|
+
getModuleConfig: getModuleConfig$1,
|
|
229
227
|
isModuleEnabled
|
|
230
228
|
};
|
|
231
229
|
}
|
|
@@ -305,6 +303,17 @@ function createModuleLoader(registry) {
|
|
|
305
303
|
|
|
306
304
|
//#endregion
|
|
307
305
|
//#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
|
+
}
|
|
308
317
|
function createBaseContext(context, isHomeContinueLoading) {
|
|
309
318
|
return {
|
|
310
319
|
flow: void 0,
|
|
@@ -387,7 +396,7 @@ const orchestratedFlowMachine = setup({
|
|
|
387
396
|
const flow = event.output;
|
|
388
397
|
const flowModules = flow.flowModules ?? [];
|
|
389
398
|
const firstModule = flowModules[0];
|
|
390
|
-
const config =
|
|
399
|
+
const config = getModuleConfig(firstModule, flow);
|
|
391
400
|
return {
|
|
392
401
|
flow,
|
|
393
402
|
steps: flowModules.map((m) => m.key),
|
|
@@ -407,7 +416,7 @@ const orchestratedFlowMachine = setup({
|
|
|
407
416
|
incrementStep: assign(({ context }) => {
|
|
408
417
|
const nextIndex = context.currentStepIndex + 1;
|
|
409
418
|
const module = context.flow?.flowModules?.[nextIndex];
|
|
410
|
-
const config =
|
|
419
|
+
const config = getModuleConfig(module, context.flow);
|
|
411
420
|
return {
|
|
412
421
|
currentStepIndex: nextIndex,
|
|
413
422
|
currentStep: module?.key,
|
|
@@ -771,7 +780,7 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
771
780
|
const { currentStepIndex, steps } = snapshot.context;
|
|
772
781
|
return snapshot.value === "runningModule" && currentStepIndex >= 0 && currentStepIndex < steps.length - 1;
|
|
773
782
|
}
|
|
774
|
-
function getModuleConfig(moduleKey) {
|
|
783
|
+
function getModuleConfig$1(moduleKey) {
|
|
775
784
|
const snapshot = getSnapshot();
|
|
776
785
|
if (snapshot.value !== "runningModule") return;
|
|
777
786
|
return (snapshot.context.flow?.flowModules.find((m) => m.key === moduleKey))?.configuration;
|
|
@@ -817,7 +826,7 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
817
826
|
get canNext() {
|
|
818
827
|
return getCanNext();
|
|
819
828
|
},
|
|
820
|
-
getModuleConfig,
|
|
829
|
+
getModuleConfig: getModuleConfig$1,
|
|
821
830
|
isModuleEnabled,
|
|
822
831
|
isAwaitingOrchestratorReady() {
|
|
823
832
|
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-D3VzSnPy.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-Djpv7cjb.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/flow/flowUtils.ts
|
|
8
8
|
const WASM_MODULE_PIPELINES = {
|
|
@@ -22,32 +22,6 @@ 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
|
-
/**
|
|
51
25
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
52
26
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
53
27
|
*
|
|
@@ -231,4 +205,4 @@ const getFlow = async (signal, options = {}) => {
|
|
|
231
205
|
};
|
|
232
206
|
|
|
233
207
|
//#endregion
|
|
234
|
-
export {
|
|
208
|
+
export { 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-D5WO6lHS.js";
|
|
2
|
+
import "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
4
|
+
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-DaHYFkVO.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-CF6-NizA.esm.js";
|
|
7
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CD2XJs1b.esm.js";
|
|
8
8
|
|
|
9
9
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -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-CD2XJs1b.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
6
6
|
var BrowserGeolocationProvider = class {
|
|
@@ -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-goNPc_h_.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|