@incodetech/core 0.0.0-dev-20261102-b5a0f05a → 0.0.0-dev-20261102-4f619c9b
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-R5oMt6ez.esm.js} +10 -7
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-SQqcxWi4.esm.js → apiError-Ca50oXWp.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DIQWHkAD.esm.js → authenticationManager-BZEcBJdT.esm.js} +3 -3
- package/dist/{authenticationManager-CVDBB_4A.d.ts → authenticationManager-C-cOki0Y.d.ts} +1 -1
- package/dist/{authenticationStateMachine-CGx4T7RX.esm.js → authenticationStateMachine-DEnjbi6R.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Cegv5Kth.d.ts → consentManager-_q9yJUku.d.ts} +8 -8
- package/dist/{deepsightLoader-1yWkq-yI.esm.js → deepsightLoader-D5R8_Q0L.esm.js} +4 -4
- package/dist/{deepsightService-DhjupHfz.esm.js → deepsightService-lzZec2Kz.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Db4U-usW.esm.js → dynamicFormsManager-BhB4W7qD.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CU9AlxD_.esm.js → dynamicFormsStateMachine-Rul_KKq9.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DGxJZQ75.esm.js → ekybManager-BkE-y_uF.esm.js} +1 -1
- package/dist/{ekybStateMachine-C1V_lEa-.esm.js → ekybStateMachine-CqL8dCLC.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BDBF9F2y.esm.js → electronicSignatureManager-DsQd2nGp.esm.js} +1 -1
- package/dist/extensibility.d.ts +6 -6
- 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-ykJ652dm.esm.js} +1 -1
- package/dist/{faceCaptureSetup-Biu_sUp2.esm.js → faceCaptureSetup-D27zLeTi.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-Dxt1iCuK.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-Duc_mJsa.esm.js} +1 -1
- package/dist/{flowServices-aJGSeJBQ.esm.js → flowServices-B1BVeWpa.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BViVceAJ.esm.js → geolocationManager-RlMzEwEP.esm.js} +1 -1
- package/dist/{geolocationStateMachine-dsK8KS1q.esm.js → geolocationStateMachine-DJ2-fVbS.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-BjVLlQOC.esm.js} +3 -3
- package/dist/{idCaptureServices-DzuogvQN.esm.js → idCaptureServices-3lsXBoU5.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DnChSHWA.esm.js → idCaptureStateMachine-CAFAzOGI.esm.js} +9 -9
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-YEMwdPYD.d.ts → mandatoryConsentManager-xx3mY-xw.d.ts} +4 -4
- package/dist/processFaceMatch-BWme3kVV.esm.js +21 -0
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-DR6H66sw.esm.js → runChildModule-CsGYZ8hg.esm.js} +1 -1
- package/dist/{sdkVersion-D-IAeGke.esm.js → sdkVersion-CaHLFuQC.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-B_K5zG58.esm.js} +1 -1
- package/dist/{selfieManager-BFGMsYmc.d.ts → selfieManager-BMmpUii2.d.ts} +1 -1
- package/dist/{selfieManager-Ck-9chj4.esm.js → selfieManager-CsYGu_Fp.esm.js} +3 -3
- package/dist/{selfieStateMachine-3-iazsSc.esm.js → selfieStateMachine-DchyDiyU.esm.js} +3 -3
- package/dist/{session-ByZoy0gJ.esm.js → session-2evST5P-.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-B-IYG2n7.esm.js → sessionInitializer-C3lllgWR.esm.js} +3 -3
- package/dist/{setup-B_oCyIxE.esm.js → setup-Evxf__lO.esm.js} +4 -4
- package/dist/{trueSightService-DDZ8lKcn.esm.js → trueSightService-CaEYWYp0.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CkOopg8Y.esm.js → videoSelfieCameraWarmer-a_rmiSOr.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-R5oMt6ez.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-Evxf__lO.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-CaEYWYp0.esm.js";
|
|
6
|
+
import "./sessionInitializer-C3lllgWR.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-lzZec2Kz.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-D5R8_Q0L.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-DsQd2nGp.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-DEnjbi6R.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BZEcBJdT.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DIQWHkAD.esm.js → authenticationManager-BZEcBJdT.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Evxf__lO.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-ykJ652dm.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DEnjbi6R.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -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
|
/**
|
|
@@ -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-D27zLeTi.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-R5oMt6ez.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 = {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-_q9yJUku.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,14 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "setLoadError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
-
clearError: {
|
|
86
|
-
type: "clearError";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
|
-
resetContext: {
|
|
90
|
-
type: "resetContext";
|
|
91
|
-
params: NonReducibleUnknown;
|
|
92
|
-
};
|
|
93
85
|
setConsentData: {
|
|
94
86
|
type: "setConsentData";
|
|
95
87
|
params: NonReducibleUnknown;
|
|
@@ -98,6 +90,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
98
90
|
type: "toggleCheckbox";
|
|
99
91
|
params: NonReducibleUnknown;
|
|
100
92
|
};
|
|
93
|
+
clearError: {
|
|
94
|
+
type: "clearError";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
|
+
resetContext: {
|
|
98
|
+
type: "resetContext";
|
|
99
|
+
params: NonReducibleUnknown;
|
|
100
|
+
};
|
|
101
101
|
}>, {
|
|
102
102
|
type: "canSubmit";
|
|
103
103
|
params: unknown;
|
|
@@ -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-CaEYWYp0.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-CaHLFuQC.esm.js";
|
|
4
|
+
import { S as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify, x as IpifyProvider } from "./sessionInitializer-C3lllgWR.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-lzZec2Kz.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-C3lllgWR.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-Rul_KKq9.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BhB4W7qD.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-Rul_KKq9.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-Rul_KKq9.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-Ca50oXWp.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-B1BVeWpa.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-CqL8dCLC.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BkE-y_uF.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-CqL8dCLC.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-B1BVeWpa.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-DsQd2nGp.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-Ca50oXWp.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,14 +5,14 @@ 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
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-_q9yJUku.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CXpFE-Mv.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
@@ -22,21 +22,21 @@ 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";
|
|
29
29
|
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-DX2AyM4Y.js";
|
|
30
30
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-xx3mY-xw.js";
|
|
33
33
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
|
|
34
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
|
|
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-Evxf__lO.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-C3lllgWR.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-DsQd2nGp.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-D27zLeTi.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BZEcBJdT.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-BhB4W7qD.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BkE-y_uF.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-CsYGu_Fp.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-BjVLlQOC.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-RlMzEwEP.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-ykJ652dm.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-D27zLeTi.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-CaEYWYp0.esm.js";
|
|
4
|
+
import "./sessionInitializer-C3lllgWR.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-R5oMt6ez.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-CaHLFuQC.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-Dxt1iCuK.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 };
|