@incodetech/core 0.0.0-dev-20261008-b5e11bbb → 0.0.0-dev-20261008-30865727
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-DlumYFVS.esm.js → FaceDetectionProvider-DztQpvt3.esm.js} +9 -6
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DLyZt7iH.esm.js → apiError-DJzzbn9S.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DG_tFirc.esm.js → authenticationManager-D08-bFE_.esm.js} +3 -3
- package/dist/{authenticationStateMachine-BUTPFj6K.esm.js → authenticationStateMachine-BtfrMRJX.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-Cv_0QKLD.d.ts} +8 -8
- package/dist/{deepsightLoader-PItpIdv7.esm.js → deepsightLoader-CaVNusFo.esm.js} +3 -3
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DCbRxZjA.esm.js → dynamicFormsManager-BY6orBlX.esm.js} +1 -1
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +1 -1
- package/dist/{dynamicFormsStateMachine-X6SB6Xqz.esm.js → dynamicFormsStateMachine-B_OGiymi.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CL5DStKP.esm.js → ekybManager-BwSM_ghS.esm.js} +1 -1
- package/dist/{ekybStateMachine-B6R32WmI.esm.js → ekybStateMachine-mtZwot7C.esm.js} +1 -1
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-oB0jVV8U.esm.js → ekycManager-DsfBcNxs.esm.js} +1 -1
- package/dist/{ekycStateMachine-DZCmvJZO.esm.js → ekycStateMachine-DPMzZNhD.esm.js} +1 -12
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-WFne8Oz_.esm.js → electronicSignatureManager-BNkszn-Y.esm.js} +1 -1
- package/dist/extensibility.d.ts +6 -6
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-CqshYjn7.esm.js → faceCaptureManagerFactory-CIVnYAdT.esm.js} +1 -1
- package/dist/{faceCaptureSetup-M62oIVhF.esm.js → faceCaptureSetup-Cdtt4Of0.esm.js} +9 -5
- package/dist/{feature-management-QjsaBlE9.esm.js → feature-management-BLizjnKX.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CGuhUuIH.esm.js → flowCompletionService-1p-BSw7F.esm.js} +1 -1
- package/dist/{flowServices-Cpt0FAsM.esm.js → flowServices-B5Ky_Guv.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-LpBfaDGS.esm.js → geolocationManager-BkxyZLRA.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BsVaCOIH.esm.js → geolocationStateMachine-CjCQE3G8.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +16 -14
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-yWBBERpX.esm.js → idCaptureDefaults-XuDwRCFc.esm.js} +1 -1
- package/dist/{idCaptureManager-BufUN-y6.d.ts → idCaptureManager-CiX2pKuT.d.ts} +12 -2
- package/dist/{idCaptureManager-DyjGY3VK.esm.js → idCaptureManager-_xNtKNwu.esm.js} +3 -3
- package/dist/{idCaptureServices-qBEkBCsD.esm.js → idCaptureServices-54Zq-yHK.esm.js} +5 -4
- package/dist/{idCaptureStateMachine-BlHqeeOm.esm.js → idCaptureStateMachine-BWLkCbYV.esm.js} +16 -17
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-B1birg5X.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-bhnHk13z.d.ts → mandatoryConsentManager-CdBVHXGB.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-FQuXVc3P.esm.js → runChildModule-8uBtCeza.esm.js} +1 -1
- package/dist/{sdkVersion-Dw-u1yIN.esm.js → sdkVersion-BwmJOy_9.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-BSKVdGCx.esm.js → selfieErrorUtils-NDBJhYWo.esm.js} +1 -1
- package/dist/{selfieManager-D7_WwkYO.esm.js → selfieManager-9R1uRXdk.esm.js} +3 -3
- package/dist/{selfieStateMachine-3Iy0XdpO.esm.js → selfieStateMachine-rbmaBaDD.esm.js} +3 -3
- package/dist/{session-y6W4EfeF.esm.js → session-By56Dj7C.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BEr7F2hn.esm.js → sessionInitializer-Ck-9xagM.esm.js} +3 -3
- package/dist/{setup-D1AvKgF-.esm.js → setup-By2lPm3e.esm.js} +4 -4
- package/dist/{trueSightService-e8XDVA3C.esm.js → trueSightService-C_NLq6nn.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CaxY60EQ.esm.js → videoSelfieCameraWarmer-BZfOnaPB.esm.js} +6 -5
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.esm.js +15 -15
- package/package.json +3 -3
- /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
- /package/dist/{types-DBCRSabn2.d.ts → types-DBCRSabn.d.ts} +0 -0
package/dist/{FaceDetectionProvider-DlumYFVS.esm.js → FaceDetectionProvider-DztQpvt3.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C_NLq6nn.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
3
3
|
import { i as BaseWasmProvider } from "./safeStorage-DDAHV26l.esm.js";
|
|
4
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
4
|
+
import { t as ensureWasmPipelines } from "./setup-By2lPm3e.esm.js";
|
|
5
5
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
6
|
-
import "./sessionInitializer-
|
|
6
|
+
import "./sessionInitializer-Ck-9xagM.esm.js";
|
|
7
7
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
|
|
9
9
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
@@ -79,7 +79,7 @@ function getFaceUploadErrorCode(httpStatus, responseStatus) {
|
|
|
79
79
|
/**
|
|
80
80
|
* Uploads a selfie image to the backend.
|
|
81
81
|
*/
|
|
82
|
-
async function uploadSelfie({ encryptedBase64Image, faceCoordinates, signal, metadata, recordingId, imageType = "selfie", deepsightService }) {
|
|
82
|
+
async function uploadSelfie({ encryptedBase64Image, faceCoordinates, signal, metadata, recordingId, imageType = "selfie", captureType, deepsightService }) {
|
|
83
83
|
try {
|
|
84
84
|
const payload = {
|
|
85
85
|
base64Image: encryptedBase64Image,
|
|
@@ -88,7 +88,10 @@ async function uploadSelfie({ encryptedBase64Image, faceCoordinates, signal, met
|
|
|
88
88
|
clientInfo: { deviceClass: getDeviceClass() },
|
|
89
89
|
metadata: metadata ?? void 0
|
|
90
90
|
};
|
|
91
|
-
const query = {
|
|
91
|
+
const query = {
|
|
92
|
+
imageType,
|
|
93
|
+
captureType
|
|
94
|
+
};
|
|
92
95
|
if (recordingId) query.recordingId = recordingId;
|
|
93
96
|
const res = await api.post(endpoints.selfie, payload, {
|
|
94
97
|
signal,
|
|
@@ -268,7 +271,7 @@ function startDetection(params) {
|
|
|
268
271
|
};
|
|
269
272
|
}
|
|
270
273
|
async function initializeDeepsightSession(options) {
|
|
271
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
274
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CaVNusFo.esm.js");
|
|
272
275
|
return loadDeepsightSession({
|
|
273
276
|
ds: options.ds,
|
|
274
277
|
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-BNkszn-Y.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BtfrMRJX.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D08-bFE_.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DG_tFirc.esm.js → authenticationManager-D08-bFE_.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-By2lPm3e.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CIVnYAdT.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BtfrMRJX.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-Bg3FuvIs.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Cdtt4Of0.esm.js";
|
|
4
|
+
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-DztQpvt3.esm.js";
|
|
5
5
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BvOOxU85.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-Cv_0QKLD.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -77,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
77
77
|
type: "setError";
|
|
78
78
|
params: NonReducibleUnknown;
|
|
79
79
|
};
|
|
80
|
-
setConsentData: {
|
|
81
|
-
type: "setConsentData";
|
|
82
|
-
params: NonReducibleUnknown;
|
|
83
|
-
};
|
|
84
|
-
toggleCheckbox: {
|
|
85
|
-
type: "toggleCheckbox";
|
|
86
|
-
params: NonReducibleUnknown;
|
|
87
|
-
};
|
|
88
80
|
clearError: {
|
|
89
81
|
type: "clearError";
|
|
90
82
|
params: NonReducibleUnknown;
|
|
@@ -93,6 +85,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
93
85
|
type: "resetContext";
|
|
94
86
|
params: NonReducibleUnknown;
|
|
95
87
|
};
|
|
88
|
+
setConsentData: {
|
|
89
|
+
type: "setConsentData";
|
|
90
|
+
params: NonReducibleUnknown;
|
|
91
|
+
};
|
|
92
|
+
toggleCheckbox: {
|
|
93
|
+
type: "toggleCheckbox";
|
|
94
|
+
params: NonReducibleUnknown;
|
|
95
|
+
};
|
|
96
96
|
}>, {
|
|
97
97
|
type: "canSubmit";
|
|
98
98
|
params: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-C_NLq6nn.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
|
|
3
|
-
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-
|
|
4
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-Ck-9xagM.esm.js";
|
|
4
|
+
import { t as SDK_VERSION } from "./sdkVersion-BwmJOy_9.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BWpBwxxe.esm.js";
|
package/dist/dynamic-forms.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-
|
|
2
|
-
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
|
|
2
|
+
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-C0dHs1ty.js";
|
|
3
3
|
export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -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-B_OGiymi.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BY6orBlX.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.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-Bg3FuvIs.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B_OGiymi.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();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { i as Screen, t as DynamicFormsConfig } from "./types-
|
|
4
|
+
import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
|
|
6
6
|
/** Map of `questionId` → currently-displayed i18n error key. */
|
|
7
7
|
type DynamicFormsValidationErrors = Partial<Record<string, string>>;
|
package/dist/{dynamicFormsStateMachine-X6SB6Xqz.esm.js → dynamicFormsStateMachine-B_OGiymi.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DJzzbn9S.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-B5Ky_Guv.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-mtZwot7C.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BwSM_ghS.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-CfLLkAh7.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-Bg3FuvIs.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-mtZwot7C.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
3
|
-
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-
|
|
3
|
+
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-B5Ky_Guv.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-CoXo7lfZ.esm.js";
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-DPMzZNhD.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-DsfBcNxs.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.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-Bg3FuvIs.esm.js";
|
|
4
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-DPMzZNhD.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|
|
@@ -235,8 +235,7 @@ function buildFieldDefs(fields, configSource, country, enablePhoneRisk = false)
|
|
|
235
235
|
}] });
|
|
236
236
|
if (fields.panNumber) add("panNumber", "text", "verification.labels.panNumber", fields.panNumber, { maxLength: 10 });
|
|
237
237
|
const addAddressFields = () => {
|
|
238
|
-
const
|
|
239
|
-
const addrSource = fields.address || (needsAddress ? "user_input" : false);
|
|
238
|
+
const addrSource = fields.address;
|
|
240
239
|
if (!addrSource) return;
|
|
241
240
|
if (HOUSE_NO_SOURCES.includes(configSource)) add("houseNo", "text", "verification.labels.houseNo", addrSource, { section: "address" });
|
|
242
241
|
if (STREET_SOURCES.includes(configSource)) add("street", "text", "verification.labels.street", addrSource, { section: "address" });
|
|
@@ -288,29 +287,24 @@ function applyPrefill(fields, ocrData, otpStatus, _country) {
|
|
|
288
287
|
if (ocrData.name.firstName) {
|
|
289
288
|
values.firstName = ocrData.name.firstName;
|
|
290
289
|
prefilled.firstName = true;
|
|
291
|
-
readonlyFields.push("firstName");
|
|
292
290
|
}
|
|
293
291
|
if (ocrData.name.paternalLastName) {
|
|
294
292
|
values.surName = ocrData.name.paternalLastName;
|
|
295
293
|
prefilled.surName = true;
|
|
296
|
-
readonlyFields.push("surName");
|
|
297
294
|
}
|
|
298
295
|
if (ocrData.name.middleName) {
|
|
299
296
|
values.middleName = ocrData.name.middleName;
|
|
300
297
|
prefilled.middleName = true;
|
|
301
|
-
readonlyFields.push("middleName");
|
|
302
298
|
}
|
|
303
299
|
if (ocrData.name.maternalLastName) {
|
|
304
300
|
values.maternalSurname = ocrData.name.maternalLastName;
|
|
305
301
|
prefilled.maternalSurname = true;
|
|
306
|
-
readonlyFields.push("maternalSurname");
|
|
307
302
|
}
|
|
308
303
|
}
|
|
309
304
|
const ocrBirthDate = dateFormattingInstance.utcToIsoDateString(ocrData?.birthDate);
|
|
310
305
|
if (fields["date of birth"] === "document_scan" && ocrBirthDate) {
|
|
311
306
|
values.dateOfBirth = ocrBirthDate;
|
|
312
307
|
prefilled.dateOfBirth = true;
|
|
313
|
-
readonlyFields.push("dateOfBirth");
|
|
314
308
|
}
|
|
315
309
|
const addressSource = fields.address;
|
|
316
310
|
if (addressSource === "document_scan" || addressSource === "poa_document") {
|
|
@@ -319,27 +313,22 @@ function applyPrefill(fields, ocrData, otpStatus, _country) {
|
|
|
319
313
|
if (addrData.street) {
|
|
320
314
|
values.street = addrData.street;
|
|
321
315
|
prefilled.street = true;
|
|
322
|
-
readonlyFields.push("street");
|
|
323
316
|
}
|
|
324
317
|
if (addrData.city) {
|
|
325
318
|
values.city = addrData.city;
|
|
326
319
|
prefilled.city = true;
|
|
327
|
-
readonlyFields.push("city");
|
|
328
320
|
}
|
|
329
321
|
if (addrData.state) {
|
|
330
322
|
values.state = addrData.state;
|
|
331
323
|
prefilled.state = true;
|
|
332
|
-
readonlyFields.push("state");
|
|
333
324
|
}
|
|
334
325
|
if (addrData.postalCode) {
|
|
335
326
|
values.postalCode = addrData.postalCode;
|
|
336
327
|
prefilled.postalCode = true;
|
|
337
|
-
readonlyFields.push("postalCode");
|
|
338
328
|
}
|
|
339
329
|
if (addrData.houseNumber) {
|
|
340
330
|
values.houseNo = addrData.houseNumber;
|
|
341
331
|
prefilled.houseNo = true;
|
|
342
|
-
readonlyFields.push("houseNo");
|
|
343
332
|
}
|
|
344
333
|
}
|
|
345
334
|
}
|
|
@@ -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-BNkszn-Y.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 };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DJzzbn9S.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
8
8
|
import { t as externalFetch } from "./externalFetch-CEp51O83.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -9,27 +9,27 @@ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f
|
|
|
9
9
|
import "./createFaceAvatar-DXgmQmQy.js";
|
|
10
10
|
import { i as IStorageCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
|
|
11
11
|
import "./StreamCanvasCapture-CeBBJ_RC.js";
|
|
12
|
+
import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-CiX2pKuT.js";
|
|
12
13
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CkUiRI_u.js";
|
|
13
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
|
|
14
|
-
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-Cv_0QKLD.js";
|
|
15
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
16
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-C7qzg_Cm.js";
|
|
17
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
18
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
|
|
19
20
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CNenjdhx.js";
|
|
20
|
-
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
21
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C0dHs1ty.js";
|
|
21
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BaZ_7CEu.js";
|
|
22
23
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-DW-ynodd.js";
|
|
23
24
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
24
25
|
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DqVFQ_8R.js";
|
|
25
|
-
import { i as CaptureIdResponse } from "./types-
|
|
26
|
-
import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-BufUN-y6.js";
|
|
26
|
+
import { i as CaptureIdResponse } from "./types-DBCRSabn.js";
|
|
27
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BO-LTih5.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, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
|
|
30
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
30
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-B1birg5X.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-CdBVHXGB.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-CVsvpVbQ.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-DDAHV26l.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
-
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-By2lPm3e.esm.js";
|
|
3
|
+
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-Ck-9xagM.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BNkszn-Y.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-nkA1Xfm1.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Cdtt4Of0.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D08-bFE_.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-B-qjOJde.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-BhGljt6D.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-hxUaa6y_.esm.js";
|
|
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-C5Vw3fdd.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-szjmQvYu.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-GzsSoXf6.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
19
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BY6orBlX.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BwSM_ghS.esm.js";
|
|
19
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-DsfBcNxs.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-ppIDOf_n.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-9R1uRXdk.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-_xNtKNwu.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-B6Uu_237.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-F1bI2Ad4.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-cbMppk5K.esm.js";
|
|
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-124LjyWj.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-CQlyUyc8.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-CEYKCuO4.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BkxyZLRA.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-UuH2s-oi.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BYVW3pLG.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BSR94HnV.esm.js";
|
package/dist/{faceCaptureManagerFactory-CqshYjn7.esm.js → faceCaptureManagerFactory-CIVnYAdT.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-Cdtt4Of0.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BWpBwxxe.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CPwDYRp8.esm.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-
|
|
1
|
+
import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-C_NLq6nn.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import "./sessionInitializer-
|
|
4
|
+
import "./sessionInitializer-Ck-9xagM.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
|
|
7
7
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
8
8
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CPwDYRp8.esm.js";
|
|
11
|
-
import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-
|
|
11
|
+
import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-DztQpvt3.esm.js";
|
|
12
12
|
import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-BvOOxU85.esm.js";
|
|
13
13
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
14
14
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -631,7 +631,8 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
631
631
|
faceResults: this.provider
|
|
632
632
|
};
|
|
633
633
|
}
|
|
634
|
-
|
|
634
|
+
/** `captureType` goes on the selfie upload only, never on authentication or face-results. */
|
|
635
|
+
createUploadCommand(recordingId, captureType) {
|
|
635
636
|
const token = getToken();
|
|
636
637
|
const config = {
|
|
637
638
|
headers: token ? { "X-Incode-Hardware-Id": token } : void 0,
|
|
@@ -663,6 +664,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
663
664
|
...config,
|
|
664
665
|
params: {
|
|
665
666
|
imageType: "selfie",
|
|
667
|
+
captureType,
|
|
666
668
|
...validRecordingId ? { recordingId: validRecordingId } : {}
|
|
667
669
|
}
|
|
668
670
|
}
|
|
@@ -843,6 +845,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
843
845
|
let lifecycleCleanup;
|
|
844
846
|
let sendLifecycle;
|
|
845
847
|
let committedPreview;
|
|
848
|
+
let manualCommitted = false;
|
|
846
849
|
let pendingAutoPreview;
|
|
847
850
|
let recording = {};
|
|
848
851
|
let stepRecording;
|
|
@@ -1034,6 +1037,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
1034
1037
|
case "PROTECTED_MANUAL_COMMITTED":
|
|
1035
1038
|
logDiagnostic("capture-selected", { captureKind: event.type === "PROTECTED_AUTO_COMMITTED" ? "auto" : "manual" });
|
|
1036
1039
|
committedPreview = event.preview;
|
|
1040
|
+
manualCommitted ||= event.type === "PROTECTED_MANUAL_COMMITTED";
|
|
1037
1041
|
sendBack(event);
|
|
1038
1042
|
return;
|
|
1039
1043
|
case "PROTECTED_ATTEMPT_FINALIZED":
|
|
@@ -1149,7 +1153,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
1149
1153
|
if (!owner) return;
|
|
1150
1154
|
logDiagnostic("upload-start");
|
|
1151
1155
|
if (options.delivery === "protected") {
|
|
1152
|
-
sendLifecycle?.(owner.createUploadCommand(recording.recordingId));
|
|
1156
|
+
sendLifecycle?.(owner.createUploadCommand(recording.recordingId, manualCommitted ? "MANUAL" : "AUTO"));
|
|
1153
1157
|
return;
|
|
1154
1158
|
}
|
|
1155
1159
|
finalizeLocalCapture(owner, generation).catch(() => {
|
|
@@ -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-BwmJOy_9.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-BLizjnKX.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.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { t as EkycConfig } from "./types-BvLo3U4u.js";
|
|
|
6
6
|
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-D6Vvbiz9.js";
|
|
7
7
|
import { t as AuthenticationConfig } from "./types-Be6MuAYF.js";
|
|
8
8
|
import { r as DocumentCaptureConfig } from "./types-BjSly8cp.js";
|
|
9
|
-
import { t as DynamicFormsConfig } from "./types-
|
|
9
|
+
import { t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
|
|
10
10
|
import { t as EkybConfig } from "./types-0L-eFDmr.js";
|
|
11
|
-
import { u as IdCaptureConfig } from "./types-
|
|
11
|
+
import { u as IdCaptureConfig } from "./types-DBCRSabn.js";
|
|
12
12
|
import { r as MandatoryConsentConfig } from "./types-DovOQmax.js";
|
|
13
13
|
import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
|
|
14
14
|
import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as addEvent } from "./events-CfLLkAh7.esm.js";
|
|
2
|
-
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-
|
|
2
|
+
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-B5Ky_Guv.esm.js";
|
|
3
3
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-1p-BSw7F.esm.js";
|
|
6
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-8uBtCeza.esm.js";
|
|
7
7
|
import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
|
|
8
8
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
9
9
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
package/dist/{flowCompletionService-CGuhUuIH.esm.js → flowCompletionService-1p-BSw7F.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-DJzzbn9S.esm.js";
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
6
6
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as getWasmStatus } from "./warmup-DMtbyb2l.esm.js";
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BLizjnKX.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-Ck-9xagM.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-DJzzbn9S.esm.js";
|
|
7
|
+
import "./session-By56Dj7C.esm.js";
|
|
8
8
|
import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
|
|
9
9
|
//#region src/modules/flow/dashboardConfig.ts
|
|
10
10
|
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-BkxyZLRA.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CjCQE3G8.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CjCQE3G8.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-BsVaCOIH.esm.js → geolocationStateMachine-CjCQE3G8.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
3
3
|
import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-DJzzbn9S.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|