@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
package/dist/{idCaptureStateMachine-CmqihkUy.esm.js → idCaptureStateMachine-CCPGFPRF.esm.js}
RENAMED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { l as
|
|
2
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
1
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-D8yZwF3G.esm.js";
|
|
2
|
+
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-D4YCSH31.esm.js";
|
|
3
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
5
|
+
import { s as exposeExperimentOnce } from "./feature-management-C8OAO_CZ.esm.js";
|
|
5
6
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
6
7
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
7
|
-
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-CKrrfV0Q.esm.js";
|
|
8
8
|
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
10
|
-
import { t as endpoints } from "./endpoints-
|
|
11
|
-
import { t as addDeviceStats } from "./stats-
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-BK5NjMe0.esm.js";
|
|
10
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
11
|
+
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
12
12
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-BABCfUhC.esm.js";
|
|
14
14
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
15
15
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
16
16
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
17
17
|
import { r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
18
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
19
|
-
import { i as imageFileToDataUrl, n as runProtectedAttempt, o as flagIdManualReview, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-
|
|
18
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-EY3_Vx6c.esm.js";
|
|
19
|
+
import { i as imageFileToDataUrl, n as runProtectedAttempt, o as flagIdManualReview, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
|
|
20
20
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
21
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
22
|
-
import {
|
|
21
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D6TfVop2.esm.js";
|
|
22
|
+
import { i as StreamCanvasProcessingSession } from "./multipartRecordingService-YKu0Bd7S.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
25
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
26
|
-
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-
|
|
27
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
28
|
-
import {
|
|
26
|
+
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-Cjab7FTI.esm.js";
|
|
27
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-sJahGQgV.esm.js";
|
|
28
|
+
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ 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, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, v as ID_ERROR_CODES, x as CAPTURE_OPTIMIZING } from "./idCaptureServices-DLqls7Xv.esm.js";
|
|
29
29
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
30
30
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
31
31
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1781,7 +1781,7 @@ fromPromise(async ({ input }) => {
|
|
|
1781
1781
|
});
|
|
1782
1782
|
fromPromise(async ({ input }) => {
|
|
1783
1783
|
if (!input.dependencies) return;
|
|
1784
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1784
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DamOBrBJ.esm.js");
|
|
1785
1785
|
return loadDeepsightSession({
|
|
1786
1786
|
ds: input.ds,
|
|
1787
1787
|
storage: input.dependencies.storage,
|
|
@@ -2224,7 +2224,7 @@ function cleanup(service) {
|
|
|
2224
2224
|
service.cleanup();
|
|
2225
2225
|
} catch {}
|
|
2226
2226
|
}
|
|
2227
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2227
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DamOBrBJ.esm.js")).loadDeepsightSession(input)) {
|
|
2228
2228
|
let disposed = false;
|
|
2229
2229
|
let preparation;
|
|
2230
2230
|
let service;
|
|
@@ -2325,6 +2325,16 @@ function createIdProtectedCaptureController(dependencies = {}) {
|
|
|
2325
2325
|
let attemptContext;
|
|
2326
2326
|
let attemptSend;
|
|
2327
2327
|
let diagnosticAttempt;
|
|
2328
|
+
const stepRecording = { retryPending: false };
|
|
2329
|
+
const recordingScopeFor = (context) => context.currentMode === "back" ? "backId" : "frontId";
|
|
2330
|
+
const completeStepRecording = () => {
|
|
2331
|
+
const session = stepRecording.session;
|
|
2332
|
+
stepRecording.session = void 0;
|
|
2333
|
+
stepRecording.scope = void 0;
|
|
2334
|
+
stepRecording.retryPending = false;
|
|
2335
|
+
if (!session) return;
|
|
2336
|
+
finalizeRecordingSession(session).catch(() => {});
|
|
2337
|
+
};
|
|
2328
2338
|
const logDiagnostic = (event, fields = {}) => {
|
|
2329
2339
|
if (!diagnosticAttempt) return;
|
|
2330
2340
|
logIdCameraDiagnostic(event, {
|
|
@@ -2455,6 +2465,7 @@ function createIdProtectedCaptureController(dependencies = {}) {
|
|
|
2455
2465
|
beginAttempt(context, send) {
|
|
2456
2466
|
if (disposed) throw new Error("ID protected capture controller is disposed");
|
|
2457
2467
|
clearAttempt();
|
|
2468
|
+
if (stepRecording.session && stepRecording.scope !== recordingScopeFor(context)) completeStepRecording();
|
|
2458
2469
|
diagnosticAttempt = {
|
|
2459
2470
|
attempt: ++protectedIdAttemptSequence,
|
|
2460
2471
|
side: context.currentMode === "back" ? "back" : "front",
|
|
@@ -2462,7 +2473,7 @@ function createIdProtectedCaptureController(dependencies = {}) {
|
|
|
2462
2473
|
};
|
|
2463
2474
|
attemptContext = context;
|
|
2464
2475
|
attemptSend = send;
|
|
2465
|
-
provider = (dependencies.createProvider ?? createProtectedIdProvider)(context.config);
|
|
2476
|
+
provider = (dependencies.createProvider ?? createProtectedIdProvider)(context.config, context.currentMode);
|
|
2466
2477
|
cycleOwnership = createCameraCycleOwnership(cameraCycleProvider);
|
|
2467
2478
|
logDiagnostic("attempt-start", { aggregationMs: context.config?.thresholds?.framesAggregationInterval ?? DEFAULT_ID_CAPTURE_THRESHOLDS.framesAggregationInterval });
|
|
2468
2479
|
},
|
|
@@ -2492,6 +2503,27 @@ function createIdProtectedCaptureController(dependencies = {}) {
|
|
|
2492
2503
|
metadataCoordinator.dispose();
|
|
2493
2504
|
releasePreAcquired();
|
|
2494
2505
|
clearAttempt();
|
|
2506
|
+
completeStepRecording();
|
|
2507
|
+
},
|
|
2508
|
+
getStepRecording() {
|
|
2509
|
+
return stepRecording;
|
|
2510
|
+
},
|
|
2511
|
+
keepRecordingForRetry() {
|
|
2512
|
+
stepRecording.retryPending = true;
|
|
2513
|
+
},
|
|
2514
|
+
completeStepRecording,
|
|
2515
|
+
endRecordingStep() {
|
|
2516
|
+
if (stepRecording.retryPending) {
|
|
2517
|
+
stepRecording.retryPending = false;
|
|
2518
|
+
return;
|
|
2519
|
+
}
|
|
2520
|
+
completeStepRecording();
|
|
2521
|
+
},
|
|
2522
|
+
pauseStepRecording() {
|
|
2523
|
+
if (stepRecording.session) pauseRecordingForAttempt(stepRecording.session);
|
|
2524
|
+
},
|
|
2525
|
+
resumeStepRecording() {
|
|
2526
|
+
if (stepRecording.session) resumeRecordingAfterPause(stepRecording.session);
|
|
2495
2527
|
},
|
|
2496
2528
|
preAcquire,
|
|
2497
2529
|
setVisible(nextVisible) {
|
|
@@ -2722,7 +2754,8 @@ function createIdCaptureOnlyDeliveryActor(ownedController) {
|
|
|
2722
2754
|
});
|
|
2723
2755
|
}
|
|
2724
2756
|
let protectedIdAttemptSequence = 0;
|
|
2725
|
-
function resolveProtectedIdWorkflow(config) {
|
|
2757
|
+
function resolveProtectedIdWorkflow(config, currentMode) {
|
|
2758
|
+
if (config.usSmartCapture === true && (currentMode === "back" || currentMode === "front" && config.modelVersion !== "v3")) return 0;
|
|
2726
2759
|
if (config.modelVersion === "v3" || config.usSmartCapture === true) return 7;
|
|
2727
2760
|
if (config.settings?.faceQualityCheckEnabled === true) return 8;
|
|
2728
2761
|
if (config.settings?.faceQualityCheckEnabled === false) return 6;
|
|
@@ -2734,37 +2767,122 @@ function resolveProtectedIdTarget(config, currentMode) {
|
|
|
2734
2767
|
if (config.isSecondId === true) return back ? PROTECTED_CAPTURE_TARGET.backSecondId : PROTECTED_CAPTURE_TARGET.frontSecondId;
|
|
2735
2768
|
return back ? PROTECTED_CAPTURE_TARGET.backId : PROTECTED_CAPTURE_TARGET.frontId;
|
|
2736
2769
|
}
|
|
2737
|
-
function createProtectedIdProvider(config) {
|
|
2738
|
-
const workflow = resolveProtectedIdWorkflow(config);
|
|
2770
|
+
function createProtectedIdProvider(config, currentMode) {
|
|
2771
|
+
const workflow = resolveProtectedIdWorkflow(config, currentMode);
|
|
2739
2772
|
return workflow === 0 ? new IdCaptureProvider() : new IdCaptureProvider(workflow);
|
|
2740
2773
|
}
|
|
2774
|
+
/**
|
|
2775
|
+
* Recorder hooks for one protected ID attempt over a step-scoped recording.
|
|
2776
|
+
*
|
|
2777
|
+
* The attempt never completes the scoped upload. It starts or resumes the held
|
|
2778
|
+
* session after PRC, pauses it and ends its camera clone synchronously when the
|
|
2779
|
+
* capture is committed (before POC), and suspends it the same way on release.
|
|
2780
|
+
* The controller completes the upload when the backend accepts the capture or
|
|
2781
|
+
* when the step ends without a retry (ENG-56648). A session that is no longer
|
|
2782
|
+
* live — already finalized or disposed — cannot be paused, so it is dropped and
|
|
2783
|
+
* torn down instead.
|
|
2784
|
+
*/
|
|
2741
2785
|
function createProtectedIdRecorderHooks(input) {
|
|
2742
|
-
|
|
2786
|
+
const holder = input.stepRecording ?? { retryPending: false };
|
|
2787
|
+
const scope = input.currentMode === "back" ? "backId" : "frontId";
|
|
2743
2788
|
const enabled = input.enabled !== false && input.config.enableIdRecording === true;
|
|
2789
|
+
let disposed = false;
|
|
2790
|
+
const dropHeldSession = () => {
|
|
2791
|
+
const session = holder.session;
|
|
2792
|
+
holder.session = void 0;
|
|
2793
|
+
holder.scope = void 0;
|
|
2794
|
+
return session;
|
|
2795
|
+
};
|
|
2796
|
+
/**
|
|
2797
|
+
* Ends the camera clone on the calling thread and keeps the paused upload for
|
|
2798
|
+
* the next attempt. Idempotent; never finalizes a multipart session.
|
|
2799
|
+
*/
|
|
2800
|
+
const suspend = () => {
|
|
2801
|
+
const session = holder.session;
|
|
2802
|
+
if (!session) return;
|
|
2803
|
+
if (!isSuspendableRecordingSession(session)) {
|
|
2804
|
+
dropHeldSession();
|
|
2805
|
+
disposeRecordingSession(session);
|
|
2806
|
+
return;
|
|
2807
|
+
}
|
|
2808
|
+
try {
|
|
2809
|
+
prepareRecordingForCameraRetry(session);
|
|
2810
|
+
} catch {}
|
|
2811
|
+
};
|
|
2812
|
+
const warn = (message) => {
|
|
2813
|
+
trueSightLog("warning", "recording", "idScan", message);
|
|
2814
|
+
};
|
|
2744
2815
|
return {
|
|
2745
2816
|
mode: enabled ? "finalizeBeforePoc" : "none",
|
|
2746
2817
|
async start(stream) {
|
|
2747
2818
|
if (!enabled) return;
|
|
2748
|
-
session
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2819
|
+
if (holder.session && holder.scope !== scope) {
|
|
2820
|
+
const stale = dropHeldSession();
|
|
2821
|
+
if (stale) disposeRecordingSession(stale);
|
|
2822
|
+
}
|
|
2823
|
+
const existing = holder.session;
|
|
2824
|
+
let session;
|
|
2825
|
+
try {
|
|
2826
|
+
session = await startRecordingSession({
|
|
2827
|
+
config: input.config,
|
|
2828
|
+
stream,
|
|
2829
|
+
type: scope,
|
|
2830
|
+
existing
|
|
2831
|
+
});
|
|
2832
|
+
} catch (error) {
|
|
2833
|
+
if (existing) {
|
|
2834
|
+
suspend();
|
|
2835
|
+
warn("ID recording did not resume for this attempt");
|
|
2836
|
+
return;
|
|
2837
|
+
}
|
|
2838
|
+
throw error;
|
|
2839
|
+
}
|
|
2840
|
+
if (disposed) {
|
|
2841
|
+
if (session && session !== existing) disposeRecordingSession(session);
|
|
2842
|
+
else suspend();
|
|
2843
|
+
return;
|
|
2844
|
+
}
|
|
2845
|
+
if (session) {
|
|
2846
|
+
holder.session = session;
|
|
2847
|
+
holder.scope = scope;
|
|
2848
|
+
}
|
|
2753
2849
|
},
|
|
2754
2850
|
async prepareForPoc() {
|
|
2851
|
+
const session = holder.session;
|
|
2755
2852
|
if (!session) return {};
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2853
|
+
if (!isSuspendableRecordingSession(session)) {
|
|
2854
|
+
dropHeldSession();
|
|
2855
|
+
return finalizeRecordingSession(session);
|
|
2856
|
+
}
|
|
2857
|
+
suspend();
|
|
2858
|
+
return {};
|
|
2759
2859
|
},
|
|
2760
2860
|
async resumeAfterPoc() {},
|
|
2761
|
-
pauseForBackground() {
|
|
2762
|
-
|
|
2861
|
+
pauseForBackground() {
|
|
2862
|
+
suspend();
|
|
2863
|
+
},
|
|
2864
|
+
async resumeFromBackground(stream) {
|
|
2865
|
+
const existing = holder.session;
|
|
2866
|
+
if (!enabled || disposed || !existing || holder.scope !== scope || !isSuspendableRecordingSession(existing)) return;
|
|
2867
|
+
try {
|
|
2868
|
+
await startRecordingSession({
|
|
2869
|
+
config: input.config,
|
|
2870
|
+
stream,
|
|
2871
|
+
type: scope,
|
|
2872
|
+
existing
|
|
2873
|
+
});
|
|
2874
|
+
} catch {
|
|
2875
|
+
suspend();
|
|
2876
|
+
warn("ID recording did not resume after foreground");
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2763
2879
|
dispose() {
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2880
|
+
disposed = true;
|
|
2881
|
+
try {
|
|
2882
|
+
input.disposeCaptureCallbacks();
|
|
2883
|
+
} finally {
|
|
2884
|
+
suspend();
|
|
2885
|
+
}
|
|
2768
2886
|
}
|
|
2769
2887
|
};
|
|
2770
2888
|
}
|
|
@@ -2939,7 +3057,7 @@ function createProtectedIdAttemptInput(input) {
|
|
|
2939
3057
|
const { context, controller } = input;
|
|
2940
3058
|
const provider = controller.getProvider();
|
|
2941
3059
|
if (!provider) throw new Error("Protected ID provider is unavailable");
|
|
2942
|
-
const workflow = resolveProtectedIdWorkflow(context.config);
|
|
3060
|
+
const workflow = resolveProtectedIdWorkflow(context.config, context.currentMode);
|
|
2943
3061
|
const target = resolveProtectedIdTarget(context.config, context.currentMode);
|
|
2944
3062
|
const callbackSession = createProtectedIdCallbackSession(input);
|
|
2945
3063
|
let wasmUtil;
|
|
@@ -2995,7 +3113,8 @@ function createProtectedIdAttemptInput(input) {
|
|
|
2995
3113
|
config: context.config,
|
|
2996
3114
|
currentMode: context.currentMode,
|
|
2997
3115
|
disposeCaptureCallbacks: callbackSession.dispose,
|
|
2998
|
-
enabled: !captureOnly
|
|
3116
|
+
enabled: !captureOnly,
|
|
3117
|
+
stepRecording: controller.getStepRecording()
|
|
2999
3118
|
}),
|
|
3000
3119
|
releaseUnadoptedStream: stopStream,
|
|
3001
3120
|
beforeAdopt: captureOnly ? void 0 : async (stream) => {
|
|
@@ -3788,6 +3907,21 @@ const idCaptureMachine = setup({
|
|
|
3788
3907
|
clearProtectedAttempt: ({ self }) => {
|
|
3789
3908
|
getIdProtectedCaptureController(self).clearAttempt();
|
|
3790
3909
|
},
|
|
3910
|
+
keepProtectedRecordingForRetry: ({ self }) => {
|
|
3911
|
+
getIdProtectedCaptureController(self).keepRecordingForRetry();
|
|
3912
|
+
},
|
|
3913
|
+
completeProtectedRecording: ({ self }) => {
|
|
3914
|
+
getIdProtectedCaptureController(self).completeStepRecording();
|
|
3915
|
+
},
|
|
3916
|
+
endProtectedRecordingStep: ({ self }) => {
|
|
3917
|
+
getIdProtectedCaptureController(self).endRecordingStep();
|
|
3918
|
+
},
|
|
3919
|
+
pauseProtectedRecording: ({ self }) => {
|
|
3920
|
+
getIdProtectedCaptureController(self).pauseStepRecording();
|
|
3921
|
+
},
|
|
3922
|
+
resumeProtectedRecording: ({ self }) => {
|
|
3923
|
+
getIdProtectedCaptureController(self).resumeStepRecording();
|
|
3924
|
+
},
|
|
3791
3925
|
disposeProvider: ({ context }) => {
|
|
3792
3926
|
performDisposeProvider(context);
|
|
3793
3927
|
},
|
|
@@ -3884,10 +4018,6 @@ const idCaptureMachine = setup({
|
|
|
3884
4018
|
reportCaptureOptimizingAssignment: ({ context }) => {
|
|
3885
4019
|
performReportCaptureOptimizingAssignment(context);
|
|
3886
4020
|
},
|
|
3887
|
-
preloadRecordingProvider: ({ context }) => {
|
|
3888
|
-
if (isCaptureOnlyConfig(context.config)) return;
|
|
3889
|
-
context.config;
|
|
3890
|
-
},
|
|
3891
4021
|
resetContext: assign(({ context }) => getResetContextValues(context)),
|
|
3892
4022
|
resetDetection: () => {},
|
|
3893
4023
|
captureImage: assign({ qualityElements: ({ event }) => {
|
|
@@ -4311,7 +4441,7 @@ const idCaptureMachine = setup({
|
|
|
4311
4441
|
}] }
|
|
4312
4442
|
},
|
|
4313
4443
|
loading: {
|
|
4314
|
-
entry:
|
|
4444
|
+
entry: "startProtectedMetadataPreparation",
|
|
4315
4445
|
type: "parallel",
|
|
4316
4446
|
states: {
|
|
4317
4447
|
permissionCheck: {
|
|
@@ -4344,11 +4474,7 @@ const idCaptureMachine = setup({
|
|
|
4344
4474
|
},
|
|
4345
4475
|
tutorial: {
|
|
4346
4476
|
initial: "checkingPermission",
|
|
4347
|
-
entry: [
|
|
4348
|
-
"startProtectedMetadataPreparation",
|
|
4349
|
-
"trackTutorialId",
|
|
4350
|
-
"preloadRecordingProvider"
|
|
4351
|
-
],
|
|
4477
|
+
entry: ["startProtectedMetadataPreparation", "trackTutorialId"],
|
|
4352
4478
|
states: {
|
|
4353
4479
|
checkingPermission: {
|
|
4354
4480
|
invoke: {
|
|
@@ -4461,7 +4587,6 @@ const idCaptureMachine = setup({
|
|
|
4461
4587
|
}
|
|
4462
4588
|
},
|
|
4463
4589
|
permissions: {
|
|
4464
|
-
entry: "preloadRecordingProvider",
|
|
4465
4590
|
initial: "idle",
|
|
4466
4591
|
states: {
|
|
4467
4592
|
idle: {
|
|
@@ -4555,7 +4680,6 @@ const idCaptureMachine = setup({
|
|
|
4555
4680
|
initial: "checkingStream",
|
|
4556
4681
|
entry: [
|
|
4557
4682
|
"trackCameraId",
|
|
4558
|
-
"preloadRecordingProvider",
|
|
4559
4683
|
"initializeProtectedProvider",
|
|
4560
4684
|
"bindProtectedAttempt",
|
|
4561
4685
|
"startProtectedAttempt"
|
|
@@ -4563,6 +4687,7 @@ const idCaptureMachine = setup({
|
|
|
4563
4687
|
exit: [
|
|
4564
4688
|
"stopMediaRecording",
|
|
4565
4689
|
"clearRecordingSession",
|
|
4690
|
+
"endProtectedRecordingStep",
|
|
4566
4691
|
"clearProtectedAttempt"
|
|
4567
4692
|
],
|
|
4568
4693
|
invoke: {
|
|
@@ -4602,7 +4727,7 @@ const idCaptureMachine = setup({
|
|
|
4602
4727
|
always: "#idCapture.closed"
|
|
4603
4728
|
},
|
|
4604
4729
|
releasingForRetry: {
|
|
4605
|
-
entry: "releaseProtectedForRetry",
|
|
4730
|
+
entry: ["keepProtectedRecordingForRetry", "releaseProtectedForRetry"],
|
|
4606
4731
|
always: {
|
|
4607
4732
|
target: "#idCapture.capture",
|
|
4608
4733
|
reenter: true
|
|
@@ -4770,21 +4895,27 @@ const idCaptureMachine = setup({
|
|
|
4770
4895
|
onError: { target: "uploading" }
|
|
4771
4896
|
} },
|
|
4772
4897
|
capturingBarcode: { always: [{ target: "submittingBarcodePreCapture" }] },
|
|
4773
|
-
submittingBarcodePreCapture: {
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4898
|
+
submittingBarcodePreCapture: {
|
|
4899
|
+
entry: "pauseProtectedRecording",
|
|
4900
|
+
invoke: {
|
|
4901
|
+
id: "submitBarcode",
|
|
4902
|
+
src: "submitBarcode",
|
|
4903
|
+
input: ({ context }) => ({
|
|
4904
|
+
rawBarcode: context.decodedBarcode?.text ?? "",
|
|
4905
|
+
metrics: context.decodedBarcode,
|
|
4906
|
+
processId: context.config.skipProcessId !== true,
|
|
4907
|
+
minDurationMs: 1e3
|
|
4908
|
+
}),
|
|
4909
|
+
onDone: {
|
|
4910
|
+
target: "success",
|
|
4911
|
+
actions: ["storeBarcodeResponse", "markBarcodeFastPathCaptured"]
|
|
4912
|
+
},
|
|
4913
|
+
onError: {
|
|
4914
|
+
target: "choosingDetectionStrategy",
|
|
4915
|
+
actions: "resumeProtectedRecording"
|
|
4916
|
+
}
|
|
4917
|
+
}
|
|
4918
|
+
},
|
|
4788
4919
|
capturingManual: {
|
|
4789
4920
|
entry: "finalizeProtectedAttempt",
|
|
4790
4921
|
on: { PROTECTED_ATTEMPT_FINALIZED_SIGNAL: [
|
|
@@ -4898,32 +5029,36 @@ const idCaptureMachine = setup({
|
|
|
4898
5029
|
},
|
|
4899
5030
|
{ target: "success" }
|
|
4900
5031
|
] },
|
|
4901
|
-
uploadError: {
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
"
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
5032
|
+
uploadError: {
|
|
5033
|
+
entry: "pauseProtectedRecording",
|
|
5034
|
+
on: { CONTINUE_FROM_ERROR: [
|
|
5035
|
+
{
|
|
5036
|
+
target: "releasingForRetry",
|
|
5037
|
+
guard: "hasAttemptsRemaining",
|
|
5038
|
+
actions: [
|
|
5039
|
+
"resetDetection",
|
|
5040
|
+
"clearUploadFailure",
|
|
5041
|
+
"clearStreamForRetry"
|
|
5042
|
+
]
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
target: "#idCapture.frontFinished",
|
|
5046
|
+
guard: "shouldContinueToBack",
|
|
5047
|
+
actions: ["flagIdManualReview"]
|
|
5048
|
+
},
|
|
5049
|
+
{
|
|
5050
|
+
target: "#idCapture.backFinished",
|
|
5051
|
+
guard: "shouldContinueToFront",
|
|
5052
|
+
actions: ["flagIdManualReview"]
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
target: "#idCapture.processing",
|
|
5056
|
+
actions: ["flagIdManualReview"]
|
|
5057
|
+
}
|
|
5058
|
+
] }
|
|
5059
|
+
},
|
|
4926
5060
|
success: {
|
|
5061
|
+
entry: "completeProtectedRecording",
|
|
4927
5062
|
exit: "clearBarcodeFastPathCaptured",
|
|
4928
5063
|
on: { NEXT_STEP: [
|
|
4929
5064
|
{
|
|
@@ -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 idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-ClDEP-VI.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,6 +1,6 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
package/dist/{idVerificationManager-CyaixD0D.esm.js → idVerificationManager-DT42c77H.esm.js}
RENAMED
|
@@ -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 idVerificationMachine } from "./idVerificationStateMachine-
|
|
3
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DbDVIh9t.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,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 { 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/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-BhAkuIra.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-yG3acUrQ.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -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 { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
3
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-BhAkuIra.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts an IdentityReuse actor.
|
package/dist/{identityReuseStateMachine-CQgnATo5.esm.js → identityReuseStateMachine-BhAkuIra.esm.js}
RENAMED
|
@@ -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/identity-reuse/identityReuseServices.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-Cyko6cAn.js";
|
|
2
2
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-D4YCSH31.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DC5Mo6M1.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-7dI0D08q.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-Du-m-tZ_.esm.js → mandatoryConsentManager-7dI0D08q.esm.js}
RENAMED
|
@@ -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 mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
3
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DC5Mo6M1.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
5
5
|
function createMandatoryConsentActor(options) {
|
|
6
6
|
return createActor(mandatoryConsentMachine, { 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/mandatory-consent/mandatoryConsentServices.ts
|