@incodetech/core 0.0.0-dev-20260610-60785e38 → 0.0.0-dev-20260610-e5b4c4d5
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/{OpenViduRecordingProvider-BtAVDH2Y.esm.js → OpenViduRecordingProvider-O4GjBseO.esm.js} +1 -1
- package/dist/StreamCanvasCapture-ImiDQdVA.esm.js +118 -0
- package/dist/StreamCanvasCapture-yyl20qd9.d.ts +152 -0
- package/dist/{addressSearch-DPmseXCM.esm.js → addressSearch-rHF9QriL.esm.js} +4 -4
- package/dist/{ae-signature-lqjX_h2U.esm.js → ae-signature-CQjOxLrv.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +7 -7
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +6 -6
- package/dist/{antifraudManager-DaUfoGLZ.esm.js → antifraudManager-CZDCQli0.esm.js} +3 -3
- package/dist/{antifraudManager-Bbgl_P0Y.d.ts → antifraudManager-CznnhyvD.d.ts} +2 -2
- package/dist/{antifraudStateMachine-DmhL7cti.esm.js → antifraudStateMachine-Bp7yS1LV.esm.js} +3 -3
- package/dist/authentication.d.ts +13 -12
- package/dist/authentication.esm.js +27 -25
- package/dist/{authenticationManager-DIN4eL_6.esm.js → authenticationManager-C3-IUymg.esm.js} +6 -6
- package/dist/{authenticationManager-ozJVUfiA.d.ts → authenticationManager-CIVY80H9.d.ts} +2 -2
- package/dist/{authenticationStateMachine-DzrcG7XX.esm.js → authenticationStateMachine-3HbNfPoL.esm.js} +8 -8
- package/dist/{backCameraStream-BtCwSIuT.esm.js → backCameraStream-D7Wo4Nbx.esm.js} +3 -3
- package/dist/{browserSimulation-CHpyEI-W.esm.js → browserSimulation-B1dWiXp7.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/canvas-SKcRBxsk.esm.js +230 -0
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +6 -6
- package/dist/{consentManager-DrgbW7Ap.d.ts → consentManager-66SjOJ7U.d.ts} +49 -49
- package/dist/{consentManager-D0NGejCx.esm.js → consentManager-DOufCKTj.esm.js} +3 -3
- package/dist/{consentStateMachine-CUOuuC7d.esm.js → consentStateMachine-CUVp1kKY.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +6 -6
- package/dist/{cpfOcrManager-9ciXe_XT.esm.js → cpfOcrManager-Bm5OlZSa.esm.js} +5 -5
- package/dist/{cpfOcrManager-45armOwY.d.ts → cpfOcrManager-DVSJov4W.d.ts} +19 -19
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +7 -7
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{curpValidationManager-BJDxY7JH.esm.js → curpValidationManager-CMXS-tjU.esm.js} +3 -3
- package/dist/{curpValidationManager-VE0Ndj36.d.ts → curpValidationManager-DIFa6O03.d.ts} +3 -3
- package/dist/{curpValidationStateMachine-BBUREbWY.esm.js → curpValidationStateMachine-CD-npCgV.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-qfxMGhCV.esm.js → customWatchlistStateMachine-CF4ETN-z.esm.js} +3 -3
- package/dist/{deepsightLoader-OlmqoVtS.esm.js → deepsightLoader-CTf5NdIB.esm.js} +13 -12
- package/dist/{deepsightService-CeXd7dhh.d.ts → deepsightService-B7ShOkWL.d.ts} +2 -152
- package/dist/{deepsightService-Dh9EiWze.esm.js → deepsightService-Da56SkD4.esm.js} +8 -236
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +232 -232
- package/dist/document-capture.esm.js +13 -13
- package/dist/document-upload.d.ts +47 -47
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-JqM4pyfY.esm.js → documentCaptureStateMachine-CV1dzgbn.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -5
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +16 -16
- package/dist/{ekybStateMachine-C87o0YN-.esm.js → ekybStateMachine-DWm7C2qW.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-B5brX021.esm.js → ekycStateMachine-CRiViUGB.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +6 -6
- package/dist/{electronicSignatureManager-BY6tiZPR.esm.js → electronicSignatureManager-DECEJ9hm.esm.js} +5 -5
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +8 -8
- package/dist/{emailManager-DRUHedQg.esm.js → emailManager-DAIwweQa.esm.js} +4 -4
- package/dist/{emailManager-VP0mIGdj.d.ts → emailManager-lAzDoQOs.d.ts} +3 -3
- package/dist/{emailStateMachine-CZgKn7a1.esm.js → emailStateMachine-C-ltLrvi.esm.js} +5 -5
- package/dist/{endpoints-BPHddOTi.esm.js → endpoints-zEf_JIJU.esm.js} +2 -1
- package/dist/{events-Bsw1l0pH.esm.js → events-Dvvriq9l.esm.js} +3 -2
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +26 -25
- package/dist/extensibility.esm.js +56 -54
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-BTsmDJ06.d.ts → faceCaptureManagerFactory-C_hRHx8a.d.ts} +9 -8
- package/dist/{faceCaptureManagerFactory-DKE4-MLG.esm.js → faceCaptureManagerFactory-kqbUqtrr.esm.js} +4 -4
- package/dist/{faceCaptureSetup-0XUJwf3G.esm.js → faceCaptureSetup-CoZCFG0w.esm.js} +7 -6
- package/dist/{faceMatchStateMachine-i3qgZ176.esm.js → faceMatchStateMachine-CN81-J0s.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +5 -5
- package/dist/{fieldComparisonManager-Bfb3-iwn.esm.js → fieldComparisonManager-Bnuq1mA0.esm.js} +4 -4
- package/dist/{fieldComparisonManager-DAP7RbND.d.ts → fieldComparisonManager-Bu5TaSr3.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +59 -0
- package/dist/fiscal-qr.esm.js +323 -0
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +16 -16
- package/dist/{flowCompletionService-DFV8vmO3.esm.js → flowCompletionService-DHpnjBvp.esm.js} +3 -3
- package/dist/{flowServices-B8StyU4e.esm.js → flowServices-BykryjdA.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-DCG_hQkW.esm.js → geolocationStateMachine-D6yBlOQ_.esm.js} +4 -4
- package/dist/{getDeviceClass-cJ-TvND7.esm.js → getDeviceClass-C8Do2qYu.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +7 -7
- package/dist/{governmentValidationStateMachine-KY_Eu5b-.esm.js → governmentValidationStateMachine-M-iiovMY.esm.js} +5 -5
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http-Cai3IoLS.esm.js +0 -0
- package/dist/http.esm.js +2 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +12 -11
- package/dist/id.esm.js +31 -29
- package/dist/{idCaptureManager-BXkPnZIc.d.ts → idCaptureManager-D-QYESvF.d.ts} +8 -7
- package/dist/{idCaptureManager-D-YIA3Gx.esm.js → idCaptureManager-mQGmxqf1.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-CcvuxXuS.esm.js → idCaptureStateMachine-DXeLlQa_.esm.js} +23 -23
- package/dist/{idOcrStateMachine-DVjkIw10.esm.js → idOcrStateMachine-Cj2uN_q_.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-B_F3G-v-.esm.js → idVerificationStateMachine-DVrl68dQ.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +6 -6
- package/dist/{identityReuseManager-CNcsh-xr.esm.js → identityReuseManager-DHYlQW3K.esm.js} +3 -3
- package/dist/{identityReuseManager-BOw_tdAv.d.ts → identityReuseManager-DYb7I3jf.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-BrbaZto8.esm.js → identityReuseStateMachine-Dyfa7yzx.esm.js} +3 -3
- package/dist/{index-B0l4AlKI.d.ts → index-B2RUw1Th.d.ts} +169 -169
- package/dist/{index-C3KOkxmU.d.ts → index-B5hPA0Bg.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +12 -12
- package/dist/{invokeOnCaptureCallback-Bty7q0sC.esm.js → invokeOnCaptureCallback-ygByVdnn.esm.js} +1 -1
- package/dist/{lib-DmGBvFHu.esm.js → lib-BY67lgbq.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +6 -6
- package/dist/{mandatoryConsentManager-BUpEBczR.esm.js → mandatoryConsentManager-BTqe3YNU.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-BN7FiY2_.d.ts → mandatoryConsentManager-DBc5NyKN.d.ts} +53 -53
- package/dist/{mandatoryConsentStateMachine-B6hfQFw1.esm.js → mandatoryConsentStateMachine-4yzCCY4e.esm.js} +3 -3
- package/dist/openviduLazy-B8L--0oe.esm.js +3 -0
- package/dist/{openviduLazy-6AQum7Ca.esm.js → openviduLazy-Dh14JNJc.esm.js} +2 -2
- package/dist/{permissionGuards-DUKOJ-Mt.esm.js → permissionGuards-C1ispV96.esm.js} +1 -1
- package/dist/{permissionServices-BjXAT5OT.esm.js → permissionServices-CG3bMSfG.esm.js} +3 -3
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +8 -8
- package/dist/{phoneManager-Ddl_CeNb.esm.js → phoneManager-B44MT4ro.esm.js} +4 -4
- package/dist/{phoneManager-BgoX1fvQ.d.ts → phoneManager-fPmIBYQK.d.ts} +3 -3
- package/dist/{phoneStateMachine-CrjW4JrA.esm.js → phoneStateMachine-CMht9LLp.esm.js} +5 -5
- package/dist/{qe-signature-C8uvV_-H.esm.js → qe-signature-DCz2roEC.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +7 -7
- package/dist/{recordingService-DCUipzC7.esm.js → recordingService-DwPmv6FZ.esm.js} +16 -131
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +7 -7
- package/dist/{redirectToMobileManager-CQxCClRy.esm.js → redirectToMobileManager-BAzevDYW.esm.js} +4 -4
- package/dist/{redirectToMobileManager-xOasdN0s.d.ts → redirectToMobileManager-BNe3IzC_.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-DHqdmBzc.esm.js → redirectToMobileStateMachine-BmwxrN1h.esm.js} +4 -4
- package/dist/{runChildModule-B1uVG8D-.esm.js → runChildModule-CuoHZ1cx.esm.js} +3 -3
- package/dist/selfie.d.ts +13 -12
- package/dist/selfie.esm.js +28 -26
- package/dist/{selfieManager-CeTXxT2U.d.ts → selfieManager-dUbKRzOh.d.ts} +2 -2
- package/dist/{selfieManager-DpFMP4Rk.esm.js → selfieManager-zH9pAVXE.esm.js} +6 -6
- package/dist/{selfieStateMachine-DCHihi8J.esm.js → selfieStateMachine-Dr5sCDgI.esm.js} +4 -4
- package/dist/{session-Ds1d84mn.esm.js → session-BEtpaQ6D.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +12 -12
- package/dist/{sessionInitializer-zlAIBqKa.esm.js → sessionInitializer-D0Ei5Ol7.esm.js} +7 -7
- package/dist/{setup-BtLWJPSp.d.ts → setup-BbkprdVv.d.ts} +1 -1
- package/dist/{setup-Dt2uLcl2.esm.js → setup-DotVj7UA.esm.js} +7 -7
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-CY1u1o6J.esm.js → signatureStateMachine-CpcyA7CM.esm.js} +4 -4
- package/dist/{stats-AwLva7-C.esm.js → stats-SU3Linba.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-BmZR-K77.d.ts → types-Bj9hdFjU.d.ts} +1 -1
- package/dist/{types-DJsgKeW0.d.ts → types-DOUhndhT.d.ts} +2 -2
- package/dist/{types-BI-jIO73.d.ts → types-NuT8ftBV.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +12 -12
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-CGRko-GU.esm.js → watchlistForBusinessStateMachine-DsEq8xwX.esm.js} +3 -3
- package/dist/{watchlistStateMachine-CWVTWVJY.esm.js → watchlistStateMachine-CREpVW-C.esm.js} +3 -3
- package/dist/workflow.d.ts +94 -94
- package/dist/workflow.esm.js +60 -58
- package/package.json +11 -3
- package/dist/openviduLazy-Dge_R911.esm.js +0 -3
- /package/dist/{Actor-Ds20AUDY.d.ts → Actor-Y0_Fj-KL.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-BrJver0U.esm.js → BrowserStorageProvider-BpJM-gIl.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-BESs49g_.esm.js → BrowserTimerProvider-DhNc_x02.esm.js} +0 -0
- /package/dist/{ITimerCapability-gIlcIrAX.esm.js → ITimerCapability-CB0I1Uf2.esm.js} +0 -0
- /package/dist/{IpifyProvider-BQKB2PR-.esm.js → IpifyProvider-D4LWD15E.esm.js} +0 -0
- /package/dist/{Manager-Dh6pC-6V.d.ts → Manager-BHn8wH8K.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-D1JWpMLJ.esm.js → MotionSensorProvider-Bx7Mpzt0.esm.js} +0 -0
- /package/dist/{StateMachine-CENvPkCx.d.ts → StateMachine-BC_nGvrc.d.ts} +0 -0
- /package/dist/{WasmUtilProvider-CeyOvhU2.esm.js → WasmUtilProvider-CiEN7Gjn.esm.js} +0 -0
- /package/dist/{api-YxPMtty2.esm.js → api-CESGtpbH.esm.js} +0 -0
- /package/dist/{apiError-76Dulrw9.esm.js → apiError-B-j-gyDx.esm.js} +0 -0
- /package/dist/{camera-P7dse339.esm.js → camera-DJWm3V4g.esm.js} +0 -0
- /package/dist/{camera-D7qYpKeG.d.ts → camera-SRBpPq2X.d.ts} +0 -0
- /package/dist/{chunk-wtC55c3P.esm.js → chunk-CMUKZ2uL.esm.js} +0 -0
- /package/dist/{cpf-COPPtEoQ.esm.js → cpf-BRzggV8G.esm.js} +0 -0
- /package/dist/{dateUtils-CibceEoG.esm.js → dateUtils-AksLQmgV.esm.js} +0 -0
- /package/dist/{flowCompletionService-DOHFSAJ2.d.ts → flowCompletionService-BdR2cGgB.d.ts} +0 -0
- /package/dist/{getBrowser-CMJJeBF8.esm.js → getBrowser-C8DP7oTB.esm.js} +0 -0
- /package/dist/{getDeviceClass-C5yT6K2e.esm.js → getDeviceClass-C0olyNFS.esm.js} +0 -0
- /package/dist/{otp-lOELtCck.esm.js → otp-CGMdUzBC.esm.js} +0 -0
- /package/dist/{otp-Ci7E_eNt.d.ts → otp-DF5A0sFx.d.ts} +0 -0
- /package/dist/{platform-D871crJL.esm.js → platform-SKvEfCBh.esm.js} +0 -0
- /package/dist/{types-CRp-Maxh.esm.js → types-DsnEVMhr.esm.js} +0 -0
- /package/dist/{types-Cojkwi9p.d.ts → types-DvGZI7BF.d.ts} +0 -0
- /package/dist/{types-DI4L4PFE.d.ts → types-ya0LN_MX.d.ts} +0 -0
- /package/dist/{warmup-Bx2GXY3L.d.ts → warmup-Dg8Lh-50.d.ts} +0 -0
- /package/dist/{xstate.esm-CWoFJOio.esm.js → xstate.esm-C9wncMQa.esm.js} +0 -0
package/dist/{idCaptureStateMachine-CcvuxXuS.esm.js → idCaptureStateMachine-DXeLlQa_.esm.js}
RENAMED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { d as IdCaptureModelType, i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-
|
|
2
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
3
|
-
import { r as getToken, t as api } from "./api-
|
|
4
|
-
import { S as revokeObjectURL } from "./events-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import { t as addDeviceStats } from "./stats-
|
|
7
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
8
|
-
import { n as isDesktop } from "./platform-
|
|
9
|
-
import { a as fromPromise, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-
|
|
10
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { _ as
|
|
12
|
-
import {
|
|
13
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
14
|
-
import { n as getWindowDimensions } from "./getDeviceClass-
|
|
15
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
16
|
-
import {
|
|
1
|
+
import { d as IdCaptureModelType, i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-CiEN7Gjn.esm.js";
|
|
2
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
3
|
+
import { r as getToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
4
|
+
import { S as revokeObjectURL } from "./events-Dvvriq9l.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
6
|
+
import { t as addDeviceStats } from "./stats-SU3Linba.esm.js";
|
|
7
|
+
import { t as getDisableIpify } from "./sessionInitializer-D0Ei5Ol7.esm.js";
|
|
8
|
+
import { n as isDesktop } from "./platform-SKvEfCBh.esm.js";
|
|
9
|
+
import { a as fromPromise, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
10
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CG3bMSfG.esm.js";
|
|
11
|
+
import { _ as startRecording, g as createRecordingSession, i as flagIdManualReview, n as preloadOpenViduProvider, v as stopRecording$1, y as StreamCanvasProcessingSession } from "./recordingService-DwPmv6FZ.esm.js";
|
|
12
|
+
import { t as IncodeCanvas } from "./canvas-SKcRBxsk.esm.js";
|
|
13
|
+
import { n as getBackCameraStream } from "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
14
|
+
import { n as getWindowDimensions } from "./getDeviceClass-C0olyNFS.esm.js";
|
|
15
|
+
import { t as getDeviceClass } from "./getDeviceClass-C8Do2qYu.esm.js";
|
|
16
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-ImiDQdVA.esm.js";
|
|
17
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-C1ispV96.esm.js";
|
|
17
18
|
|
|
18
19
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
19
20
|
const TERMINAL_FAIL_REASONS = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -737,7 +738,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
737
738
|
preloadOpenViduProvider();
|
|
738
739
|
}
|
|
739
740
|
async function createOpenViduRecordingProvider() {
|
|
740
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
741
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-O4GjBseO.esm.js");
|
|
741
742
|
return new OpenViduRecordingProvider();
|
|
742
743
|
}
|
|
743
744
|
async function startRecordingSession(params) {
|
|
@@ -823,8 +824,7 @@ const MANUAL_UPLOAD_ERROR_KEYS = {
|
|
|
823
824
|
generic: "manualIdUpload.generic",
|
|
824
825
|
lowSharpness: "manualIdUpload.lowSharpness",
|
|
825
826
|
glareDetected: "manualIdUpload.glareDetected",
|
|
826
|
-
readabilityIssue: "manualIdUpload.readabilityIssue"
|
|
827
|
-
qualityRejected: "manualIdUpload.qualityRejected"
|
|
827
|
+
readabilityIssue: "manualIdUpload.readabilityIssue"
|
|
828
828
|
};
|
|
829
829
|
/**
|
|
830
830
|
* Map the server's `failReason` (plus client-side passport/ID tab mismatch and
|
|
@@ -832,8 +832,9 @@ const MANUAL_UPLOAD_ERROR_KEYS = {
|
|
|
832
832
|
* branch logic in
|
|
833
833
|
* `ms-incodesmile-web/packages/incode-welcome/src/manualIdUpload/manuaIdUpload.tsx`,
|
|
834
834
|
* extended to also reject responses where the backend flagged a per-image
|
|
835
|
-
* quality issue (`correctSharpness`, `correctGlare`, `readability
|
|
836
|
-
* `idQualityAttemptApproved`
|
|
835
|
+
* quality issue (`correctSharpness`, `correctGlare`, or `readability`).
|
|
836
|
+
* `idQualityAttemptApproved` is intentionally ignored — v1 did not treat it
|
|
837
|
+
* as a manual-upload rejection signal.
|
|
837
838
|
*
|
|
838
839
|
* Quality flags are checked with `=== false` so missing/undefined values
|
|
839
840
|
* (older backends, partial payloads) keep the legacy "trust the server"
|
|
@@ -852,7 +853,6 @@ function mapFailReasonToErrorKey(response, expectedTab) {
|
|
|
852
853
|
if (response.correctSharpness === false) return MANUAL_UPLOAD_ERROR_KEYS.lowSharpness;
|
|
853
854
|
if (response.correctGlare === false) return MANUAL_UPLOAD_ERROR_KEYS.glareDetected;
|
|
854
855
|
if (response.readability === false) return MANUAL_UPLOAD_ERROR_KEYS.readabilityIssue;
|
|
855
|
-
if (response.idQualityAttemptApproved === false) return MANUAL_UPLOAD_ERROR_KEYS.qualityRejected;
|
|
856
856
|
return null;
|
|
857
857
|
}
|
|
858
858
|
|
|
@@ -1507,7 +1507,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1507
1507
|
});
|
|
1508
1508
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1509
1509
|
if (!input.dependencies) return;
|
|
1510
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1510
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CTf5NdIB.esm.js");
|
|
1511
1511
|
return loadDeepsightSession({
|
|
1512
1512
|
ds: input.ds,
|
|
1513
1513
|
storage: input.dependencies.storage,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { x as getTimestamp } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
1
|
+
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { x as getTimestamp } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-BRzggV8G.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
8
8
|
var DateFormattingProvider = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
3
|
+
import { a as fromPromise, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-verification/idVerificationServices.ts
|
|
6
6
|
/**
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import "./Manager-BHn8wH8K.js";
|
|
2
|
+
import "./Actor-Y0_Fj-KL.js";
|
|
3
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-DYb7I3jf.js";
|
|
4
4
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
6
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import "./api-CESGtpbH.esm.js";
|
|
2
|
+
import "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-Dyfa7yzx.esm.js";
|
|
6
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-DHYlQW3K.esm.js";
|
|
7
7
|
|
|
8
8
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
3
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
|
|
2
|
+
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
3
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-Dyfa7yzx.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-Y0_Fj-KL.js";
|
|
3
|
+
import * as xstate67 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/types.d.ts
|
|
6
6
|
|
|
@@ -76,7 +76,7 @@ type IdentityReuseContext = {
|
|
|
76
76
|
type IdentityReuseInput = {
|
|
77
77
|
config: IdentityReuseConfig;
|
|
78
78
|
};
|
|
79
|
-
declare const identityReuseMachine:
|
|
79
|
+
declare const identityReuseMachine: xstate67.StateMachine<IdentityReuseContext, {
|
|
80
80
|
type: "LOAD";
|
|
81
81
|
} | {
|
|
82
82
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -88,36 +88,36 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
|
|
|
88
88
|
} | {
|
|
89
89
|
type: "RETRY";
|
|
90
90
|
}, {
|
|
91
|
-
[x: string]:
|
|
92
|
-
},
|
|
91
|
+
[x: string]: xstate67.ActorRefFromLogic<xstate67.PromiseActorLogic<FetchDocumentsResponse, void, xstate67.EventObject>> | xstate67.ActorRefFromLogic<xstate67.PromiseActorLogic<SubmitResponse, SubmitParams, xstate67.EventObject>> | undefined;
|
|
92
|
+
}, xstate67.Values<{
|
|
93
93
|
fetchDocuments: {
|
|
94
94
|
src: "fetchDocuments";
|
|
95
|
-
logic:
|
|
95
|
+
logic: xstate67.PromiseActorLogic<FetchDocumentsResponse, void, xstate67.EventObject>;
|
|
96
96
|
id: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
submitDocument: {
|
|
99
99
|
src: "submitDocument";
|
|
100
|
-
logic:
|
|
100
|
+
logic: xstate67.PromiseActorLogic<SubmitResponse, SubmitParams, xstate67.EventObject>;
|
|
101
101
|
id: string | undefined;
|
|
102
102
|
};
|
|
103
|
-
}>,
|
|
103
|
+
}>, xstate67.Values<{
|
|
104
104
|
setDocuments: {
|
|
105
105
|
type: "setDocuments";
|
|
106
|
-
params:
|
|
107
|
-
};
|
|
108
|
-
setSelectedDocument: {
|
|
109
|
-
type: "setSelectedDocument";
|
|
110
|
-
params: xstate0.NonReducibleUnknown;
|
|
106
|
+
params: xstate67.NonReducibleUnknown;
|
|
111
107
|
};
|
|
112
108
|
setError: {
|
|
113
109
|
type: "setError";
|
|
114
|
-
params:
|
|
110
|
+
params: xstate67.NonReducibleUnknown;
|
|
115
111
|
};
|
|
116
112
|
clearError: {
|
|
117
113
|
type: "clearError";
|
|
118
|
-
params:
|
|
114
|
+
params: xstate67.NonReducibleUnknown;
|
|
115
|
+
};
|
|
116
|
+
setSelectedDocument: {
|
|
117
|
+
type: "setSelectedDocument";
|
|
118
|
+
params: xstate67.NonReducibleUnknown;
|
|
119
119
|
};
|
|
120
|
-
}>,
|
|
120
|
+
}>, xstate67.Values<{
|
|
121
121
|
hasDocuments: {
|
|
122
122
|
type: "hasDocuments";
|
|
123
123
|
params: unknown;
|
|
@@ -126,7 +126,7 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
|
|
|
126
126
|
type: "hasSelection";
|
|
127
127
|
params: unknown;
|
|
128
128
|
};
|
|
129
|
-
}>, never, "error" | "idle" | "finished" | "loading" | "
|
|
129
|
+
}>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, xstate67.NonReducibleUnknown, xstate67.EventObject, xstate67.MetaObject, {
|
|
130
130
|
readonly id: "identityReuse";
|
|
131
131
|
readonly initial: "idle";
|
|
132
132
|
readonly context: ({
|
|
@@ -135,55 +135,55 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
|
|
|
135
135
|
spawn: {
|
|
136
136
|
<TSrc extends "fetchDocuments" | "submitDocument">(logic: TSrc, ...[options]: ({
|
|
137
137
|
src: "fetchDocuments";
|
|
138
|
-
logic:
|
|
138
|
+
logic: xstate67.PromiseActorLogic<FetchDocumentsResponse, void, xstate67.EventObject>;
|
|
139
139
|
id: string | undefined;
|
|
140
140
|
} extends infer T ? T extends {
|
|
141
141
|
src: "fetchDocuments";
|
|
142
|
-
logic:
|
|
142
|
+
logic: xstate67.PromiseActorLogic<FetchDocumentsResponse, void, xstate67.EventObject>;
|
|
143
143
|
id: string | undefined;
|
|
144
144
|
} ? T extends {
|
|
145
145
|
src: TSrc;
|
|
146
|
-
} ?
|
|
146
|
+
} ? xstate67.ConditionalRequired<[options?: ({
|
|
147
147
|
id?: T["id"] | undefined;
|
|
148
148
|
systemId?: string;
|
|
149
|
-
input?:
|
|
149
|
+
input?: xstate67.InputFrom<T["logic"]> | undefined;
|
|
150
150
|
syncSnapshot?: boolean;
|
|
151
|
-
} & { [K in
|
|
151
|
+
} & { [K in xstate67.RequiredActorOptions<T>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
152
152
|
src: "submitDocument";
|
|
153
|
-
logic:
|
|
153
|
+
logic: xstate67.PromiseActorLogic<SubmitResponse, SubmitParams, xstate67.EventObject>;
|
|
154
154
|
id: string | undefined;
|
|
155
155
|
} extends infer T_1 ? T_1 extends {
|
|
156
156
|
src: "submitDocument";
|
|
157
|
-
logic:
|
|
157
|
+
logic: xstate67.PromiseActorLogic<SubmitResponse, SubmitParams, xstate67.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
} ? T_1 extends {
|
|
160
160
|
src: TSrc;
|
|
161
|
-
} ?
|
|
161
|
+
} ? xstate67.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: T_1["id"] | undefined;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate67.InputFrom<T_1["logic"]> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K_1 in
|
|
166
|
+
} & { [K_1 in xstate67.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredActorOptions<T_1>>> : never : never : never)): xstate67.ActorRefFromLogic<xstate67.GetConcreteByKey<xstate67.Values<{
|
|
167
167
|
fetchDocuments: {
|
|
168
168
|
src: "fetchDocuments";
|
|
169
|
-
logic:
|
|
169
|
+
logic: xstate67.PromiseActorLogic<FetchDocumentsResponse, void, xstate67.EventObject>;
|
|
170
170
|
id: string | undefined;
|
|
171
171
|
};
|
|
172
172
|
submitDocument: {
|
|
173
173
|
src: "submitDocument";
|
|
174
|
-
logic:
|
|
174
|
+
logic: xstate67.PromiseActorLogic<SubmitResponse, SubmitParams, xstate67.EventObject>;
|
|
175
175
|
id: string | undefined;
|
|
176
176
|
};
|
|
177
177
|
}>, "src", TSrc>["logic"]>;
|
|
178
|
-
<TLogic extends
|
|
178
|
+
<TLogic extends xstate67.AnyActorLogic>(src: TLogic, ...[options]: xstate67.ConditionalRequired<[options?: ({
|
|
179
179
|
id?: never;
|
|
180
180
|
systemId?: string;
|
|
181
|
-
input?:
|
|
181
|
+
input?: xstate67.InputFrom<TLogic> | undefined;
|
|
182
182
|
syncSnapshot?: boolean;
|
|
183
|
-
} & { [K in
|
|
183
|
+
} & { [K in xstate67.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredLogicInput<TLogic>>>): xstate67.ActorRefFromLogic<TLogic>;
|
|
184
184
|
};
|
|
185
185
|
input: IdentityReuseInput;
|
|
186
|
-
self:
|
|
186
|
+
self: xstate67.ActorRef<xstate67.MachineSnapshot<IdentityReuseContext, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -194,7 +194,7 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
|
|
|
194
194
|
type: "SKIP";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RETRY";
|
|
197
|
-
}, Record<string,
|
|
197
|
+
}, Record<string, xstate67.AnyActorRef | undefined>, xstate67.StateValue, string, unknown, any, any>, {
|
|
198
198
|
type: "LOAD";
|
|
199
199
|
} | {
|
|
200
200
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -205,7 +205,7 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
|
|
|
205
205
|
type: "SKIP";
|
|
206
206
|
} | {
|
|
207
207
|
type: "RETRY";
|
|
208
|
-
},
|
|
208
|
+
}, xstate67.AnyEventObject>;
|
|
209
209
|
}) => {
|
|
210
210
|
config: IdentityReuseConfig;
|
|
211
211
|
documents: never[];
|
package/dist/{identityReuseStateMachine-BrbaZto8.esm.js → identityReuseStateMachine-Dyfa7yzx.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
|
6
6
|
function lowerFirstLetter(value) {
|