@incodetech/core 0.0.0-dev-20260915-eedd82d4 → 0.0.0-dev-20260915-d300a295
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-Ns6-JLzE.esm.js → BrowserDiagnosticsCryptoProvider-HN68wuqB.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-wJitf58B.esm.js → FaceDetectionProvider-CqIaalmz.esm.js} +7 -52
- package/dist/{IWasmUtilCapability-CXXDA5l1.d.ts → IWasmUtilCapability-CNWRl7jr.d.ts} +1 -43
- package/dist/{StreamCanvasCapture-B3YT2Bt6.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +1 -1
- package/dist/{recordingsRepository-CCWy13M-.esm.js → StreamCanvasProcessingSession-CBnbTnOr.esm.js} +1 -31
- 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-CC5v1ZI1.esm.js → apiError-ePyeM3P4.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-CjXBjC-c.d.ts} +1 -1
- package/dist/{authenticationManager-9Ndo3B9-.esm.js → authenticationManager-Cp5VOd8_.esm.js} +3 -3
- package/dist/{authenticationStateMachine-BCIcBGE-.esm.js → authenticationStateMachine-C88uF5uq.esm.js} +3 -3
- 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-CX3hJGKc.esm.js} +1 -1
- 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-DywI_Cln.esm.js → deepsightLoader-CXNfGruR.esm.js} +4 -4
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DR_Wv-3H.esm.js → documentCaptureManager-CwAiM9WY.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-CWOATHfE.esm.js → documentCaptureStateMachine-DfGOBapD.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CZD4HaZY.esm.js → dynamicFormsManager-D0rXNqVG.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-50ilSDiK.esm.js → dynamicFormsStateMachine-DuE6FnR9.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BPT_VGSQ.esm.js → ekybManager-4c8EUDLi.esm.js} +1 -1
- package/dist/{ekybStateMachine-CNIA7d6-.esm.js → ekybStateMachine-CRzWc74h.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-pgoS8NvX.esm.js → electronicSignatureManager-BtzdBvlz.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 +33 -33
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CvtqcLxs.d.ts → faceCaptureManagerFactory-BeUl8fl1.d.ts} +4 -5
- package/dist/{faceCaptureManagerFactory-DM00JM7H.esm.js → faceCaptureManagerFactory-fMjRjDBm.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CVYCvUSc.esm.js → faceCaptureSetup-DrrexFry.esm.js} +25 -64
- 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-XAltcaKL.esm.js → feature-management-BzUg_tWP.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.esm.js +1 -1
- package/dist/{fiscalQrManager-Bp_-3LJr.esm.js → fiscalQrManager-CKliNxB3.esm.js} +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BnU3Yo4k.esm.js → flowCompletionService-BfXoI5mt.esm.js} +2 -2
- package/dist/{flowServices-BdQkcWNs.esm.js → flowServices-ClO0hovF.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CEAdL6w_.esm.js → geolocationManager-CGU3By3l.esm.js} +1 -1
- package/dist/{geolocationStateMachine-ClMoFwKO.esm.js → geolocationStateMachine-UE9dPAz-.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 +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-D34NYQ4a.esm.js → idCaptureDefaults-CbZtSYMj.esm.js} +1 -1
- package/dist/{idCaptureManager-CjWevOsf.esm.js → idCaptureManager-1U5C7x7i.esm.js} +3 -3
- package/dist/{idCaptureManager-CvmHOWWd.d.ts → idCaptureManager-DKESug0R.d.ts} +11 -12
- package/dist/{idCaptureServices-bJRNhMEH.esm.js → idCaptureServices-CEux1c0H.esm.js} +21 -119
- package/dist/{idCaptureStateMachine-BAssHKV8.esm.js → idCaptureStateMachine-BLv_lgkI.esm.js} +16 -26
- 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.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
- 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.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +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/{mandatoryConsentManager-CJSyhTpi.d.ts → mandatoryConsentManager-Csfl7_XQ.d.ts} +4 -4
- package/dist/{mandatoryConsentStateMachine-DSDAk7WZ.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
- package/dist/{multipartRecordingService-CWxZ5mTi.esm.js → multipartRecordingService-OEgIRvqC.esm.js} +1 -1
- package/dist/personhood.d.ts +3 -3
- package/dist/personhood.esm.js +5 -5
- 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-DkWLwaAz.esm.js → runChildModule-Cq0GV257.esm.js} +1 -1
- package/dist/{sdkVersion-tlFW91ji.esm.js → sdkVersion-CgPKQUjl.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-C77GXJH6.esm.js → selfieErrorUtils-UiQ46EBa.esm.js} +2 -2
- package/dist/{selfieManager-D1KRJ39M.d.ts → selfieManager-4RRLi21P.d.ts} +1 -1
- package/dist/{selfieManager-BzzaKDle.esm.js → selfieManager-D-awnUby.esm.js} +3 -3
- package/dist/{selfieStateMachine-BetnORsZ.esm.js → selfieStateMachine-DZ70ap07.esm.js} +4 -4
- package/dist/{session-S9zc4a1K.esm.js → session-BpqBgtpK.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DDsk97UB.esm.js → sessionInitializer-CFEKHQc8.esm.js} +5 -5
- package/dist/{setup-DcVN2srO.esm.js → setup-f3WO6oLB.esm.js} +6 -6
- 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/{trueSightService-CD0T81YQ.esm.js → trueSightService-DNBVNjG-.esm.js} +3 -3
- 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 -6
- package/dist/{videoSelfieCameraWarmer-mEqG_xP8.esm.js → videoSelfieCameraWarmer-Bsj1f71Z.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-Ct2y9wZo.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +2 -2
- package/dist/{virtualCameraCheck-WOloJ-do.esm.js → virtualCameraCheck-Cjab7FTI.esm.js} +1 -1
- package/dist/wasm.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 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-f3WO6oLB.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.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-ClO0hovF.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-CqIaalmz.esm.js";
|
|
8
|
+
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-
|
|
11
|
-
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
12
|
-
import {
|
|
10
|
+
import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
|
|
11
|
+
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CbZtSYMj.esm.js";
|
|
12
|
+
import { g as ID_ERROR_CODES, h as validateUploadResponse, l as processId, p as uploadIdImage } from "./idCaptureServices-CEux1c0H.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-BfXoI5mt.esm.js";
|
|
15
|
+
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Bsj1f71Z.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 prepareRecordingForCameraRetry, C as addBarcode, D as getRealQualityValue, E as finalizeRecordingSession, F as uploadIdImage, I as uploadManualIdFile, L as validateUploadResponse, M as startRecordingSession, N as stopRecording, O as initializeIdCapture, P as stopStream, 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 processId, k as pauseRecordingForAttempt, 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 } from "./idCaptureManager-DKESug0R.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, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, 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 {
|
|
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-BLv_lgkI.esm.js";
|
|
5
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-1U5C7x7i.esm.js";
|
|
6
|
+
import { a as getRealQualityValue, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, g as ID_ERROR_CODES, h as validateUploadResponse, i as finalizeRecordingSession, l as processId, m as uploadManualIdFile, n as barcodeToBase64, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, s as pauseRecordingForAttempt, t as addBarcode, u as startRecordingSession, v as resolveIdCaptureThresholds } from "./idCaptureServices-CEux1c0H.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, pauseRecordingForAttempt,
|
|
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, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
-
import { p as getBarcodeEnhanceModelUrl } from "./setup-
|
|
2
|
+
import { p as getBarcodeEnhanceModelUrl } from "./setup-f3WO6oLB.esm.js";
|
|
3
3
|
import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-CUUnwYxe.esm.js";
|
|
4
4
|
import { i as BaseWasmProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
5
5
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-f3WO6oLB.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
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";
|
|
8
|
-
import { a as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, s as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
9
|
-
import {
|
|
8
|
+
import { a as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, s as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-BLv_lgkI.esm.js";
|
|
9
|
+
import { _ as resolveCaptureOptimizingTreatment, v as resolveIdCaptureThresholds } from "./idCaptureServices-CEux1c0H.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,14 @@ 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
12
|
import "./types-BT_Oalip.js";
|
|
13
|
-
import { n as DeepsightService } from "./StreamCanvasCapture-
|
|
13
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
14
14
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
15
15
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
16
|
-
import {
|
|
16
|
+
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
17
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
|
|
18
18
|
declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
|
|
19
19
|
private static instance;
|
|
@@ -120,13 +120,12 @@ declare function uploadIdImage(params: UploadIdImageParams): Promise<CaptureIdRe
|
|
|
120
120
|
type StartRecordingParams = {
|
|
121
121
|
config: IdCaptureConfig;
|
|
122
122
|
stream: CameraStream;
|
|
123
|
-
existing?:
|
|
123
|
+
existing?: object;
|
|
124
124
|
type: 'frontId' | 'backId';
|
|
125
125
|
};
|
|
126
|
-
declare function
|
|
127
|
-
declare function
|
|
128
|
-
declare function
|
|
129
|
-
declare function prepareRecordingForCameraRetry(session: RecordingSession): void;
|
|
126
|
+
declare function startRecordingSession(params: StartRecordingParams): Promise<object | undefined>;
|
|
127
|
+
declare function pauseRecordingForAttempt(session: object): void;
|
|
128
|
+
declare function prepareRecordingForCameraRetry(session: object): void;
|
|
130
129
|
type FinalizedIdRecording = Readonly<{
|
|
131
130
|
recordingId?: string | null;
|
|
132
131
|
}>;
|
|
@@ -134,10 +133,10 @@ type FinalizedIdRecording = Readonly<{
|
|
|
134
133
|
* Fully drains an ID recording before the protected camera cycle runs POC.
|
|
135
134
|
* Every recorder clone is stopped before this promise settles.
|
|
136
135
|
*/
|
|
137
|
-
declare function finalizeRecordingSession(session:
|
|
136
|
+
declare function finalizeRecordingSession(session: object): Promise<FinalizedIdRecording>;
|
|
138
137
|
/** Synchronous teardown used when an attempt is cancelled before finalization. */
|
|
139
|
-
declare function disposeRecordingSession(session:
|
|
140
|
-
declare function stopRecording(session:
|
|
138
|
+
declare function disposeRecordingSession(session: object): void;
|
|
139
|
+
declare function stopRecording(session: object): void;
|
|
141
140
|
declare function processId(isSecondId?: boolean, queueName?: string, signal?: AbortSignal): Promise<{
|
|
142
141
|
isDocumentExpired: boolean;
|
|
143
142
|
}>;
|
|
@@ -624,4 +623,4 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
624
623
|
deviceWalletUseAnotherMethod(): void;
|
|
625
624
|
};
|
|
626
625
|
//#endregion
|
|
627
|
-
export {
|
|
626
|
+
export { prepareRecordingForCameraRetry as A, addBarcode as C, getRealQualityValue as D, finalizeRecordingSession as E, uploadIdImage as F, uploadManualIdFile as I, validateUploadResponse as L, startRecordingSession as M, stopRecording as N, initializeIdCapture as O, stopStream as P, WasmUtilProvider 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, processId as j, pauseRecordingForAttempt 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 };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-f3WO6oLB.esm.js";
|
|
2
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-BzUg_tWP.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.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 isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
6
6
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
8
8
|
import { s as queryCameraPermission } from "./permissionServices-Bj_fyWtv.esm.js";
|
|
9
|
-
import { n as startRecording, r as stopRecording$1, t as createRecordingSession } from "./recordingsRepository-CCWy13M-.esm.js";
|
|
10
9
|
import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-BOtyQowf.esm.js";
|
|
11
10
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
12
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
13
|
-
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
11
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
|
|
12
|
+
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CbZtSYMj.esm.js";
|
|
14
13
|
//#region src/internal/camera/cameraServices.ts
|
|
15
14
|
function createCameraServices(camera) {
|
|
16
15
|
return {
|
|
@@ -569,50 +568,10 @@ async function uploadIdImage(params) {
|
|
|
569
568
|
throw new Error(`${ID_ERROR_CODES.UPLOAD_ERROR}: ${errorMessage}`);
|
|
570
569
|
}
|
|
571
570
|
}
|
|
572
|
-
function buildStandardResolution(width, height) {
|
|
573
|
-
return height > width ? {
|
|
574
|
-
width: 1080,
|
|
575
|
-
height: 1920
|
|
576
|
-
} : {
|
|
577
|
-
width: 1920,
|
|
578
|
-
height: 1080
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
function buildResolutionFromStream(stream) {
|
|
582
|
-
const track = stream.getVideoTracks()[0];
|
|
583
|
-
if (!track) return "1080x1920";
|
|
584
|
-
const settings = track.getSettings();
|
|
585
|
-
const width = settings.width;
|
|
586
|
-
const height = settings.height;
|
|
587
|
-
if (typeof width === "number" && typeof height === "number") {
|
|
588
|
-
const standard = buildStandardResolution(width, height);
|
|
589
|
-
return `${standard.width}x${standard.height}`;
|
|
590
|
-
}
|
|
591
|
-
return "1080x1920";
|
|
592
|
-
}
|
|
593
|
-
function preloadIdRecordingProvider(config) {}
|
|
594
571
|
const multipartIdSessions = /* @__PURE__ */ new WeakMap();
|
|
595
|
-
const legacyIdRecordingStreams = /* @__PURE__ */ new WeakMap();
|
|
596
572
|
const idRecordingFinalizations = /* @__PURE__ */ new WeakMap();
|
|
597
|
-
|
|
598
|
-
const
|
|
599
|
-
function createMultipartSessionHandle(service, compositor, recordingSource, resolution, hasAudio) {
|
|
600
|
-
const session = {
|
|
601
|
-
token: "",
|
|
602
|
-
sessionId: "",
|
|
603
|
-
videoRecordingId: "",
|
|
604
|
-
connection: {
|
|
605
|
-
sessionId: void 0,
|
|
606
|
-
publisher: {
|
|
607
|
-
getStreamId: () => void 0,
|
|
608
|
-
replaceVideoTrack: async () => {},
|
|
609
|
-
destroy: () => {}
|
|
610
|
-
},
|
|
611
|
-
disconnect: async () => {}
|
|
612
|
-
},
|
|
613
|
-
resolution,
|
|
614
|
-
hasAudio
|
|
615
|
-
};
|
|
573
|
+
function createMultipartSessionHandle(service, compositor, recordingSource) {
|
|
574
|
+
const session = {};
|
|
616
575
|
multipartIdSessions.set(session, {
|
|
617
576
|
compositor,
|
|
618
577
|
needsVideoSourceReplacement: false,
|
|
@@ -639,46 +598,18 @@ async function startRecordingSession(params) {
|
|
|
639
598
|
if (multipartSession) multipartSession.recorderPaused = false;
|
|
640
599
|
return params.existing;
|
|
641
600
|
}
|
|
642
|
-
const
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
const
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
compositor.stop();
|
|
653
|
-
service.cleanup();
|
|
654
|
-
throw error;
|
|
655
|
-
}
|
|
656
|
-
return createMultipartSessionHandle(service, compositor, recordingSource, resolution, hasAudio);
|
|
601
|
+
const service = new MultipartRecordingService(params.type);
|
|
602
|
+
const recordingSource = params.stream.clone();
|
|
603
|
+
const compositor = new CameraCompositor({ fps: 30 });
|
|
604
|
+
try {
|
|
605
|
+
const recordingStream = compositor.start(recordingSource);
|
|
606
|
+
await service.start(recordingStream);
|
|
607
|
+
} catch (error) {
|
|
608
|
+
compositor.stop();
|
|
609
|
+
service.cleanup();
|
|
610
|
+
throw error;
|
|
657
611
|
}
|
|
658
|
-
|
|
659
|
-
const clonedStream = params.stream.clone();
|
|
660
|
-
const session = await createRecordingSession(params.type);
|
|
661
|
-
const connection = await provider.connect({
|
|
662
|
-
sessionToken: session.token,
|
|
663
|
-
stream: clonedStream,
|
|
664
|
-
events: {}
|
|
665
|
-
});
|
|
666
|
-
await startRecording({
|
|
667
|
-
videoRecordingId: session.videoRecordingId,
|
|
668
|
-
type: params.type,
|
|
669
|
-
resolution,
|
|
670
|
-
hasAudio
|
|
671
|
-
});
|
|
672
|
-
const recordingSession = {
|
|
673
|
-
token: session.token,
|
|
674
|
-
sessionId: session.sessionId,
|
|
675
|
-
videoRecordingId: session.videoRecordingId,
|
|
676
|
-
connection,
|
|
677
|
-
resolution,
|
|
678
|
-
hasAudio
|
|
679
|
-
};
|
|
680
|
-
legacyIdRecordingStreams.set(recordingSession, clonedStream);
|
|
681
|
-
return recordingSession;
|
|
612
|
+
return createMultipartSessionHandle(service, compositor, recordingSource);
|
|
682
613
|
}
|
|
683
614
|
function pauseRecordingForAttempt(session) {
|
|
684
615
|
const multipartSession = multipartIdSessions.get(session);
|
|
@@ -693,25 +624,6 @@ function prepareRecordingForCameraRetry(session) {
|
|
|
693
624
|
multipartSession.recordingSource.getVideoTracks().forEach((track) => track.stop());
|
|
694
625
|
multipartSession.needsVideoSourceReplacement = true;
|
|
695
626
|
}
|
|
696
|
-
function releaseLegacyRecordingResources(session) {
|
|
697
|
-
if (releasedLegacyIdRecordings.has(session)) return;
|
|
698
|
-
releasedLegacyIdRecordings.add(session);
|
|
699
|
-
try {
|
|
700
|
-
session.connection.publisher.destroy();
|
|
701
|
-
} catch {}
|
|
702
|
-
const clonedStream = legacyIdRecordingStreams.get(session);
|
|
703
|
-
legacyIdRecordingStreams.delete(session);
|
|
704
|
-
for (const track of clonedStream?.getTracks() ?? []) try {
|
|
705
|
-
track.stop();
|
|
706
|
-
} catch {}
|
|
707
|
-
}
|
|
708
|
-
function disconnectLegacyRecording(session) {
|
|
709
|
-
const existing = legacyIdDisconnects.get(session);
|
|
710
|
-
if (existing) return existing;
|
|
711
|
-
const disconnect = session.connection.disconnect();
|
|
712
|
-
legacyIdDisconnects.set(session, disconnect);
|
|
713
|
-
return disconnect;
|
|
714
|
-
}
|
|
715
627
|
/**
|
|
716
628
|
* Fully drains an ID recording before the protected camera cycle runs POC.
|
|
717
629
|
* Every recorder clone is stopped before this promise settles.
|
|
@@ -720,21 +632,14 @@ async function finalizeRecordingSession(session) {
|
|
|
720
632
|
const existing = idRecordingFinalizations.get(session);
|
|
721
633
|
if (existing) return existing;
|
|
722
634
|
const multipartSession = multipartIdSessions.get(session);
|
|
723
|
-
|
|
635
|
+
if (!multipartSession) return {};
|
|
636
|
+
const finalization = (async () => {
|
|
724
637
|
multipartIdSessions.delete(session);
|
|
725
638
|
try {
|
|
726
639
|
return await multipartSession.service.stop();
|
|
727
640
|
} finally {
|
|
728
641
|
multipartSession.compositor.stop();
|
|
729
642
|
}
|
|
730
|
-
})() : (async () => {
|
|
731
|
-
try {
|
|
732
|
-
await stopRecording$1(session.videoRecordingId);
|
|
733
|
-
return { recordingId: session.videoRecordingId || null };
|
|
734
|
-
} finally {
|
|
735
|
-
releaseLegacyRecordingResources(session);
|
|
736
|
-
await disconnectLegacyRecording(session);
|
|
737
|
-
}
|
|
738
643
|
})();
|
|
739
644
|
idRecordingFinalizations.set(session, finalization);
|
|
740
645
|
return finalization;
|
|
@@ -747,10 +652,7 @@ function disposeRecordingSession(session) {
|
|
|
747
652
|
const finalization = multipartSession.service.stop().finally(() => multipartSession.compositor.stop());
|
|
748
653
|
idRecordingFinalizations.set(session, finalization);
|
|
749
654
|
finalization.catch(() => {});
|
|
750
|
-
return;
|
|
751
655
|
}
|
|
752
|
-
releaseLegacyRecordingResources(session);
|
|
753
|
-
disconnectLegacyRecording(session).catch(() => {});
|
|
754
656
|
}
|
|
755
657
|
function stopRecording(session) {
|
|
756
658
|
finalizeRecordingSession(session).catch(() => {});
|
|
@@ -830,4 +732,4 @@ async function addBarcode(params) {
|
|
|
830
732
|
return res.data;
|
|
831
733
|
}
|
|
832
734
|
//#endregion
|
|
833
|
-
export {
|
|
735
|
+
export { resolveCaptureOptimizingTreatment as _, getRealQualityValue as a, OPTIMIZING_WATCHDOG_MARGIN_MS as b, prepareRecordingForCameraRetry as c, stopRecording as d, stopStream as f, ID_ERROR_CODES as g, validateUploadResponse as h, finalizeRecordingSession as i, processId as l, uploadManualIdFile as m, barcodeToBase64 as n, initializeIdCapture as o, uploadIdImage as p, disposeRecordingSession as r, pauseRecordingForAttempt as s, addBarcode as t, startRecordingSession as u, resolveIdCaptureThresholds as v, getIdCameraStream as x, CAPTURE_OPTIMIZING as y };
|
package/dist/{idCaptureStateMachine-BAssHKV8.esm.js → idCaptureStateMachine-BLv_lgkI.esm.js}
RENAMED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-f3WO6oLB.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
4
|
+
import { s as exposeExperimentOnce } from "./feature-management-BzUg_tWP.esm.js";
|
|
5
5
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
6
6
|
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-
|
|
7
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-DNBVNjG-.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-CFEKHQc8.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-BpqBgtpK.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
18
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Bj_fyWtv.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-
|
|
19
|
+
import { i as imageFileToDataUrl, n as runProtectedAttempt, o as flagIdManualReview, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
|
|
20
20
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
21
21
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-uYZYFu4J.esm.js";
|
|
22
|
-
import {
|
|
22
|
+
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
23
23
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
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-CbZtSYMj.esm.js";
|
|
28
|
+
import { a as getRealQualityValue, b as OPTIMIZING_WATCHDOG_MARGIN_MS, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, g as ID_ERROR_CODES, h as validateUploadResponse, i as finalizeRecordingSession, l as processId, m as uploadManualIdFile, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, t as addBarcode, u as startRecordingSession, v as resolveIdCaptureThresholds, x as getIdCameraStream, y as CAPTURE_OPTIMIZING } from "./idCaptureServices-CEux1c0H.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-CXNfGruR.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-CXNfGruR.esm.js")).loadDeepsightSession(input)) {
|
|
2228
2228
|
let disposed = false;
|
|
2229
2229
|
let preparation;
|
|
2230
2230
|
let service;
|
|
@@ -3884,10 +3884,6 @@ const idCaptureMachine = setup({
|
|
|
3884
3884
|
reportCaptureOptimizingAssignment: ({ context }) => {
|
|
3885
3885
|
performReportCaptureOptimizingAssignment(context);
|
|
3886
3886
|
},
|
|
3887
|
-
preloadRecordingProvider: ({ context }) => {
|
|
3888
|
-
if (isCaptureOnlyConfig(context.config)) return;
|
|
3889
|
-
context.config;
|
|
3890
|
-
},
|
|
3891
3887
|
resetContext: assign(({ context }) => getResetContextValues(context)),
|
|
3892
3888
|
resetDetection: () => {},
|
|
3893
3889
|
captureImage: assign({ qualityElements: ({ event }) => {
|
|
@@ -4311,7 +4307,7 @@ const idCaptureMachine = setup({
|
|
|
4311
4307
|
}] }
|
|
4312
4308
|
},
|
|
4313
4309
|
loading: {
|
|
4314
|
-
entry:
|
|
4310
|
+
entry: "startProtectedMetadataPreparation",
|
|
4315
4311
|
type: "parallel",
|
|
4316
4312
|
states: {
|
|
4317
4313
|
permissionCheck: {
|
|
@@ -4344,11 +4340,7 @@ const idCaptureMachine = setup({
|
|
|
4344
4340
|
},
|
|
4345
4341
|
tutorial: {
|
|
4346
4342
|
initial: "checkingPermission",
|
|
4347
|
-
entry: [
|
|
4348
|
-
"startProtectedMetadataPreparation",
|
|
4349
|
-
"trackTutorialId",
|
|
4350
|
-
"preloadRecordingProvider"
|
|
4351
|
-
],
|
|
4343
|
+
entry: ["startProtectedMetadataPreparation", "trackTutorialId"],
|
|
4352
4344
|
states: {
|
|
4353
4345
|
checkingPermission: {
|
|
4354
4346
|
invoke: {
|
|
@@ -4461,7 +4453,6 @@ const idCaptureMachine = setup({
|
|
|
4461
4453
|
}
|
|
4462
4454
|
},
|
|
4463
4455
|
permissions: {
|
|
4464
|
-
entry: "preloadRecordingProvider",
|
|
4465
4456
|
initial: "idle",
|
|
4466
4457
|
states: {
|
|
4467
4458
|
idle: {
|
|
@@ -4555,7 +4546,6 @@ const idCaptureMachine = setup({
|
|
|
4555
4546
|
initial: "checkingStream",
|
|
4556
4547
|
entry: [
|
|
4557
4548
|
"trackCameraId",
|
|
4558
|
-
"preloadRecordingProvider",
|
|
4559
4549
|
"initializeProtectedProvider",
|
|
4560
4550
|
"bindProtectedAttempt",
|
|
4561
4551
|
"startProtectedAttempt"
|
|
@@ -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
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-BFDI7iFK.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -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 };
|
|
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
108
108
|
type: "setError";
|
|
109
109
|
params: NonReducibleUnknown;
|
|
110
110
|
};
|
|
111
|
-
clearError: {
|
|
112
|
-
type: "clearError";
|
|
113
|
-
params: NonReducibleUnknown;
|
|
114
|
-
};
|
|
115
111
|
setSelectedDocument: {
|
|
116
112
|
type: "setSelectedDocument";
|
|
117
113
|
params: NonReducibleUnknown;
|
|
118
114
|
};
|
|
115
|
+
clearError: {
|
|
116
|
+
type: "clearError";
|
|
117
|
+
params: NonReducibleUnknown;
|
|
118
|
+
};
|
|
119
119
|
}>, Values<{
|
|
120
120
|
hasDocuments: {
|
|
121
121
|
type: "hasDocuments";
|
|
@@ -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.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-f3WO6oLB.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-9_esGTPj.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-Csfl7_XQ.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -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();
|