@incodetech/core 2.3.0-rc.0 → 2.3.0-rc.10
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/{BrowserDiagnosticsCryptoProvider-C_9o3L2L.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
- package/dist/{FaceDetectionProvider-DTetAE8H.esm.js → FaceDetectionProvider-BZYHujqz.esm.js} +10 -55
- package/dist/{IWasmUtilCapability-CXXDA5l1.d.ts → IWasmUtilCapability-CNWRl7jr.d.ts} +1 -43
- package/dist/{MotionSensorProvider-BgTYwg9L.esm.js → MotionSensorProvider-DyhbM4Si.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-B3YT2Bt6.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +1 -1
- package/dist/{addressSearch-BRSu_aGA.esm.js → addressSearch-DyHGgeX8.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-Bg9ynGum.esm.js → antifraudManager-DNkw66oW.esm.js} +1 -1
- package/dist/{antifraudStateMachine-BHxehiJZ.esm.js → antifraudStateMachine-DBeq47D2.esm.js} +1 -1
- package/dist/{apiError-D0v5hFyN.esm.js → apiError-iTFZ5fiI.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DXTIUcma.d.ts → authenticationManager-B23V74p7.d.ts} +1 -1
- package/dist/{authenticationManager-C4B4-29g.esm.js → authenticationManager-D22ju23T.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DJ0zUm-A.esm.js → authenticationStateMachine-TyFaCegB.esm.js} +3 -3
- package/dist/{backCameraStream-BOtyQowf.esm.js → backCameraStream-B0-YgP_y.esm.js} +1 -0
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-Bfvkq7Cy.esm.js → certificateIssuanceManager-C3-CI0_s.esm.js} +1 -1
- package/dist/{certificateIssuanceStateMachine-BBD5h8c4.esm.js → certificateIssuanceStateMachine-CxqS_nD-.esm.js} +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B5Vqdez-.esm.js → consentManager-B6E1XJDw.esm.js} +1 -1
- package/dist/{consentStateMachine-DbUmqWgV.esm.js → consentStateMachine-DTSfdGiW.esm.js} +1 -1
- package/dist/{createCameraCycleOwnership-DQ5-F2oW.esm.js → createCameraCycleOwnership-DnwTl1ad.esm.js} +7 -2
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-QMOGwHXR.esm.js → crossDocumentDataMatchManager-9XhFVZ5S.esm.js} +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-D1ppROcF.esm.js → curpValidationManager-DbIMYFcJ.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-DvUPC_8S.esm.js → curpValidationStateMachine-g5kMfuLj.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-2j_PBq4U.esm.js → customFieldsManager-CzWZTkW-.esm.js} +1 -1
- package/dist/{customWatchlistManager-DUVrEdw9.esm.js → customWatchlistManager-DWTED5Ur.esm.js} +1 -1
- package/dist/{customWatchlistStateMachine-qZVgkKgP.esm.js → customWatchlistStateMachine-DOQou6TW.esm.js} +1 -1
- package/dist/{deepsightLoader-Dm7ejW4v.esm.js → deepsightLoader-DamOBrBJ.esm.js} +7 -7
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DR_Wv-3H.esm.js → documentCaptureManager-BRPxqYD2.esm.js} +1 -1
- package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-lEtCM320.d.ts} +14 -0
- package/dist/{documentCaptureStateMachine-CWOATHfE.esm.js → documentCaptureStateMachine-D312sSIu.esm.js} +14 -9
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Dt98SDfV.esm.js → dynamicFormsManager-DKgiusbF.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-obKr4IIp.esm.js → dynamicFormsStateMachine-BV8yR5iN.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DNZKrKF3.esm.js → ekybManager-8VUBu8VW.esm.js} +1 -1
- package/dist/{ekybStateMachine-DjhHQXZ8.esm.js → ekybStateMachine-Bnsefu9M.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-CmQBpeiI.esm.js → ekycManager-BlQ-Qj4E.esm.js} +1 -1
- package/dist/{ekycStateMachine-CmdW2gVm.esm.js → ekycStateMachine-CshSNJhh.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DzulxM4_.esm.js → electronicSignatureManager--YFXVldr.esm.js} +2 -2
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-B5ek_UfM.esm.js → emailManager-bR1N5rV_.esm.js} +1 -1
- package/dist/{emailStateMachine-CyPFZ7dW.esm.js → emailStateMachine-Bc_6oIYw.esm.js} +1 -1
- package/dist/{endpoints-D3B9mUHh.esm.js → endpoints-B-3Q-LUw.esm.js} +0 -3
- package/dist/extensibility.d.ts +9 -9
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-pCmG4MeF.esm.js → faceCaptureManagerFactory-Bk6pVs6E.esm.js} +3 -3
- package/dist/{faceCaptureManagerFactory-CvtqcLxs.d.ts → faceCaptureManagerFactory-DMLstvui.d.ts} +84 -45
- package/dist/{faceCaptureSetup-BSextack.esm.js → faceCaptureSetup-CGQDK97m.esm.js} +283 -100
- package/dist/{faceMatchManager-Caal2zyV.esm.js → faceMatchManager-Bmv0HzuY.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-BUc5FXYy.esm.js → faceMatchStateMachine-mRIHQ3dA.esm.js} +1 -1
- package/dist/{feature-management-B0sGlozZ.esm.js → feature-management-C8OAO_CZ.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BIs6HPJG.esm.js → fieldComparisonManager-CC-klG0h.esm.js} +1 -1
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-CHcBJwUM.d.ts → fiscalQrManager-B1STmT6z.d.ts} +4 -1
- package/dist/{fiscalQrManager-Bp_-3LJr.esm.js → fiscalQrManager-DbCVMIBx.esm.js} +17 -5
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CLtbWhSK.esm.js → flowCompletionService-C0zcPnqK.esm.js} +2 -2
- package/dist/{flowServices-B5FwukTQ.esm.js → flowServices-G1FDrkLd.esm.js} +6 -6
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DIw-xq9a.esm.js → geolocationManager-DNixQOgf.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DpG0TFOU.esm.js → geolocationStateMachine-D1aZJ6eR.esm.js} +2 -2
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-TjC9iVjH.esm.js → governmentValidationManager-CacFOtKO.esm.js} +1 -1
- package/dist/{governmentValidationStateMachine-D1ZnEqdd.esm.js → governmentValidationStateMachine-CoaZOSTP.esm.js} +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 -10
- 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-BcxjQDI3.esm.js → idCaptureDefaults-sJahGQgV.esm.js} +4 -206
- package/dist/{idCaptureManager-Vby8oYqh.esm.js → idCaptureManager-B8lo-ksK.esm.js} +5 -5
- package/dist/{idCaptureManager-CvmHOWWd.d.ts → idCaptureManager-BaHEyQyr.d.ts} +33 -16
- package/dist/{idCaptureServices-CJIxD9ep.esm.js → idCaptureServices-DLqls7Xv.esm.js} +71 -122
- package/dist/{idCaptureStateMachine-CmqihkUy.esm.js → idCaptureStateMachine-CCPGFPRF.esm.js} +226 -91
- package/dist/{idOcrManager-DHU22hVn.esm.js → idOcrManager-r46XfZGE.esm.js} +1 -1
- package/dist/{idOcrStateMachine-33UvRAHE.esm.js → idOcrStateMachine-ClDEP-VI.esm.js} +1 -1
- package/dist/{idVerificationManager-CyaixD0D.esm.js → idVerificationManager-DT42c77H.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-BPGrQZEm.esm.js → idVerificationStateMachine-DbDVIh9t.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CWaNHBO3.esm.js → identityReuseManager-yG3acUrQ.esm.js} +1 -1
- package/dist/{identityReuseStateMachine-CQgnATo5.esm.js → identityReuseStateMachine-BhAkuIra.esm.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Du-m-tZ_.esm.js → mandatoryConsentManager-7dI0D08q.esm.js} +1 -1
- package/dist/{mandatoryConsentStateMachine-DSDAk7WZ.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
- package/dist/{multipartRecordingService-B3C_zlev.esm.js → multipartRecordingService-YKu0Bd7S.esm.js} +496 -3
- package/dist/{permissionGuards-uYZYFu4J.esm.js → permissionGuards-D6TfVop2.esm.js} +1 -1
- package/dist/{permissionServices-Bj_fyWtv.esm.js → permissionServices-EY3_Vx6c.esm.js} +2 -2
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-N1-sbrY4.esm.js → phoneManager-IjhSv5XS.esm.js} +1 -1
- package/dist/{phoneStateMachine-jl8LJKCo.esm.js → phoneStateMachine-CXdXufKg.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DsFzdTwA.esm.js → redirectToMobileManager-FLEWJtv8.esm.js} +1 -1
- package/dist/{redirectToMobileStateMachine-v3otpT-L.esm.js → redirectToMobileStateMachine-CSWWgUTO.esm.js} +1 -1
- package/dist/{runChildModule-TuyGE00X.esm.js → runChildModule-B3Z4iJnG.esm.js} +1 -1
- package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-BdU9_m2E.esm.js} +1 -1
- package/dist/{sdkVersion-CLxKvdyz.esm.js → sdkVersion-CD9fJC2Y.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-C77GXJH6.esm.js → selfieErrorUtils-UiQ46EBa.esm.js} +2 -2
- package/dist/{selfieManager-D1KRJ39M.d.ts → selfieManager-CDCTOrcg.d.ts} +1 -1
- package/dist/{selfieManager-CihVnODO.esm.js → selfieManager-DzOPNipB.esm.js} +4 -4
- package/dist/{selfieStateMachine-fwMmNtOi.esm.js → selfieStateMachine-CidiobBW.esm.js} +4 -4
- package/dist/{session-BHIeAamR.esm.js → session-BABCfUhC.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BLoK7SP9.esm.js → sessionInitializer-BK5NjMe0.esm.js} +6 -6
- package/dist/{setup-Cv-JM9QC.d.ts → setup-Cyko6cAn.d.ts} +6 -18
- package/dist/{setup-msLybMbC.esm.js → setup-D4YCSH31.esm.js} +14 -202
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-ChsB-nMD.esm.js → signatureManager-B72np4ZO.esm.js} +1 -1
- package/dist/{signatureStateMachine-BHPwkJZS.esm.js → signatureStateMachine-ce_XMA3l.esm.js} +1 -1
- package/dist/{stats-DkK-f8JT.esm.js → stats-CZcy2J53.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-CKrrfV0Q.esm.js → trueSightService-D8yZwF3G.esm.js} +190 -571
- package/dist/{types-CM-jtjJ2.d.ts → types-Bnl58jUQ.d.ts} +2 -6
- package/dist/{types-ZT1XFIJ8.d.ts → types-ChAowIxT.d.ts} +1 -1
- package/dist/{types-CjKBS37a2.d.ts → types-byBHOzCG2.d.ts} +5 -15
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +6 -7
- package/dist/{videoSelfieCameraWarmer-CB1IzZkt.esm.js → videoSelfieCameraWarmer-C80ZPDZ8.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-5YHFe0Mq.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +43 -13
- package/dist/{virtualCameraCheck-WOloJ-do.esm.js → virtualCameraCheck-Cjab7FTI.esm.js} +1 -1
- package/dist/{warmup-CUUnwYxe.esm.js → warmup-ChDwHSel.esm.js} +5 -0
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -2
- package/dist/{wasmDsFlagSync-B2e8p268.esm.js → wasmDsFlagSync-DYrLUEII.esm.js} +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CpuuB1J2.esm.js → watchlistForBusinessManager-CIMkpEhu.esm.js} +1 -1
- package/dist/{watchlistForBusinessStateMachine-DEzgjz7C.esm.js → watchlistForBusinessStateMachine-CJ-MvUre.esm.js} +1 -1
- package/dist/{watchlistManager-CI8BHFob.esm.js → watchlistManager-CixcLNDT.esm.js} +1 -1
- package/dist/{watchlistStateMachine-DvOby3a-.esm.js → watchlistStateMachine-CBqk2w-h.esm.js} +1 -1
- package/dist/workflow.esm.js +34 -34
- package/package.json +1 -6
- package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +0 -36
- package/dist/personhood.d.ts +0 -538
- package/dist/personhood.esm.js +0 -1574
- package/dist/recordingsRepository-CCWy13M-.esm.js +0 -72
- package/dist/types-BT_Oalip.d.ts +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
|
|
9
9
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
10
10
|
//#region src/modules/fiscal-qr/fiscalQrConstants.ts
|
|
11
11
|
const SUCCESS_DISPLAY_MS = 1500;
|
|
@@ -33976,7 +33976,14 @@ const fiscalQrMachine = setup({
|
|
|
33976
33976
|
module: eventModuleNames.fiscalQr
|
|
33977
33977
|
})
|
|
33978
33978
|
},
|
|
33979
|
-
guards: {
|
|
33979
|
+
guards: {
|
|
33980
|
+
isMaxAttemptsReached: ({ context }) => context.attempts + 1 >= 3,
|
|
33981
|
+
isCameraPermissionDenied: ({ event }) => {
|
|
33982
|
+
const error = event.error;
|
|
33983
|
+
const name = error instanceof Error ? error.name : void 0;
|
|
33984
|
+
return name === "NotAllowedError" || name === "PermissionDeniedError";
|
|
33985
|
+
}
|
|
33986
|
+
}
|
|
33980
33987
|
}).createMachine({
|
|
33981
33988
|
id: "fiscalQr",
|
|
33982
33989
|
initial: "idle",
|
|
@@ -34004,11 +34011,15 @@ const fiscalQrMachine = setup({
|
|
|
34004
34011
|
target: "scanning",
|
|
34005
34012
|
actions: "setStream"
|
|
34006
34013
|
},
|
|
34007
|
-
onError: {
|
|
34014
|
+
onError: [{
|
|
34015
|
+
target: "permissionDenied",
|
|
34016
|
+
guard: "isCameraPermissionDenied"
|
|
34017
|
+
}, {
|
|
34008
34018
|
target: "scanning",
|
|
34009
34019
|
actions: "setError"
|
|
34010
|
-
}
|
|
34020
|
+
}]
|
|
34011
34021
|
} },
|
|
34022
|
+
permissionDenied: {},
|
|
34012
34023
|
scanning: {
|
|
34013
34024
|
invoke: {
|
|
34014
34025
|
id: "detectQrCode",
|
|
@@ -34074,6 +34085,7 @@ function mapState(snapshot) {
|
|
|
34074
34085
|
const typedSnapshot = snapshot;
|
|
34075
34086
|
const { stream, error, attempts } = typedSnapshot.context;
|
|
34076
34087
|
if (typedSnapshot.matches("idle")) return { status: "idle" };
|
|
34088
|
+
if (typedSnapshot.matches("permissionDenied")) return { status: "permissionDenied" };
|
|
34077
34089
|
if (typedSnapshot.matches("initCamera") || typedSnapshot.matches("scanning")) return {
|
|
34078
34090
|
status: "scanning",
|
|
34079
34091
|
stream,
|
package/dist/flow.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
|
5
5
|
import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
|
|
6
6
|
import { t as EkycConfig } from "./types-Bk_6dmDa.js";
|
|
7
7
|
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Do5rEXij.js";
|
|
8
|
-
import { t as AuthenticationConfig } from "./types-
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-ChAowIxT.js";
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-BjSly8cp.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BfHiko5D.js";
|
|
12
|
-
import { u as IdCaptureConfig } from "./types-
|
|
12
|
+
import { u as IdCaptureConfig } from "./types-byBHOzCG2.js";
|
|
13
13
|
import { r as MandatoryConsentConfig } from "./types-9_esGTPj.js";
|
|
14
14
|
import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
2
|
-
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-
|
|
2
|
+
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-G1FDrkLd.esm.js";
|
|
3
3
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-C0zcPnqK.esm.js";
|
|
6
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B3Z4iJnG.esm.js";
|
|
7
7
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
8
8
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
9
9
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
package/dist/{flowCompletionService-CLtbWhSK.esm.js → flowCompletionService-C0zcPnqK.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-iTFZ5fiI.esm.js";
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
6
6
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as getWasmStatus } from "./warmup-
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { n as getWasmStatus } from "./warmup-ChDwHSel.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-C8OAO_CZ.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
4
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-BK5NjMe0.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-iTFZ5fiI.esm.js";
|
|
7
|
+
import "./session-BABCfUhC.esm.js";
|
|
8
8
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
9
9
|
//#region src/modules/flow/dashboardConfig.ts
|
|
10
10
|
function isPlainObject(value) {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-DNixQOgf.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-D1aZJ6eR.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-D1aZJ6eR.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-DpG0TFOU.esm.js → geolocationStateMachine-D1aZJ6eR.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
3
|
import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-iTFZ5fiI.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
2
|
-
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-
|
|
1
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
|
|
2
|
+
import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-CacFOtKO.esm.js";
|
|
3
3
|
export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
6
|
function createGovernmentValidationActor(options) {
|
|
7
7
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
2
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-
|
|
2
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-ClDEP-VI.esm.js";
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-r46XfZGE.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
5
5
|
function formatCPF(value) {
|
|
6
6
|
const digits = value.replace(/\D/g, "").slice(0, 11);
|
package/dist/id-selfie-flow.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "./Actor-iTq7YY48.js";
|
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
6
6
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
7
|
-
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
7
|
+
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Co0Gu2k2.js";
|
|
8
8
|
//#region src/modules/id-selfie-flow/types.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* The capture steps an ID + Selfie flow session can run, in flow order. A
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-D4YCSH31.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-G1FDrkLd.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
8
|
-
import {
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BZYHujqz.esm.js";
|
|
8
|
+
import { i as StreamCanvasProcessingSession, n as CameraCompositor } from "./multipartRecordingService-YKu0Bd7S.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-
|
|
11
|
-
import {
|
|
12
|
-
import { _ as
|
|
10
|
+
import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-sJahGQgV.esm.js";
|
|
12
|
+
import { _ as validateUploadResponse, h as uploadIdImage, u as processId, v as ID_ERROR_CODES } from "./idCaptureServices-DLqls7Xv.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
14
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
15
|
-
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
14
|
+
import { n as getFinishStatus } from "./flowCompletionService-C0zcPnqK.esm.js";
|
|
15
|
+
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-C80ZPDZ8.esm.js";
|
|
16
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
17
17
|
/** Default autocapture window for the selfie step. */
|
|
18
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-DbDVIh9t.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-DT42c77H.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
5
|
-
import { A as
|
|
6
|
-
import { A as
|
|
5
|
+
import { A as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, B as DeviceWalletProvider, C as IdDocumentType, D as UploadIdResponse, E as IdFlowStep, F as DeviceWalletDecision, G as DigitalIdPlatformSupport, H as DIGITAL_ID_REGISTRY, I as DeviceWalletDecryptResponse, J as resolveDigitalIdImplementation, K as ResolvedDigitalIdRoute, L as DeviceWalletFailReason, M as ManualUploadContext, N as ManualUploadSide, P as ManualUploadTab, R as DeviceWalletOutput, S as IdCapturedImageData, T as IdErrorCode, U as DigitalIdDocumentType, V as DIGITAL_ID_DOCUMENT_TYPES, W as DigitalIdFunnelEntry, Y as DigitalIdProviderId, Z as RedirectReturnParams, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, j as MANUAL_UPLOAD_MAX_RETRIES, k as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as isRedirectFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig, z as DeviceWalletPlatform } from "./types-byBHOzCG2.js";
|
|
6
|
+
import { A as pauseRecordingForAttempt, C as addBarcode, D as getRealQualityValue, E as finalizeRecordingSession, F as stopRecording, I as stopStream, L as uploadIdImage, M as processId, N as resumeRecordingAfterPause, O as initializeIdCapture, P as startRecordingSession, R as uploadManualIdFile, S as ValidationError, T as disposeRecordingSession, _ as IdCaptureInitResult, a as CreateIdCaptureOnlyActorOptions, b as UploadIdImageParams, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as FinalizedIdRecording, h as AddBarcodeParams, j as prepareRecordingForCameraRetry, k as isSuspendableRecordingSession, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as InitializeIdCaptureParams, w as barcodeToBase64, x as UploadManualIdFileParams, y as StartRecordingParams, z as validateUploadResponse } from "./idCaptureManager-BaHEyQyr.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
|
|
@@ -47,4 +47,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
|
|
|
47
47
|
*/
|
|
48
48
|
declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
|
|
49
49
|
//#endregion
|
|
50
|
-
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, 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 DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, 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, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus,
|
|
50
|
+
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, 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 DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, 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, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
4
|
-
import { a as createIdProtectedCaptureController, c as DIGITAL_ID_DOCUMENT_TYPES, d as resolveDigitalIdImplementation, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, h as resolveWalletPlatform, i as createIdCaptureOnlyDeliveryActor, l as DIGITAL_ID_REGISTRY, m as MANUAL_UPLOAD_MAX_RETRIES, n as provideIdProtectedCaptureController, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as attachIdProtectedCaptureController, t as idCaptureMachine, u as isRedirectFlowType } from "./idCaptureStateMachine-
|
|
5
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
6
|
-
import { _ as
|
|
4
|
+
import { a as createIdProtectedCaptureController, c as DIGITAL_ID_DOCUMENT_TYPES, d as resolveDigitalIdImplementation, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, h as resolveWalletPlatform, i as createIdCaptureOnlyDeliveryActor, l as DIGITAL_ID_REGISTRY, m as MANUAL_UPLOAD_MAX_RETRIES, n as provideIdProtectedCaptureController, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as attachIdProtectedCaptureController, t as idCaptureMachine, u as isRedirectFlowType } from "./idCaptureStateMachine-CCPGFPRF.esm.js";
|
|
5
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B8lo-ksK.esm.js";
|
|
6
|
+
import { _ as validateUploadResponse, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as uploadManualIdFile, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, v as ID_ERROR_CODES } from "./idCaptureServices-DLqls7Xv.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
8
8
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
9
9
|
/**
|
|
@@ -213,4 +213,4 @@ function createIdCaptureOnlyManager(options) {
|
|
|
213
213
|
return createIdCaptureOnlyManagerFromActor(createIdCaptureOnlyActor(options), options.config);
|
|
214
214
|
}
|
|
215
215
|
//#endregion
|
|
216
|
-
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType,
|
|
216
|
+
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
|
@@ -1,210 +1,8 @@
|
|
|
1
1
|
import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-
|
|
4
|
-
import { i as BaseWasmProvider } from "./safeStorage-
|
|
2
|
+
import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-D8yZwF3G.esm.js";
|
|
3
|
+
import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-ChDwHSel.esm.js";
|
|
4
|
+
import { i as BaseWasmProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
5
5
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
6
|
-
//#region ../infra/src/media/CameraCompositor.ts
|
|
7
|
-
const MAX_COMPOSITE_LONG_EDGE = 1280;
|
|
8
|
-
const MAX_COMPOSITE_SHORT_EDGE = 720;
|
|
9
|
-
const FRAME_INTERVAL_TOLERANCE_RATIO = .9;
|
|
10
|
-
const DEFAULT_RESUME_TIMEOUT_MS = 2e3;
|
|
11
|
-
/**
|
|
12
|
-
* Composites the *active* camera into a canvas and exposes the canvas as a
|
|
13
|
-
* single, stable `MediaStream` to record. Switching cameras (front ↔ back)
|
|
14
|
-
* just repoints what the canvas draws — the output stream and its audio track
|
|
15
|
-
* are never replaced — so a single `MediaRecorder` produces one continuous
|
|
16
|
-
* video that follows the camera switches (V1 parity), instead of restarting
|
|
17
|
-
* per camera.
|
|
18
|
-
*
|
|
19
|
-
* The audio track from the initial stream is carried through unchanged across
|
|
20
|
-
* video switches, so there's no audio glitch when the camera flips.
|
|
21
|
-
*/
|
|
22
|
-
var CameraCompositor = class {
|
|
23
|
-
constructor(options = {}) {
|
|
24
|
-
this.canvas = null;
|
|
25
|
-
this.ctx = null;
|
|
26
|
-
this.video = null;
|
|
27
|
-
this.frameRequestId = null;
|
|
28
|
-
this.frameRequestKind = null;
|
|
29
|
-
this.lastDrawTimeMs = null;
|
|
30
|
-
this.lastVideoTimeSeconds = null;
|
|
31
|
-
this.audioTrack = null;
|
|
32
|
-
this.videoTrack = null;
|
|
33
|
-
this.composite = null;
|
|
34
|
-
this.fps = options.fps ?? 30;
|
|
35
|
-
this.frameIntervalMs = this.fps > 0 ? 1e3 / this.fps : 0;
|
|
36
|
-
this.resumeTimeoutMs = options.resumeTimeoutMs ?? DEFAULT_RESUME_TIMEOUT_MS;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Begin compositing `stream` and return the composite stream to record. The
|
|
40
|
-
* stream's audio track (if any) is carried through unchanged across later
|
|
41
|
-
* `switchVideo` calls.
|
|
42
|
-
*/
|
|
43
|
-
start(stream) {
|
|
44
|
-
this.canvas = document.createElement("canvas");
|
|
45
|
-
this.ctx = this.canvas.getContext("2d");
|
|
46
|
-
this.video = document.createElement("video");
|
|
47
|
-
this.video.muted = true;
|
|
48
|
-
this.video.playsInline = true;
|
|
49
|
-
this.audioTrack = stream.getAudioTracks()[0] ?? null;
|
|
50
|
-
this.setVideoSource(stream);
|
|
51
|
-
const composite = this.canvas.captureStream(this.fps);
|
|
52
|
-
if (this.audioTrack) composite.addTrack(this.audioTrack);
|
|
53
|
-
this.composite = composite;
|
|
54
|
-
this.startDrawLoop();
|
|
55
|
-
return composite;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Swap the camera feeding the canvas without interrupting the composite
|
|
59
|
-
* stream. Pass a video-only stream (audio is kept from `start`). The previous
|
|
60
|
-
* video track is stopped.
|
|
61
|
-
*/
|
|
62
|
-
switchVideo(stream) {
|
|
63
|
-
if (!this.composite) return;
|
|
64
|
-
const previousVideoTrack = this.videoTrack;
|
|
65
|
-
this.setVideoSource(stream);
|
|
66
|
-
this.startDrawLoop();
|
|
67
|
-
if (previousVideoTrack) previousVideoTrack.stop();
|
|
68
|
-
}
|
|
69
|
-
/** The composite stream being recorded, if compositing is active. */
|
|
70
|
-
get stream() {
|
|
71
|
-
return this.composite ?? void 0;
|
|
72
|
-
}
|
|
73
|
-
/** Pause source playback and drawing while the page is backgrounded. */
|
|
74
|
-
pause() {
|
|
75
|
-
this.finishResume("timed-out");
|
|
76
|
-
this.cancelDrawLoop();
|
|
77
|
-
this.video?.pause();
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Restart source playback and wait for a genuinely new camera frame to be
|
|
81
|
-
* drawn into the stable canvas stream. The caller must not resume encoding
|
|
82
|
-
* until this resolves with `resumed`.
|
|
83
|
-
*/
|
|
84
|
-
async resume(signal) {
|
|
85
|
-
const video = this.video;
|
|
86
|
-
if (!video || !this.composite) return "timed-out";
|
|
87
|
-
if (this.audioTrack?.readyState === "ended") return "audio-ended";
|
|
88
|
-
if (!this.videoTrack || this.videoTrack.readyState === "ended") return "video-ended";
|
|
89
|
-
if (signal?.aborted) return "timed-out";
|
|
90
|
-
try {
|
|
91
|
-
await video.play();
|
|
92
|
-
} catch {
|
|
93
|
-
return "timed-out";
|
|
94
|
-
}
|
|
95
|
-
if (signal?.aborted) return "timed-out";
|
|
96
|
-
this.finishResume("timed-out");
|
|
97
|
-
return new Promise((resolve) => {
|
|
98
|
-
const timeout = setTimeout(() => {
|
|
99
|
-
this.finishResume("timed-out");
|
|
100
|
-
}, this.resumeTimeoutMs);
|
|
101
|
-
if (signal) {
|
|
102
|
-
const onAbort = () => this.finishResume("timed-out");
|
|
103
|
-
this.resumeWaiter = {
|
|
104
|
-
resolve,
|
|
105
|
-
timeout,
|
|
106
|
-
signal,
|
|
107
|
-
onAbort
|
|
108
|
-
};
|
|
109
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
110
|
-
if (signal.aborted) {
|
|
111
|
-
this.finishResume("timed-out");
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
} else this.resumeWaiter = {
|
|
115
|
-
resolve,
|
|
116
|
-
timeout
|
|
117
|
-
};
|
|
118
|
-
this.startDrawLoop(false);
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
/** Stop compositing and release the canvas, audio, and video tracks. */
|
|
122
|
-
stop() {
|
|
123
|
-
this.finishResume("timed-out");
|
|
124
|
-
this.cancelDrawLoop();
|
|
125
|
-
this.videoTrack?.stop();
|
|
126
|
-
this.audioTrack?.stop();
|
|
127
|
-
this.composite?.getTracks().forEach((track) => track.stop());
|
|
128
|
-
if (this.video) this.video.srcObject = null;
|
|
129
|
-
this.canvas = null;
|
|
130
|
-
this.ctx = null;
|
|
131
|
-
this.video = null;
|
|
132
|
-
this.videoTrack = null;
|
|
133
|
-
this.audioTrack = null;
|
|
134
|
-
this.composite = null;
|
|
135
|
-
}
|
|
136
|
-
setVideoSource(stream) {
|
|
137
|
-
this.videoTrack = stream.getVideoTracks()[0] ?? null;
|
|
138
|
-
const video = this.video;
|
|
139
|
-
if (!video) return;
|
|
140
|
-
video.srcObject = new MediaStream(stream.getVideoTracks());
|
|
141
|
-
video.play().catch(() => {});
|
|
142
|
-
}
|
|
143
|
-
startDrawLoop(resetSourceTime = true) {
|
|
144
|
-
this.cancelDrawLoop();
|
|
145
|
-
this.lastDrawTimeMs = null;
|
|
146
|
-
if (resetSourceTime) this.lastVideoTimeSeconds = null;
|
|
147
|
-
const draw = (timeMs) => {
|
|
148
|
-
const elapsed = this.lastDrawTimeMs === null ? Infinity : timeMs - this.lastDrawTimeMs;
|
|
149
|
-
if ((this.frameIntervalMs === 0 || elapsed >= this.frameIntervalMs * FRAME_INTERVAL_TOLERANCE_RATIO) && this.drawCurrentFrame()) {
|
|
150
|
-
this.lastDrawTimeMs = timeMs;
|
|
151
|
-
this.finishResume("resumed");
|
|
152
|
-
}
|
|
153
|
-
this.scheduleNextFrame(draw);
|
|
154
|
-
};
|
|
155
|
-
this.scheduleNextFrame(draw);
|
|
156
|
-
}
|
|
157
|
-
finishResume(result) {
|
|
158
|
-
const waiter = this.resumeWaiter;
|
|
159
|
-
if (!waiter) return;
|
|
160
|
-
this.resumeWaiter = void 0;
|
|
161
|
-
clearTimeout(waiter.timeout);
|
|
162
|
-
if ("signal" in waiter) waiter.signal.removeEventListener("abort", waiter.onAbort);
|
|
163
|
-
waiter.resolve(result);
|
|
164
|
-
}
|
|
165
|
-
scheduleNextFrame(callback) {
|
|
166
|
-
const video = this.video;
|
|
167
|
-
if (video && typeof video.requestVideoFrameCallback === "function") {
|
|
168
|
-
this.frameRequestKind = "video";
|
|
169
|
-
this.frameRequestId = video.requestVideoFrameCallback(callback);
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
this.frameRequestKind = "animation";
|
|
173
|
-
this.frameRequestId = requestAnimationFrame(callback);
|
|
174
|
-
}
|
|
175
|
-
cancelDrawLoop() {
|
|
176
|
-
if (this.frameRequestId === null) return;
|
|
177
|
-
if (this.frameRequestKind === "video" && this.video && typeof this.video.cancelVideoFrameCallback === "function") this.video.cancelVideoFrameCallback(this.frameRequestId);
|
|
178
|
-
else cancelAnimationFrame(this.frameRequestId);
|
|
179
|
-
this.frameRequestId = null;
|
|
180
|
-
this.frameRequestKind = null;
|
|
181
|
-
}
|
|
182
|
-
drawCurrentFrame() {
|
|
183
|
-
const video = this.video;
|
|
184
|
-
const canvas = this.canvas;
|
|
185
|
-
const ctx = this.ctx;
|
|
186
|
-
if (!video || !canvas || !ctx || video.videoWidth <= 0) return false;
|
|
187
|
-
if (this.lastVideoTimeSeconds === video.currentTime) return false;
|
|
188
|
-
const dimensions = this.getBoundedDimensions(video.videoWidth, video.videoHeight);
|
|
189
|
-
if (canvas.width !== dimensions.width || canvas.height !== dimensions.height) {
|
|
190
|
-
canvas.width = dimensions.width;
|
|
191
|
-
canvas.height = dimensions.height;
|
|
192
|
-
}
|
|
193
|
-
ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
|
|
194
|
-
this.lastVideoTimeSeconds = video.currentTime;
|
|
195
|
-
return true;
|
|
196
|
-
}
|
|
197
|
-
getBoundedDimensions(width, height) {
|
|
198
|
-
const longEdge = Math.max(width, height);
|
|
199
|
-
const shortEdge = Math.min(width, height);
|
|
200
|
-
const scale = Math.min(1, MAX_COMPOSITE_LONG_EDGE / longEdge, MAX_COMPOSITE_SHORT_EDGE / shortEdge);
|
|
201
|
-
return {
|
|
202
|
-
width: Math.max(1, Math.round(width * scale)),
|
|
203
|
-
height: Math.max(1, Math.round(height * scale))
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
//#endregion
|
|
208
6
|
//#region ../infra/src/wasm/idCaptureWasmApi.ts
|
|
209
7
|
var IdCaptureWasmApi = class {
|
|
210
8
|
constructor(runtime = wasmRuntime) {
|
|
@@ -481,4 +279,4 @@ const DEFAULT_ID_CAPTURE_GEOMETRY = {
|
|
|
481
279
|
widthUp: 205
|
|
482
280
|
};
|
|
483
281
|
//#endregion
|
|
484
|
-
export {
|
|
282
|
+
export { DEFAULT_ID_CAPTURE_THRESHOLDS as n, IdCaptureProvider as r, DEFAULT_ID_CAPTURE_GEOMETRY as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-D4YCSH31.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DYrLUEII.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
|
-
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
8
|
-
import { a as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, s as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
9
|
-
import {
|
|
7
|
+
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-EY3_Vx6c.esm.js";
|
|
8
|
+
import { a as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, s as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CCPGFPRF.esm.js";
|
|
9
|
+
import { b as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DLqls7Xv.esm.js";
|
|
10
10
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
11
11
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
12
12
|
function isHoldingState(value) {
|
|
@@ -6,14 +6,13 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
6
6
|
import "./index-B8weJxmL.js";
|
|
7
7
|
import "./createFaceAvatar-BlcTYgJv.js";
|
|
8
8
|
import { a as RegulationTypes } from "./types-Do5rEXij.js";
|
|
9
|
-
import { n as VirtualCameraCheckOutput, r as WasmUtilConfig, t as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
9
|
+
import { n as VirtualCameraCheckOutput, r as WasmUtilConfig, t as IWasmUtilCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
10
10
|
import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
|
|
11
11
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-Dyi6dKp1.js";
|
|
12
|
-
import "./
|
|
13
|
-
import { n as DeepsightService } from "./StreamCanvasCapture-B3YT2Bt6.js";
|
|
12
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
14
13
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
15
14
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
16
|
-
import {
|
|
15
|
+
import { C as IdDocumentType, D as UploadIdResponse, L as DeviceWalletFailReason, N as ManualUploadSide, O as IAnalyticsCapability, P as ManualUploadTab, T as IdErrorCode, X as FailureReason, Y as DigitalIdProviderId, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig, z as DeviceWalletPlatform } from "./types-byBHOzCG2.js";
|
|
17
16
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
|
|
18
17
|
declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
|
|
19
18
|
private static instance;
|
|
@@ -120,24 +119,42 @@ declare function uploadIdImage(params: UploadIdImageParams): Promise<CaptureIdRe
|
|
|
120
119
|
type StartRecordingParams = {
|
|
121
120
|
config: IdCaptureConfig;
|
|
122
121
|
stream: CameraStream;
|
|
123
|
-
existing?:
|
|
122
|
+
existing?: object;
|
|
124
123
|
type: 'frontId' | 'backId';
|
|
125
124
|
};
|
|
126
|
-
declare function
|
|
127
|
-
declare function
|
|
128
|
-
declare function
|
|
129
|
-
|
|
125
|
+
declare function startRecordingSession(params: StartRecordingParams): Promise<object | undefined>;
|
|
126
|
+
declare function pauseRecordingForAttempt(session: object): void;
|
|
127
|
+
declare function prepareRecordingForCameraRetry(session: object): void;
|
|
128
|
+
/**
|
|
129
|
+
* Resumes a recording paused with `pauseRecordingForAttempt` while its camera
|
|
130
|
+
* clone is still attached (no source replacement pending). Returns whether the
|
|
131
|
+
* recorder is recording again.
|
|
132
|
+
*/
|
|
133
|
+
declare function resumeRecordingAfterPause(session: object): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* True only for a live SDK-managed multipart session. A session that has
|
|
136
|
+
* already been finalized or disposed is no longer in the registry, so callers
|
|
137
|
+
* use this to avoid resuming or re-pausing a torn-down recording.
|
|
138
|
+
*/
|
|
139
|
+
declare function isSuspendableRecordingSession(session: object): boolean;
|
|
130
140
|
type FinalizedIdRecording = Readonly<{
|
|
131
141
|
recordingId?: string | null;
|
|
132
142
|
}>;
|
|
133
143
|
/**
|
|
134
|
-
*
|
|
135
|
-
*
|
|
144
|
+
* Completes an ID recording: drains the multipart upload and releases the
|
|
145
|
+
* compositor. The camera clone ends synchronously, before this function
|
|
146
|
+
* returns its promise, so a step that ends mid-attempt never pins the camera
|
|
147
|
+
* while the upload finishes (ENG-56648). The composite canvas stays alive until
|
|
148
|
+
* the recorder has emitted its final chunk.
|
|
149
|
+
*/
|
|
150
|
+
declare function finalizeRecordingSession(session: object): Promise<FinalizedIdRecording>;
|
|
151
|
+
/**
|
|
152
|
+
* Teardown for an attempt released before finalization. The camera clone ends
|
|
153
|
+
* synchronously, before this function returns; the upload completes in the
|
|
154
|
+
* background with whatever was recorded.
|
|
136
155
|
*/
|
|
137
|
-
declare function
|
|
138
|
-
|
|
139
|
-
declare function disposeRecordingSession(session: RecordingSession): void;
|
|
140
|
-
declare function stopRecording(session: RecordingSession): void;
|
|
156
|
+
declare function disposeRecordingSession(session: object): void;
|
|
157
|
+
declare function stopRecording(session: object): void;
|
|
141
158
|
declare function processId(isSecondId?: boolean, queueName?: string, signal?: AbortSignal): Promise<{
|
|
142
159
|
isDocumentExpired: boolean;
|
|
143
160
|
}>;
|
|
@@ -624,4 +641,4 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
624
641
|
deviceWalletUseAnotherMethod(): void;
|
|
625
642
|
};
|
|
626
643
|
//#endregion
|
|
627
|
-
export {
|
|
644
|
+
export { pauseRecordingForAttempt as A, WasmUtilProvider as B, addBarcode as C, getRealQualityValue as D, finalizeRecordingSession as E, stopRecording as F, stopStream as I, uploadIdImage as L, processId as M, resumeRecordingAfterPause as N, initializeIdCapture as O, startRecordingSession as P, uploadManualIdFile as R, ValidationError as S, disposeRecordingSession as T, IdCaptureInitResult as _, CreateIdCaptureOnlyActorOptions as a, UploadIdImageParams as b, IdCaptureOnlyMachine as c, IdCaptureActor as d, createIdCaptureActor as f, FinalizedIdRecording as g, AddBarcodeParams as h, createIdCaptureManagerFromActor as i, prepareRecordingForCameraRetry as j, isSuspendableRecordingSession as k, idCaptureOnlyMachine as l, idCaptureMachine as m, IdCaptureManager as n, IdCaptureOnlyActor as o, IdCaptureMachine as p, IdCaptureState as r, createIdCaptureOnlyActor as s, createIdCaptureManager as t, CreateIdCaptureActorOptions as u, InitializeIdCaptureParams as v, barcodeToBase64 as w, UploadManualIdFileParams as x, StartRecordingParams as y, validateUploadResponse as z };
|