@incodetech/core 2.4.1-agentic → 2.4.1-agentic.2
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/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
- package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-D9PlON49.esm.js} +11 -12
- package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +2 -2
- package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
- package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
- package/dist/{apiError-CfuIvnUy.esm.js → apiError-gNfsp99I.esm.js} +1 -1
- package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-WOkfvFMw.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-BtN4CHOR.esm.js} +5 -5
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-DdcnWnBT.esm.js} +3 -3
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
- package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-C0fRj-ID.esm.js} +1 -1
- 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-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
- package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-bjfVXO7p.d.ts} +9 -9
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
- package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
- package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-Crsj_u0c.esm.js} +34 -29
- package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +5 -5
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-DDfviFg0.d.ts} +25 -4
- package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +3 -2
- package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +67 -26
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-CwqgwLa5.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-CBdnpD95.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-BVTqTHd3.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-BmZHuZE1.esm.js} +5 -3
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
- package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-CoFCUJ2z.esm.js} +141 -68
- package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-GRuMELYr.esm.js} +80 -9
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-Bt_tCIdI.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +15 -14
- package/dist/extensibility.esm.js +36 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-BWOB3ZeZ.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-D0w1UBlO.esm.js} +12 -403
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
- package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-DBh1nqp8.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-BZeklojR.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +10 -6
- package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-Dv7zoVWe.esm.js} +2 -2
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-C5-oamoC.esm.js} +69 -143
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-BFTxgOZG.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-v729Lz_0.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- 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 +1 -1
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
- package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-BVfqpIjM.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +5 -3
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-CwG9Xp_n.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-DUm3a_Mt.esm.js} +20 -20
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-DEfwds5y.d.ts → index-BfSZvEHi.d.ts} +10 -2
- package/dist/{index-DMDAk85K.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-D2BEaUzK.esm.js +89 -0
- package/dist/kybChecksStateMachine-Cy-MsmKZ.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +6 -6
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
- package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
- package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-D190ATGD.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
- package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
- package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +20 -60
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-CTko6Cjn.esm.js +397 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
- package/dist/resolveForm-O7-r79VA.esm.js +351 -0
- package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BG46reQE.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-DJCo6uSb.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-DNbVqz2B.esm.js} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-1_TQP4-x.esm.js} +5 -5
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-BUnZmMRY.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-DdnAM9fZ.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-CwJACl13.esm.js} +83 -24
- package/dist/{setup-D9qt8YVU.d.ts → setup-CmqnkqsR.d.ts} +1 -1
- package/dist/{setup-CDAKwTr7.esm.js → setup-D26WdmvA.esm.js} +28 -27
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-BajQnjbf.esm.js → tri-C9SvtzuQ.esm.js} +24 -3
- package/dist/tri.d.ts +2 -2
- package/dist/{tri.esm-CzTNi5Q_.esm.js → tri.esm-DgTlfPhR.esm.js} +167 -155
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-OZl8wQu7.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types--3HDl2SF.d.ts → types-BEVHQbbC.d.ts} +1 -1
- package/dist/{types-xEEWCx1j.d.ts → types-BPm1JSu7.d.ts} +1 -1
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-DuD8TRJU.d.ts → types-CRaFu6wS.d.ts} +4 -2
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-PTZHRhGX.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-e8fCsvvk.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
- package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +9 -7
- package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-Bhi70pSN.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BkfxQZsC.esm.js → warmup-DtB0DJpl.esm.js} +24 -17
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
- package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-BDrax6Eu.esm.js} +12 -9
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -42
- package/package.json +13 -7
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/types-D9r3zRfY.d.ts +0 -6
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-D26WdmvA.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig,
|
|
4
|
+
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-C5-oamoC.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
8
|
-
import {
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-D9PlON49.esm.js";
|
|
8
|
+
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
11
|
-
import { _ as
|
|
10
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
11
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-CwG9Xp_n.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
14
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as getFinishStatus } from "./flowCompletionService-Dv7zoVWe.esm.js";
|
|
14
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Bhi70pSN.esm.js";
|
|
15
|
+
import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
15
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
16
17
|
/** Default autocapture window for the selfie step. */
|
|
17
18
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
2
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
1
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DtIBCa32.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-DdnvYfgN.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CCA2D1Ah.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
6
|
-
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
6
|
+
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BPm1JSu7.js";
|
|
7
7
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -34,4 +34,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
|
|
|
34
34
|
*/
|
|
35
35
|
declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
|
|
36
36
|
//#endregion
|
|
37
|
-
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdCountryDetectionDependencies, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
37
|
+
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdCountryDetectionDependencies, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, ID_QUALITY_BACKEND_VALIDATION_GATE, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-DUm3a_Mt.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BVfqpIjM.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-CwG9Xp_n.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -12,4 +12,4 @@ const DEVICE_WALLET_ERROR_KEYS = {
|
|
|
12
12
|
WALLET_ERROR: "idv2.deviceWallet.errorDescription"
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
15
|
-
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
15
|
+
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, ID_QUALITY_BACKEND_VALIDATION_GATE, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-
|
|
2
|
-
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-BDrax6Eu.esm.js";
|
|
2
|
+
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-DtB0DJpl.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
4
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/idCaptureWasmApi.ts
|
|
6
6
|
var IdCaptureWasmApi = class {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D26WdmvA.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
7
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
8
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
8
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BtiR5pig.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
10
|
+
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D190ATGD.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
13
|
-
import {
|
|
14
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
12
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-DUm3a_Mt.esm.js";
|
|
13
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-CwG9Xp_n.esm.js";
|
|
14
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BJ0GVHGr.esm.js";
|
|
15
15
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
16
16
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
17
17
|
function isHoldingState(value) {
|
|
@@ -1131,6 +1131,7 @@ function createIdCaptureOnlyManager(options) {
|
|
|
1131
1131
|
* (see `createIdCaptureOnlyManager`): no backend, images go to `onCapture`.
|
|
1132
1132
|
*/
|
|
1133
1133
|
function createIdCaptureManager(options) {
|
|
1134
|
+
import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t).catch(() => void 0);
|
|
1134
1135
|
if (hasOnCaptureCallback(options.config)) return createIdCaptureOnlyManager({
|
|
1135
1136
|
config: pickIdCaptureOnlyConfig(options.config),
|
|
1136
1137
|
dependencies: options.dependencies
|
|
@@ -4,14 +4,14 @@ import "./Actor-DpTj5PFb.js";
|
|
|
4
4
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
5
5
|
import "./index-DpTj5PFb.js";
|
|
6
6
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
7
|
-
import { a as RegulationTypes } from "./types-
|
|
7
|
+
import { a as RegulationTypes } from "./types-CRaFu6wS.js";
|
|
8
8
|
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
9
9
|
import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
|
|
10
10
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-Bq3OHo7P.js";
|
|
11
11
|
import { n as DeepsightService } from "./StreamCanvasCapture-C3xNfOsv.js";
|
|
12
12
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
13
13
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
14
|
-
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
14
|
+
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BPm1JSu7.js";
|
|
15
15
|
//#region src/internal/http/endpoints.d.ts
|
|
16
16
|
/**
|
|
17
17
|
* Backend `CaptureType` for the `captureType` query param on `add/front-id`,
|
|
@@ -131,6 +131,8 @@ type ValidationError = {
|
|
|
131
131
|
messageDescription?: string;
|
|
132
132
|
errorKey: IdErrorCode;
|
|
133
133
|
};
|
|
134
|
+
/** Statsig gate that lets the backend's `idQualityAttemptApproved` decide readability. */
|
|
135
|
+
declare const ID_QUALITY_BACKEND_VALIDATION_GATE = "id_quality_backend_validation";
|
|
134
136
|
declare function validateUploadResponse(response: UploadIdResponse & {
|
|
135
137
|
failReason?: string;
|
|
136
138
|
side?: 'front' | 'back';
|
|
@@ -846,4 +848,4 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
846
848
|
deviceWalletUseAnotherMethod(): void;
|
|
847
849
|
};
|
|
848
850
|
//#endregion
|
|
849
|
-
export {
|
|
851
|
+
export { ValidationError as A, processId as B, AddBarcodeParams as C, InitializeIdCaptureParams as D, IdCaptureInitResult as E, getRealQualityValue as F, uploadIdImage as G, startRecordingSession as H, initializeIdCapture as I, validateUploadResponse as K, isSuspendableRecordingSession as L, barcodeToBase64 as M, disposeRecordingSession as N, StartRecordingParams as O, finalizeRecordingSession as P, pauseRecordingForAttempt as R, idCaptureMachine as S, ID_QUALITY_BACKEND_VALIDATION_GATE as T, stopRecording as U, resumeRecordingAfterPause as V, stopStream as W, idCaptureOnlyMachine as _, RenderWalletError as a, createIdCaptureActor as b, DeviceWalletManager as c, CreateDeviceWalletActorOptions as d, resolveWalletPlatform as f, IdCaptureOnlyMachine as g, createIdCaptureOnlyActor as h, createIdCaptureManagerFromActor as i, addBarcode as j, UploadIdImageParams as k, DeviceWalletState as l, IdCaptureOnlyActor as m, IdCaptureManager as n, RenderWalletParams as o, CreateIdCaptureOnlyActorOptions as p, WasmUtilProvider as q, IdCaptureState as r, renderWallet as s, createIdCaptureManager as t, createDeviceWalletManager as u, CreateIdCaptureActorOptions as v, FinalizedIdRecording as w, IdCaptureMachine as x, IdCaptureActor as y, prepareRecordingForCameraRetry as z };
|
|
@@ -1,194 +1,13 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-D26WdmvA.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DBh1nqp8.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { l as queryCameraPermission } from "./permissionServices-DnBAN_hW.esm.js";
|
|
8
|
-
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-DMBxHKS2.esm.js";
|
|
9
|
-
import { i as isBackFacingTrack, t as getBackCameraStream } from "./backCameraStream-C5_NNfUN.esm.js";
|
|
5
|
+
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
10
6
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
12
|
-
//#region src/internal/camera/cameraServices.ts
|
|
13
|
-
function createCameraServices(camera) {
|
|
14
|
-
return {
|
|
15
|
-
async checkPermission() {
|
|
16
|
-
return queryCameraPermission();
|
|
17
|
-
},
|
|
18
|
-
async requestStream(config) {
|
|
19
|
-
return camera.requestStream({
|
|
20
|
-
facingMode: config.facingMode,
|
|
21
|
-
deviceId: config.deviceId
|
|
22
|
-
});
|
|
23
|
-
},
|
|
24
|
-
stopStream(stream) {
|
|
25
|
-
camera.stopStream(stream);
|
|
26
|
-
},
|
|
27
|
-
captureFrame(video) {
|
|
28
|
-
return camera.captureFrame(video);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
setup({
|
|
33
|
-
types: {
|
|
34
|
-
context: {},
|
|
35
|
-
events: {},
|
|
36
|
-
input: {}
|
|
37
|
-
},
|
|
38
|
-
actors: {
|
|
39
|
-
checkPermission: fromPromise(async ({ input }) => {
|
|
40
|
-
return createCameraServices(input.camera).checkPermission();
|
|
41
|
-
}),
|
|
42
|
-
requestStream: fromPromise(async ({ input }) => {
|
|
43
|
-
return createCameraServices(input.camera).requestStream(input.config);
|
|
44
|
-
})
|
|
45
|
-
},
|
|
46
|
-
actions: {
|
|
47
|
-
setPermissionResult: assign({ permissionResult: ({ event }) => {
|
|
48
|
-
if ("output" in event) return event.output;
|
|
49
|
-
if (event.type === "PERMISSION_RESULT") return event.result;
|
|
50
|
-
} }),
|
|
51
|
-
setStream: assign({ stream: ({ event }) => {
|
|
52
|
-
if ("output" in event) return event.output;
|
|
53
|
-
if (event.type === "STREAM_READY") return event.stream;
|
|
54
|
-
} }),
|
|
55
|
-
setError: assign({
|
|
56
|
-
error: ({ event }) => {
|
|
57
|
-
if ("error" in event && event.type?.startsWith?.("xstate.error")) {
|
|
58
|
-
const err = event.error;
|
|
59
|
-
return err.message || String(err);
|
|
60
|
-
}
|
|
61
|
-
if (event.type === "STREAM_ERROR") return event.error;
|
|
62
|
-
},
|
|
63
|
-
errorType: ({ event }) => {
|
|
64
|
-
if ("error" in event && event.type?.startsWith?.("xstate.error")) {
|
|
65
|
-
const err = event.error;
|
|
66
|
-
if (err.name === "NotAllowedError") return "permission_denied";
|
|
67
|
-
if (err.name === "NotFoundError") return "not_found";
|
|
68
|
-
if (err.name === "NotReadableError") return "not_readable";
|
|
69
|
-
if (err.name === "OverconstrainedError") return "overconstrained";
|
|
70
|
-
if (err.name === "SecurityError") return "security";
|
|
71
|
-
if (err.name === "AbortError") return "abort";
|
|
72
|
-
return "unknown";
|
|
73
|
-
}
|
|
74
|
-
if (event.type === "STREAM_ERROR") return event.errorType;
|
|
75
|
-
}
|
|
76
|
-
}),
|
|
77
|
-
stopStream: ({ context }) => {
|
|
78
|
-
if (context.stream) createCameraServices(context.camera).stopStream(context.stream);
|
|
79
|
-
},
|
|
80
|
-
resetContext: assign(({ context }) => ({
|
|
81
|
-
camera: context.camera,
|
|
82
|
-
config: context.config,
|
|
83
|
-
stream: void 0,
|
|
84
|
-
permissionResult: void 0,
|
|
85
|
-
error: void 0,
|
|
86
|
-
errorType: void 0
|
|
87
|
-
}))
|
|
88
|
-
},
|
|
89
|
-
guards: {
|
|
90
|
-
permissionGranted: ({ context }) => context.permissionResult === "granted",
|
|
91
|
-
permissionDenied: ({ context }) => context.permissionResult === "denied",
|
|
92
|
-
hasStream: ({ context }) => context.stream !== void 0
|
|
93
|
-
}
|
|
94
|
-
}).createMachine({
|
|
95
|
-
id: "camera",
|
|
96
|
-
initial: "idle",
|
|
97
|
-
context: ({ input }) => ({
|
|
98
|
-
camera: input.camera,
|
|
99
|
-
config: input.config ?? {},
|
|
100
|
-
stream: void 0,
|
|
101
|
-
permissionResult: void 0,
|
|
102
|
-
error: void 0,
|
|
103
|
-
errorType: void 0
|
|
104
|
-
}),
|
|
105
|
-
states: {
|
|
106
|
-
idle: { on: { START: "checkingPermission" } },
|
|
107
|
-
checkingPermission: {
|
|
108
|
-
invoke: {
|
|
109
|
-
id: "checkPermission",
|
|
110
|
-
src: "checkPermission",
|
|
111
|
-
input: ({ context }) => ({ camera: context.camera }),
|
|
112
|
-
onDone: {
|
|
113
|
-
target: "routing",
|
|
114
|
-
actions: "setPermissionResult"
|
|
115
|
-
},
|
|
116
|
-
onError: {
|
|
117
|
-
target: "routing",
|
|
118
|
-
actions: assign({ permissionResult: () => "prompt" })
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
on: { STOP: {
|
|
122
|
-
target: "idle",
|
|
123
|
-
actions: "resetContext"
|
|
124
|
-
} }
|
|
125
|
-
},
|
|
126
|
-
routing: { always: [
|
|
127
|
-
{
|
|
128
|
-
target: "requesting",
|
|
129
|
-
guard: "permissionGranted"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
target: "error",
|
|
133
|
-
guard: "permissionDenied",
|
|
134
|
-
actions: assign({
|
|
135
|
-
error: () => "Camera permission denied",
|
|
136
|
-
errorType: () => "permission_denied"
|
|
137
|
-
})
|
|
138
|
-
},
|
|
139
|
-
{ target: "requesting" }
|
|
140
|
-
] },
|
|
141
|
-
requesting: {
|
|
142
|
-
invoke: {
|
|
143
|
-
id: "requestStream",
|
|
144
|
-
src: "requestStream",
|
|
145
|
-
input: ({ context }) => ({
|
|
146
|
-
camera: context.camera,
|
|
147
|
-
config: context.config
|
|
148
|
-
}),
|
|
149
|
-
onDone: {
|
|
150
|
-
target: "streaming",
|
|
151
|
-
actions: "setStream"
|
|
152
|
-
},
|
|
153
|
-
onError: {
|
|
154
|
-
target: "error",
|
|
155
|
-
actions: "setError"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
on: { STOP: {
|
|
159
|
-
target: "idle",
|
|
160
|
-
actions: "resetContext"
|
|
161
|
-
} }
|
|
162
|
-
},
|
|
163
|
-
streaming: {
|
|
164
|
-
exit: "stopStream",
|
|
165
|
-
on: {
|
|
166
|
-
STOP: {
|
|
167
|
-
target: "idle",
|
|
168
|
-
actions: "resetContext"
|
|
169
|
-
},
|
|
170
|
-
RESET: {
|
|
171
|
-
target: "idle",
|
|
172
|
-
actions: "resetContext"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
error: { on: {
|
|
177
|
-
RESET: {
|
|
178
|
-
target: "idle",
|
|
179
|
-
actions: "resetContext"
|
|
180
|
-
},
|
|
181
|
-
STOP: {
|
|
182
|
-
target: "idle",
|
|
183
|
-
actions: "resetContext"
|
|
184
|
-
}
|
|
185
|
-
} }
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
//#endregion
|
|
7
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
189
8
|
//#region src/modules/id/idCameraStream.ts
|
|
190
9
|
async function getIdCameraStream(deviceId) {
|
|
191
|
-
return getBackCameraStream(deviceId);
|
|
10
|
+
return (await import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t)).getBackCameraStream(deviceId);
|
|
192
11
|
}
|
|
193
12
|
//#endregion
|
|
194
13
|
//#region src/modules/id/idCaptureExperiments.ts
|
|
@@ -470,6 +289,14 @@ async function initializeIdCapture(params) {
|
|
|
470
289
|
function stopStream(stream) {
|
|
471
290
|
for (const track of stream.getTracks()) track.stop();
|
|
472
291
|
}
|
|
292
|
+
/** Statsig gate that lets the backend's `idQualityAttemptApproved` decide readability. */
|
|
293
|
+
const ID_QUALITY_BACKEND_VALIDATION_GATE = "id_quality_backend_validation";
|
|
294
|
+
const readabilityIssue = {
|
|
295
|
+
error: true,
|
|
296
|
+
message: "Info is not readable",
|
|
297
|
+
messageDescription: "Minimize camera shake by holding your phone steady",
|
|
298
|
+
errorKey: ID_ERROR_CODES.READABILITY_ISSUE
|
|
299
|
+
};
|
|
473
300
|
function validateUploadResponse(response, sessionState) {
|
|
474
301
|
if (response.failReason === "ID_TYPE_UNACCEPTABLE") return {
|
|
475
302
|
error: true,
|
|
@@ -483,17 +310,16 @@ function validateUploadResponse(response, sessionState) {
|
|
|
483
310
|
messageDescription: response.side === "back" ? "Please show the back side of your ID" : "Please show the front side of your ID",
|
|
484
311
|
errorKey: ID_ERROR_CODES.WRONG_DOCUMENT_SIDE
|
|
485
312
|
};
|
|
486
|
-
if (response.failReason === "DOCUMENT_NOT_READABLE") return
|
|
487
|
-
error: true,
|
|
488
|
-
message: "Info is not readable",
|
|
489
|
-
messageDescription: "Minimize camera shake by holding your phone steady",
|
|
490
|
-
errorKey: ID_ERROR_CODES.READABILITY_ISSUE
|
|
491
|
-
};
|
|
313
|
+
if (response.failReason === "DOCUMENT_NOT_READABLE") return readabilityIssue;
|
|
492
314
|
if (!response.classification) return {
|
|
493
315
|
error: true,
|
|
494
316
|
message: "ID classification failed",
|
|
495
317
|
errorKey: ID_ERROR_CODES.CLASSIFICATION_FAILED
|
|
496
318
|
};
|
|
319
|
+
if (getFeatureGate("id_quality_backend_validation").enabled && response.idQualityAttemptApproved !== void 0 && response.idQualityAttemptApproved !== null) {
|
|
320
|
+
if (response.idQualityAttemptApproved === false) return readabilityIssue;
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
497
323
|
const sharpnessThreshold = getDeviceClass() === "desktop" ? -1 : SHARPNESS_THRESHOLD;
|
|
498
324
|
if (response.sharpness !== void 0 && sharpnessThreshold >= 0 && response.sharpness < sharpnessThreshold) return {
|
|
499
325
|
error: true,
|
|
@@ -607,12 +433,17 @@ async function startRecordingSession(params) {
|
|
|
607
433
|
if (multipartSession) multipartSession.recorderPaused = false;
|
|
608
434
|
return params.existing;
|
|
609
435
|
}
|
|
436
|
+
const [compositorModule, recorderModule, serviceModule] = await Promise.all([
|
|
437
|
+
import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
|
|
438
|
+
import("./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js").then((n) => n.n),
|
|
439
|
+
import("./multipartRecordingService-BTqkHGG9.esm.js").then((n) => n.n)
|
|
440
|
+
]);
|
|
610
441
|
const recordingSource = params.stream.clone();
|
|
611
|
-
const compositor = createRecordingCompositor();
|
|
442
|
+
const compositor = compositorModule.createRecordingCompositor();
|
|
612
443
|
let service;
|
|
613
444
|
try {
|
|
614
445
|
const recordingStream = compositor.start(recordingSource);
|
|
615
|
-
service = new MultipartRecordingService(params.type, new WorkerEncoderRecordingProvider(compositor));
|
|
446
|
+
service = new serviceModule.MultipartRecordingService(params.type, new recorderModule.WorkerEncoderRecordingProvider(compositor));
|
|
616
447
|
await service.start(recordingStream);
|
|
617
448
|
} catch (error) {
|
|
618
449
|
compositor.stop();
|
|
@@ -761,4 +592,4 @@ async function addBarcode(params) {
|
|
|
761
592
|
return res.data;
|
|
762
593
|
}
|
|
763
594
|
//#endregion
|
|
764
|
-
export {
|
|
595
|
+
export { OPTIMIZING_WATCHDOG_MARGIN_MS as C, CAPTURE_OPTIMIZING as S, validateUploadResponse as _, finalizeRecordingSession as a, resolveCountdownStepMs as b, isSuspendableRecordingSession as c, processId as d, resumeRecordingAfterPause as f, uploadIdImage as g, stopStream as h, disposeRecordingSession as i, pauseRecordingForAttempt as l, stopRecording as m, addBarcode as n, getRealQualityValue as o, startRecordingSession as p, barcodeToBase64 as r, initializeIdCapture as s, ID_QUALITY_BACKEND_VALIDATION_GATE as t, prepareRecordingForCameraRetry as u, ID_ERROR_CODES as v, getIdCameraStream as w, resolveIdCaptureThresholds as x, resolveCaptureOptimizingTreatment as y };
|
package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-DUm3a_Mt.esm.js}
RENAMED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
3
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
4
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-
|
|
5
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
6
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
7
|
-
import {
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-D26WdmvA.esm.js";
|
|
3
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-ggpBBaZ8.esm.js";
|
|
5
|
+
import { r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-OZl8wQu7.esm.js";
|
|
7
|
+
import { n as getDisableIpify } from "./sessionInitializer-CwJACl13.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
10
|
-
import { t as addDeviceStats } from "./stats-
|
|
9
|
+
import { s as exposeExperimentOnce } from "./feature-management-DBh1nqp8.esm.js";
|
|
10
|
+
import { t as addDeviceStats } from "./stats-CatA2dea.esm.js";
|
|
11
11
|
import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-DdnAM9fZ.esm.js";
|
|
13
13
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
14
14
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
15
15
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
16
16
|
import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
17
|
-
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-
|
|
18
|
-
import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
17
|
+
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-D190ATGD.esm.js";
|
|
18
|
+
import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-BGMtYwk3.esm.js";
|
|
19
19
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
20
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
21
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
22
|
-
import {
|
|
20
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DFV-Ws0a.esm.js";
|
|
21
|
+
import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
|
|
22
|
+
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
23
23
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
|
-
import {
|
|
25
|
+
import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
|
-
import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-twg3bXqY.esm.js";
|
|
28
27
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
29
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
30
|
-
import { C as
|
|
28
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
29
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-CwG9Xp_n.esm.js";
|
|
31
30
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
31
|
+
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
33
33
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
34
34
|
function isKnownFailReason(reason) {
|
|
@@ -2031,7 +2031,7 @@ fromPromise(async ({ input }) => {
|
|
|
2031
2031
|
});
|
|
2032
2032
|
fromPromise(async ({ input }) => {
|
|
2033
2033
|
if (!input.dependencies) return;
|
|
2034
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2034
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Crsj_u0c.esm.js");
|
|
2035
2035
|
return loadDeepsightSession({
|
|
2036
2036
|
ds: input.ds,
|
|
2037
2037
|
storage: input.dependencies.storage,
|
|
@@ -2474,7 +2474,7 @@ function cleanup(service) {
|
|
|
2474
2474
|
service.cleanup();
|
|
2475
2475
|
} catch {}
|
|
2476
2476
|
}
|
|
2477
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2477
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Crsj_u0c.esm.js")).loadDeepsightSession(input)) {
|
|
2478
2478
|
let disposed = false;
|
|
2479
2479
|
let preparation;
|
|
2480
2480
|
let service;
|
|
@@ -109,7 +109,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
109
109
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
110
110
|
params: unknown;
|
|
111
111
|
};
|
|
112
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
112
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
113
113
|
readonly id: "idOcr";
|
|
114
114
|
readonly initial: "idle";
|
|
115
115
|
readonly context: ({ input }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-DNKXh4Rn.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
5
5
|
function createIdOcrActor(options) {
|
|
6
6
|
return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { n as DateFormattingProvider, t as validateCPF } from "./cpf-uAZTPUBy.esm.js";
|
package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
3
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DtIBCa32.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
5
5
|
function createIdVerificationActor(options) {
|
|
6
6
|
return createActor(idVerificationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationServices.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-DxZFWy47.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CcpovlfD.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
3
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-DxZFWy47.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts an IdentityReuse actor.
|
package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|