@incodetech/core 0.0.0-dev-20261102-b5a0f05a → 0.0.0-dev-20261103-d46c8153
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-WR0--mud.esm.js → FaceDetectionProvider-BKUn6zfR.esm.js} +10 -7
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-SQqcxWi4.esm.js → apiError-9Nip-yut.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CVDBB_4A.d.ts → authenticationManager-C-cOki0Y.d.ts} +1 -1
- package/dist/{authenticationManager-DIQWHkAD.esm.js → authenticationManager-CUIa8BCO.esm.js} +3 -3
- package/dist/{authenticationStateMachine-CGx4T7RX.esm.js → authenticationStateMachine-DHI2E9EL.esm.js} +2 -2
- package/dist/{deepsightLoader-1yWkq-yI.esm.js → deepsightLoader-BhENBXHx.esm.js} +4 -4
- package/dist/{deepsightService-DhjupHfz.esm.js → deepsightService-D3aN5E7j.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Db4U-usW.esm.js → dynamicFormsManager-CqwRs4k3.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CU9AlxD_.esm.js → dynamicFormsStateMachine-CMeeEyd7.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DGxJZQ75.esm.js → ekybManager-QbP0THC9.esm.js} +1 -1
- package/dist/{ekybStateMachine-C1V_lEa-.esm.js → ekybStateMachine-UhfVT8CB.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BDBF9F2y.esm.js → electronicSignatureManager-Di9Kv-sR.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +11 -11
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-QYEShK-c.d.ts → faceCaptureManagerFactory-C-xKdj-d.d.ts} +5 -0
- package/dist/{faceCaptureManagerFactory-xEviMAcu.esm.js → faceCaptureManagerFactory-Ce52xAG2.esm.js} +1 -1
- package/dist/{faceCaptureSetup-Biu_sUp2.esm.js → faceCaptureSetup-BbnHRa1A.esm.js} +3 -3
- package/dist/{faceMatchManager-CxP5KtOf.esm.js → faceMatchManager-B2zp7yP4.esm.js} +1 -1
- package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
- package/dist/{faceMatchStateMachine-JkSYu0c3.esm.js → faceMatchStateMachine-ByTMQCUC.esm.js} +39 -26
- package/dist/{feature-management-D80TQPak.esm.js → feature-management-CkilyjJZ.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-Da7nKAha.esm.js → flowCompletionService-C4OiMjVB.esm.js} +1 -1
- package/dist/{flowServices-aJGSeJBQ.esm.js → flowServices-BKvyaoEa.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BViVceAJ.esm.js → geolocationManager-DVPOpAez.esm.js} +1 -1
- package/dist/{geolocationStateMachine-dsK8KS1q.esm.js → geolocationStateMachine-Lpf7naVK.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-B2prXcIH.esm.js → idCaptureManager-B6wh8Xmf.esm.js} +3 -3
- package/dist/{idCaptureServices-DzuogvQN.esm.js → idCaptureServices-DT4ESCg9.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DnChSHWA.esm.js → idCaptureStateMachine-n2GVaOXQ.esm.js} +9 -9
- package/dist/index.esm.js +1 -1
- package/dist/processFaceMatch-BWme3kVV.esm.js +21 -0
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-DR6H66sw.esm.js → runChildModule-CfoyaLNL.esm.js} +1 -1
- package/dist/{sdkVersion-D-IAeGke.esm.js → sdkVersion-Muw5K5WH.esm.js} +1 -1
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-C8ad4bWF.esm.js → selfieErrorUtils-C23oo0RW.esm.js} +1 -1
- package/dist/{selfieManager-BFGMsYmc.d.ts → selfieManager-BMmpUii2.d.ts} +1 -1
- package/dist/{selfieManager-Ck-9chj4.esm.js → selfieManager-Cz52UY0Z.esm.js} +3 -3
- package/dist/{selfieStateMachine-3-iazsSc.esm.js → selfieStateMachine-BrsPZU9o.esm.js} +3 -3
- package/dist/{session-ByZoy0gJ.esm.js → session-D1tfised.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-B-IYG2n7.esm.js → sessionInitializer-BAfmS5uU.esm.js} +3 -3
- package/dist/{setup-B_oCyIxE.esm.js → setup-D92BKVaF.esm.js} +4 -4
- package/dist/{trueSightService-DDZ8lKcn.esm.js → trueSightService-27MXpY-H.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CkOopg8Y.esm.js → videoSelfieCameraWarmer-DGlvLCq6.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
package/dist/{FaceDetectionProvider-WR0--mud.esm.js → FaceDetectionProvider-BKUn6zfR.esm.js}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
|
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-D92BKVaF.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-27MXpY-H.esm.js";
|
|
6
|
+
import "./sessionInitializer-BAfmS5uU.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 { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DMBxHKS2.esm.js";
|
|
10
10
|
import { n as hasBackCamera } from "./backCameraStream-C5_NNfUN.esm.js";
|
|
11
|
-
import "./deepsightService-
|
|
11
|
+
import "./deepsightService-D3aN5E7j.esm.js";
|
|
12
12
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
13
|
+
import { n as saveProcessFaceMatch } from "./processFaceMatch-BWme3kVV.esm.js";
|
|
13
14
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
14
15
|
/**
|
|
15
16
|
* On-device still-face capture is owned by the protected camera-cycle actor.
|
|
@@ -124,10 +125,12 @@ const getFaceErrorCodeFromHttpError = (error) => {
|
|
|
124
125
|
return getFaceUploadErrorCode(err.status, typeof err.data?.status === "number" ? err.data.status : void 0);
|
|
125
126
|
};
|
|
126
127
|
async function processFace(imageType = "selfie", signal) {
|
|
127
|
-
|
|
128
|
+
const response = await api.post(endpoints.processFace, {}, {
|
|
128
129
|
query: { imageType },
|
|
129
130
|
signal
|
|
130
|
-
})
|
|
131
|
+
});
|
|
132
|
+
if (imageType === "selfie") saveProcessFaceMatch(response.data?.success);
|
|
133
|
+
return response.data;
|
|
131
134
|
}
|
|
132
135
|
//#endregion
|
|
133
136
|
//#region src/internal/faceCapture/faceCaptureServices.ts
|
|
@@ -233,7 +236,7 @@ function startDetection(params) {
|
|
|
233
236
|
};
|
|
234
237
|
}
|
|
235
238
|
async function initializeDeepsightSession(options) {
|
|
236
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
239
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BhENBXHx.esm.js");
|
|
237
240
|
return loadDeepsightSession({
|
|
238
241
|
ds: options.ds,
|
|
239
242
|
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-Di9Kv-sR.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-C-xKdj-d.js";
|
|
2
2
|
import { t as AuthenticationConfig } from "./types-D9r3zRfY.js";
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-C-cOki0Y.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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-DHI2E9EL.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CUIa8BCO.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-C-xKdj-d.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-DIQWHkAD.esm.js → authenticationManager-CUIa8BCO.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D92BKVaF.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-Ce52xAG2.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DHI2E9EL.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-BbnHRa1A.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BKUn6zfR.esm.js";
|
|
5
5
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Cxs3SIBQ.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { S as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify, x as IpifyProvider } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-27MXpY-H.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-Muw5K5WH.esm.js";
|
|
4
|
+
import { S as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify, x as IpifyProvider } from "./sessionInitializer-BAfmS5uU.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ck2Lt6OY.esm.js";
|
|
6
6
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
7
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
7
|
+
import { t as createDeepsightService } from "./deepsightService-D3aN5E7j.esm.js";
|
|
8
8
|
//#region src/internal/deepsight/deepsightLoader.ts
|
|
9
9
|
async function loadDeepsightSession(options) {
|
|
10
10
|
try {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as fingerprintSignalsReporter, _ as isBrowserSimulation, y as getThumbmarkId } from "./sessionInitializer-
|
|
1
|
+
import { C as fingerprintSignalsReporter, _ as isBrowserSimulation, y as getThumbmarkId } from "./sessionInitializer-BAfmS5uU.esm.js";
|
|
2
2
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
3
3
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
4
4
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
@@ -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-CMeeEyd7.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-CqwRs4k3.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-CMeeEyd7.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-CU9AlxD_.esm.js → dynamicFormsStateMachine-CMeeEyd7.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-9Nip-yut.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
|
-
import { E as isSupportedCountry, b as ALL_COUNTRIES, v as toEkybConfig, w as SUPPORTED_COUNTRIES, x as DEV_ONLY_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as isSupportedCountry, b as ALL_COUNTRIES, v as toEkybConfig, w as SUPPORTED_COUNTRIES, x as DEV_ONLY_COUNTRIES } from "./flowServices-BKvyaoEa.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-UhfVT8CB.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-QbP0THC9.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-UhfVT8CB.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 { C as FIELD_ORDER, E as isSupportedCountry, S as FIELD_NAME_MAPPING, T as UBO_FIELD_LABELS, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, y as ADDRESS_FIELDS } from "./flowServices-
|
|
2
|
+
import { C as FIELD_ORDER, E as isSupportedCountry, S as FIELD_NAME_MAPPING, T as UBO_FIELD_LABELS, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, y as ADDRESS_FIELDS } from "./flowServices-BKvyaoEa.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 createBundledDefinitionSource, c as formatPostalCode, d as validatePostalCode, f as DYNAMIC_REQUIRED_KEY, g as usStateOptions, h as getStreetLevelErrorForSuggestion, i as resolveForm, l as getPostalCodeErrorKey, m as fillFromSuggestion, o as checkSupport, p as STREET_LEVEL_REQUIRED_ERROR, r as isFormDefinitionsEnabled, s as FIXED_DIGIT_POSTAL_CODE_LENGTH, t as debounceSearchActor, u as getPostalCodeMaxLength } from "./addressSearch-41sMcnJk.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-Di9Kv-sR.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-9Nip-yut.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
|
@@ -5,12 +5,12 @@ import "./Actor-DpTj5PFb.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-C-xKdj-d.js";
|
|
9
9
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
10
10
|
import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
11
11
|
import "./StreamCanvasCapture-C3xNfOsv.js";
|
|
12
12
|
import { K as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DzTfQ1Am.js";
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-C-cOki0Y.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
|
|
15
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";
|
|
@@ -22,7 +22,7 @@ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as D
|
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-TB6ZG5lX.js";
|
|
23
23
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BSQteIfC.js";
|
|
24
24
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
25
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
25
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BMmpUii2.js";
|
|
26
26
|
import { i as CaptureIdResponse } from "./types-xEEWCx1j.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";
|
|
@@ -36,7 +36,7 @@ import { a as createSignatureManagerFromActor, n as SignatureManager, o as Signa
|
|
|
36
36
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-6e1i9UIR.js";
|
|
37
37
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-B82zOut8.js";
|
|
38
38
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
|
|
39
|
-
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-
|
|
39
|
+
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-Z4UDLwAv.js";
|
|
40
40
|
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-D0Iy7EKR.js";
|
|
41
41
|
import "./types-e8fCsvvk.js";
|
|
42
42
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D92BKVaF.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DZOGC2HE.esm.js";
|
|
3
|
-
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-BAfmS5uU.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-Di9Kv-sR.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-BbnHRa1A.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CUIa8BCO.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-Z-FgBzHi.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CqwRs4k3.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-QbP0THC9.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-C2cgG2Pl.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-FH_CP0cT.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-Cz52UY0Z.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B6wh8Xmf.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-C6jut_pz.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,9 +29,9 @@ 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-DVPOpAez.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
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
35
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-B2zp7yP4.esm.js";
|
|
36
36
|
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-Be-r4oZj.esm.js";
|
|
37
37
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-Z4UDLwAv.js";
|
|
2
2
|
//#region src/modules/face-match/faceMatchStateMachine.d.ts
|
|
3
3
|
declare const faceMatchMachine: any;
|
|
4
4
|
//#endregion
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-ByTMQCUC.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-B2zp7yP4.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-QYEShK-c.d.ts → faceCaptureManagerFactory-C-xKdj-d.d.ts}
RENAMED
|
@@ -84,6 +84,11 @@ type ProcessFaceResponse = {
|
|
|
84
84
|
faceMatch: boolean;
|
|
85
85
|
confidence: number;
|
|
86
86
|
existingUser: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* `faceRecognition.overall.status === 'OK'` of the session score. Sent only
|
|
89
|
+
* when the API key blocks score retrieval with the session token.
|
|
90
|
+
*/
|
|
91
|
+
success?: boolean | null;
|
|
87
92
|
};
|
|
88
93
|
declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
|
|
89
94
|
//#endregion
|
package/dist/{faceCaptureManagerFactory-xEviMAcu.esm.js → faceCaptureManagerFactory-Ce52xAG2.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-BbnHRa1A.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,7 +1,7 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken, t as api, u as endpoints } 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-27MXpY-H.esm.js";
|
|
4
|
+
import "./sessionInitializer-BAfmS5uU.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
|
|
6
6
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
7
7
|
import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
|
|
@@ -9,7 +9,7 @@ import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xst
|
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
10
10
|
import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
11
11
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CJSZshmj.esm.js";
|
|
12
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
12
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BKUn6zfR.esm.js";
|
|
13
13
|
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-Cxs3SIBQ.esm.js";
|
|
14
14
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
15
15
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -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 faceMatchMachine } from "./faceMatchStateMachine-
|
|
3
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-ByTMQCUC.esm.js";
|
|
4
4
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
5
5
|
function createFaceMatchActor(options) {
|
|
6
6
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
|
@@ -48,6 +48,13 @@ type FaceMatchConfig = {
|
|
|
48
48
|
* @default false
|
|
49
49
|
*/
|
|
50
50
|
skipFaceMatch?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* A match result you already have. When set, the module shows it and does
|
|
53
|
+
* not run the match. Use it when the SDK cannot keep the selfie result
|
|
54
|
+
* across steps, for example after a full page load. Ignored for
|
|
55
|
+
* `matchingType: 'secondId'`.
|
|
56
|
+
*/
|
|
57
|
+
matched?: boolean;
|
|
51
58
|
};
|
|
52
59
|
/**
|
|
53
60
|
* Cropped face images fetched from the backend.
|
|
@@ -67,16 +74,16 @@ type FaceMatchImages = {
|
|
|
67
74
|
secondIdFace?: string | null;
|
|
68
75
|
};
|
|
69
76
|
/**
|
|
70
|
-
* Face match result
|
|
77
|
+
* Face match result: the `success` field of `/omni/process/face`, or the
|
|
78
|
+
* `faceRecognition` status of `/omni/get/score` when that field is absent.
|
|
71
79
|
*/
|
|
72
80
|
type FaceMatchResult = {
|
|
73
81
|
/**
|
|
74
|
-
* Whether faces matched (
|
|
82
|
+
* Whether faces matched (true, false, or null when unknown, for example a
|
|
83
|
+
* `WARN` score).
|
|
75
84
|
*/
|
|
76
85
|
matched: boolean | null;
|
|
77
|
-
/**
|
|
78
|
-
* Whether liveness check passed.
|
|
79
|
-
*/
|
|
86
|
+
/** @deprecated Always `null`. */
|
|
80
87
|
liveness: boolean | null;
|
|
81
88
|
};
|
|
82
89
|
//#endregion
|
|
@@ -92,14 +99,14 @@ type FaceMatchActor = ReturnType<typeof createFaceMatchActor>;
|
|
|
92
99
|
type FaceMatchIdleState = {
|
|
93
100
|
status: 'idle';
|
|
94
101
|
};
|
|
95
|
-
/** Fetching images and
|
|
102
|
+
/** Fetching images and the match result from backend */
|
|
96
103
|
type FaceMatchLoadingState = {
|
|
97
104
|
status: 'loading';
|
|
98
105
|
};
|
|
99
106
|
/**
|
|
100
107
|
* Animation is playing - images are animating.
|
|
101
108
|
* @property images - Cropped face images fetched from backend
|
|
102
|
-
* @property result - Face match result
|
|
109
|
+
* @property result - Face match result
|
|
103
110
|
*/
|
|
104
111
|
type FaceMatchAnimatingState = {
|
|
105
112
|
status: 'animating';
|
|
@@ -110,6 +117,7 @@ type FaceMatchAnimatingState = {
|
|
|
110
117
|
};
|
|
111
118
|
result: {
|
|
112
119
|
matched: boolean | null;
|
|
120
|
+
/** @deprecated Always `null`. */
|
|
113
121
|
liveness: boolean | null;
|
|
114
122
|
};
|
|
115
123
|
};
|
|
@@ -128,6 +136,7 @@ type FaceMatchResultState = {
|
|
|
128
136
|
};
|
|
129
137
|
result: {
|
|
130
138
|
matched: boolean | null;
|
|
139
|
+
/** @deprecated Always `null`. */
|
|
131
140
|
liveness: boolean | null;
|
|
132
141
|
};
|
|
133
142
|
matched: boolean | null;
|
package/dist/{faceMatchStateMachine-JkSYu0c3.esm.js → faceMatchStateMachine-ByTMQCUC.esm.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
|
+
import { t as getProcessFaceMatch } from "./processFaceMatch-BWme3kVV.esm.js";
|
|
4
5
|
//#region src/modules/face-match/constants.ts
|
|
5
6
|
/**
|
|
6
7
|
* Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
|
|
@@ -43,18 +44,6 @@ async function fetchFaceMatchImages(signal) {
|
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
/**
|
|
46
|
-
* Fetches face recognition score from the backend.
|
|
47
|
-
*/
|
|
48
|
-
async function fetchScore(signal) {
|
|
49
|
-
const res = await api.get(endpoints.getScore, { signal });
|
|
50
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getScore} failed: ${res.status} ${res.statusText}`);
|
|
51
|
-
const data = res.data;
|
|
52
|
-
return {
|
|
53
|
-
matched: data.faceRecognition?.overall?.status === "OK" ? true : data.faceRecognition?.overall?.status === "FAIL" ? false : null,
|
|
54
|
-
liveness: data.deepsight ? data.deepsight.multimodalIntelligence?.overall?.status === "OK" : data.liveness?.overall?.status === "OK"
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
47
|
* Fetches second ID face images from the backend.
|
|
59
48
|
*/
|
|
60
49
|
async function fetchSecondIdImages(signal) {
|
|
@@ -65,16 +54,24 @@ async function fetchSecondIdImages(signal) {
|
|
|
65
54
|
return { secondIdFace: /^(?:data:|https?:\/\/|blob:)/i.test(image) ? image : `data:image/png;base64,${image}` };
|
|
66
55
|
}
|
|
67
56
|
/**
|
|
68
|
-
*
|
|
57
|
+
* Reads the face recognition result from `/omni/get/score`. Used only when
|
|
58
|
+
* `/omni/process/face` sent no `success`, which means the API key allows
|
|
59
|
+
* score retrieval.
|
|
60
|
+
*/
|
|
61
|
+
async function fetchScoreMatched(signal) {
|
|
62
|
+
const res = await api.get(endpoints.getScore, { signal });
|
|
63
|
+
if (!res.ok) throw new Error(`GET ${endpoints.getScore} failed: ${res.status} ${res.statusText}`);
|
|
64
|
+
const status = res.data.faceRecognition?.overall?.status;
|
|
65
|
+
return status === "OK" ? true : status === "FAIL" ? false : null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Runs server-side face matching for the captured selfie and returns the match
|
|
69
|
+
* result (the response's `success` field, `null` when absent).
|
|
69
70
|
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* capture-only selfie variant), so the match must be (re)triggered here before
|
|
73
|
-
* `GET /omni/get/score` can reflect it. When the selfie was already processed upstream
|
|
74
|
-
* (e.g. the regular selfie module) this is a harmless reprocess.
|
|
71
|
+
* Face-match runs it when no earlier step did. Some capture steps skip it
|
|
72
|
+
* (Workflow SELFIE, AUTHENTICATION, the capture-only selfie variant).
|
|
75
73
|
*
|
|
76
|
-
*
|
|
77
|
-
* `fetchScore`. A non-ok response throws an Error carrying the backend `status`/`data` so
|
|
74
|
+
* A non-ok response throws an Error carrying the backend `status`/`data` so
|
|
78
75
|
* the state machine's `onError` can both produce a readable message and detect the
|
|
79
76
|
* "ID face extraction skipped" case (status 4084) via `isFaceExtractionSkippedError`.
|
|
80
77
|
*/
|
|
@@ -88,21 +85,37 @@ async function processFaceForMatch(matchingType, signal) {
|
|
|
88
85
|
status: res.status,
|
|
89
86
|
data: res.data
|
|
90
87
|
});
|
|
88
|
+
const success = res.data?.success;
|
|
89
|
+
return typeof success === "boolean" ? success : null;
|
|
91
90
|
}
|
|
92
91
|
/**
|
|
93
|
-
* Fetches
|
|
92
|
+
* Fetches the face match images and result.
|
|
93
|
+
*
|
|
94
|
+
* The result is the `success` field of `/omni/process/face`. The backend sends
|
|
95
|
+
* it only when the API key blocks score retrieval with the session token, and
|
|
96
|
+
* then `/omni/get/score` returns 403. Without `success`, the result comes from
|
|
97
|
+
* `/omni/get/score`. `config.matched`, or else the saved result of a selfie
|
|
98
|
+
* capture in this session, skips the call. The second ID
|
|
99
|
+
* always runs its own call, because the selfie matches only against the
|
|
100
|
+
* primary ID.
|
|
94
101
|
*/
|
|
95
102
|
async function fetchFaceMatchData(config, signal) {
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
|
|
103
|
+
const isSecondId = config.matchingType === "secondId";
|
|
104
|
+
const fromProcessFace = (isSecondId ? null : config.matched ?? getProcessFaceMatch()) ?? await processFaceForMatch(config.matchingType, signal);
|
|
105
|
+
const [imagesRes, secondIdRes, matched] = await Promise.all([
|
|
106
|
+
fetchFaceMatchImages(signal),
|
|
107
|
+
isSecondId ? fetchSecondIdImages(signal) : void 0,
|
|
108
|
+
fromProcessFace ?? fetchScoreMatched(signal)
|
|
109
|
+
]);
|
|
100
110
|
return {
|
|
101
111
|
images: {
|
|
102
112
|
...imagesRes,
|
|
103
113
|
secondIdFace: secondIdRes?.secondIdFace ?? null
|
|
104
114
|
},
|
|
105
|
-
result:
|
|
115
|
+
result: {
|
|
116
|
+
matched,
|
|
117
|
+
liveness: null
|
|
118
|
+
}
|
|
106
119
|
};
|
|
107
120
|
}
|
|
108
121
|
//#endregion
|
|
@@ -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-Muw5K5WH.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-CkilyjJZ.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-HSl0diCx.esm.js";
|
|
3
|
-
import { D as mergeDashboardConfig, a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-
|
|
3
|
+
import { D as mergeDashboardConfig, a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-BKvyaoEa.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-C4OiMjVB.esm.js";
|
|
7
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CfoyaLNL.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-Da7nKAha.esm.js → flowCompletionService-C4OiMjVB.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-9Nip-yut.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 { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
3
|
+
import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BAfmS5uU.esm.js";
|
|
4
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CkilyjJZ.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-9Nip-yut.esm.js";
|
|
6
|
+
import "./session-D1tfised.esm.js";
|
|
7
7
|
import { c as toEkycConfig } from "./ekycUtils-BFncpC4F.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
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-DVPOpAez.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-Lpf7naVK.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-Lpf7naVK.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-dsK8KS1q.esm.js → geolocationStateMachine-Lpf7naVK.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-9Nip-yut.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-BjTJ6bMQ.esm.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-D92BKVaF.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, d as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-BKvyaoEa.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-BKUn6zfR.esm.js";
|
|
8
8
|
import { o as StreamCanvasProcessingSession, r as CameraCompositor } from "./multipartRecordingService-DMBxHKS2.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 ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-
|
|
11
|
+
import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-DT4ESCg9.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-C4OiMjVB.esm.js";
|
|
14
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-DGlvLCq6.esm.js";
|
|
15
15
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
16
16
|
/** Default autocapture window for the selfie step. */
|
|
17
17
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
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 ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-n2GVaOXQ.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B6wh8Xmf.esm.js";
|
|
3
|
+
import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-DT4ESCg9.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D92BKVaF.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 { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-
|
|
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-n2GVaOXQ.esm.js";
|
|
13
|
+
import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-DT4ESCg9.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"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-D92BKVaF.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, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CkilyjJZ.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
package/dist/{idCaptureStateMachine-DnChSHWA.esm.js → idCaptureStateMachine-n2GVaOXQ.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-D92BKVaF.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 { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-27MXpY-H.esm.js";
|
|
7
|
+
import { t as getDisableIpify } from "./sessionInitializer-BAfmS5uU.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-CkilyjJZ.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-D1tfised.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";
|
|
@@ -24,10 +24,10 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
25
|
import { r as isBackCameraLabel } from "./backCameraStream-C5_NNfUN.esm.js";
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
|
-
import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-
|
|
27
|
+
import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-D3aN5E7j.esm.js";
|
|
28
28
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
29
29
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BOIM1God.esm.js";
|
|
30
|
-
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-
|
|
30
|
+
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-DT4ESCg9.esm.js";
|
|
31
31
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
33
33
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -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-BhENBXHx.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-BhENBXHx.esm.js")).loadDeepsightSession(input)) {
|
|
2478
2478
|
let disposed = false;
|
|
2479
2479
|
let preparation;
|
|
2480
2480
|
let service;
|
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-D92BKVaF.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as getToken } from "./api-BO8JA7Pf.esm.js";
|
|
2
|
+
//#region src/internal/session/processFaceMatch.ts
|
|
3
|
+
let saved = null;
|
|
4
|
+
/**
|
|
5
|
+
* Saves the `success` field of a selfie `/omni/process/face` response, so a
|
|
6
|
+
* later face match in the same session shows it without a second call. A
|
|
7
|
+
* response without `success` clears the saved result.
|
|
8
|
+
*/
|
|
9
|
+
function saveProcessFaceMatch(success) {
|
|
10
|
+
const token = getToken();
|
|
11
|
+
saved = token !== null && typeof success === "boolean" ? {
|
|
12
|
+
token,
|
|
13
|
+
matched: success
|
|
14
|
+
} : null;
|
|
15
|
+
}
|
|
16
|
+
/** The saved face match result of the current session, or `null`. */
|
|
17
|
+
function getProcessFaceMatch() {
|
|
18
|
+
return saved !== null && saved.token === getToken() ? saved.matched : null;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { saveProcessFaceMatch as n, getProcessFaceMatch as t };
|
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-Di9Kv-sR.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-27MXpY-H.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.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-C-xKdj-d.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
4
4
|
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types--3HDl2SF.js";
|
|
5
5
|
import { n as DeepsightService } from "./StreamCanvasCapture-C3xNfOsv.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BMmpUii2.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D92BKVaF.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-BbnHRa1A.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Ce52xAG2.esm.js";
|
|
8
|
+
import { s as processFace } from "./FaceDetectionProvider-BKUn6zfR.esm.js";
|
|
9
9
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Cxs3SIBQ.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-BrsPZU9o.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Cz52UY0Z.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-BKUn6zfR.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,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-C-xKdj-d.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-D92BKVaF.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-Ce52xAG2.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-BrsPZU9o.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-BbnHRa1A.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BKUn6zfR.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-C23oo0RW.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-27MXpY-H.esm.js";
|
|
3
|
+
import "./sessionInitializer-BAfmS5uU.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-9Nip-yut.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 { d as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { d as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-BAfmS5uU.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-HSl0diCx.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-9Nip-yut.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-D1tfised.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-C4OiMjVB.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-27MXpY-H.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-Muw5K5WH.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-CkilyjJZ.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";
|
|
@@ -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 fingerprintSignalsReporter, S as BrowserEnvironmentProvider, a as resetSessionInit, c as setClientIpLookupEnabled, g as setStandaloneFlowPolicy, h as resolveStandaloneFlowPolicy, i as initializeSession, l as setClientWasmConfig, m as resetStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as registerFlowPreloader, s as setClientHostingApp, u as setClientWasmDisabled } from "./sessionInitializer-
|
|
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-27MXpY-H.esm.js";
|
|
7
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, a as resetSessionInit, c as setClientIpLookupEnabled, g as setStandaloneFlowPolicy, h as resolveStandaloneFlowPolicy, i as initializeSession, l as setClientWasmConfig, m as resetStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as registerFlowPreloader, s as setClientHostingApp, u as setClientWasmDisabled } from "./sessionInitializer-BAfmS5uU.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-CkilyjJZ.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-BKvyaoEa.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-Muw5K5WH.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,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-D92BKVaF.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 { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-BKvyaoEa.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-BjTJ6bMQ.esm.js";
|
|
11
11
|
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-DMBxHKS2.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-DGlvLCq6.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
16
16
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-CkOopg8Y.esm.js → videoSelfieCameraWarmer-DGlvLCq6.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 { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-BKvyaoEa.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-BKUn6zfR.esm.js";
|
|
7
7
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DMBxHKS2.esm.js";
|
|
8
8
|
import { t as getBackCameraStream } from "./backCameraStream-C5_NNfUN.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-C23oo0RW.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-D92BKVaF.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 { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-27MXpY-H.esm.js";
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BAfmS5uU.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CkilyjJZ.esm.js";
|
|
6
6
|
import { i as retryAfterReconnect } from "./connectivity-HSl0diCx.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-9Nip-yut.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-BKvyaoEa.esm.js";
|
|
9
9
|
import { c as toEkycConfig } from "./ekycUtils-BFncpC4F.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-Di9Kv-sR.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-BcsUTTIr.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DHI2E9EL.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-kksIUOPD.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-CpmRAcr2.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Bx9YhVkJ.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-Sbi6DIcK.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BkZKM3yW.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CMeeEyd7.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-UhfVT8CB.esm.js";
|
|
23
23
|
import { t as ekycMachine } from "./ekycStateMachine-CuNF7z4O.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-Cx-uTaBV.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-BrsPZU9o.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-n2GVaOXQ.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-T1-drWfG.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-Lpf7naVK.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
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
39
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
40
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
38
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-ByTMQCUC.esm.js";
|
|
39
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-C4OiMjVB.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CfoyaLNL.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";
|