@incodetech/core 0.0.0-dev-20261104-b9eaf11a → 0.0.0-dev-20261104-2294b229
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-aEFGArT8.esm.js → FaceDetectionProvider-v4jPzWgN.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DRZebGUB.esm.js → apiError-FmYLB3qy.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-3tTvdSs3.esm.js → authenticationManager-CnfP54zR.esm.js} +3 -3
- package/dist/{authenticationStateMachine-B2NKMG4f.esm.js → authenticationStateMachine-BwND1OkS.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-sjhjBNVr.d.ts → consentManager-Cegv5Kth.d.ts} +4 -4
- package/dist/{deepsightLoader-BvsvAtHK.esm.js → deepsightLoader-9rWa0Ibd.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-D_j4i0xl.esm.js → dynamicFormsManager-CfnXHVAM.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CiA5L0kT.esm.js → dynamicFormsStateMachine-SL2tP2aS.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CyHG0CAj.esm.js → ekybManager-B0Bwu1TN.esm.js} +1 -1
- package/dist/{ekybStateMachine-DAAiUCww.esm.js → ekybStateMachine-Xct1fOj7.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-B_v1G2Uz.esm.js → electronicSignatureManager-DtKmEUUS.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-BBNf7b4y.esm.js → faceCaptureManagerFactory-B4cK9MX9.esm.js} +1 -1
- package/dist/{faceCaptureSetup-BdtTKul2.esm.js → faceCaptureSetup-Cu0QLvxk.esm.js} +3 -3
- package/dist/{feature-management-LutcoeXE.esm.js → feature-management-CjM2ueO5.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-6Lum4avv.esm.js → flowCompletionService-BH5mwbFa.esm.js} +1 -1
- package/dist/{flowServices-Rdmxmvzc.esm.js → flowServices-DYitqacy.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CaPVQYrS.esm.js → geolocationManager-CUxokIj3.esm.js} +1 -1
- package/dist/{geolocationStateMachine-lDUsFQKL.esm.js → geolocationStateMachine-BWXe25l8.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 +4 -4
- package/dist/{idCaptureManager-BxjWOz0R.esm.js → idCaptureManager-B50YClNw.esm.js} +3 -3
- package/dist/{idCaptureManager-BX251eWT.d.ts → idCaptureManager-BwnhLz9C.d.ts} +3 -1
- package/dist/{idCaptureServices-C4T6jszG.esm.js → idCaptureServices-VXySuhxb.esm.js} +16 -9
- package/dist/{idCaptureStateMachine-DrxABUjV.esm.js → idCaptureStateMachine-CsEh-GOd.esm.js} +8 -8
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CH67X4Ne.d.ts → mandatoryConsentManager-BH9EFT7w.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-Mf7tUubC.esm.js → runChildModule-Dd2Z8jWQ.esm.js} +1 -1
- package/dist/{sdkVersion-BrJu6Ben.esm.js → sdkVersion-BWSg7FWw.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-CpV6gSUo.esm.js → selfieErrorUtils-2hEj86-y.esm.js} +1 -1
- package/dist/{selfieManager-CGmPy0Do.esm.js → selfieManager-Yox2JLoL.esm.js} +3 -3
- package/dist/{selfieStateMachine-y_-5j1ME.esm.js → selfieStateMachine-xvD7zrBz.esm.js} +3 -3
- package/dist/{session-DzR0epLX.esm.js → session-CbjJhn2-.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DD4f2Och.esm.js → sessionInitializer-oK--BGVY.esm.js} +30 -6
- package/dist/{setup-Dbt0L6Sm.esm.js → setup-DhELFSQa.esm.js} +4 -4
- package/dist/{trueSightService-Bzy0etHz.esm.js → trueSightService-C0-D3vni.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DrmuaYzB.esm.js → videoSelfieCameraWarmer-1wuu2-Fk.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +13 -13
- package/package.json +8 -7
package/dist/{FaceDetectionProvider-aEFGArT8.esm.js → FaceDetectionProvider-v4jPzWgN.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-DPfXWeBq.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-DhELFSQa.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C0-D3vni.esm.js";
|
|
6
|
+
import "./sessionInitializer-oK--BGVY.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-9rWa0Ibd.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DtKmEUUS.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BwND1OkS.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CnfP54zR.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-3tTvdSs3.esm.js → authenticationManager-CnfP54zR.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CQteqXfy.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B4cK9MX9.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BwND1OkS.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Cu0QLvxk.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-v4jPzWgN.esm.js";
|
|
5
5
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CzF8HsJn.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Cegv5Kth.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -78,14 +78,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
78
78
|
type: "setError";
|
|
79
79
|
params: NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
|
-
clearError: {
|
|
82
|
-
type: "clearError";
|
|
83
|
-
params: NonReducibleUnknown;
|
|
84
|
-
};
|
|
85
81
|
setLoadError: {
|
|
86
82
|
type: "setLoadError";
|
|
87
83
|
params: NonReducibleUnknown;
|
|
88
84
|
};
|
|
85
|
+
clearError: {
|
|
86
|
+
type: "clearError";
|
|
87
|
+
params: NonReducibleUnknown;
|
|
88
|
+
};
|
|
89
89
|
resetContext: {
|
|
90
90
|
type: "resetContext";
|
|
91
91
|
params: NonReducibleUnknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as BrowserEnvironmentProvider, S as IpifyProvider, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-C0-D3vni.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-BWSg7FWw.esm.js";
|
|
4
|
+
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-oK--BGVY.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ck2Lt6OY.esm.js";
|
|
@@ -12,7 +12,7 @@ import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js
|
|
|
12
12
|
function createMetadataService(wasmUtil, browserEnv, ipLookup) {
|
|
13
13
|
return {
|
|
14
14
|
async initialize(sdkVersion, disableIpify = false, disableFingerprint = false) {
|
|
15
|
-
wasmUtil.setSdkPlatform(
|
|
15
|
+
wasmUtil.setSdkPlatform(SDK_PLATFORM);
|
|
16
16
|
wasmUtil.setSdkVersion(sdkVersion);
|
|
17
17
|
const ua = getUserAgent();
|
|
18
18
|
const parsedUa = getParsedUserAgent(ua);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-SL2tP2aS.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-CfnXHVAM.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-SL2tP2aS.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-CiA5L0kT.esm.js → dynamicFormsStateMachine-SL2tP2aS.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-FmYLB3qy.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-Xct1fOj7.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-B0Bwu1TN.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-Xct1fOj7.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-DYitqacy.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, 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, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DtKmEUUS.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-FmYLB3qy.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
7
|
import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f
|
|
|
9
9
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
10
10
|
import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
11
11
|
import "./StreamCanvasCapture-C3xNfOsv.js";
|
|
12
|
-
import {
|
|
12
|
+
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-BwnhLz9C.js";
|
|
13
13
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager--l6e_7Pr.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cegv5Kth.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-B9LuZ0tj.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
@@ -27,9 +27,9 @@ import { i as CaptureIdResponse } from "./types-XwxtmhWC.js";
|
|
|
27
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-6nrJkvkG.js";
|
|
28
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
|
|
29
29
|
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-DX2AyM4Y.js";
|
|
30
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
30
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BH9EFT7w.js";
|
|
33
33
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
|
|
34
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
|
-
import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-oK--BGVY.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DtKmEUUS.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CQ08atTC.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Cu0QLvxk.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CnfP54zR.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-CM0fuqDC.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-CBwFozhv.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-64O8t10a.esm.js";
|
|
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-DWt_0YtJ.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-D8o-2Nej.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BfXguEU3.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CfnXHVAM.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-B0Bwu1TN.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-Be6T7RJs.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-CDhBis0c.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-Yox2JLoL.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B50YClNw.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-DLFQqWDV.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-B8gQ_rw3.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CVay6-9A.esm.js";
|
|
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-B64-fjWg.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BJXC6Kx9.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-BeEVCcsC.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-CUxokIj3.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CkX9TEkh.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-_Kebv-Ue.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-B2zp7yP4.esm.js";
|
package/dist/{faceCaptureManagerFactory-BBNf7b4y.esm.js → faceCaptureManagerFactory-B4cK9MX9.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScr
|
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
5
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
5
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-Cu0QLvxk.esm.js";
|
|
6
6
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ck2Lt6OY.esm.js";
|
|
7
7
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
8
8
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CJSZshmj.esm.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken } from "./api-BO8JA7Pf.esm.js";
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./sessionInitializer-
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-C0-D3vni.esm.js";
|
|
4
|
+
import "./sessionInitializer-oK--BGVY.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
|
|
6
6
|
import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
|
|
7
7
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CJSZshmj.esm.js";
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-v4jPzWgN.esm.js";
|
|
12
12
|
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-CzF8HsJn.esm.js";
|
|
13
13
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
14
14
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-BWSg7FWw.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-CjM2ueO5.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { y as addEvent } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
|
-
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, h as mergeDashboardConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-
|
|
3
|
+
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, h as mergeDashboardConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-DYitqacy.esm.js";
|
|
4
4
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
7
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
6
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BH5mwbFa.esm.js";
|
|
7
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dd2Z8jWQ.esm.js";
|
|
8
8
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
9
9
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
10
10
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
package/dist/{flowCompletionService-6Lum4avv.esm.js → flowCompletionService-BH5mwbFa.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-FmYLB3qy.esm.js";
|
|
3
3
|
//#region src/modules/flow/flowCompletionService.ts
|
|
4
4
|
const getFinishStatus = async (flowId, signal) => {
|
|
5
5
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-DPfXWeBq.esm.js";
|
|
2
2
|
import { r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-
|
|
4
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-oK--BGVY.esm.js";
|
|
4
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CjM2ueO5.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-FmYLB3qy.esm.js";
|
|
6
|
+
import "./session-CbjJhn2-.esm.js";
|
|
7
7
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
8
8
|
import { a as prefetchStartInfo } from "./phoneServices-Cn4uBGpN.esm.js";
|
|
9
9
|
//#region src/modules/flow/dashboardConfig.ts
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-CUxokIj3.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BWXe25l8.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BWXe25l8.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-lDUsFQKL.esm.js → geolocationStateMachine-BWXe25l8.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
2
|
import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-FmYLB3qy.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
import { t as carryAttempts } from "./attemptCarry-C8NbkPlt.esm.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-DYitqacy.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-v4jPzWgN.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BOIM1God.esm.js";
|
|
11
|
-
import { _ as
|
|
11
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-VXySuhxb.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
14
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as getFinishStatus } from "./flowCompletionService-BH5mwbFa.esm.js";
|
|
14
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-1wuu2-Fk.esm.js";
|
|
15
15
|
import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
16
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
17
17
|
/** Default autocapture window for the selfie step. */
|
package/dist/id.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
3
|
-
import { A as
|
|
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-BwnhLz9C.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
6
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-XwxtmhWC.js";
|
|
@@ -34,4 +34,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
|
|
|
34
34
|
*/
|
|
35
35
|
declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
|
|
36
36
|
//#endregion
|
|
37
|
-
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdCountryDetectionDependencies, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
37
|
+
export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdCountryDetectionDependencies, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, ID_QUALITY_BACKEND_VALIDATION_GATE, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
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
|
|
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-CsEh-GOd.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B50YClNw.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-VXySuhxb.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
|
|
@@ -12,4 +12,4 @@ const DEVICE_WALLET_ERROR_KEYS = {
|
|
|
12
12
|
WALLET_ERROR: "idv2.deviceWallet.errorDescription"
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
15
|
-
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
15
|
+
export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, ID_QUALITY_BACKEND_VALIDATION_GATE, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, isSuspendableRecordingSession, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, resumeRecordingAfterPause, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
@@ -9,8 +9,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ck2Lt6OY.esm.js";
|
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CJSZshmj.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
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-
|
|
13
|
-
import {
|
|
12
|
+
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-CsEh-GOd.esm.js";
|
|
13
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-VXySuhxb.esm.js";
|
|
14
14
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-CXIBwBeE.esm.js";
|
|
15
15
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
16
16
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -131,6 +131,8 @@ type ValidationError = {
|
|
|
131
131
|
messageDescription?: string;
|
|
132
132
|
errorKey: IdErrorCode;
|
|
133
133
|
};
|
|
134
|
+
/** Statsig gate that lets the backend's `idQualityAttemptApproved` decide readability. */
|
|
135
|
+
declare const ID_QUALITY_BACKEND_VALIDATION_GATE = "id_quality_backend_validation";
|
|
134
136
|
declare function validateUploadResponse(response: UploadIdResponse & {
|
|
135
137
|
failReason?: string;
|
|
136
138
|
side?: 'front' | 'back';
|
|
@@ -846,4 +848,4 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
846
848
|
deviceWalletUseAnotherMethod(): void;
|
|
847
849
|
};
|
|
848
850
|
//#endregion
|
|
849
|
-
export {
|
|
851
|
+
export { ValidationError as A, processId as B, AddBarcodeParams as C, InitializeIdCaptureParams as D, IdCaptureInitResult as E, getRealQualityValue as F, uploadIdImage as G, startRecordingSession as H, initializeIdCapture as I, validateUploadResponse as K, isSuspendableRecordingSession as L, barcodeToBase64 as M, disposeRecordingSession as N, StartRecordingParams as O, finalizeRecordingSession as P, pauseRecordingForAttempt as R, idCaptureMachine as S, ID_QUALITY_BACKEND_VALIDATION_GATE as T, stopRecording as U, resumeRecordingAfterPause as V, stopStream as W, idCaptureOnlyMachine as _, RenderWalletError as a, createIdCaptureActor as b, DeviceWalletManager as c, CreateDeviceWalletActorOptions as d, resolveWalletPlatform as f, IdCaptureOnlyMachine as g, createIdCaptureOnlyActor as h, createIdCaptureManagerFromActor as i, addBarcode as j, UploadIdImageParams as k, DeviceWalletState as l, IdCaptureOnlyActor as m, IdCaptureManager as n, RenderWalletParams as o, CreateIdCaptureOnlyActorOptions as p, WasmUtilProvider as q, IdCaptureState as r, renderWallet as s, createIdCaptureManager as t, createDeviceWalletManager as u, CreateIdCaptureActorOptions as v, FinalizedIdRecording as w, IdCaptureMachine as x, IdCaptureActor as y, prepareRecordingForCameraRetry as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
3
|
-
import { i as numberParam, 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-CjM2ueO5.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
5
|
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
@@ -289,6 +289,14 @@ async function initializeIdCapture(params) {
|
|
|
289
289
|
function stopStream(stream) {
|
|
290
290
|
for (const track of stream.getTracks()) track.stop();
|
|
291
291
|
}
|
|
292
|
+
/** Statsig gate that lets the backend's `idQualityAttemptApproved` decide readability. */
|
|
293
|
+
const ID_QUALITY_BACKEND_VALIDATION_GATE = "id_quality_backend_validation";
|
|
294
|
+
const readabilityIssue = {
|
|
295
|
+
error: true,
|
|
296
|
+
message: "Info is not readable",
|
|
297
|
+
messageDescription: "Minimize camera shake by holding your phone steady",
|
|
298
|
+
errorKey: ID_ERROR_CODES.READABILITY_ISSUE
|
|
299
|
+
};
|
|
292
300
|
function validateUploadResponse(response, sessionState) {
|
|
293
301
|
if (response.failReason === "ID_TYPE_UNACCEPTABLE") return {
|
|
294
302
|
error: true,
|
|
@@ -302,17 +310,16 @@ function validateUploadResponse(response, sessionState) {
|
|
|
302
310
|
messageDescription: response.side === "back" ? "Please show the back side of your ID" : "Please show the front side of your ID",
|
|
303
311
|
errorKey: ID_ERROR_CODES.WRONG_DOCUMENT_SIDE
|
|
304
312
|
};
|
|
305
|
-
if (response.failReason === "DOCUMENT_NOT_READABLE") return
|
|
306
|
-
error: true,
|
|
307
|
-
message: "Info is not readable",
|
|
308
|
-
messageDescription: "Minimize camera shake by holding your phone steady",
|
|
309
|
-
errorKey: ID_ERROR_CODES.READABILITY_ISSUE
|
|
310
|
-
};
|
|
313
|
+
if (response.failReason === "DOCUMENT_NOT_READABLE") return readabilityIssue;
|
|
311
314
|
if (!response.classification) return {
|
|
312
315
|
error: true,
|
|
313
316
|
message: "ID classification failed",
|
|
314
317
|
errorKey: ID_ERROR_CODES.CLASSIFICATION_FAILED
|
|
315
318
|
};
|
|
319
|
+
if (getFeatureGate("id_quality_backend_validation").enabled && response.idQualityAttemptApproved !== void 0 && response.idQualityAttemptApproved !== null) {
|
|
320
|
+
if (response.idQualityAttemptApproved === false) return readabilityIssue;
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
316
323
|
const sharpnessThreshold = getDeviceClass() === "desktop" ? -1 : SHARPNESS_THRESHOLD;
|
|
317
324
|
if (response.sharpness !== void 0 && sharpnessThreshold >= 0 && response.sharpness < sharpnessThreshold) return {
|
|
318
325
|
error: true,
|
|
@@ -585,4 +592,4 @@ async function addBarcode(params) {
|
|
|
585
592
|
return res.data;
|
|
586
593
|
}
|
|
587
594
|
//#endregion
|
|
588
|
-
export {
|
|
595
|
+
export { OPTIMIZING_WATCHDOG_MARGIN_MS as C, CAPTURE_OPTIMIZING as S, validateUploadResponse as _, finalizeRecordingSession as a, resolveCountdownStepMs as b, isSuspendableRecordingSession as c, processId as d, resumeRecordingAfterPause as f, uploadIdImage as g, stopStream as h, disposeRecordingSession as i, pauseRecordingForAttempt as l, stopRecording as m, addBarcode as n, getRealQualityValue as o, startRecordingSession as p, barcodeToBase64 as r, initializeIdCapture as s, ID_QUALITY_BACKEND_VALIDATION_GATE as t, prepareRecordingForCameraRetry as u, ID_ERROR_CODES as v, getIdCameraStream as w, resolveIdCaptureThresholds as x, resolveCaptureOptimizingTreatment as y };
|
package/dist/{idCaptureStateMachine-DrxABUjV.esm.js → idCaptureStateMachine-CsEh-GOd.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
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-DhELFSQa.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-CQteqXfy.esm.js";
|
|
5
5
|
import { r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
6
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
7
|
-
import { n as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-C0-D3vni.esm.js";
|
|
7
|
+
import { n as getDisableIpify } from "./sessionInitializer-oK--BGVY.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
9
|
+
import { s as exposeExperimentOnce } from "./feature-management-CjM2ueO5.esm.js";
|
|
10
10
|
import { t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
|
|
11
11
|
import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-CbjJhn2-.esm.js";
|
|
13
13
|
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, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
14
14
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
15
15
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
@@ -26,7 +26,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
27
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
28
28
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BOIM1God.esm.js";
|
|
29
|
-
import { C as
|
|
29
|
+
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-VXySuhxb.esm.js";
|
|
30
30
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
31
31
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -2031,7 +2031,7 @@ fromPromise(async ({ input }) => {
|
|
|
2031
2031
|
});
|
|
2032
2032
|
fromPromise(async ({ input }) => {
|
|
2033
2033
|
if (!input.dependencies) return;
|
|
2034
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2034
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-9rWa0Ibd.esm.js");
|
|
2035
2035
|
return loadDeepsightSession({
|
|
2036
2036
|
ds: input.ds,
|
|
2037
2037
|
storage: input.dependencies.storage,
|
|
@@ -2474,7 +2474,7 @@ function cleanup(service) {
|
|
|
2474
2474
|
service.cleanup();
|
|
2475
2475
|
} catch {}
|
|
2476
2476
|
}
|
|
2477
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2477
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-9rWa0Ibd.esm.js")).loadDeepsightSession(input)) {
|
|
2478
2478
|
let disposed = false;
|
|
2479
2479
|
let preparation;
|
|
2480
2480
|
let service;
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-ooAbp6Kc.js";
|
|
2
2
|
export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -120,6 +120,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
120
120
|
type: "setError";
|
|
121
121
|
params: NonReducibleUnknown;
|
|
122
122
|
};
|
|
123
|
+
clearError: {
|
|
124
|
+
type: "clearError";
|
|
125
|
+
params: NonReducibleUnknown;
|
|
126
|
+
};
|
|
123
127
|
setSelectedDocument: {
|
|
124
128
|
type: "setSelectedDocument";
|
|
125
129
|
params: NonReducibleUnknown;
|
|
@@ -128,10 +132,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
128
132
|
type: "setCompanyName";
|
|
129
133
|
params: NonReducibleUnknown;
|
|
130
134
|
};
|
|
131
|
-
clearError: {
|
|
132
|
-
type: "clearError";
|
|
133
|
-
params: NonReducibleUnknown;
|
|
134
|
-
};
|
|
135
135
|
}>, Values<{
|
|
136
136
|
hasDocuments: {
|
|
137
137
|
type: "hasDocuments";
|
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-DhELFSQa.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-bn0ZpYF1.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-BH9EFT7w.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CH67X4Ne.d.ts → mandatoryConsentManager-BH9EFT7w.d.ts}
RENAMED
|
@@ -57,10 +57,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
57
57
|
type: "setError";
|
|
58
58
|
params: NonReducibleUnknown;
|
|
59
59
|
};
|
|
60
|
-
clearError: {
|
|
61
|
-
type: "clearError";
|
|
62
|
-
params: NonReducibleUnknown;
|
|
63
|
-
};
|
|
64
60
|
setLoadError: {
|
|
65
61
|
type: "setLoadError";
|
|
66
62
|
params: NonReducibleUnknown;
|
|
@@ -69,6 +65,10 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
69
65
|
type: "toggleSigned";
|
|
70
66
|
params: NonReducibleUnknown;
|
|
71
67
|
};
|
|
68
|
+
clearError: {
|
|
69
|
+
type: "clearError";
|
|
70
|
+
params: NonReducibleUnknown;
|
|
71
|
+
};
|
|
72
72
|
resetContext: {
|
|
73
73
|
type: "resetContext";
|
|
74
74
|
params: NonReducibleUnknown;
|
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-DtKmEUUS.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 { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { w as createEventBus } from "./events-CQteqXfy.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-C0-D3vni.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CQteqXfy.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Cu0QLvxk.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B4cK9MX9.esm.js";
|
|
8
|
+
import { s as processFace } from "./FaceDetectionProvider-v4jPzWgN.esm.js";
|
|
9
9
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CzF8HsJn.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-xvD7zrBz.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Yox2JLoL.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-CXIBwBeE.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* 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-v4jPzWgN.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,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CQteqXfy.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B4cK9MX9.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-xvD7zrBz.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.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-Cu0QLvxk.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-v4jPzWgN.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-2hEj86-y.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-C0-D3vni.esm.js";
|
|
3
|
+
import "./sessionInitializer-oK--BGVY.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-FmYLB3qy.esm.js";
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
|
7
7
|
* 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-BO8JA7Pf.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-oK--BGVY.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-FmYLB3qy.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-CbjJhn2-.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-BH5mwbFa.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -2,10 +2,10 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
2
2
|
import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
3
3
|
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-CQteqXfy.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
5
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-C0-D3vni.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-BWSg7FWw.esm.js";
|
|
7
7
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
8
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
8
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CjM2ueO5.esm.js";
|
|
9
9
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BpMz-hTP.esm.js";
|
|
10
10
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
11
11
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -13,6 +13,14 @@ import { a as isIOS } from "./platform-aPh7gTWh.esm.js";
|
|
|
13
13
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
14
14
|
import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-xzRLIIMN.esm.js";
|
|
15
15
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
16
|
+
//#region src/internal/version/sdkPlatform.ts
|
|
17
|
+
/**
|
|
18
|
+
* The platform SDK 2 reports to the backend: the device fingerprint post's
|
|
19
|
+
* `deviceType`, and the SDK platform the WASM module stamps on capture
|
|
20
|
+
* metadata and fingerprint signals. Keep them in one place so they agree.
|
|
21
|
+
*/
|
|
22
|
+
const SDK_PLATFORM = "WEBAPP";
|
|
23
|
+
//#endregion
|
|
16
24
|
//#region src/internal/fingerprint/incodeDeviceHash.ts
|
|
17
25
|
function isNonEmptyString(value) {
|
|
18
26
|
return typeof value === "string" && value.trim() !== "";
|
|
@@ -90,6 +98,20 @@ const incodeDeviceHashWaiter = createIncodeDeviceHashWaiter(BrowserTimerProvider
|
|
|
90
98
|
const START_INTERVIEW_EVENT = "modelLoadEnd";
|
|
91
99
|
const CAPTURE_INTERVIEW_EVENT = "captureAttemptFinished";
|
|
92
100
|
const START_SIGNALS = ["device"];
|
|
101
|
+
/**
|
|
102
|
+
* The native envelope reads the SDK platform and version, and the start batch
|
|
103
|
+
* goes out before any capture's Deepsight session has set them. A failure is
|
|
104
|
+
* rethrown under its own name, so TrueSight does not blame the read.
|
|
105
|
+
*/
|
|
106
|
+
function setSdkIdentity(wasmUtil) {
|
|
107
|
+
try {
|
|
108
|
+
wasmUtil.setSdkPlatform(SDK_PLATFORM);
|
|
109
|
+
wasmUtil.setSdkVersion(SDK_VERSION);
|
|
110
|
+
} catch (error) {
|
|
111
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
112
|
+
throw new Error(`setting the SDK platform and version failed: ${message}`);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
93
115
|
function createFingerprintSignalsReporter(deps) {
|
|
94
116
|
let enabled = true;
|
|
95
117
|
let sessionActive = false;
|
|
@@ -115,7 +137,9 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
115
137
|
const isPid = type === "pid";
|
|
116
138
|
let deviceHash = null;
|
|
117
139
|
try {
|
|
118
|
-
const
|
|
140
|
+
const wasmUtil = await deps.getWasmUtil();
|
|
141
|
+
setSdkIdentity(wasmUtil);
|
|
142
|
+
const metadata = await wasmUtil.getFingerprintSignals(type);
|
|
119
143
|
if (!metadata || deps.getToken() !== token) return;
|
|
120
144
|
const response = await deps.post(endpoints.deviceFingerprintSignals, isPid ? {
|
|
121
145
|
interviewEvent,
|
|
@@ -769,7 +793,7 @@ async function submitDeviceFingerprint(options = {}, dependencies) {
|
|
|
769
793
|
const payload = {
|
|
770
794
|
hash: deviceHash?.hash ?? "",
|
|
771
795
|
ip,
|
|
772
|
-
deviceType:
|
|
796
|
+
deviceType: SDK_PLATFORM,
|
|
773
797
|
data: JSON.stringify({
|
|
774
798
|
ip,
|
|
775
799
|
deviceInfo
|
|
@@ -1175,4 +1199,4 @@ function resetSessionInit() {
|
|
|
1175
1199
|
resetDeviceStatsQueue();
|
|
1176
1200
|
}
|
|
1177
1201
|
//#endregion
|
|
1178
|
-
export { BrowserEnvironmentProvider as C, IpifyProvider as S, setStandaloneFlowPolicy as _, initializeSession as a, getThumbmarkId as b, setClientHostingApp as c, setClientWasmDisabled as d, whenSessionFingerprintSettled as f, resolveStandaloneFlowPolicy as g, resetStandaloneFlowPolicy as h, getSessionFingerprintResult as i, setClientIpLookupEnabled as l, registerFlowPreloader as m, getDisableIpify as n, resetSessionInit as o, getStandaloneFlowPolicy as p, getFingerprintEnabled as r, setClientFingerprintEnabled as s, endDeviceHashWait as t, setClientWasmConfig as u, isBrowserSimulation as v, fingerprintSignalsReporter as w, getDeviceFingerprintInfo as x, getFingerprint as y };
|
|
1202
|
+
export { BrowserEnvironmentProvider as C, IpifyProvider as S, SDK_PLATFORM as T, setStandaloneFlowPolicy as _, initializeSession as a, getThumbmarkId as b, setClientHostingApp as c, setClientWasmDisabled as d, whenSessionFingerprintSettled as f, resolveStandaloneFlowPolicy as g, resetStandaloneFlowPolicy as h, getSessionFingerprintResult as i, setClientIpLookupEnabled as l, registerFlowPreloader as m, getDisableIpify as n, resetSessionInit as o, getStandaloneFlowPolicy as p, getFingerprintEnabled as r, setClientFingerprintEnabled as s, endDeviceHashWait as t, setClientWasmConfig as u, isBrowserSimulation as v, fingerprintSignalsReporter as w, getDeviceFingerprintInfo as x, getFingerprint as y };
|
|
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiag
|
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
4
4
|
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-CQteqXfy.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-BO8JA7Pf.esm.js";
|
|
6
|
-
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-
|
|
7
|
-
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
6
|
+
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-C0-D3vni.esm.js";
|
|
7
|
+
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-oK--BGVY.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
9
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
10
|
-
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-
|
|
10
|
+
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-CjM2ueO5.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-DYitqacy.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
15
|
/**
|
|
16
16
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWa
|
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
3
|
import { C as subscribeEvent, n as eventModuleNames } from "./events-CQteqXfy.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-BO8JA7Pf.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BWSg7FWw.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-DhELFSQa.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-DYitqacy.esm.js";
|
|
7
7
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as carryAttempts } from "./attemptCarry-C8NbkPlt.esm.js";
|
|
11
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-1wuu2-Fk.esm.js";
|
|
13
13
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
14
14
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
|
|
15
15
|
import { t as MultipartRecordingService } from "./multipartRecordingService-Cp2NhhmP.esm.js";
|
package/dist/{videoSelfieCameraWarmer-DrmuaYzB.esm.js → videoSelfieCameraWarmer-1wuu2-Fk.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-DYitqacy.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-CJSZshmj.esm.js";
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-v4jPzWgN.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-2hEj86-y.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BOIM1God.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-DClKyqNR.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-DPfXWeBq.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DhELFSQa.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-CQteqXfy.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
3
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-C0-D3vni.esm.js";
|
|
4
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-oK--BGVY.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CjM2ueO5.esm.js";
|
|
6
6
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-FmYLB3qy.esm.js";
|
|
8
8
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
9
9
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
10
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
10
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-DtKmEUUS.esm.js";
|
|
11
11
|
import "./ae-signature.esm.js";
|
|
12
12
|
import { t as antifraudMachine } from "./antifraudStateMachine-BcsUTTIr.esm.js";
|
|
13
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
13
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BwND1OkS.esm.js";
|
|
14
14
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-kksIUOPD.esm.js";
|
|
15
15
|
import { t as consentMachine } from "./consentStateMachine-CpmRAcr2.esm.js";
|
|
16
16
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-DAFndzpo.esm.js";
|
|
17
17
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-Sbi6DIcK.esm.js";
|
|
18
18
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DJPyCwQu.esm.js";
|
|
19
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
19
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-SL2tP2aS.esm.js";
|
|
20
20
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
21
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-Xct1fOj7.esm.js";
|
|
22
22
|
import { t as ekycMachine } from "./ekycStateMachine-DZbKVMgq.esm.js";
|
|
23
23
|
import { l as toEkycConfig } from "./ekycUtils-ChD5TcJH.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-D6WedIVj.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-xvD7zrBz.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CsEh-GOd.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-BLFIfxPy.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-CSi_ZhtT.esm.js";
|
|
29
29
|
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DA6K5na4.esm.js";
|
|
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CVl
|
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-B1aZnobs.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BBMAc2Gb.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-_1c1vSid.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BWXe25l8.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-PTPCP26N.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-DQn6c84z.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-ByTMQCUC.esm.js";
|
|
39
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
40
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
39
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BH5mwbFa.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dd2Z8jWQ.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-20261104-
|
|
3
|
+
"version": "0.0.0-dev-20261104-2294b229",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -277,22 +277,23 @@
|
|
|
277
277
|
"typescript": "^5.9.3",
|
|
278
278
|
"vitest": "4.1.10",
|
|
279
279
|
"@incodetech/config": "1.0.2",
|
|
280
|
-
"@incodetech/
|
|
281
|
-
"@incodetech/
|
|
280
|
+
"@incodetech/infra": "1.5.0",
|
|
281
|
+
"@incodetech/form-definitions": "0.0.0"
|
|
282
282
|
},
|
|
283
283
|
"scripts": {
|
|
284
284
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|
|
285
285
|
"build:cdn": "tsdown -c tsdown.config.ts --minify && pnpm check:dist-types",
|
|
286
286
|
"build:dev": "tsdown -c tsdown.config.ts",
|
|
287
|
-
"check:dist-types": "
|
|
287
|
+
"check:dist-types": "bun check -p tsconfig.dist-types.json --no-script",
|
|
288
288
|
"test": "vitest run",
|
|
289
|
+
"test:shard": "vitest run --shard=$VITEST_SHARD",
|
|
289
290
|
"test:changed": "vitest run --changed origin/main --passWithNoTests",
|
|
290
291
|
"coverage": "vitest run --coverage",
|
|
291
|
-
"lint": "
|
|
292
|
-
"lint:fix": "
|
|
292
|
+
"lint": "oxlint .",
|
|
293
|
+
"lint:fix": "oxlint . --fix",
|
|
293
294
|
"format": "prettier --write . --ignore-path ../../.prettierignore",
|
|
294
295
|
"format:check": "prettier --check . --ignore-path ../../.prettierignore",
|
|
295
|
-
"typecheck": "
|
|
296
|
+
"typecheck": "bun check -p tsconfig.json --noEmit --rootDir=.. --no-script",
|
|
296
297
|
"parity:record": "PARITY_RECORD=1 vitest run __parity__"
|
|
297
298
|
}
|
|
298
299
|
}
|