@incodetech/core 2.4.1-agentic.11 → 2.4.1-agentic.12
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/{CameraCompositor-ppyMYVoY.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
- package/dist/{FaceDetectionProvider-2NzWDbV8.esm.js → FaceDetectionProvider-WtuJ6QBK.esm.js} +16 -11
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/{MultipartRecordingProvider-CduV32Qa.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-ixfy84ys.d.ts → StreamCanvasCapture-BnBfA6fb.d.ts} +24 -2
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{WasmUtilProvider-DdhAHHw4.esm.js → WasmUtilProvider-D5RMElzw.esm.js} +7 -0
- package/dist/{WorkerEncoderRecordingProvider-CsDED9UU.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
- package/dist/{addressSearch-Rxm1K67A.esm.js → addressSearch-BzAy6lhp.esm.js} +2 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DKNOi9-z.esm.js → antifraudManager-Bw5nw5fh.esm.js} +3 -3
- package/dist/{antifraudStateMachine-BJ6PmCsw.esm.js → antifraudStateMachine-kOfsaAuT.esm.js} +2 -4
- package/dist/{api-CZpuJuZl.esm.js → api-DSZSaaWr.esm.js} +2 -0
- package/dist/{apiError-BamZ815u.esm.js → apiError-BDuL1wTs.esm.js} +1 -1
- package/dist/{attemptCarry-BecGGZK8.esm.js → attemptCarry-QFQkA3na.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-yBVGiIf_.esm.js → authenticationManager-B0SioAdd.esm.js} +6 -6
- package/dist/{authenticationManager-DRaugLgH.d.ts → authenticationManager-eYcurNiS.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DPqTOJPp.esm.js → authenticationStateMachine-n1OrhPTv.esm.js} +3 -3
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-DxIBykpe.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
- package/dist/calendarDate-DcqGuEht.esm.js +35 -0
- package/dist/camera-9yYDUOsO.d.ts +5 -0
- package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-Dxl9UwR0.esm.js → certificateIssuanceManager-DPT8E9zV.esm.js} +3 -3
- package/dist/{certificateIssuanceStateMachine-CM4q71h1.esm.js → certificateIssuanceStateMachine-BwDb3ezx.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B2F_VeAo.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -9
- package/dist/{consentManager-BPocwpm2.esm.js → consentManager-DRMJ3O4r.esm.js} +3 -3
- package/dist/{consentStateMachine-DgiIcT9q.esm.js → consentStateMachine-Br0JbW7k.esm.js} +4 -7
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BfA29Aji.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +3 -4
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-BKUDQ55W.esm.js} +3 -3
- package/dist/{curpValidationManager-Ci2iVuog.d.ts → curpValidationManager-DgUZySoq.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +13 -14
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-CPhONu5i.esm.js} +12 -16
- package/dist/{customWatchlistManager-Bd1ooIDB.esm.js → customWatchlistManager-cN57usIW.esm.js} +3 -3
- package/dist/{customWatchlistStateMachine-r8nGhyo1.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +2 -4
- package/dist/{deepsightLoader-CEY2mSPM.esm.js → deepsightLoader-ClCQCdeL.esm.js} +5 -5
- package/dist/{desktopCameraElection-enVPfRsQ.esm.js → desktopCameraElection-btFONYx6.esm.js} +22 -10
- package/dist/device.d.ts +3 -3
- package/dist/device.esm.js +15 -15
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.d.ts +123 -0
- package/dist/document-signature.esm.js +149 -0
- package/dist/{documentCaptureManager-C11k5BO-.esm.js → documentCaptureManager-5I3lKDVW.esm.js} +3 -3
- package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-BkaPpoKy.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-g0gfL0_1.esm.js → documentCaptureStateMachine-jtQHasPA.esm.js} +7 -10
- package/dist/documentSignatureStateMachine-DKtU0H-F.esm.js +218 -0
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BmfCZ2zV.esm.js → dynamicFormsManager-B6Bv32wU.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-B-eYytau.esm.js → dynamicFormsStateMachine-Kauq2oB-.esm.js} +10 -11
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BPaMfbgw.esm.js → ekybManager-wi135kG-.esm.js} +3 -3
- package/dist/{ekybStateMachine-C_lEw4I7.esm.js → ekybStateMachine-Vjb6_mFt.esm.js} +4 -6
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-nRT0rxei.esm.js → ekycManager-DWCL912J.esm.js} +3 -3
- package/dist/{ekycPrefillManager-DOTl3Y2w.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -4
- package/dist/{ekycPrefillManager-CCtbmrFd.esm.js → ekycPrefillManager-C27Cu6rn.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-XpxgCAoC.esm.js → ekycPrefillStateMachine-DqXvupSw.esm.js} +4 -6
- package/dist/{ekycRules-DXP2hqVw.esm.js → ekycRules-1hyjJ6bw.esm.js} +7 -4
- package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +149 -13
- package/dist/{ekycUtils-FcqA6oU4.esm.js → ekycUtils-D9ui9Ztp.esm.js} +5 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-M2O2VDks.esm.js → electronicSignatureManager-BHnxFx7u.esm.js} +8 -16
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Co4jarT1.esm.js → emailManager-CfvR6pQN.esm.js} +3 -3
- package/dist/{emailStateMachine-CTEaYncs.esm.js → emailStateMachine-C4FouMzc.esm.js} +3 -5
- package/dist/{events-CP3yOzAl.esm.js → events-CsPmTidH.esm.js} +2 -2
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +36 -36
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-3Or5qfbA.esm.js → faceCaptureManagerFactory-BjVIUTMM.esm.js} +5 -5
- package/dist/{faceCaptureManagerFactory-CRGajjZ4.d.ts → faceCaptureManagerFactory-DhDPxxp-.d.ts} +12 -6
- package/dist/{faceCaptureSetup-Cf87i0rT.esm.js → faceCaptureSetup-q33e6ah9.esm.js} +26 -15
- package/dist/{faceMatchManager-CGmNGbov.esm.js → faceMatchManager-CsPFaja4.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Co2S7iN8.esm.js} +8 -19
- package/dist/{feature-management-DG016L6E.esm.js → feature-management-BhRKAG--.esm.js} +3 -2
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +4 -6
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-DOLq45ph.esm.js → fiscalQrManager-CpX6MOy_.esm.js} +6 -7
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-BpeAbbXc.esm.js → flowCompletionService-E_6ChYsV.esm.js} +2 -2
- package/dist/{flowServices-rDg1bAMs.esm.js → flowServices-C23o7MqO.esm.js} +10 -9
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-T8m4lqvF.esm.js → geolocationManager-dgMVi0ed.esm.js} +3 -3
- package/dist/{geolocationStateMachine-NWmA1Dtn.esm.js → geolocationStateMachine-CCVd9xGh.esm.js} +6 -8
- package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-6JQQkzha.esm.js → governmentValidationManager-D2KGYDws.esm.js} +3 -3
- package/dist/{governmentValidationStateMachine-wBunpfQ9.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +2 -4
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +2 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +2 -2
- package/dist/id-selfie-flow.esm.js +10 -10
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Cjesf5i9.esm.js → idCaptureDefaults-BivjtJka.esm.js} +1 -1
- package/dist/{idCaptureManager-5-ReVgbB.esm.js → idCaptureManager-B_deOVCC.esm.js} +12 -14
- package/dist/{idCaptureManager-Cqx2y_fC.d.ts → idCaptureManager-DzAMWmRO.d.ts} +12 -5
- package/dist/{idCaptureServices-exB6I9lV.esm.js → idCaptureServices-BFCsusKB.esm.js} +17 -25
- package/dist/{idCaptureStateMachine-DQ14d3GR.esm.js → idCaptureStateMachine--CMATkG9.esm.js} +49 -56
- package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-C-_bzBSX.esm.js} +3 -3
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-BNtBkAXC.esm.js} +10 -7
- package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-CdvGdtg2.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-DeeugC00.esm.js → idVerificationStateMachine-mozw0CIg.esm.js} +2 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +3 -4
- package/dist/{identityReuseManager-CjFZ7WRa.esm.js → identityReuseManager-Z1Re4UGd.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-C_3fSFCw.esm.js} +3 -7
- package/dist/{index-DxYNO94y.d.ts → index-C0WIMlJE.d.ts} +1 -1
- package/dist/{index-DM43R87x.d.ts → index-CNck5TLp.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-lXP41N7b.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CZfdCkLC.esm.js → kybChecksManager-D-mVF14T.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DkWxSU4L.esm.js → kybChecksStateMachine-BARZh9GN.esm.js} +5 -9
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-Bh1asNJh.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +8 -8
- package/dist/{mandatoryConsentStateMachine-BjuI72HZ.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +4 -7
- package/dist/{mediaRecorderOptions-g1TwTlhd.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +1 -1
- package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-CEtaAPz4.esm.js} +2 -2
- package/dist/{permissionGuards-D-4_VU7-.esm.js → permissionGuards-BJIaHxvI.esm.js} +1 -1
- package/dist/{permissionServices-DpccEnzE.esm.js → permissionServices-6Mdq1hDk.esm.js} +8 -5
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-rA7updqF.esm.js → phoneManager-D8-l6-0y.esm.js} +3 -3
- package/dist/{phoneServices-CFXcwCFr.esm.js → phoneServices-C9lFIuCM.esm.js} +3 -7
- package/dist/{phoneStateMachine-DKdY2Scx.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +2 -2
- package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
- package/dist/{processFaceMatch-B_DkDTE5.esm.js → processFaceMatch-B1Mhqkep.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DxiwS8TV.esm.js → recordingService-CLGnDCDl.esm.js} +7 -6
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DTB_pWuS.esm.js → redirectToMobileManager-Djb_daci.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-nP9DM01_.esm.js → redirectToMobileStateMachine-BCyQFlpn.esm.js} +7 -17
- package/dist/{runChildModule-CXLcOcXN.esm.js → runChildModule-DF2c6TxC.esm.js} +2 -2
- package/dist/{sdkVersion-fqxsdqFZ.esm.js → sdkVersion-B5_kVegT.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +11 -11
- package/dist/{selfieErrorUtils-MOfYdGPz.esm.js → selfieErrorUtils-BVuv5qO7.esm.js} +1 -1
- package/dist/{selfieManager-DihwheJ6.d.ts → selfieManager-C5a6Fw6W.d.ts} +1 -1
- package/dist/{selfieManager-Dq8tIqGd.esm.js → selfieManager-Dnb5h3qV.esm.js} +6 -6
- package/dist/{selfieStateMachine-BZVDQB8R.esm.js → selfieStateMachine-BT69FLFb.esm.js} +3 -3
- package/dist/{session-C7x_iJ-p.esm.js → session-OCc4b-Iv.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-k-hKIBg8.esm.js → sessionInitializer-BUUpdBy6.esm.js} +11 -13
- package/dist/{setup-CpXbdA1X.d.ts → setup-BpD7lYSf.d.ts} +5 -4
- package/dist/{setup-BRbhjHiU.esm.js → setup-CJMohzTE.esm.js} +10 -10
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BgAja97K.esm.js → signatureManager-B6dRieBV.esm.js} +3 -3
- package/dist/{signatureStateMachine-CVPmvU2p.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +3 -5
- package/dist/{stats-DoByUnTa.esm.js → stats-VqHbD5rn.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-CI2exudk.esm.js → tri-B5Yh5glk.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-DhW2O8mB.esm.js → trueSightService-D9D2IdEj.esm.js} +6 -7
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-Ddc4Tr_f.d.ts → types-B2DGXHe6.d.ts} +2 -0
- package/dist/{types-Cpdum4vi.d.ts → types-BBHnkH6S.d.ts} +4 -4
- package/dist/types-BNkzXOXE.d.ts +45 -0
- package/dist/{types-DJPU3W2M.d.ts → types-BkWUNheX.d.ts} +1 -1
- package/dist/types-C2uJrJrS.d.ts +6 -0
- package/dist/{types-DYYMdAGv.esm.js → types-CBQN04Rh.esm.js} +2 -1
- package/dist/{types-CyNndVAT.d.ts → types-CaVUb1DL.d.ts} +1 -1
- package/dist/{types-DFP7eSle.d.ts → types-Crg7oL-l.d.ts} +1 -1
- package/dist/{types-9wlf1-GE.d.ts → types-x5MQKskR.d.ts} +4 -2
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +9 -9
- package/dist/{videoSelfieCameraWarmer-YwO_uP-b.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js} +9 -9
- package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts} +18 -8
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-D_6e8W62.esm.js → wasmDsFlagSync-BNttW5Sm.esm.js} +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-BH6M4kqA.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +3 -3
- package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +9 -6
- package/dist/{watchlistManager-BDaVjzLW.esm.js → watchlistManager-CGXbemnp.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +2 -4
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +40 -38
- package/package.json +6 -1
- package/dist/camera-9wWD-pwg.d.ts +0 -4
- package/dist/tri.esm-CxLWmTZk.esm.js +0 -2287
- package/dist/types-CE1jkHw3.d.ts +0 -6
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { b as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-CJMohzTE.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
3
|
+
import { b as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-BUUpdBy6.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
7
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
10
|
-
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-
|
|
11
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
12
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
13
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
14
|
-
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-
|
|
15
|
-
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
20
|
-
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-
|
|
21
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
22
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
23
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
24
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
25
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
26
|
-
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-
|
|
27
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
28
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
29
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
30
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
31
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
32
|
-
import { n as createSignatureManagerFromActor } from "./signatureManager-
|
|
33
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
34
|
-
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-
|
|
35
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
36
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
37
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
38
|
-
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BHnxFx7u.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bw5nw5fh.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-q33e6ah9.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B0SioAdd.esm.js";
|
|
10
|
+
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DPT8E9zV.esm.js";
|
|
11
|
+
import { n as createConsentManagerFromActor } from "./consentManager-DRMJ3O4r.esm.js";
|
|
12
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BIQ-SYcR.esm.js";
|
|
13
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BKUDQ55W.esm.js";
|
|
14
|
+
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CPhONu5i.esm.js";
|
|
15
|
+
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-cN57usIW.esm.js";
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-5I3lKDVW.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-B6Bv32wU.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-wi135kG-.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-DWCL912J.esm.js";
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-C27Cu6rn.esm.js";
|
|
21
|
+
import { n as createEmailManagerFromActor } from "./emailManager-CfvR6pQN.esm.js";
|
|
22
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-Dnb5h3qV.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B_deOVCC.esm.js";
|
|
24
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-D8-l6-0y.esm.js";
|
|
25
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CGXbemnp.esm.js";
|
|
26
|
+
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CfLnsL8p.esm.js";
|
|
27
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-Z1Re4UGd.esm.js";
|
|
28
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-Chn80m_n.esm.js";
|
|
29
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-CKzzbbRe.esm.js";
|
|
30
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-C-_bzBSX.esm.js";
|
|
31
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Djb_daci.esm.js";
|
|
32
|
+
import { n as createSignatureManagerFromActor } from "./signatureManager-B6dRieBV.esm.js";
|
|
33
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-dgMVi0ed.esm.js";
|
|
34
|
+
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-D2KGYDws.esm.js";
|
|
35
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CdvGdtg2.esm.js";
|
|
36
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CsPFaja4.esm.js";
|
|
37
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-CpX6MOy_.esm.js";
|
|
38
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-D-mVF14T.esm.js";
|
|
39
39
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-Co2S7iN8.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-CsPFaja4.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-3Or5qfbA.esm.js → faceCaptureManagerFactory-BjVIUTMM.esm.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as eventModuleNames, r as eventScreenNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, r as eventScreenNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
6
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
7
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-q33e6ah9.esm.js";
|
|
7
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BNttW5Sm.esm.js";
|
|
8
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
9
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
9
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-6Mdq1hDk.esm.js";
|
|
10
10
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
11
11
|
function getPermissionStatus(snapshot) {
|
|
12
12
|
if (!snapshot.matches("permissions")) return;
|
package/dist/{faceCaptureManagerFactory-CRGajjZ4.d.ts → faceCaptureManagerFactory-DhDPxxp-.d.ts}
RENAMED
|
@@ -5,14 +5,14 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-DHuAkTe0.js";
|
|
7
7
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
8
|
-
import { i as FlowModuleConfig } from "./types-
|
|
9
|
-
import "./IWasmUtilCapability-
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-B2DGXHe6.js";
|
|
9
|
+
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
10
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
11
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
12
|
-
import { t as AuthenticationConfig } from "./types-
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-x5MQKskR.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-C2uJrJrS.js";
|
|
13
13
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
|
|
14
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
15
|
-
import { t as CameraStream } from "./camera-
|
|
14
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BnBfA6fb.js";
|
|
15
|
+
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
16
16
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
17
17
|
declare const _authenticationMachine: AnyStateMachine;
|
|
18
18
|
type AuthenticationMachine = typeof _authenticationMachine;
|
|
@@ -155,6 +155,12 @@ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDet
|
|
|
155
155
|
* current consumer.
|
|
156
156
|
*/
|
|
157
157
|
private currentOnCaptureWrapper;
|
|
158
|
+
/**
|
|
159
|
+
* @deprecated Unsupported since ml-wasm-kit v2.14.49-post1; scheduled for
|
|
160
|
+
* removal in 3.0.0. Calls fail deterministically without passing the canvas
|
|
161
|
+
* to native code. Use `ICameraCycleCapability.captureProtectedFrame` (the
|
|
162
|
+
* protected camera cycle's manual capture) instead.
|
|
163
|
+
*/
|
|
158
164
|
processPhoto(canvas: HTMLCanvasElement): void;
|
|
159
165
|
postFaceResults(config?: WebApiHostRequestConfig): Promise<unknown>;
|
|
160
166
|
setCallbacks(callbacks: FaceDetectionCallbacks): void;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { r as getToken } from "./api-
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./sessionInitializer-
|
|
5
|
-
import { t as addDeviceStats } from "./stats-
|
|
6
|
-
import {
|
|
2
|
+
import { r as getToken } from "./api-DSZSaaWr.esm.js";
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-D9D2IdEj.esm.js";
|
|
4
|
+
import "./sessionInitializer-BUUpdBy6.esm.js";
|
|
5
|
+
import { t as addDeviceStats } from "./stats-VqHbD5rn.esm.js";
|
|
6
|
+
import { s as isIPhone14OrHigher } from "./platform-GIg4uPWe.esm.js";
|
|
7
7
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
|
-
import {
|
|
10
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
12
|
-
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
9
|
+
import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
|
|
10
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-6Mdq1hDk.esm.js";
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-WtuJ6QBK.esm.js";
|
|
12
|
+
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-btFONYx6.esm.js";
|
|
13
13
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
14
14
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
15
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
16
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
17
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
15
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BJIaHxvI.esm.js";
|
|
16
|
+
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
17
|
+
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
18
18
|
//#region src/internal/avatar/concealment.ts
|
|
19
19
|
/**
|
|
20
20
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -73,6 +73,15 @@ function logFaceCameraDiagnostic(event, fields) {
|
|
|
73
73
|
//#region src/internal/faceCapture/protectedFaceAttempt.ts
|
|
74
74
|
const ON_DEVICE_MANUAL_CAPTURE_TIMEOUT_MS = 2147483647;
|
|
75
75
|
/**
|
|
76
|
+
* Merged session recordings carry sound, as in SDK 1. Only for the uploaded
|
|
77
|
+
* session recording (`createRecordingService`'s multipart branch): local and
|
|
78
|
+
* video-liveness recordings stay video-only. The permission step reads it too,
|
|
79
|
+
* so camera and mic are asked in one prompt.
|
|
80
|
+
*/
|
|
81
|
+
function requestsFaceSessionAudio(config) {
|
|
82
|
+
return config.mergeSessionRecordings === true && config.enableFaceRecording === true && config.onDeviceFaceResultsSubmissionEnabled !== true && config.deepsightLiveness !== "VIDEOLIVENESS";
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
76
85
|
* Recorder hooks for one protected face attempt.
|
|
77
86
|
*
|
|
78
87
|
* The recording service comes from the owner of the capture step (the face
|
|
@@ -181,7 +190,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
181
190
|
/** Per-attempt fallback when no step owner supplies the recording service. */
|
|
182
191
|
async createAttemptRecordingService() {
|
|
183
192
|
const wasmUtil = await this.options.dependencies.getWasmUtil();
|
|
184
|
-
return (await import("./recordingService-
|
|
193
|
+
return (await import("./recordingService-CLGnDCDl.esm.js")).createRecordingService({
|
|
185
194
|
config: this.options.config,
|
|
186
195
|
wasmUtil,
|
|
187
196
|
sessionToken: getToken(),
|
|
@@ -236,6 +245,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
236
245
|
},
|
|
237
246
|
cycle: this.options.cycle,
|
|
238
247
|
cycleOwnership: this.cycleOwnership,
|
|
248
|
+
recordAudio: this.options.delivery === "protected" && requestsFaceSessionAudio(this.options.config),
|
|
239
249
|
recorder: this.recorder,
|
|
240
250
|
afterReady: this.options.delivery === "protected" ? (displayStream) => this.attachProtectedCameraMetadata(displayStream) : void 0,
|
|
241
251
|
configureWorkflow: () => this.configureWorkflow(),
|
|
@@ -479,7 +489,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
479
489
|
const input = getControllerInput();
|
|
480
490
|
const pending = (async () => {
|
|
481
491
|
const wasmUtil = await input.dependencies.getWasmUtil();
|
|
482
|
-
const recordingModule = await import("./recordingService-
|
|
492
|
+
const recordingModule = await import("./recordingService-CLGnDCDl.esm.js");
|
|
483
493
|
if (!active) return;
|
|
484
494
|
stepRecording ??= recordingModule.createRecordingService({
|
|
485
495
|
config: input.config,
|
|
@@ -1378,7 +1388,8 @@ const faceCaptureMachine = setup({
|
|
|
1378
1388
|
src: "requestPermission",
|
|
1379
1389
|
input: ({ context }) => ({
|
|
1380
1390
|
permissionResult: context.permissionResult === "refresh" ? void 0 : context.permissionResult,
|
|
1381
|
-
requestMotionPermission: context.config.ds === true
|
|
1391
|
+
requestMotionPermission: context.config.ds === true,
|
|
1392
|
+
requestAudio: requestsFaceSessionAudio(context.config)
|
|
1382
1393
|
}),
|
|
1383
1394
|
onDone: [
|
|
1384
1395
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
5
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-Co2S7iN8.esm.js";
|
|
6
6
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
7
7
|
function createFaceMatchActor(options) {
|
|
8
8
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Co2S7iN8.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
|
-
import { t as getProcessFaceMatch } from "./processFaceMatch-
|
|
4
|
+
import { t as getProcessFaceMatch } from "./processFaceMatch-B1Mhqkep.esm.js";
|
|
5
5
|
//#region src/modules/face-match/constants.ts
|
|
6
6
|
/**
|
|
7
7
|
* Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
|
|
@@ -30,13 +30,11 @@ function isFaceExtractionSkippedError(error) {
|
|
|
30
30
|
* Fetches cropped face images from the backend.
|
|
31
31
|
*/
|
|
32
32
|
async function fetchFaceMatchImages(signal) {
|
|
33
|
-
const
|
|
33
|
+
const data = (await api.post(endpoints.getImagesV2, { images: [
|
|
34
34
|
"croppedFace",
|
|
35
35
|
"croppedIDFace",
|
|
36
36
|
"croppedAuthenticationSelfie"
|
|
37
|
-
] }, { signal });
|
|
38
|
-
if (!res.ok) throw new Error(`POST ${endpoints.getImagesV2} failed: ${res.status} ${res.statusText}`);
|
|
39
|
-
const data = res.data;
|
|
37
|
+
] }, { signal })).data;
|
|
40
38
|
return {
|
|
41
39
|
idFace: data.croppedIDFace ?? null,
|
|
42
40
|
selfie: data.croppedFace ?? data.croppedAuthenticationSelfie ?? null,
|
|
@@ -47,9 +45,7 @@ async function fetchFaceMatchImages(signal) {
|
|
|
47
45
|
* Fetches second ID face images from the backend.
|
|
48
46
|
*/
|
|
49
47
|
async function fetchSecondIdImages(signal) {
|
|
50
|
-
const
|
|
51
|
-
if (!res.ok) throw new Error(`POST ${endpoints.getImagesSecondId} failed: ${res.status} ${res.statusText}`);
|
|
52
|
-
const image = res.data.croppedIDFace;
|
|
48
|
+
const image = (await api.post(endpoints.getImagesSecondId, { images: ["croppedIDFace"] }, { signal })).data.croppedIDFace;
|
|
53
49
|
if (!image) return { secondIdFace: null };
|
|
54
50
|
return { secondIdFace: /^(?:data:|https?:\/\/|blob:)/i.test(image) ? image : `data:image/png;base64,${image}` };
|
|
55
51
|
}
|
|
@@ -64,9 +60,7 @@ async function fetchSecondIdImages(signal) {
|
|
|
64
60
|
* and `FAIL` fail, and a score with neither status gives `null`.
|
|
65
61
|
*/
|
|
66
62
|
async function fetchScore(matchingType, signal) {
|
|
67
|
-
const
|
|
68
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getScore} failed: ${res.status} ${res.statusText}`);
|
|
69
|
-
const data = res.data;
|
|
63
|
+
const data = (await api.get(endpoints.getScore, { signal })).data;
|
|
70
64
|
const matchStatus = (matchingType === "secondId" ? data.faceRecognitionSecondId : data.faceRecognition)?.overall?.status;
|
|
71
65
|
const livenessStatus = data.deepsight?.multimodalIntelligence?.overall?.status ?? data.liveness?.overall?.status;
|
|
72
66
|
return {
|
|
@@ -87,15 +81,10 @@ async function fetchScore(matchingType, signal) {
|
|
|
87
81
|
*/
|
|
88
82
|
async function processFaceForMatch(matchingType, signal) {
|
|
89
83
|
const endpoint = matchingType === "secondId" ? endpoints.processFaceSecondId : endpoints.processFace;
|
|
90
|
-
const
|
|
84
|
+
const success = (await api.post(endpoint, {}, {
|
|
91
85
|
query: { imageType: "selfie" },
|
|
92
86
|
signal
|
|
93
|
-
});
|
|
94
|
-
if (!res.ok) throw Object.assign(/* @__PURE__ */ new Error(`POST ${endpoint} failed: ${res.status} ${res.statusText}`), {
|
|
95
|
-
status: res.status,
|
|
96
|
-
data: res.data
|
|
97
|
-
});
|
|
98
|
-
const success = res.data?.success;
|
|
87
|
+
})).data?.success;
|
|
99
88
|
return typeof success === "boolean" ? success : null;
|
|
100
89
|
}
|
|
101
90
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-B5_kVegT.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -499,7 +499,8 @@ function buildInitializeOptions(options) {
|
|
|
499
499
|
if (options.clientExperimentId) initializeOptions.customIDs = { client_experiment_id: options.clientExperimentId };
|
|
500
500
|
initializeOptions.custom = {
|
|
501
501
|
...options.custom,
|
|
502
|
-
|
|
502
|
+
sdk_name: "web_v2",
|
|
503
|
+
sdk_version: SDK_VERSION
|
|
503
504
|
};
|
|
504
505
|
if (options.appVersion) initializeOptions.appVersion = options.appVersion;
|
|
505
506
|
if (options.redactedUserInfo) initializeOptions.redactedUserInfo = options.redactedUserInfo;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BhRKAG--.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-Chn80m_n.esm.js";
|
|
2
2
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-Chn80m_n.esm.js}
RENAMED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
//#region src/modules/field-comparison/fieldComparisonServices.ts
|
|
8
8
|
/** Submit first and last name for backend field comparison. Throws on failure. */
|
|
9
9
|
async function submitFieldComparison(params, signal) {
|
|
10
|
-
|
|
11
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCustomFields} failed: ${res.status} ${res.statusText}`);
|
|
12
|
-
return res.data;
|
|
10
|
+
return (await api.post(endpoints.addCustomFields, params, { signal })).data;
|
|
13
11
|
}
|
|
14
12
|
//#endregion
|
|
15
13
|
//#region src/modules/field-comparison/fieldComparisonUtils.ts
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-
|
|
1
|
+
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-CpX6MOy_.esm.js";
|
|
2
2
|
export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as eventModuleNames, v as addEvent } from "./types-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { a as stopCameraStream } from "./camera-
|
|
9
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
10
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
8
|
+
import { a as stopCameraStream } from "./camera-CJKApt0x.esm.js";
|
|
9
|
+
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
10
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
11
11
|
import "./http.esm.js";
|
|
12
12
|
//#region src/modules/fiscal-qr/fiscalQrConstants.ts
|
|
13
13
|
const SUCCESS_DISPLAY_MS = 1500;
|
|
@@ -6563,7 +6563,6 @@ function startQrScan(frameCapturer, onDetected, applyFocusDelay = true) {
|
|
|
6563
6563
|
*/
|
|
6564
6564
|
async function submitFiscalQrLink(params, signal) {
|
|
6565
6565
|
const res = await api.post(endpoints.addFiscalQrLink, params, { signal });
|
|
6566
|
-
if (!res.ok) throw new Error(`POST failed: ${res.status}`);
|
|
6567
6566
|
if (res.data?.success !== true) throw new Error("Fiscal QR link was not accepted");
|
|
6568
6567
|
return res.data;
|
|
6569
6568
|
}
|
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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 { 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-C0WIMlJE.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ import "./xstate.cjs-D6Ur0X1F.js";
|
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
|
|
6
6
|
import { t as EkycConfig } from "./types-DEa3taWc.js";
|
|
7
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
8
|
-
import { t as AuthenticationConfig } from "./types-
|
|
9
|
-
import { r as DocumentCaptureConfig } from "./types-
|
|
7
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-B2DGXHe6.js";
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-C2uJrJrS.js";
|
|
9
|
+
import { r as DocumentCaptureConfig } from "./types-CaVUb1DL.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BgRHw-dR.js";
|
|
12
|
-
import { u as IdCaptureConfig } from "./types-
|
|
13
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
12
|
+
import { u as IdCaptureConfig } from "./types-BBHnkH6S.js";
|
|
13
|
+
import { r as MandatoryConsentConfig } from "./types-BkWUNheX.js";
|
|
14
14
|
import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
16
16
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
|
|
17
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
17
|
+
import { o as FlowEventSubscribable } from "./index-C0WIMlJE.js";
|
|
18
18
|
import { n as ModuleRegistry } from "./types-C3rfDzgE.js";
|
|
19
19
|
//#region src/modules/flow/orchestratedFlowStateMachine.d.ts
|
|
20
20
|
type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-
|
|
2
|
-
import "./events-
|
|
1
|
+
import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
4
|
-
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-
|
|
4
|
+
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-C23o7MqO.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
9
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
8
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-E_6ChYsV.esm.js";
|
|
9
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DF2c6TxC.esm.js";
|
|
10
10
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
11
11
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
12
12
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
package/dist/{flowCompletionService-BpeAbbXc.esm.js → flowCompletionService-E_6ChYsV.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-BDuL1wTs.esm.js";
|
|
3
3
|
//#region src/modules/flow/flowCompletionService.ts
|
|
4
4
|
const getFinishStatus = async (flowId, signal) => {
|
|
5
5
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-9iKKNNuW.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./types-
|
|
3
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
4
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
2
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
3
|
+
import { r as getToken, t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
4
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-BUUpdBy6.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BhRKAG--.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-BDuL1wTs.esm.js";
|
|
7
|
+
import "./session-OCc4b-Iv.esm.js";
|
|
8
8
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
9
|
-
import { a as prefetchStartInfo } from "./phoneServices-
|
|
9
|
+
import { a as prefetchStartInfo } from "./phoneServices-C9lFIuCM.esm.js";
|
|
10
10
|
//#region src/modules/flow/dashboardConfig.ts
|
|
11
11
|
function isPlainObject(value) {
|
|
12
12
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
@@ -241,7 +241,8 @@ function enrichFlowModuleConfig(module, flow) {
|
|
|
241
241
|
};
|
|
242
242
|
if (module.key === "ID" || module.key === "TUTORIAL_ID" || module.key === "SECOND_ID" || module.key === "SELFIE") return {
|
|
243
243
|
...config,
|
|
244
|
-
ageAssurance: config.ageAssurance ?? flow.ageAssurance
|
|
244
|
+
ageAssurance: config.ageAssurance ?? flow.ageAssurance,
|
|
245
|
+
mergeSessionRecordings: config.mergeSessionRecordings ?? flow.mergeSessionRecordings
|
|
245
246
|
};
|
|
246
247
|
return config;
|
|
247
248
|
}
|
|
@@ -254,7 +255,7 @@ let configConverters;
|
|
|
254
255
|
async function loadFlowConfigConverters(flow) {
|
|
255
256
|
const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
|
|
256
257
|
if (configConverters || !needed) return;
|
|
257
|
-
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-
|
|
258
|
+
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-D9ui9Ztp.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
|
|
258
259
|
configConverters = {
|
|
259
260
|
toEkycConfig: ekyc.toEkycConfig,
|
|
260
261
|
toEkybConfig: ekyb.toEkybConfig
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-dgMVi0ed.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CCVd9xGh.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CCVd9xGh.esm.js";
|
|
6
6
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
7
7
|
var BrowserGeolocationProvider = class {
|
|
8
8
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-NWmA1Dtn.esm.js → geolocationStateMachine-CCVd9xGh.esm.js}
RENAMED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import {
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
+
import { i as isIOS, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-BDuL1wTs.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
6
|
+
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
9
|
-
|
|
9
|
+
return (await api.post(endpoints.addGeolocation, {
|
|
10
10
|
latitude: params.latitude,
|
|
11
11
|
longitude: params.longitude
|
|
12
|
-
}, { signal });
|
|
13
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addGeolocation} failed: ${res.status} ${res.statusText}`);
|
|
14
|
-
return res.data;
|
|
12
|
+
}, { signal })).data;
|
|
15
13
|
}
|
|
16
14
|
//#endregion
|
|
17
15
|
//#region src/modules/geolocation/geolocationStateMachine.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as isTabletWithoutAndroid } from "./platform-GIg4uPWe.esm.js";
|
|
3
3
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
4
4
|
//#region src/internal/device/getDeviceClass.ts
|
|
5
5
|
function getDeviceClass() {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
2
|
-
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-
|
|
1
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DRG-5jwQ.esm.js";
|
|
2
|
+
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-D2KGYDws.esm.js";
|
|
3
3
|
export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
6
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DRG-5jwQ.esm.js";
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
8
8
|
function createGovernmentValidationActor(options) {
|
|
9
9
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
5
5
|
async function processGovernmentValidation(signal) {
|
|
6
|
-
|
|
7
|
-
if (!res.ok) throw new Error(`POST ${endpoints.governmentValidation} failed: ${res.status} ${res.statusText}`);
|
|
8
|
-
return res.data;
|
|
6
|
+
return (await api.post(endpoints.governmentValidation, {}, { signal })).data;
|
|
9
7
|
}
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/modules/government-validation/governmentValidationStateMachine.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as NonReducibleUnknown, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
2
2
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
|
-
import { t as EmptyConfig } from "./types-
|
|
4
|
+
import { t as EmptyConfig } from "./types-B2DGXHe6.js";
|
|
5
5
|
//#region src/modules/home/types.d.ts
|
|
6
6
|
type HomeConfig = EmptyConfig;
|
|
7
7
|
//#endregion
|