@incodetech/core 0.0.0-dev-20261125-c2d32a87 → 0.0.0-dev-20261125-65fbd784
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-Bimayshb.esm.js → FaceDetectionProvider-UrN7k619.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-CVYAG2Z_.esm.js → apiError-CsuExqla.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CHVbmrts.esm.js → authenticationManager-Cbpz582r.esm.js} +3 -3
- package/dist/{authenticationStateMachine-ai6diJlx.esm.js → authenticationStateMachine-CH9TtEc6.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-B0YKqYtZ.d.ts} +4 -4
- package/dist/{deepsightCaptureConfig-O1T_84db.esm.js → deepsightCaptureConfig-RVaZFoEz.esm.js} +2 -2
- package/dist/{deepsightLoader-C5BVeFua.esm.js → deepsightLoader-Be1Bjk19.esm.js} +4 -4
- package/dist/{desktopCameraElection-lXQfiOdG.esm.js → desktopCameraElection-DHaOf19x.esm.js} +4 -4
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentSignatureStateMachine-BxpQqiYE.esm.js → documentSignatureStateMachine-DnfvJuoF.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C3Ql66XG.esm.js → dynamicFormsManager-SMPiIP9V.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Ca_iKFe_.esm.js → dynamicFormsStateMachine-g-GCXUfp.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DLfyUT5h.esm.js → ekybManager-Csz6Yln4.esm.js} +1 -1
- package/dist/{ekybStateMachine-eHQXDNRM.esm.js → ekybStateMachine-IzsMbVST.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-D-8VY48A.d.ts → ekycPrefillManager-BwmPXfhY.d.ts} +4 -4
- package/dist/{ekycPrefillManager-BQL2SIZ9.esm.js → ekycPrefillManager-DAdxVx71.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-DZlLystx.esm.js → ekycPrefillStateMachine-Dejlk4O7.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-E1n1Kwbs.esm.js → electronicSignatureManager-zgzamcm1.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +12 -12
- package/dist/{faceCaptureManagerFactory-BKGc2B3n.esm.js → faceCaptureManagerFactory-C8a6AyaE.esm.js} +2 -2
- package/dist/{faceCaptureSetup-B2yCpiPO.esm.js → faceCaptureSetup-BViX3dHW.esm.js} +7 -7
- package/dist/{feature-management-CdDXzSfd.esm.js → feature-management-DZv3-5N-.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DE0XYT8d.esm.js → flowCompletionService-DIGIkFDm.esm.js} +1 -1
- package/dist/{flowServices-CJKw69cc.esm.js → flowServices-B1lJmQ2F.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CJCfbJ8E.esm.js → geolocationManager-DFinMPWo.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DPK_cROM.esm.js → geolocationStateMachine-27nczfaJ.esm.js} +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-CNwUiiIB.esm.js → idCaptureManager-BYyDEMJw.esm.js} +18 -12
- package/dist/{idCaptureManager-jqxUGv_1.d.ts → idCaptureManager-CNFBeYgV.d.ts} +18 -3
- package/dist/{idCaptureServices-s2DYAtCw.esm.js → idCaptureServices-CP98fZUe.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-5knMuyFv.esm.js → idCaptureStateMachine-Ddj9SOMp.esm.js} +76 -27
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-Bt3_ltDe.esm.js → kybChecksManager-Dg9BsU9Y.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-C1u53dmF.esm.js → kybChecksStateMachine-HBHyQLgV.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-aij01joJ.d.ts → mandatoryConsentManager-BcxCesP5.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BBdqhPOF.esm.js → recordingService-CjvUTbJ2.esm.js} +1 -1
- package/dist/{runChildModule-DwZbVWtY.esm.js → runChildModule-CgRyonpB.esm.js} +1 -1
- package/dist/{sdkVersion-ct4LTGVB.esm.js → sdkVersion-DCCBTate.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-CMmldcbZ.esm.js → selfieErrorUtils-bGh4PR_u.esm.js} +1 -1
- package/dist/{selfieManager-CJvjDZXw.esm.js → selfieManager-xqPVk5ID.esm.js} +3 -3
- package/dist/{selfieStateMachine-BXvzX970.esm.js → selfieStateMachine-C4QDeMWl.esm.js} +3 -3
- package/dist/{session-CU-Lp0qT.esm.js → session-SjMxzn_z.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-JXmI9OW9.esm.js → sessionInitializer-B62QNOn0.esm.js} +4 -4
- package/dist/{setup-Sw3b0txu.esm.js → setup-C9kGuFdp.esm.js} +5 -5
- package/dist/trueSight-ByoxDfCz.esm.js +1 -0
- package/dist/{trueSightService-5eKTmpx4.esm.js → trueSightService-CS75tmsV.esm.js} +1 -1
- package/dist/{types-qwsv8Mln.d.ts → types-D-FEM1rT.d.ts} +20 -5
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-udkCUPN3.esm.js → videoSelfieCameraWarmer-rPGaHVRK.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +17 -17
- package/package.json +3 -3
- package/dist/trueSight-B1AdsXJv.esm.js +0 -1
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-CNFBeYgV.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-D-FEM1rT.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-Ddj9SOMp.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BYyDEMJw.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-CP98fZUe.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,8 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-C9kGuFdp.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";
|
|
5
5
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
6
|
+
import { r as isDesktop } from "./platform-GIg4uPWe.esm.js";
|
|
6
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
8
|
import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
9
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -11,9 +12,9 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
|
|
|
11
12
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
12
13
|
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Csq_7Cbg.esm.js";
|
|
13
14
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
14
|
-
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-
|
|
15
|
-
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-
|
|
16
|
-
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
15
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-RVaZFoEz.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-Ddj9SOMp.esm.js";
|
|
17
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-CP98fZUe.esm.js";
|
|
17
18
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
|
|
18
19
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
19
20
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -316,18 +317,23 @@ function mapDigitalIdRedirectState(snapshot) {
|
|
|
316
317
|
const childSnapshot = snapshot.children["digitalIdRedirect"]?.getSnapshot();
|
|
317
318
|
const childCtx = childSnapshot?.context;
|
|
318
319
|
const childValue = childSnapshot?.value;
|
|
320
|
+
const phase = (() => {
|
|
321
|
+
if (childValue === "readyToRedirect") return "redirecting";
|
|
322
|
+
if (childValue === "showingQr") return "qr";
|
|
323
|
+
if (childValue === "succeeded") return "success";
|
|
324
|
+
if (childValue === "failed") return "failed";
|
|
325
|
+
if (childValue === "error") return "error";
|
|
326
|
+
return "loading";
|
|
327
|
+
})();
|
|
328
|
+
const providerId = childCtx?.selectedProvider ?? childCtx?.config.provider;
|
|
319
329
|
return {
|
|
320
330
|
status: "digitalIdRedirect",
|
|
321
|
-
phase
|
|
322
|
-
if (childValue === "readyToRedirect") return "redirecting";
|
|
323
|
-
if (childValue === "succeeded") return "success";
|
|
324
|
-
if (childValue === "failed") return "failed";
|
|
325
|
-
if (childValue === "error") return "error";
|
|
326
|
-
return "loading";
|
|
327
|
-
})(),
|
|
331
|
+
phase,
|
|
328
332
|
launchUrl: childCtx?.launchUrl,
|
|
329
333
|
failureReason: childCtx?.failureReason,
|
|
330
|
-
providerId
|
|
334
|
+
providerId,
|
|
335
|
+
walletName: snapshot.context.digitalIdRedirectOptions.find((option) => option.providerId === providerId)?.displayName,
|
|
336
|
+
canOpenWalletOnDevice: !isDesktop()
|
|
331
337
|
};
|
|
332
338
|
}
|
|
333
339
|
function mapDeviceWalletState(snapshot) {
|
|
@@ -12,7 +12,7 @@ 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-D-FEM1rT.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`,
|
|
@@ -674,12 +674,27 @@ type IdCaptureDigitalIdRedirectState = {
|
|
|
674
674
|
* `failed` — recoverable failure screen (retry / use another method);
|
|
675
675
|
* `error` — generic recoverable error screen.
|
|
676
676
|
*/
|
|
677
|
-
phase: 'loading' | 'redirecting' | 'success' | 'failed' | 'error';
|
|
678
|
-
/**
|
|
677
|
+
phase: 'loading' | 'redirecting' | 'qr' | 'success' | 'failed' | 'error';
|
|
678
|
+
/**
|
|
679
|
+
* Provider full-page redirect target in the `redirecting` phase; in the `qr` phase
|
|
680
|
+
* (cross-device wallet, e.g. France Identité) the link to render as a QR code while polling.
|
|
681
|
+
*/
|
|
679
682
|
launchUrl: string | undefined;
|
|
680
683
|
/** Localized-failure discriminator; present in the `failed` phase. */
|
|
681
684
|
failureReason: FailureReason | undefined;
|
|
682
685
|
providerId: DigitalIdProviderId | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* The provider's name from the backend catalog (`displayName` of the chooser
|
|
688
|
+
* option), e.g. `France Identité`. The `qr` screen names the wallet with it,
|
|
689
|
+
* so a new wallet needs no SDK change. `undefined` when the catalog has none.
|
|
690
|
+
*/
|
|
691
|
+
walletName: string | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* `true` on a phone or tablet, where the wallet may be installed on this
|
|
694
|
+
* device: the `qr` screen then also offers to open `launchUrl` here. On a
|
|
695
|
+
* desktop the wallet link has no handler, so only the QR code is shown.
|
|
696
|
+
*/
|
|
697
|
+
canOpenWalletOnDevice: boolean;
|
|
683
698
|
};
|
|
684
699
|
type IdCaptureDeviceWalletState = {
|
|
685
700
|
status: 'deviceWallet';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-C9kGuFdp.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-DZv3-5N-.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-5knMuyFv.esm.js → idCaptureStateMachine-Ddj9SOMp.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-C9kGuFdp.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.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-CS75tmsV.esm.js";
|
|
8
|
+
import "./trueSight-ByoxDfCz.esm.js";
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-B62QNOn0.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-DZv3-5N-.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-SjMxzn_z.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 { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-Csq_7Cbg.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-RVaZFoEz.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-DHaOf19x.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-BqqRUDJ3.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-CFyXIRuM.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-CP98fZUe.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
|
|
@@ -889,6 +889,25 @@ async function detectDigitalIdCountries(dependencies, options = {}) {
|
|
|
889
889
|
function isRedirectFlowType(flowType) {
|
|
890
890
|
return flowType === "REDIRECT" || flowType === "WEB_REDIRECT";
|
|
891
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* True when a digital-ID method is launched by the `digitalIdRedirect` child:
|
|
894
|
+
* a full-page redirect, or a QR code for a wallet on another device (EUDI
|
|
895
|
+
* wallets over OID4VP, e.g. France Identité). Both are external-provider
|
|
896
|
+
* methods, never a device wallet; only the launch step differs.
|
|
897
|
+
*/
|
|
898
|
+
function isProviderLaunchFlowType(flowType) {
|
|
899
|
+
return isRedirectFlowType(flowType) || flowType === "QR";
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* BACK-COMPAT ONLY for redirect providers — do not add new providers here.
|
|
903
|
+
*
|
|
904
|
+
* The backend catalog (user-service) defines every Digital ID provider and
|
|
905
|
+
* sends `providerId`, `flowType`, `displayName`, `logoUrl` and `countries` on
|
|
906
|
+
* each `digitalIds.methods[]` entry; the SDK launches such a method from that
|
|
907
|
+
* data alone. The redirect entries below only serve backends that still send
|
|
908
|
+
* bare method names. The `mDL` funnel (device wallet first, then its redirect
|
|
909
|
+
* fallback) is the one part that is still SDK logic.
|
|
910
|
+
*/
|
|
892
911
|
const DIGITAL_ID_REGISTRY = {
|
|
893
912
|
mDL: [{
|
|
894
913
|
kind: "incodeWallet",
|
|
@@ -1000,11 +1019,12 @@ const TEST_MOCK_REDIRECT_PROVIDER_BY_METHOD = {
|
|
|
1000
1019
|
TRINSIC_MOCK_OUTPUT: "trinsic_trinsic_mock_output"
|
|
1001
1020
|
};
|
|
1002
1021
|
/**
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1022
|
+
* BACK-COMPAT ONLY: persisted method name → provider id, derived from the
|
|
1023
|
+
* registry's redirect entries. Used only when a method arrives without
|
|
1024
|
+
* `providerId` + a launch `flowType` (backends older than the catalog
|
|
1025
|
+
* enrichment, ENG-60819). An enriched method always wins.
|
|
1026
|
+
* TODO(roadmap: fully-catalog-driven): remove once every supported backend
|
|
1027
|
+
* enriches `digitalIds.methods[]` with `providerId` + `flowType`.
|
|
1008
1028
|
*/
|
|
1009
1029
|
const REDIRECT_PROVIDER_BY_METHOD = (() => {
|
|
1010
1030
|
const map = { ...TEST_MOCK_REDIRECT_PROVIDER_BY_METHOD };
|
|
@@ -1012,9 +1032,9 @@ const REDIRECT_PROVIDER_BY_METHOD = (() => {
|
|
|
1012
1032
|
return map;
|
|
1013
1033
|
})();
|
|
1014
1034
|
/**
|
|
1015
|
-
*
|
|
1016
|
-
* chooser rank redirect providers by country
|
|
1017
|
-
*
|
|
1035
|
+
* BACK-COMPAT ONLY: catalog provider id → the countries it serves, from the
|
|
1036
|
+
* registry. Lets the chooser rank redirect providers by country when the
|
|
1037
|
+
* backend sends a method without `countries`; the backend's list always wins.
|
|
1018
1038
|
*/
|
|
1019
1039
|
const REDIRECT_PROVIDER_COUNTRIES = Object.fromEntries(DIGITAL_ID_DOCUMENT_TYPES.flatMap((docType) => DIGITAL_ID_REGISTRY[docType].flatMap((entry) => entry.kind === "trinsicRedirect" && entry.countries ? [[entry.providerId, entry.countries]] : [])));
|
|
1020
1040
|
/**
|
|
@@ -1046,7 +1066,7 @@ function isStandaloneRedirectProvider(providerId) {
|
|
|
1046
1066
|
*/
|
|
1047
1067
|
function resolveRedirectProviderId(method) {
|
|
1048
1068
|
if (method.flowType) {
|
|
1049
|
-
if (!
|
|
1069
|
+
if (!isProviderLaunchFlowType(method.flowType)) return;
|
|
1050
1070
|
const explicit = method.provider ?? method.providerId;
|
|
1051
1071
|
if (explicit) return explicit;
|
|
1052
1072
|
}
|
|
@@ -1094,7 +1114,8 @@ const DEVICE_WALLET_METHODS = /* @__PURE__ */ new Set([
|
|
|
1094
1114
|
* any caller walks the list.
|
|
1095
1115
|
*/
|
|
1096
1116
|
function isDeviceWalletMethod(method) {
|
|
1097
|
-
if (method.flowType
|
|
1117
|
+
if (method.flowType === "DEVICE_WALLET") return true;
|
|
1118
|
+
if (method.flowType && isProviderLaunchFlowType(method.flowType)) return false;
|
|
1098
1119
|
if (method.type?.toUpperCase() === "MDL") return true;
|
|
1099
1120
|
return method.method !== void 0 && DEVICE_WALLET_METHODS.has(method.method.toUpperCase());
|
|
1100
1121
|
}
|
|
@@ -1162,11 +1183,11 @@ function isEntryActive(entry, config, platform) {
|
|
|
1162
1183
|
* `normalizeDigitalIdMethods`.
|
|
1163
1184
|
*/
|
|
1164
1185
|
function findConfiguredMethod(entry, config) {
|
|
1165
|
-
return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider === entry.providerId && !!method.flowType &&
|
|
1186
|
+
return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider === entry.providerId && !!method.flowType && isProviderLaunchFlowType(method.flowType));
|
|
1166
1187
|
}
|
|
1167
1188
|
/** Normalizes a raw configured method into the mapped shape for the child input. */
|
|
1168
1189
|
function toMappedMethod(entry, method) {
|
|
1169
|
-
if (method.flowType &&
|
|
1190
|
+
if (method.flowType && isProviderLaunchFlowType(method.flowType)) return method;
|
|
1170
1191
|
return {
|
|
1171
1192
|
method: method.method,
|
|
1172
1193
|
provider: entry.providerId,
|
|
@@ -1198,14 +1219,15 @@ function resolveDigitalIdImplementation(docType, config, platform) {
|
|
|
1198
1219
|
/**
|
|
1199
1220
|
* Normalizes a configured method into the mapped redirect shape for a
|
|
1200
1221
|
* resolved provider. The already-mapped shape is returned as-is; the raw
|
|
1201
|
-
* backend shape gets `provider`
|
|
1222
|
+
* backend shape gets `provider` filled in, and keeps its own launch
|
|
1223
|
+
* `flowType` (`QR` for a wallet on another device), else `WEB_REDIRECT`.
|
|
1202
1224
|
*/
|
|
1203
1225
|
function toRedirectMethod(method, provider) {
|
|
1204
1226
|
if (method.provider && method.flowType) return method;
|
|
1205
1227
|
return {
|
|
1206
1228
|
method: method.method,
|
|
1207
1229
|
provider,
|
|
1208
|
-
flowType: "WEB_REDIRECT",
|
|
1230
|
+
flowType: method.flowType && isProviderLaunchFlowType(method.flowType) ? method.flowType : "WEB_REDIRECT",
|
|
1209
1231
|
country: method.country ?? method.countries?.[0],
|
|
1210
1232
|
displayName: method.displayName,
|
|
1211
1233
|
logoUrl: method.logoUrl
|
|
@@ -2058,7 +2080,7 @@ fromPromise(async ({ input }) => {
|
|
|
2058
2080
|
});
|
|
2059
2081
|
fromPromise(async ({ input }) => {
|
|
2060
2082
|
if (!input.dependencies) return;
|
|
2061
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2083
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Be1Bjk19.esm.js");
|
|
2062
2084
|
return loadDeepsightSession({
|
|
2063
2085
|
ds: input.ds,
|
|
2064
2086
|
storage: input.dependencies.storage,
|
|
@@ -2502,7 +2524,7 @@ function cleanup(service) {
|
|
|
2502
2524
|
service.cleanup();
|
|
2503
2525
|
} catch {}
|
|
2504
2526
|
}
|
|
2505
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2527
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Be1Bjk19.esm.js")).loadDeepsightSession(input)) {
|
|
2506
2528
|
let disposed = false;
|
|
2507
2529
|
let preparation;
|
|
2508
2530
|
let service;
|
|
@@ -3898,6 +3920,7 @@ const digitalIdRedirectMachine = setup({
|
|
|
3898
3920
|
},
|
|
3899
3921
|
guards: {
|
|
3900
3922
|
hasPresetProvider: ({ context }) => Boolean(context.config.provider),
|
|
3923
|
+
createdQrFlow: ({ event }) => event.output.flowType === "QR",
|
|
3901
3924
|
autoStartPreset: ({ context }) => context.autoStart && Boolean(context.config.provider),
|
|
3902
3925
|
autoStartCatalog: ({ context }) => context.autoStart && !context.config.provider,
|
|
3903
3926
|
isResuming: ({ context }) => Boolean(context.returnParams),
|
|
@@ -3976,15 +3999,41 @@ const digitalIdRedirectMachine = setup({
|
|
|
3976
3999
|
providerId: context.selectedProvider ?? "",
|
|
3977
4000
|
redirectUrl: context.returnUrl
|
|
3978
4001
|
}),
|
|
3979
|
-
onDone: {
|
|
4002
|
+
onDone: [{
|
|
4003
|
+
guard: "createdQrFlow",
|
|
4004
|
+
target: "showingQr",
|
|
4005
|
+
actions: "setVerification"
|
|
4006
|
+
}, {
|
|
3980
4007
|
target: "persisting",
|
|
3981
4008
|
actions: "setVerification"
|
|
3982
|
-
},
|
|
4009
|
+
}],
|
|
3983
4010
|
onError: {
|
|
3984
4011
|
target: "error",
|
|
3985
4012
|
actions: "setError"
|
|
3986
4013
|
}
|
|
3987
4014
|
} },
|
|
4015
|
+
showingQr: {
|
|
4016
|
+
invoke: {
|
|
4017
|
+
src: "pollStatus",
|
|
4018
|
+
input: ({ context }) => ({ verificationId: context.verificationId ?? "" })
|
|
4019
|
+
},
|
|
4020
|
+
on: {
|
|
4021
|
+
POLL_RESULT: [{
|
|
4022
|
+
guard: "polledOk",
|
|
4023
|
+
target: "succeeded",
|
|
4024
|
+
actions: "setVerificationFromEvent"
|
|
4025
|
+
}, {
|
|
4026
|
+
target: "failed",
|
|
4027
|
+
actions: "setVerificationFromEvent"
|
|
4028
|
+
}],
|
|
4029
|
+
CLOSE: { target: "closed" },
|
|
4030
|
+
USE_ANOTHER_METHOD: { target: "closed" }
|
|
4031
|
+
},
|
|
4032
|
+
after: { [MAX_POLL_DURATION_MS]: {
|
|
4033
|
+
target: "error",
|
|
4034
|
+
actions: assign({ error: () => POLL_CEILING_ERROR })
|
|
4035
|
+
} }
|
|
4036
|
+
},
|
|
3988
4037
|
persisting: { invoke: {
|
|
3989
4038
|
src: "persistPending",
|
|
3990
4039
|
input: ({ context }) => ({
|
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-C9kGuFdp.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-HBHyQLgV.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-Dg9BsU9Y.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-HBHyQLgV.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-C1u53dmF.esm.js → kybChecksStateMachine-HBHyQLgV.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-CsuExqla.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
1
|
import { r as MandatoryConsentConfig } from "./types-LbccjQYX.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-BcxCesP5.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-aij01joJ.d.ts → mandatoryConsentManager-BcxCesP5.d.ts}
RENAMED
|
@@ -66,14 +66,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
66
66
|
type: "setLoadError";
|
|
67
67
|
params: NonReducibleUnknown;
|
|
68
68
|
};
|
|
69
|
-
resetContext: {
|
|
70
|
-
type: "resetContext";
|
|
71
|
-
params: NonReducibleUnknown;
|
|
72
|
-
};
|
|
73
69
|
toggleSigned: {
|
|
74
70
|
type: "toggleSigned";
|
|
75
71
|
params: NonReducibleUnknown;
|
|
76
72
|
};
|
|
73
|
+
resetContext: {
|
|
74
|
+
type: "resetContext";
|
|
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-zgzamcm1.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-RVaZFoEz.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-CS75tmsV.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
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-C9kGuFdp.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import "./events-PUWyizJn.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
9
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
10
|
-
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
11
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
12
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
7
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BViX3dHW.esm.js";
|
|
8
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C8a6AyaE.esm.js";
|
|
9
|
+
import { s as processFace } from "./FaceDetectionProvider-UrN7k619.esm.js";
|
|
10
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DHaOf19x.esm.js";
|
|
11
|
+
import { t as selfieMachine } from "./selfieStateMachine-C4QDeMWl.esm.js";
|
|
12
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-xqPVk5ID.esm.js";
|
|
13
13
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
|
|
14
14
|
/**
|
|
15
15
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-UrN7k619.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-C9kGuFdp.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import "./events-PUWyizJn.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C8a6AyaE.esm.js";
|
|
7
|
+
import { t as selfieMachine } from "./selfieStateMachine-C4QDeMWl.esm.js";
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BViX3dHW.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-UrN7k619.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-bGh4PR_u.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./trueSight-
|
|
4
|
-
import "./sessionInitializer-
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-CS75tmsV.esm.js";
|
|
3
|
+
import "./trueSight-ByoxDfCz.esm.js";
|
|
4
|
+
import "./sessionInitializer-B62QNOn0.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-CsuExqla.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-B58edv6M.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { d as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { d as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-B62QNOn0.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-CsuExqla.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-SjMxzn_z.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-DIGIkFDm.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -3,10 +3,10 @@ import { n as resetWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-Duk
|
|
|
3
3
|
import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
5
5
|
import "./events-PUWyizJn.esm.js";
|
|
6
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
7
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
8
|
-
import "./trueSight-
|
|
9
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-CS75tmsV.esm.js";
|
|
7
|
+
import { t as SDK_VERSION } from "./sdkVersion-DCCBTate.esm.js";
|
|
8
|
+
import "./trueSight-ByoxDfCz.esm.js";
|
|
9
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DZv3-5N-.esm.js";
|
|
10
10
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DHu3li6G.esm.js";
|
|
11
11
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
12
12
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -4,15 +4,15 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
|
4
4
|
import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-DLsivQsu.esm.js";
|
|
5
5
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
6
6
|
import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-PUWyizJn.esm.js";
|
|
7
|
-
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-
|
|
8
|
-
import "./trueSight-
|
|
9
|
-
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, a as resetSessionInit, c as setClientIpLookupEnabled, g as setStandaloneFlowPolicy, h as resolveStandaloneFlowPolicy, i as initializeSession, l as setClientWasmConfig, m as resetStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as registerFlowPreloader, s as setClientHostingApp, u as setClientWasmDisabled } from "./sessionInitializer-
|
|
7
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-CS75tmsV.esm.js";
|
|
8
|
+
import "./trueSight-ByoxDfCz.esm.js";
|
|
9
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, a as resetSessionInit, c as setClientIpLookupEnabled, g as setStandaloneFlowPolicy, h as resolveStandaloneFlowPolicy, i as initializeSession, l as setClientWasmConfig, m as resetStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as registerFlowPreloader, s as setClientHostingApp, u as setClientWasmDisabled } from "./sessionInitializer-B62QNOn0.esm.js";
|
|
10
10
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
11
11
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
12
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
12
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DZv3-5N-.esm.js";
|
|
13
13
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
|
|
14
14
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
15
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
15
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-B1lJmQ2F.esm.js";
|
|
16
16
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
17
17
|
/**
|
|
18
18
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./trueSightService-CS75tmsV.esm.js";
|
|
@@ -3,7 +3,7 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
3
3
|
import { S as subscribeEvent, n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
5
5
|
import "./events-PUWyizJn.esm.js";
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-DCCBTate.esm.js";
|
|
7
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
8
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
9
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|