@incodetech/core 2.5.0-agentic.1 → 2.5.0-agentic.3
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/{FaceDetectionProvider-Cy2EAL0i.esm.js → FaceDetectionProvider-CAPKXGuF.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-B9-B3cMq.esm.js → apiError-CmvdtW2M.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DNWtc0eq.esm.js → authenticationManager-CsioEjTk.esm.js} +3 -3
- package/dist/{authenticationManager-CkD0JR7Q.d.ts → authenticationManager-D_dz2zK4.d.ts} +1 -1
- package/dist/{authenticationStateMachine-CJ9i4Al-.esm.js → authenticationStateMachine-BoGEvdpR.esm.js} +3 -3
- package/dist/{browser-pQZA35G2-B4Dwja1e.esm.js → browser-pQZA35G2-DveVe0Ui.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-CMed_O5F.d.ts} +8 -8
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-HOidAKvT.d.ts → curpValidationManager-tNhzv7vZ.d.ts} +1 -1
- package/dist/{deepsightCaptureConfig-BxD3mSac.esm.js → deepsightCaptureConfig-tYJhVK_Z.esm.js} +2 -2
- package/dist/{deepsightLoader-KYZP8_x-.esm.js → deepsightLoader-VASYET0q.esm.js} +4 -4
- package/dist/{desktopCameraElection-BGQRIA2u.esm.js → desktopCameraElection-Bx8PyF2-.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-Bul0b4KJ.d.ts} +5 -5
- package/dist/{documentSignatureStateMachine-CLljjltG.esm.js → documentSignatureStateMachine-BeA6fc5n.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CnU2hRvl.esm.js → dynamicFormsManager-f5Uyu4UK.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-huYmjamB.esm.js → dynamicFormsStateMachine-Dkug_fKn.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CaEErq39.esm.js → ekybManager-KiG_tDCV.esm.js} +1 -1
- package/dist/{ekybStateMachine-BIU8KIMv.esm.js → ekybStateMachine-dDlZntM8.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-D2K8AaMV.esm.js → ekycManager-SUIAHlrm.esm.js} +1 -1
- package/dist/{ekycManager-DusmB-4j.d.ts → ekycManager-mv2rWxc4.d.ts} +1 -1
- package/dist/{ekycPrefillManager-CENQjdNq.esm.js → ekycPrefillManager-BsFZnV2a.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-QKqXYPH_.d.ts} +5 -5
- package/dist/{ekycPrefillStateMachine-jT3hIt2X.esm.js → ekycPrefillStateMachine-B6ZTcy7R.esm.js} +21 -4
- package/dist/{ekycStateMachine-6EKndBd7.esm.js → ekycStateMachine-Czn2CaTV.esm.js} +134 -3
- package/dist/{ekycUtils-C6HZB46m.esm.js → ekycUtils-BnTyeA-_.esm.js} +12 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-wM8WTgzP.esm.js → electronicSignatureManager-BIjhPcO0.esm.js} +1 -1
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-DbEARG3h.esm.js → faceCaptureManagerFactory-6Hk2GxNz.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-D1EJw36F.d.ts → faceCaptureManagerFactory-B1WfKaGJ.d.ts} +3 -3
- package/dist/{faceCaptureSetup-VaAjMpWX.esm.js → faceCaptureSetup-BM0mj2GE.esm.js} +7 -7
- package/dist/{feature-management-D7oLtULO.esm.js → feature-management-DG39VwqE.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CIjaIpMH.esm.js → flowCompletionService-QycHxT5Z.esm.js} +1 -1
- package/dist/{flowServices-Dqt75TXx.esm.js → flowServices-5d7en_Aq.esm.js} +5 -5
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationManager-DHfgXhEs.esm.js → geolocationManager-_DJwOuei.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CrEspaN-.esm.js → geolocationStateMachine-CyjGgKJ7.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BPDCAV04.esm.js → idCaptureManager-BjTr4lOA.esm.js} +4 -4
- package/dist/{idCaptureManager-CNFBeYgV.d.ts → idCaptureManager-DXqvtLr9.d.ts} +2 -2
- package/dist/{idCaptureServices-CWZFmS7l.esm.js → idCaptureServices-D6sRW-qd.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-Cyt2BvPB.esm.js → idCaptureStateMachine-BBlWr1aL.esm.js} +45 -25
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/{index-BMr3MZEI.d.ts → index-B3BI8mVu.d.ts} +32 -4
- package/dist/{index-BoGlwLGK.d.ts → index-BnKhmWhM.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-BF2vf0Q2.esm.js → kybChecksManager-Cpm2waJh.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-oBQfgdka.esm.js → kybChecksStateMachine-Cg96E65N.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-BcxCesP5.d.ts → mandatoryConsentManager-D2LkPii6.d.ts} +9 -9
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DK3kjUby.esm.js → recordingService-wGNpJV_s.esm.js} +1 -1
- package/dist/{runChildModule-x1rrxjYY.esm.js → runChildModule-DCXy_h7V.esm.js} +1 -1
- package/dist/{numericRange-2e1vw1W0.esm.js → scriptCharacters-D7swUycV.esm.js} +13 -1
- package/dist/{sdkVersion-kRh5h82H.esm.js → sdkVersion-CzRrIbvf.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-B9GfiS9f.esm.js → selfieErrorUtils-DFJC36jx.esm.js} +1 -1
- package/dist/{selfieManager-CqDlUy6B.d.ts → selfieManager-B2j448t4.d.ts} +1 -1
- package/dist/{selfieManager-CivYjnF5.esm.js → selfieManager-KXkwfGvO.esm.js} +3 -3
- package/dist/{selfieStateMachine-dLwrXWll.esm.js → selfieStateMachine-CqHL6qf_.esm.js} +3 -3
- package/dist/{session-DeJ-rd9u.esm.js → session-DhNeT_WW.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-uZgyxsrL.esm.js → sessionInitializer-CfF_kFfS.esm.js} +6 -6
- package/dist/{setup-D0QZHkS8.esm.js → setup-BoCn7daH.esm.js} +8 -7
- package/dist/{setup-Cr2KCwau.d.ts → setup-DprzbOsJ.d.ts} +1 -1
- package/dist/tri-D5hWs0qJ.esm.js +559 -0
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-CftnGf9w.esm.js → tri.esm-DnXGKdlE.esm.js} +1296 -1057
- package/dist/tri.esm.js +1 -1
- package/dist/trueSight-CXzqdA0V.esm.js +1 -0
- package/dist/{trueSightService-BMp8g65B.esm.js → trueSightService-BYsRo-fK.esm.js} +1 -1
- package/dist/{types-BZsmNYom.d.ts → types-BFoC3IpR.d.ts} +2 -2
- package/dist/{types-PnJXvTkV.d.ts → types-BkxI3PHf.d.ts} +1 -1
- package/dist/{types-D-FEM1rT.d.ts → types-BxJWsAHc.d.ts} +4 -4
- package/dist/{types-HHgsFhZn.d.ts → types-CAzi8tyi.d.ts} +1 -1
- package/dist/types-CEdI4tfR.d.ts +6 -0
- package/dist/{types-tOSLpcSa.d.ts → types-CkzE2gPZ.d.ts} +5 -0
- package/dist/{types-LbccjQYX.d.ts → types-DuARPzVa.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-BpP0_lDr.esm.js → videoSelfieCameraWarmer-Co4dAC64.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-CxOc3kSI.d.ts → videoSelfieStepDetector-CrlbZ-rN.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +19 -19
- package/package.json +4 -3
- package/dist/tri-D_gHPWrq.esm.js +0 -402
- package/dist/trueSight-CbrZUzLx.esm.js +0 -1
- package/dist/types-BinnzVrL.d.ts +0 -6
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BoCn7daH.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-5d7en_Aq.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
8
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
9
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
9
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-CAPKXGuF.esm.js";
|
|
10
10
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CNopPetU.esm.js";
|
|
12
|
-
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
12
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-D6sRW-qd.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
14
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
15
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
14
|
+
import { n as getFinishStatus } from "./flowCompletionService-QycHxT5Z.esm.js";
|
|
15
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Co4dAC64.esm.js";
|
|
16
16
|
import { t as CameraCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
17
17
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
18
18
|
/** Default autocapture window for the selfie step. */
|
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
3
|
-
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-
|
|
3
|
+
import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-DXqvtLr9.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
5
|
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
6
|
-
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
6
|
+
import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BxJWsAHc.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
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-BBlWr1aL.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BjTr4lOA.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-D6sRW-qd.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BoCn7daH.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
4
4
|
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
@@ -12,9 +12,9 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Bw-P5OG1.esm.js";
|
|
|
12
12
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
13
13
|
import { i as primeMotionFromUserGestureIfNeeded, l as resetWasmMotionPrimedForModule, s as requiresMotionPermissionUserGesture } from "./permissionServices-Vd86JiW9.esm.js";
|
|
14
14
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
15
|
-
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-
|
|
16
|
-
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
17
|
-
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
15
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-tYJhVK_Z.esm.js";
|
|
16
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-BBlWr1aL.esm.js";
|
|
17
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-D6sRW-qd.esm.js";
|
|
18
18
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
|
|
19
19
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
20
20
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -5,14 +5,14 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-DHuAkTe0.js";
|
|
7
7
|
import "./createFaceAvatar-Ct9QrQ66.js";
|
|
8
|
-
import { a as RegulationTypes } from "./types-
|
|
8
|
+
import { a as RegulationTypes } from "./types-BFoC3IpR.js";
|
|
9
9
|
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
10
10
|
import { n as PermissionStatus } from "./types-CeEcakO7.js";
|
|
11
11
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
|
|
12
12
|
import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
13
13
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
14
14
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
15
|
-
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
15
|
+
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BxJWsAHc.js";
|
|
16
16
|
//#region src/internal/http/endpoints.d.ts
|
|
17
17
|
/**
|
|
18
18
|
* Backend `CaptureType` for the `captureType` query param on `add/front-id`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BoCn7daH.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
|
-
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DG39VwqE.esm.js";
|
|
4
4
|
import { r as isDesktop } from "./platform-GIg4uPWe.esm.js";
|
|
5
5
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
6
6
|
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
package/dist/{idCaptureStateMachine-Cyt2BvPB.esm.js → idCaptureStateMachine-BBlWr1aL.esm.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-BoCn7daH.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
|
|
4
4
|
import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
|
|
5
5
|
import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
6
6
|
import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
7
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
8
|
-
import "./trueSight-
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
7
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BYsRo-fK.esm.js";
|
|
8
|
+
import "./trueSight-CXzqdA0V.esm.js";
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-CfF_kFfS.esm.js";
|
|
10
10
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
11
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
11
|
+
import { s as exposeExperimentOnce } from "./feature-management-DG39VwqE.esm.js";
|
|
12
12
|
import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
|
|
13
13
|
import { d as isSamsungDevice, i as isIOS, l as isMacOsSafari, o as isIPad, s as isIPhone14OrHigher, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
|
|
14
|
-
import "./session-
|
|
14
|
+
import "./session-DhNeT_WW.esm.js";
|
|
15
15
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
16
16
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
17
17
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -20,8 +20,8 @@ import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
|
|
|
20
20
|
import { a as requestMotionPermission, d as queryPermission, n as checkPermission, r as invokeRequestPermissionActor, s as requiresMotionPermissionUserGesture, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-Vd86JiW9.esm.js";
|
|
21
21
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
22
22
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
23
|
-
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-
|
|
24
|
-
import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
23
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-tYJhVK_Z.esm.js";
|
|
24
|
+
import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-Bx8PyF2-.esm.js";
|
|
25
25
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
26
26
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CZTCRHT-.esm.js";
|
|
27
27
|
import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
|
|
@@ -30,7 +30,7 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
30
30
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
31
31
|
import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
32
32
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CNopPetU.esm.js";
|
|
33
|
-
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-
|
|
33
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-D6sRW-qd.esm.js";
|
|
34
34
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
35
35
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
36
36
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -915,48 +915,48 @@ const DIGITAL_ID_REGISTRY = {
|
|
|
915
915
|
}, {
|
|
916
916
|
kind: "trinsicRedirect",
|
|
917
917
|
documentType: "digitalIdRedirect",
|
|
918
|
-
providerId: "
|
|
918
|
+
providerId: "mdl_placeholder",
|
|
919
919
|
method: "MDL"
|
|
920
920
|
}],
|
|
921
921
|
iDIN: [{
|
|
922
922
|
kind: "trinsicRedirect",
|
|
923
923
|
documentType: "digitalIdRedirect",
|
|
924
|
-
providerId: "
|
|
924
|
+
providerId: "netherlands_idin",
|
|
925
925
|
method: "IDIN",
|
|
926
926
|
countries: ["NL"]
|
|
927
927
|
}],
|
|
928
928
|
FTN: [{
|
|
929
929
|
kind: "trinsicRedirect",
|
|
930
930
|
documentType: "digitalIdRedirect",
|
|
931
|
-
providerId: "
|
|
931
|
+
providerId: "finnish_trust_network",
|
|
932
932
|
method: "FTN",
|
|
933
933
|
countries: ["FI"]
|
|
934
934
|
}],
|
|
935
935
|
itsme: [{
|
|
936
936
|
kind: "trinsicRedirect",
|
|
937
937
|
documentType: "digitalIdRedirect",
|
|
938
|
-
providerId: "
|
|
938
|
+
providerId: "belgium_itsme",
|
|
939
939
|
method: "ITSME",
|
|
940
940
|
countries: ["BE"]
|
|
941
941
|
}],
|
|
942
942
|
SPID: [{
|
|
943
943
|
kind: "trinsicRedirect",
|
|
944
944
|
documentType: "digitalIdRedirect",
|
|
945
|
-
providerId: "
|
|
945
|
+
providerId: "italy_spid",
|
|
946
946
|
method: "SPID",
|
|
947
947
|
countries: ["IT"]
|
|
948
948
|
}],
|
|
949
949
|
MitID: [{
|
|
950
950
|
kind: "trinsicRedirect",
|
|
951
951
|
documentType: "digitalIdRedirect",
|
|
952
|
-
providerId: "
|
|
952
|
+
providerId: "denmark_mitid",
|
|
953
953
|
method: "MITID",
|
|
954
954
|
countries: ["DK"]
|
|
955
955
|
}],
|
|
956
956
|
BankIDSweden: [{
|
|
957
957
|
kind: "trinsicRedirect",
|
|
958
958
|
documentType: "digitalIdRedirect",
|
|
959
|
-
providerId: "
|
|
959
|
+
providerId: "sweden_bankid",
|
|
960
960
|
method: "BANKID_SWEDEN",
|
|
961
961
|
countries: ["SE"]
|
|
962
962
|
}],
|
|
@@ -970,21 +970,21 @@ const DIGITAL_ID_REGISTRY = {
|
|
|
970
970
|
IdentiteNumerique: [{
|
|
971
971
|
kind: "trinsicRedirect",
|
|
972
972
|
documentType: "digitalIdRedirect",
|
|
973
|
-
providerId: "
|
|
973
|
+
providerId: "france_identite_numerique",
|
|
974
974
|
method: "IDENTITE_NUMERIQUE",
|
|
975
975
|
countries: ["FR"]
|
|
976
976
|
}],
|
|
977
977
|
LAWallet: [{
|
|
978
978
|
kind: "trinsicRedirect",
|
|
979
979
|
documentType: "digitalIdRedirect",
|
|
980
|
-
providerId: "
|
|
980
|
+
providerId: "usa_louisiana_wallet",
|
|
981
981
|
method: "LA_WALLET",
|
|
982
982
|
countries: ["US"]
|
|
983
983
|
}],
|
|
984
984
|
DigiLocker: [{
|
|
985
985
|
kind: "trinsicRedirect",
|
|
986
986
|
documentType: "digitalIdRedirect",
|
|
987
|
-
providerId: "
|
|
987
|
+
providerId: "india_digilocker_aadhaar",
|
|
988
988
|
method: "DIGILOCKER",
|
|
989
989
|
countries: ["IN"]
|
|
990
990
|
}]
|
|
@@ -1031,6 +1031,23 @@ const REDIRECT_PROVIDER_BY_METHOD = (() => {
|
|
|
1031
1031
|
for (const docType of DIGITAL_ID_DOCUMENT_TYPES) for (const entry of DIGITAL_ID_REGISTRY[docType]) if (entry.kind === "trinsicRedirect") map[entry.method] = entry.providerId;
|
|
1032
1032
|
return map;
|
|
1033
1033
|
})();
|
|
1034
|
+
/** The registry's redirect provider ids, in their public (platform-neutral) form. */
|
|
1035
|
+
const REGISTRY_REDIRECT_PROVIDER_IDS = new Set(Object.values(REDIRECT_PROVIDER_BY_METHOD));
|
|
1036
|
+
/** Prefix backends released before the platform-neutral ids put on provider ids. */
|
|
1037
|
+
const LEGACY_PROVIDER_ID_PREFIX = "trinsic_";
|
|
1038
|
+
/**
|
|
1039
|
+
* The public provider id for an id a backend sent. Backends released before the
|
|
1040
|
+
* platform-neutral ids enrich methods with the platform-prefixed form
|
|
1041
|
+
* (`trinsic_netherlands_idin`); this maps it to the registry id
|
|
1042
|
+
* (`netherlands_idin`) so ranking, the funnel and the create call see one id.
|
|
1043
|
+
* Ids the registry does not know (other catalog providers, test mocks) pass
|
|
1044
|
+
* through unchanged — the backend accepts both forms.
|
|
1045
|
+
*/
|
|
1046
|
+
function toPublicProviderId(providerId) {
|
|
1047
|
+
if (!providerId.startsWith(LEGACY_PROVIDER_ID_PREFIX)) return providerId;
|
|
1048
|
+
const unprefixed = providerId.slice(8);
|
|
1049
|
+
return REGISTRY_REDIRECT_PROVIDER_IDS.has(unprefixed) ? unprefixed : providerId;
|
|
1050
|
+
}
|
|
1034
1051
|
/**
|
|
1035
1052
|
* BACK-COMPAT ONLY: catalog provider id → the countries it serves, from the
|
|
1036
1053
|
* registry. Lets the chooser rank redirect providers by country when the
|
|
@@ -1068,7 +1085,7 @@ function resolveRedirectProviderId(method) {
|
|
|
1068
1085
|
if (method.flowType) {
|
|
1069
1086
|
if (!isProviderLaunchFlowType(method.flowType)) return;
|
|
1070
1087
|
const explicit = method.provider ?? method.providerId;
|
|
1071
|
-
if (explicit) return explicit;
|
|
1088
|
+
if (explicit) return toPublicProviderId(explicit);
|
|
1072
1089
|
}
|
|
1073
1090
|
return method.method ? REDIRECT_PROVIDER_BY_METHOD[method.method.toUpperCase()] : void 0;
|
|
1074
1091
|
}
|
|
@@ -1183,11 +1200,14 @@ function isEntryActive(entry, config, platform) {
|
|
|
1183
1200
|
* `normalizeDigitalIdMethods`.
|
|
1184
1201
|
*/
|
|
1185
1202
|
function findConfiguredMethod(entry, config) {
|
|
1186
|
-
return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider === entry.providerId && !!method.flowType && isProviderLaunchFlowType(method.flowType));
|
|
1203
|
+
return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider !== void 0 && toPublicProviderId(method.provider) === entry.providerId && !!method.flowType && isProviderLaunchFlowType(method.flowType));
|
|
1187
1204
|
}
|
|
1188
1205
|
/** Normalizes a raw configured method into the mapped shape for the child input. */
|
|
1189
1206
|
function toMappedMethod(entry, method) {
|
|
1190
|
-
if (method.flowType && isProviderLaunchFlowType(method.flowType)) return
|
|
1207
|
+
if (method.flowType && isProviderLaunchFlowType(method.flowType)) return {
|
|
1208
|
+
...method,
|
|
1209
|
+
provider: entry.providerId
|
|
1210
|
+
};
|
|
1191
1211
|
return {
|
|
1192
1212
|
method: method.method,
|
|
1193
1213
|
provider: entry.providerId,
|
|
@@ -1243,7 +1263,7 @@ function toRedirectMethod(method, provider) {
|
|
|
1243
1263
|
* backend `configuration.digitalIds` object (`{ enabled, methods: [...] }`);
|
|
1244
1264
|
* for the raw shape the provider comes from the backend-enriched
|
|
1245
1265
|
* `providerId`/`flowType` when present, else from the persisted method name
|
|
1246
|
-
* via the digital-ID registry (`IDIN` → `
|
|
1266
|
+
* via the digital-ID registry (`IDIN` → `netherlands_idin`).
|
|
1247
1267
|
*/
|
|
1248
1268
|
function getDigitalIdRedirectMethod(config, providerId) {
|
|
1249
1269
|
for (const method of normalizeDigitalIdMethods(config)) {
|
|
@@ -2084,7 +2104,7 @@ fromPromise(async ({ input }) => {
|
|
|
2084
2104
|
});
|
|
2085
2105
|
fromPromise(async ({ input }) => {
|
|
2086
2106
|
if (!input.dependencies) return;
|
|
2087
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2107
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-VASYET0q.esm.js");
|
|
2088
2108
|
return loadDeepsightSession({
|
|
2089
2109
|
ds: input.ds,
|
|
2090
2110
|
storage: input.dependencies.storage,
|
|
@@ -2528,7 +2548,7 @@ function cleanup(service) {
|
|
|
2528
2548
|
service.cleanup();
|
|
2529
2549
|
} catch {}
|
|
2530
2550
|
}
|
|
2531
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2551
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-VASYET0q.esm.js")).loadDeepsightSession(input)) {
|
|
2532
2552
|
let disposed = false;
|
|
2533
2553
|
let preparation;
|
|
2534
2554
|
let service;
|
|
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
110
110
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
111
111
|
params: unknown;
|
|
112
112
|
};
|
|
113
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
113
|
+
}>, never, "error" | "idle" | "success" | "finished" | "inputting" | "submitting" | "loading" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
114
114
|
readonly id: "idOcr";
|
|
115
115
|
readonly initial: "idle";
|
|
116
116
|
readonly context: ({ input }: {
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-D_jiHp1n.js";
|
|
2
2
|
export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -138,14 +138,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
138
138
|
type: "setDocuments";
|
|
139
139
|
params: NonReducibleUnknown;
|
|
140
140
|
};
|
|
141
|
-
setError: {
|
|
142
|
-
type: "setError";
|
|
143
|
-
params: NonReducibleUnknown;
|
|
144
|
-
};
|
|
145
141
|
clearError: {
|
|
146
142
|
type: "clearError";
|
|
147
143
|
params: NonReducibleUnknown;
|
|
148
144
|
};
|
|
145
|
+
setError: {
|
|
146
|
+
type: "setError";
|
|
147
|
+
params: NonReducibleUnknown;
|
|
148
|
+
};
|
|
149
149
|
setSelectedDocument: {
|
|
150
150
|
type: "setSelectedDocument";
|
|
151
151
|
params: NonReducibleUnknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261130153510-2a00381e18ea88407aeb423f468bc502470035cb/node_modules/@incodetech/tri-sdk/dist/index.d.ts
|
|
2
2
|
type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | 'fpsignals';
|
|
3
3
|
/**
|
|
4
4
|
* The configurable sub-events of each collector key. For a key in
|
|
@@ -211,9 +211,19 @@ type TransactionalRiskIntelligenceSession = Session;
|
|
|
211
211
|
*/
|
|
212
212
|
type TransactionalRiskIntelligenceSessionOptions = {
|
|
213
213
|
apiURL?: string;
|
|
214
|
+
/** The public id of the website (source) the session belongs to. */
|
|
215
|
+
sourceId?: string;
|
|
214
216
|
signal?: AbortSignal;
|
|
215
217
|
timeout?: number;
|
|
216
218
|
};
|
|
219
|
+
/**
|
|
220
|
+
* Options for the exchange without an API key, from a browser: the source's
|
|
221
|
+
* public id, which the backend accepts only from the source's allowed origins.
|
|
222
|
+
*/
|
|
223
|
+
type TransactionalRiskIntelligenceSourceSessionOptions = Omit<TransactionalRiskIntelligenceSessionOptions, 'apiURL' | 'sourceId'> & {
|
|
224
|
+
apiURL: string;
|
|
225
|
+
sourceId: string;
|
|
226
|
+
};
|
|
217
227
|
//#endregion
|
|
218
228
|
//#region src/integrations/tri/types.d.ts
|
|
219
229
|
/**
|
|
@@ -283,9 +293,18 @@ declare function isTRIStarted(): boolean;
|
|
|
283
293
|
* than throwing.
|
|
284
294
|
*
|
|
285
295
|
* @param apiKey - Organization API key.
|
|
286
|
-
* @param options - Optional `apiURL`, `signal`, and `timeout
|
|
296
|
+
* @param options - Optional `apiURL`, `sourceId`, `signal`, and `timeout`.
|
|
287
297
|
*/
|
|
288
298
|
declare function createTRISession(apiKey: string, options?: TransactionalRiskIntelligenceSessionOptions): Promise<TransactionalRiskIntelligenceSession>;
|
|
299
|
+
/**
|
|
300
|
+
* Exchanges a source's public id for a short-lived TRI SDK token, without an
|
|
301
|
+
* API key, so it can run in the browser. The backend gives a token only to the
|
|
302
|
+
* source's allowed origins, and only where sources are turned on; elsewhere it
|
|
303
|
+
* refuses with 403.
|
|
304
|
+
*
|
|
305
|
+
* @param options - `apiURL` and `sourceId` (both required), `signal`, `timeout`.
|
|
306
|
+
*/
|
|
307
|
+
declare function createTRISession(options: TransactionalRiskIntelligenceSourceSessionOptions): Promise<TransactionalRiskIntelligenceSession>;
|
|
289
308
|
/**
|
|
290
309
|
* The id of TRI's current activity, for the host's server to send to the
|
|
291
310
|
* Decision API. Read it right before each request and never keep it: the
|
|
@@ -301,6 +320,14 @@ declare function getTRIActivityId(): string | null;
|
|
|
301
320
|
* default), also calls `start()` internally and returns `'started'` on
|
|
302
321
|
* success. Pass `autostart: false` to receive `'ready'` and start explicitly.
|
|
303
322
|
*
|
|
323
|
+
* A page has one TRI, shared by every copy of the SDK on it. When another
|
|
324
|
+
* copy, or an earlier call, has set it up, this reuses it, with a `[TRI]`
|
|
325
|
+
* warning: the result is `'started'`, or `'ready'` when it is not running.
|
|
326
|
+
* A config that differs in where TRI sends what gets `'init-failed'` instead:
|
|
327
|
+
* another `apiURL`, a token for another organization or source, other
|
|
328
|
+
* `capture`, `layers`, `collectors` or `apiVersion`, or another `sanitizeUrl`.
|
|
329
|
+
* After a failed setup, a new call sets TRI up again.
|
|
330
|
+
*
|
|
304
331
|
* TRI reports the SDK as its host: `{ platform: 'sdk2', version }`.
|
|
305
332
|
*
|
|
306
333
|
* @param config - Resolved TRI config (`token` and `apiURL` required).
|
|
@@ -321,8 +348,9 @@ declare function startTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
|
321
348
|
*/
|
|
322
349
|
declare function stopTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
323
350
|
/**
|
|
324
|
-
* Resets the TRI SDK to its initial state
|
|
325
|
-
*
|
|
351
|
+
* Resets the TRI SDK to its initial state, so that a subsequent `setupTRI` /
|
|
352
|
+
* `startTRI` can begin fresh. It resets the page's one TRI, also for the
|
|
353
|
+
* script tag and every other copy of the SDK on the page.
|
|
326
354
|
*/
|
|
327
355
|
declare function resetTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
328
356
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-DufwKlav.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-BFoC3IpR.js";
|
|
3
3
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
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-DprzbOsJ.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-BoCn7daH.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Cg96E65N.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-Cpm2waJh.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
3
|
+
import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-Cg96E65N.esm.js";
|
|
4
4
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
5
5
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
6
6
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-oBQfgdka.esm.js → kybChecksStateMachine-Cg96E65N.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-CmvdtW2M.esm.js";
|
|
4
4
|
import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { r as MandatoryConsentConfig } from "./types-DuARPzVa.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-D2LkPii6.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BcxCesP5.d.ts → mandatoryConsentManager-D2LkPii6.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput,
|
|
|
2
2
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
4
|
import "./Actor-DqjOqDfU.js";
|
|
5
|
-
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-
|
|
5
|
+
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-DuARPzVa.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
7
7
|
type MandatoryConsentContext = {
|
|
8
8
|
config: MandatoryConsentConfig;
|
|
@@ -54,26 +54,26 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
54
54
|
type: "setConsent";
|
|
55
55
|
params: NonReducibleUnknown;
|
|
56
56
|
};
|
|
57
|
-
setError: {
|
|
58
|
-
type: "setError";
|
|
59
|
-
params: NonReducibleUnknown;
|
|
60
|
-
};
|
|
61
57
|
clearError: {
|
|
62
58
|
type: "clearError";
|
|
63
59
|
params: NonReducibleUnknown;
|
|
64
60
|
};
|
|
65
|
-
|
|
66
|
-
type: "
|
|
61
|
+
setError: {
|
|
62
|
+
type: "setError";
|
|
67
63
|
params: NonReducibleUnknown;
|
|
68
64
|
};
|
|
69
|
-
|
|
70
|
-
type: "
|
|
65
|
+
setLoadError: {
|
|
66
|
+
type: "setLoadError";
|
|
71
67
|
params: NonReducibleUnknown;
|
|
72
68
|
};
|
|
73
69
|
resetContext: {
|
|
74
70
|
type: "resetContext";
|
|
75
71
|
params: NonReducibleUnknown;
|
|
76
72
|
};
|
|
73
|
+
toggleSigned: {
|
|
74
|
+
type: "toggleSigned";
|
|
75
|
+
params: NonReducibleUnknown;
|
|
76
|
+
};
|
|
77
77
|
}>, Values<{
|
|
78
78
|
canSubmit: {
|
|
79
79
|
type: "canSubmit";
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BIjhPcO0.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
2
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
|
-
import { n as recordsLivenessClip } from "./deepsightCaptureConfig-
|
|
3
|
+
import { n as recordsLivenessClip } from "./deepsightCaptureConfig-tYJhVK_Z.esm.js";
|
|
4
4
|
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-Di_V9TnZ.esm.js";
|
|
6
6
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { C as createEventBus } from "./types-DLsivQsu.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BYsRo-fK.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
|
@@ -253,4 +253,16 @@ function isInNumericRange(value, min, max) {
|
|
|
253
253
|
return number >= min && number <= max;
|
|
254
254
|
}
|
|
255
255
|
//#endregion
|
|
256
|
-
|
|
256
|
+
//#region src/internal/forms/checks/scriptCharacters.ts
|
|
257
|
+
/** Each supported script as a regex class body, by its Unicode script name. */
|
|
258
|
+
const SCRIPT_PATTERNS = { Han: "\\p{Script=Han}" };
|
|
259
|
+
/**
|
|
260
|
+
* `scriptCharacters`: only characters from `scripts`, with no spaces, digits
|
|
261
|
+
* or punctuation.
|
|
262
|
+
*/
|
|
263
|
+
function hasScriptCharacters(value, scripts) {
|
|
264
|
+
const set = scripts.map((s) => SCRIPT_PATTERNS[s]).join("");
|
|
265
|
+
return new RegExp(`^[${set}]+$`, "u").test(value) && !/[\p{N}\p{P}\s]/u.test(value);
|
|
266
|
+
}
|
|
267
|
+
//#endregion
|
|
268
|
+
export { hasNameCharacters as a, isEmailFormat as c, resolvePrefill as d, isValidRut as f, isValidEsDni as h, isNotFuture as i, digitCountError as l, isValidFiPersonalIdentityCode as m, hasScriptCharacters as n, isWithinMaxAge as o, isValidInDrivingLicenseNumber as p, isInNumericRange as r, isPoBox as s, SCRIPT_PATTERNS as t, hasDigitCount as u };
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
4
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-
|
|
4
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-CAzi8tyi.js";
|
|
5
5
|
import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-B2j448t4.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|