@incodetech/core 0.0.0-dev-20261125-c2d32a87 → 0.0.0-dev-20261125-e10a167e
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-DBV0ahb8.esm.js} +4 -4
- package/dist/{MotionSensorProvider-X4_2eBGd.esm.js → MotionSensorProvider-BAGydZPH.esm.js} +5 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-CVYAG2Z_.esm.js → apiError-CuZcUZuv.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CHVbmrts.esm.js → authenticationManager-DisUbRlN.esm.js} +3 -3
- package/dist/{authenticationStateMachine-ai6diJlx.esm.js → authenticationStateMachine-DkBQguqq.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-CMed_O5F.d.ts} +4 -4
- package/dist/{deepsightCaptureConfig-O1T_84db.esm.js → deepsightCaptureConfig-DGVUTY29.esm.js} +2 -2
- package/dist/{deepsightLoader-C5BVeFua.esm.js → deepsightLoader-D_RQdqL_.esm.js} +5 -5
- package/dist/{desktopCameraElection-lXQfiOdG.esm.js → desktopCameraElection-CuLTefJ0.esm.js} +5 -5
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
- package/dist/{documentCaptureManager-2sdAI82V.esm.js → documentCaptureManager-ytELw-yO.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-4e3ojswD.esm.js → documentCaptureStateMachine-lKG1IVEM.esm.js} +2 -2
- package/dist/{documentSignatureStateMachine-BxpQqiYE.esm.js → documentSignatureStateMachine-D-6LvS1H.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C3Ql66XG.esm.js → dynamicFormsManager-D5ZYdtQr.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Ca_iKFe_.esm.js → dynamicFormsStateMachine-BR6iuC5G.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DLfyUT5h.esm.js → ekybManager-Be_YnkHA.esm.js} +1 -1
- package/dist/{ekybStateMachine-eHQXDNRM.esm.js → ekybStateMachine-hWRDkhAT.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-BQL2SIZ9.esm.js → ekycPrefillManager-CaMwNpP0.esm.js} +1 -1
- package/dist/{ekycPrefillManager-D-8VY48A.d.ts → ekycPrefillManager-Dhy0OG_b.d.ts} +26 -26
- package/dist/{ekycPrefillStateMachine-DZlLystx.esm.js → ekycPrefillStateMachine-NMaEb10U.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-E1n1Kwbs.esm.js → electronicSignatureManager-D42Fx6cT.esm.js} +1 -1
- package/dist/extensibility.d.ts +9 -9
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-BKGc2B3n.esm.js → faceCaptureManagerFactory-BbRj8P8O.esm.js} +3 -3
- package/dist/{faceCaptureSetup-B2yCpiPO.esm.js → faceCaptureSetup-WxNPfp15.esm.js} +17 -9
- package/dist/{feature-management-CdDXzSfd.esm.js → feature-management-B0q4TMsC.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-BASbhN57.esm.js} +1 -1
- package/dist/{flowServices-CJKw69cc.esm.js → flowServices-CrBbfWoL.esm.js} +4 -4
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CJCfbJ8E.esm.js → geolocationManager-CZlG5tET.esm.js} +1 -1
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationStateMachine-DPK_cROM.esm.js → geolocationStateMachine-DMm-G7NL.esm.js} +1 -1
- package/dist/id-ocr.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-jqxUGv_1.d.ts → idCaptureManager-CNFBeYgV.d.ts} +18 -3
- package/dist/{idCaptureManager-CNwUiiIB.esm.js → idCaptureManager-DEy-XaBi.esm.js} +19 -13
- package/dist/{idCaptureServices-s2DYAtCw.esm.js → idCaptureServices-CpqaRkff.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-5knMuyFv.esm.js → idCaptureStateMachine-Bzj86X_4.esm.js} +91 -29
- 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.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-Bt3_ltDe.esm.js → kybChecksManager-BIlgSbb0.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-C1u53dmF.esm.js → kybChecksStateMachine-JwoWvTVP.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-aij01joJ.d.ts → mandatoryConsentManager-BY8WCCKq.d.ts} +4 -4
- package/dist/{permissionGuards-BqqRUDJ3.esm.js → permissionGuards-SvIvYyWB.esm.js} +1 -1
- package/dist/{permissionServices-Csq_7Cbg.esm.js → permissionServices-GQyOY1tb.esm.js} +18 -6
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BBdqhPOF.esm.js → recordingService-BMy-wSI4.esm.js} +1 -1
- package/dist/{runChildModule-DwZbVWtY.esm.js → runChildModule-DiXTIKoa.esm.js} +1 -1
- package/dist/{sdkVersion-ct4LTGVB.esm.js → sdkVersion-BkmV6loo.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-CMmldcbZ.esm.js → selfieErrorUtils-CPZwkfS1.esm.js} +1 -1
- package/dist/{selfieManager-CJvjDZXw.esm.js → selfieManager-DeovVNrI.esm.js} +3 -3
- package/dist/{selfieStateMachine-BXvzX970.esm.js → selfieStateMachine-B8WvkomM.esm.js} +3 -3
- package/dist/{session-CU-Lp0qT.esm.js → session-DNqHhYmG.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-JXmI9OW9.esm.js → sessionInitializer-BaxrnKP5.esm.js} +4 -4
- package/dist/{setup-Sw3b0txu.esm.js → setup-CBVQS0Tc.esm.js} +5 -5
- package/dist/trueSight-B5TsmkOb.esm.js +1 -0
- package/dist/{trueSightService-5eKTmpx4.esm.js → trueSightService-j-XfYmgc.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-D7kNNRsI.esm.js} +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +18 -18
- package/package.json +3 -3
- package/dist/trueSight-B1AdsXJv.esm.js +0 -1
package/dist/{idCaptureStateMachine-5knMuyFv.esm.js → idCaptureStateMachine-Bzj86X_4.esm.js}
RENAMED
|
@@ -1,36 +1,36 @@
|
|
|
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-CBVQS0Tc.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-j-XfYmgc.esm.js";
|
|
8
|
+
import "./trueSight-B5TsmkOb.esm.js";
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-BaxrnKP5.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-B0q4TMsC.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-DNqHhYmG.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";
|
|
18
18
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
19
19
|
import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
|
|
20
|
-
import {
|
|
20
|
+
import { a as requestMotionPermission, d as queryPermission, n as checkPermission, r as invokeRequestPermissionActor, s as requiresMotionPermissionUserGesture, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-GQyOY1tb.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-DGVUTY29.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-CuLTefJ0.esm.js";
|
|
25
25
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
26
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
26
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-SvIvYyWB.esm.js";
|
|
27
27
|
import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
|
|
28
28
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
29
29
|
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-CpqaRkff.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
|
|
@@ -1417,6 +1439,10 @@ const isReadyForCaptureGuard = ({ context, event }) => {
|
|
|
1417
1439
|
const needsMotionPrimeOnlyGuard = ({ context, event }) => {
|
|
1418
1440
|
return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), wantsDeepsightMotion(context.config));
|
|
1419
1441
|
};
|
|
1442
|
+
const needsMotionPrimeWithoutGestureGuard = ({ context, event }) => needsMotionPrimeOnlyGuard({
|
|
1443
|
+
context,
|
|
1444
|
+
event
|
|
1445
|
+
}) && canPrimeMotionWithoutUserGesture();
|
|
1420
1446
|
const isPermissionDeniedErrorGuard = ({ event }) => {
|
|
1421
1447
|
if ("error" in event) {
|
|
1422
1448
|
const error = event.error;
|
|
@@ -2058,7 +2084,7 @@ fromPromise(async ({ input }) => {
|
|
|
2058
2084
|
});
|
|
2059
2085
|
fromPromise(async ({ input }) => {
|
|
2060
2086
|
if (!input.dependencies) return;
|
|
2061
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2087
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-D_RQdqL_.esm.js");
|
|
2062
2088
|
return loadDeepsightSession({
|
|
2063
2089
|
ds: input.ds,
|
|
2064
2090
|
storage: input.dependencies.storage,
|
|
@@ -2502,7 +2528,7 @@ function cleanup(service) {
|
|
|
2502
2528
|
service.cleanup();
|
|
2503
2529
|
} catch {}
|
|
2504
2530
|
}
|
|
2505
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2531
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-D_RQdqL_.esm.js")).loadDeepsightSession(input)) {
|
|
2506
2532
|
let disposed = false;
|
|
2507
2533
|
let preparation;
|
|
2508
2534
|
let service;
|
|
@@ -3898,6 +3924,7 @@ const digitalIdRedirectMachine = setup({
|
|
|
3898
3924
|
},
|
|
3899
3925
|
guards: {
|
|
3900
3926
|
hasPresetProvider: ({ context }) => Boolean(context.config.provider),
|
|
3927
|
+
createdQrFlow: ({ event }) => event.output.flowType === "QR",
|
|
3901
3928
|
autoStartPreset: ({ context }) => context.autoStart && Boolean(context.config.provider),
|
|
3902
3929
|
autoStartCatalog: ({ context }) => context.autoStart && !context.config.provider,
|
|
3903
3930
|
isResuming: ({ context }) => Boolean(context.returnParams),
|
|
@@ -3976,15 +4003,41 @@ const digitalIdRedirectMachine = setup({
|
|
|
3976
4003
|
providerId: context.selectedProvider ?? "",
|
|
3977
4004
|
redirectUrl: context.returnUrl
|
|
3978
4005
|
}),
|
|
3979
|
-
onDone: {
|
|
4006
|
+
onDone: [{
|
|
4007
|
+
guard: "createdQrFlow",
|
|
4008
|
+
target: "showingQr",
|
|
4009
|
+
actions: "setVerification"
|
|
4010
|
+
}, {
|
|
3980
4011
|
target: "persisting",
|
|
3981
4012
|
actions: "setVerification"
|
|
3982
|
-
},
|
|
4013
|
+
}],
|
|
3983
4014
|
onError: {
|
|
3984
4015
|
target: "error",
|
|
3985
4016
|
actions: "setError"
|
|
3986
4017
|
}
|
|
3987
4018
|
} },
|
|
4019
|
+
showingQr: {
|
|
4020
|
+
invoke: {
|
|
4021
|
+
src: "pollStatus",
|
|
4022
|
+
input: ({ context }) => ({ verificationId: context.verificationId ?? "" })
|
|
4023
|
+
},
|
|
4024
|
+
on: {
|
|
4025
|
+
POLL_RESULT: [{
|
|
4026
|
+
guard: "polledOk",
|
|
4027
|
+
target: "succeeded",
|
|
4028
|
+
actions: "setVerificationFromEvent"
|
|
4029
|
+
}, {
|
|
4030
|
+
target: "failed",
|
|
4031
|
+
actions: "setVerificationFromEvent"
|
|
4032
|
+
}],
|
|
4033
|
+
CLOSE: { target: "closed" },
|
|
4034
|
+
USE_ANOTHER_METHOD: { target: "closed" }
|
|
4035
|
+
},
|
|
4036
|
+
after: { [MAX_POLL_DURATION_MS]: {
|
|
4037
|
+
target: "error",
|
|
4038
|
+
actions: assign({ error: () => POLL_CEILING_ERROR })
|
|
4039
|
+
} }
|
|
4040
|
+
},
|
|
3988
4041
|
persisting: { invoke: {
|
|
3989
4042
|
src: "persistPending",
|
|
3990
4043
|
input: ({ context }) => ({
|
|
@@ -4699,6 +4752,10 @@ const idCaptureMachine = setup({
|
|
|
4699
4752
|
context,
|
|
4700
4753
|
event: asPublicIdEvent(event)
|
|
4701
4754
|
}),
|
|
4755
|
+
needsMotionPrimeWithoutGesture: ({ context, event }) => needsMotionPrimeWithoutGestureGuard({
|
|
4756
|
+
context,
|
|
4757
|
+
event: asPublicIdEvent(event)
|
|
4758
|
+
}),
|
|
4702
4759
|
isPermissionDeniedError: ({ event }) => isPermissionDeniedErrorGuard({ event: asPublicIdEvent(event) }),
|
|
4703
4760
|
isPermissionBlocked: isPermissionBlockedGuard,
|
|
4704
4761
|
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGestureGuard,
|
|
@@ -5178,6 +5235,11 @@ const idCaptureMachine = setup({
|
|
|
5178
5235
|
guard: ({ event }) => event.output === "denied",
|
|
5179
5236
|
actions: assign({ permissionResult: ({ event }) => event.output })
|
|
5180
5237
|
},
|
|
5238
|
+
{
|
|
5239
|
+
target: "requesting",
|
|
5240
|
+
guard: "needsMotionPrimeWithoutGesture",
|
|
5241
|
+
actions: assign({ permissionResult: ({ event }) => event.output })
|
|
5242
|
+
},
|
|
5181
5243
|
{
|
|
5182
5244
|
target: "motionOnly",
|
|
5183
5245
|
guard: "needsMotionPrimeOnly",
|
|
@@ -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;
|
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-CBVQS0Tc.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-JwoWvTVP.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-BIlgSbb0.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-JwoWvTVP.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-JwoWvTVP.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-CuZcUZuv.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-BY8WCCKq.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-aij01joJ.d.ts → mandatoryConsentManager-BY8WCCKq.d.ts}
RENAMED
|
@@ -54,14 +54,14 @@ 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
|
};
|
|
61
|
+
setError: {
|
|
62
|
+
type: "setError";
|
|
63
|
+
params: NonReducibleUnknown;
|
|
64
|
+
};
|
|
65
65
|
setLoadError: {
|
|
66
66
|
type: "setLoadError";
|
|
67
67
|
params: NonReducibleUnknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as isWasmMotionPrimedForModule } from "./permissionServices-GQyOY1tb.esm.js";
|
|
2
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
3
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
4
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
2
2
|
import { n as isAndroidWebView } from "./platform-GIg4uPWe.esm.js";
|
|
3
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
3
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-BAGydZPH.esm.js";
|
|
4
4
|
import { a as stopCameraStream, l as isCameraGrantedInDocument, r as requestCameraAccess, s as clearCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
|
@@ -52,6 +52,17 @@ function requiresMotionPermissionUserGesture(ds) {
|
|
|
52
52
|
return !motionSensor.hasPermission && !motionSensor.hasMotionPermissionDeniedThisSession();
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
+
* Whether the Deepsight motion setup (sensor start plus WASM `rsp`/`ssl`) can
|
|
56
|
+
* run without a user gesture. Only the iOS DeviceMotion permission API needs
|
|
57
|
+
* one. Elsewhere, Android Chrome included, the sensors and the WASM listeners
|
|
58
|
+
* start from script. So with the camera already granted, the capture machines
|
|
59
|
+
* set motion up directly instead of showing a sheet that asks for camera
|
|
60
|
+
* access the user already gave (ENG-64995).
|
|
61
|
+
*/
|
|
62
|
+
function canPrimeMotionWithoutUserGesture() {
|
|
63
|
+
return !MotionSensorProvider.isIosMotionPermissionRequired();
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
55
66
|
* Deliberately reads only the caller-supplied flag. Do not fold the camera grant
|
|
56
67
|
* memo in here: an earlier version OR'd in a session-cached grant, which made
|
|
57
68
|
* Firefox for Android skip camera acquisition entirely (PR #726). Motion priming
|
|
@@ -66,10 +77,11 @@ async function resolveMotionOsPermission(motionSensor) {
|
|
|
66
77
|
return requestMotionOsPermission(motionSensor);
|
|
67
78
|
}
|
|
68
79
|
/**
|
|
69
|
-
* On
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
80
|
+
* On iOS, the motion permission dialog and the WASM sensor priming (rsp/ssl)
|
|
81
|
+
* must run during a user gesture. Other browsers need no gesture (see
|
|
82
|
+
* `canPrimeMotionWithoutUserGesture`), but priming here is harmless there.
|
|
83
|
+
* When camera is already granted (cached permission), V1 requests motion on
|
|
84
|
+
* tutorial Continue before any async permission actors run.
|
|
73
85
|
*/
|
|
74
86
|
async function primeMotionFromUserGestureIfNeeded(options) {
|
|
75
87
|
if (options.ds !== true) return;
|
|
@@ -186,4 +198,4 @@ async function invokeRequestPermissionActor(input) {
|
|
|
186
198
|
});
|
|
187
199
|
}
|
|
188
200
|
//#endregion
|
|
189
|
-
export {
|
|
201
|
+
export { requestMotionPermission as a, isWasmMotionPrimedForModule as c, queryPermission as d, primeMotionFromUserGestureIfNeeded as i, resetWasmMotionPrimedForModule as l, checkPermission as n, requestPermission as o, invokeRequestPermissionActor as r, requiresMotionPermissionUserGesture as s, canPrimeMotionWithoutUserGesture as t, queryCameraPermission as u };
|
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-D42Fx6cT.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-DGVUTY29.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-j-XfYmgc.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-CBVQS0Tc.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-WxNPfp15.esm.js";
|
|
8
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BbRj8P8O.esm.js";
|
|
9
|
+
import { s as processFace } from "./FaceDetectionProvider-DBV0ahb8.esm.js";
|
|
10
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CuLTefJ0.esm.js";
|
|
11
|
+
import { t as selfieMachine } from "./selfieStateMachine-B8WvkomM.esm.js";
|
|
12
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DeovVNrI.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-DBV0ahb8.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-CBVQS0Tc.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-BbRj8P8O.esm.js";
|
|
7
|
+
import { t as selfieMachine } from "./selfieStateMachine-B8WvkomM.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-WxNPfp15.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DBV0ahb8.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-CPZwkfS1.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-j-XfYmgc.esm.js";
|
|
3
|
+
import "./trueSight-B5TsmkOb.esm.js";
|
|
4
|
+
import "./sessionInitializer-BaxrnKP5.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-CuZcUZuv.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-BaxrnKP5.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-CuZcUZuv.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-DNqHhYmG.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-BASbhN57.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-j-XfYmgc.esm.js";
|
|
7
|
+
import { t as SDK_VERSION } from "./sdkVersion-BkmV6loo.esm.js";
|
|
8
|
+
import "./trueSight-B5TsmkOb.esm.js";
|
|
9
|
+
import { E as updateFeatureManagementUser } from "./feature-management-B0q4TMsC.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-j-XfYmgc.esm.js";
|
|
8
|
+
import "./trueSight-B5TsmkOb.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-BaxrnKP5.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-B0q4TMsC.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-CrBbfWoL.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-j-XfYmgc.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-BkmV6loo.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;
|