@incodetech/core 0.0.0-dev-20260924-e9f5a050 → 0.0.0-dev-20260925-37b0f54d
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/{BrowserDiagnosticsCryptoProvider-BT5v_TqE.esm.js → BrowserDiagnosticsCryptoProvider-VbKVdIab.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-BuuArRWH.esm.js → FaceDetectionProvider-BUy_tYKE.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-Ly5kgcPk.esm.js → apiError-Bkw_CLYB.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Dymn736O.esm.js → authenticationManager-C5W6t-1q.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DYmjk6b6.esm.js → authenticationStateMachine-DARAOFdl.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B8PXGCuW.d.ts → consentManager-Cv_0QKLD.d.ts} +8 -8
- package/dist/{deepsightLoader-DZ5jfHnI.esm.js → deepsightLoader-CbneCTw7.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-C8eO0hbv.d.ts → documentCaptureManager-CbAGkHWh.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DzJQCyQQ.esm.js → dynamicFormsManager-BVgtkIuP.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BliJsP_v.esm.js → dynamicFormsStateMachine-DPLFisa3.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-D2mdXjsU.esm.js → ekybManager-Dk3wGQ68.esm.js} +1 -1
- package/dist/{ekybStateMachine-4_zoq2CY.esm.js → ekybStateMachine-BxmW4ENe.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CVhuhthS.esm.js → electronicSignatureManager-l9vLEAQt.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-C7SVm_ws.esm.js → faceCaptureManagerFactory-DYPBvAZK.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DXZqcFhK.esm.js → faceCaptureSetup-CQYiZibx.esm.js} +3 -3
- package/dist/{feature-management-DC2LJ0ZF.esm.js → feature-management-BcoTHosg.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DL0JHvhJ.esm.js → flowCompletionService-D6768CKi.esm.js} +1 -1
- package/dist/{flowServices-CLloYVJf.esm.js → flowServices-arUwJU7T.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BJZqKgXo.esm.js → geolocationManager-kBbNPq4R.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CfaBaWDZ.esm.js → geolocationStateMachine-CfujADBW.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-DoeRxHF8.esm.js → idCaptureDefaults-CNIn9n26.esm.js} +1 -1
- package/dist/{idCaptureManager-9sJxnTNJ.esm.js → idCaptureManager-D1wD554G.esm.js} +3 -3
- package/dist/{idCaptureServices-BzTcreOa.esm.js → idCaptureServices-CDXA8N_0.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-BaB3MsWL.esm.js → idCaptureStateMachine-BtoMmTsr.esm.js} +39 -14
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-D30b2UEC.d.ts → identityReuseManager-x2QG6QAm.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CMAyZpNe.d.ts → mandatoryConsentManager-CTAa9lBQ.d.ts} +4 -4
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BXmSYzH5.esm.js → runChildModule-CTxfyfcC.esm.js} +1 -1
- package/dist/{sdkVersion-BwSmsU1e.esm.js → sdkVersion-BrXkpZEc.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-COimv2A_.esm.js → selfieManager-D_VAufFD.esm.js} +3 -3
- package/dist/{selfieStateMachine-CsrGamdm.esm.js → selfieStateMachine-D03koPfK.esm.js} +2 -2
- package/dist/{session-CCmW6Mvk.esm.js → session-COM19oC2.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-Do2m7gBN.esm.js → sessionInitializer-CJEYoaOv.esm.js} +3 -3
- package/dist/{setup-CBwTvRhV.esm.js → setup-uBK_ACRs.esm.js} +4 -4
- package/dist/{trueSightService-DdGN8biX.esm.js → trueSightService-DLzhWTr8.esm.js} +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-DdS4LV7-.esm.js → videoSelfieCameraWarmer-BdQqdHmm.esm.js} +3 -3
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +23 -5
- package/dist/workflow.esm.js +28 -17
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
|
|
|
18
18
|
*/
|
|
19
19
|
function getTruesightKey() {
|
|
20
20
|
try {
|
|
21
|
-
const key = decodeTruesightKey("
|
|
21
|
+
const key = decodeTruesightKey("paT2vdGahFiGAb2cW9OvfdMyhhBOvjEunxN5QEolvXo=", "0zhJGyLeRAD/plq4EFI0/DTwfaYVCDaiImyUTR8z0QI=");
|
|
22
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
23
23
|
} catch {
|
|
24
24
|
return null;
|
package/dist/{FaceDetectionProvider-BuuArRWH.esm.js → FaceDetectionProvider-BUy_tYKE.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-REsua-sF.esm.js";
|
|
3
3
|
import { i as BaseWasmProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
4
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
5
|
-
import "./sessionInitializer-
|
|
4
|
+
import { t as ensureWasmPipelines } from "./setup-uBK_ACRs.esm.js";
|
|
5
|
+
import "./sessionInitializer-CJEYoaOv.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
7
7
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
8
8
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
@@ -156,7 +156,7 @@ function startDetection(params) {
|
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
async function initializeDeepsightSession(options) {
|
|
159
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
159
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CbneCTw7.esm.js");
|
|
160
160
|
return loadDeepsightSession({
|
|
161
161
|
ds: options.ds,
|
|
162
162
|
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-l9vLEAQt.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-DARAOFdl.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-C5W6t-1q.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Dymn736O.esm.js → authenticationManager-C5W6t-1q.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-uBK_ACRs.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.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-DYPBvAZK.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DARAOFdl.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 { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CQYiZibx.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-BUy_tYKE.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
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 };
|
|
@@ -73,14 +73,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
73
73
|
id: string | undefined;
|
|
74
74
|
};
|
|
75
75
|
}>, Values<{
|
|
76
|
-
setConsentData: {
|
|
77
|
-
type: "setConsentData";
|
|
78
|
-
params: NonReducibleUnknown;
|
|
79
|
-
};
|
|
80
|
-
toggleCheckbox: {
|
|
81
|
-
type: "toggleCheckbox";
|
|
82
|
-
params: NonReducibleUnknown;
|
|
83
|
-
};
|
|
84
76
|
setError: {
|
|
85
77
|
type: "setError";
|
|
86
78
|
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-DLzhWTr8.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.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-CJEYoaOv.esm.js";
|
|
4
|
+
import { t as SDK_VERSION } from "./sdkVersion-BrXkpZEc.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Czjlp68o.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CbAGkHWh.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -252,7 +252,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
252
252
|
type: "fileSizeOkForNonGallery";
|
|
253
253
|
params: unknown;
|
|
254
254
|
};
|
|
255
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
255
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
256
256
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
257
257
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
258
258
|
readonly id: "documentCapture";
|
|
@@ -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-DPLFisa3.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BVgtkIuP.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.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-DPLFisa3.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-BliJsP_v.esm.js → dynamicFormsStateMachine-DPLFisa3.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-B-3Q-LUw.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-Bkw_CLYB.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-arUwJU7T.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-BxmW4ENe.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-Dk3wGQ68.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-ijlbX_Wx.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-BxmW4ENe.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-B-3Q-LUw.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-arUwJU7T.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-Dnwc7dMx.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-l9vLEAQt.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-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.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-Bkw_CLYB.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
|
@@ -11,12 +11,12 @@ import { i as IStorageCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
|
|
|
11
11
|
import "./StreamCanvasCapture-CeBBJ_RC.js";
|
|
12
12
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BK2M68y1.js";
|
|
13
13
|
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-
|
|
14
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cv_0QKLD.js";
|
|
15
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
16
16
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Ca_hyfn8.js";
|
|
17
17
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
18
18
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
|
|
19
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
19
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CbAGkHWh.js";
|
|
20
20
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
|
|
21
21
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BYrK7YlF.js";
|
|
22
22
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BeXat860.js";
|
|
@@ -27,9 +27,9 @@ import { U as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCap
|
|
|
27
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-D4FVaENS.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-x2QG6QAm.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-DN9b5rtc.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-CTAa9lBQ.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-C511Hltw.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-uBK_ACRs.esm.js";
|
|
3
|
+
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-CJEYoaOv.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-l9vLEAQt.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-BOC5WnCl.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CQYiZibx.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-C5W6t-1q.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-BVIPp-jE.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-D540g9UK.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-CO1EPIVX.esm.js";
|
|
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-oXaVxn1f.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-B9H34yQM.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CLtex74O.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BVgtkIuP.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-Dk3wGQ68.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-DEbkqrHx.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-CeSfUjcz.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-D_VAufFD.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-D1wD554G.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-Do-HaC6Z.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-Cg8pCUZL.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BUWO4S6n.esm.js";
|
|
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-B_Au6v1F.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Cr7n1jvL.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-CS217sC0.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-kBbNPq4R.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-DFDSCXQm.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-D50nxSs8.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-DuaXgdd4.esm.js";
|
package/dist/{faceCaptureManagerFactory-C7SVm_ws.esm.js → faceCaptureManagerFactory-DYPBvAZK.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.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-CQYiZibx.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Czjlp68o.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DIaG8BlW.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-DLzhWTr8.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-CJEYoaOv.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
7
7
|
import { t as isAndroid } from "./platform-DkcRc9JV.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-DIaG8BlW.esm.js";
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-BUy_tYKE.esm.js";
|
|
12
12
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
13
13
|
import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
|
|
14
14
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-BrXkpZEc.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-BcoTHosg.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as addEvent } from "./events-ijlbX_Wx.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-arUwJU7T.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-D6768CKi.esm.js";
|
|
6
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CTxfyfcC.esm.js";
|
|
7
7
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
8
8
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
9
9
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
package/dist/{flowCompletionService-DL0JHvhJ.esm.js → flowCompletionService-D6768CKi.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-B-3Q-LUw.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-Bkw_CLYB.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-REsua-sF.esm.js";
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BcoTHosg.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-CJEYoaOv.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-Bkw_CLYB.esm.js";
|
|
7
|
+
import "./session-COM19oC2.esm.js";
|
|
8
8
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.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-kBbNPq4R.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CfujADBW.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.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-CfujADBW.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-CfaBaWDZ.esm.js → geolocationStateMachine-CfujADBW.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-B-3Q-LUw.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-Bkw_CLYB.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
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-uBK_ACRs.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-arUwJU7T.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BUy_tYKE.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-yjRptLFi.esm.js";
|
|
11
|
-
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
12
|
-
import { h as ID_ERROR_CODES, l as processId, m as validateUploadResponse, p as uploadIdImage } from "./idCaptureServices-
|
|
11
|
+
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CNIn9n26.esm.js";
|
|
12
|
+
import { h as ID_ERROR_CODES, l as processId, m as validateUploadResponse, p as uploadIdImage } from "./idCaptureServices-CDXA8N_0.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
14
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
15
|
-
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
14
|
+
import { n as getFinishStatus } from "./flowCompletionService-D6768CKi.esm.js";
|
|
15
|
+
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BdQqdHmm.esm.js";
|
|
16
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
17
17
|
/** Default autocapture window for the selfie step. */
|
|
18
18
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
package/dist/id.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { i as assign, s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
4
|
-
import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
5
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
6
|
-
import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, n as barcodeToBase64, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, s as pauseRecordingForAttempt, t as addBarcode, u as startRecordingSession } from "./idCaptureServices-
|
|
4
|
+
import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-BtoMmTsr.esm.js";
|
|
5
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-D1wD554G.esm.js";
|
|
6
|
+
import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, n as barcodeToBase64, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, s as pauseRecordingForAttempt, t as addBarcode, u as startRecordingSession } from "./idCaptureServices-CDXA8N_0.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
8
8
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-DPPQlS-U.esm.js";
|
|
2
|
-
import { O as getBarcodeEnhanceModelUrl } from "./trueSightService-
|
|
2
|
+
import { O as getBarcodeEnhanceModelUrl } from "./trueSightService-DLzhWTr8.esm.js";
|
|
3
3
|
import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-REsua-sF.esm.js";
|
|
4
4
|
import { i as BaseWasmProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
5
5
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-uBK_ACRs.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Czjlp68o.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DIaG8BlW.esm.js";
|
|
8
|
-
import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-
|
|
9
|
-
import { _ as resolveIdCaptureThresholds, g as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
8
|
+
import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-BtoMmTsr.esm.js";
|
|
9
|
+
import { _ as resolveIdCaptureThresholds, g as resolveCaptureOptimizingTreatment } from "./idCaptureServices-CDXA8N_0.esm.js";
|
|
10
10
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
11
11
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
12
12
|
function isHoldingState(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-uBK_ACRs.esm.js";
|
|
2
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-BcoTHosg.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
5
|
import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
@@ -9,7 +9,7 @@ import { l as queryCameraPermission } from "./permissionServices-DIaG8BlW.esm.js
|
|
|
9
9
|
import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
|
|
10
10
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
11
11
|
import { t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
|
|
12
|
-
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
12
|
+
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CNIn9n26.esm.js";
|
|
13
13
|
//#region src/internal/camera/cameraServices.ts
|
|
14
14
|
function createCameraServices(camera) {
|
|
15
15
|
return {
|
package/dist/{idCaptureStateMachine-BaB3MsWL.esm.js → idCaptureStateMachine-BtoMmTsr.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
3
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-uBK_ACRs.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
5
|
+
import { s as exposeExperimentOnce } from "./feature-management-BcoTHosg.esm.js";
|
|
6
6
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
8
|
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-CJEYoaOv.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
11
11
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
12
12
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-COM19oC2.esm.js";
|
|
14
14
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
15
15
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
16
16
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
@@ -24,8 +24,8 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
25
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
26
26
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-Cjab7FTI.esm.js";
|
|
27
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
28
|
-
import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, b as getIdCameraStream, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, t as addBarcode, u as startRecordingSession, v as CAPTURE_OPTIMIZING, y as OPTIMIZING_WATCHDOG_MARGIN_MS } from "./idCaptureServices-
|
|
27
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CNIn9n26.esm.js";
|
|
28
|
+
import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, b as getIdCameraStream, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, t as addBarcode, u as startRecordingSession, v as CAPTURE_OPTIMIZING, y as OPTIMIZING_WATCHDOG_MARGIN_MS } from "./idCaptureServices-CDXA8N_0.esm.js";
|
|
29
29
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
30
30
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
31
31
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1396,7 +1396,7 @@ fromPromise(async ({ input }) => {
|
|
|
1396
1396
|
});
|
|
1397
1397
|
fromPromise(async ({ input }) => {
|
|
1398
1398
|
if (!input.dependencies) return;
|
|
1399
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1399
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CbneCTw7.esm.js");
|
|
1400
1400
|
return loadDeepsightSession({
|
|
1401
1401
|
ds: input.ds,
|
|
1402
1402
|
storage: input.dependencies.storage,
|
|
@@ -1839,7 +1839,7 @@ function cleanup(service) {
|
|
|
1839
1839
|
service.cleanup();
|
|
1840
1840
|
} catch {}
|
|
1841
1841
|
}
|
|
1842
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
1842
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-CbneCTw7.esm.js")).loadDeepsightSession(input)) {
|
|
1843
1843
|
let disposed = false;
|
|
1844
1844
|
let preparation;
|
|
1845
1845
|
let service;
|
|
@@ -4002,6 +4002,22 @@ const idCaptureMachine = setup({
|
|
|
4002
4002
|
digitalIdResumeProviderId: pending?.providerId
|
|
4003
4003
|
};
|
|
4004
4004
|
}),
|
|
4005
|
+
/**
|
|
4006
|
+
* Drops the inputs that belong to one digital-ID attempt: the return-leg
|
|
4007
|
+
* params and the recovered verificationId/providerId, plus the funnel
|
|
4008
|
+
* route. The `digitalIdRedirect` child copies what it needs on entry, so
|
|
4009
|
+
* once it exits nothing reads them — but left in place they are replayed
|
|
4010
|
+
* on the next redirect selection. The return leg would re-submit the
|
|
4011
|
+
* previous provider's result (the user picks iDIN and gets FTN's
|
|
4012
|
+
* cancelled screen back), and a stale route would override the card the
|
|
4013
|
+
* user just picked.
|
|
4014
|
+
*/
|
|
4015
|
+
clearDigitalIdAttempt: assign({
|
|
4016
|
+
digitalIdReturnParams: () => void 0,
|
|
4017
|
+
digitalIdResumeVerificationId: () => void 0,
|
|
4018
|
+
digitalIdResumeProviderId: () => void 0,
|
|
4019
|
+
digitalIdRoute: () => void 0
|
|
4020
|
+
}),
|
|
4005
4021
|
incrementProcessingExpiredAttempts: assign(({ context }) => ({ processingExpiredAttempts: context.processingExpiredAttempts + 1 })),
|
|
4006
4022
|
setSkipProcessId: assign({ skipProcessId: () => true }),
|
|
4007
4023
|
setExpiredFromUpload: assign({ expiredFromUpload: () => true }),
|
|
@@ -5148,25 +5164,34 @@ const idCaptureMachine = setup({
|
|
|
5148
5164
|
},
|
|
5149
5165
|
{
|
|
5150
5166
|
target: "chooser",
|
|
5151
|
-
guard: "hasShowDocumentChooser"
|
|
5167
|
+
guard: "hasShowDocumentChooser",
|
|
5168
|
+
actions: ["clearDigitalIdAttempt"]
|
|
5152
5169
|
},
|
|
5153
|
-
{
|
|
5170
|
+
{
|
|
5171
|
+
target: "loading",
|
|
5172
|
+
actions: ["clearDigitalIdAttempt"]
|
|
5173
|
+
}
|
|
5154
5174
|
],
|
|
5155
5175
|
onError: [{
|
|
5156
5176
|
target: "chooser",
|
|
5157
|
-
guard: "hasShowDocumentChooser"
|
|
5158
|
-
|
|
5177
|
+
guard: "hasShowDocumentChooser",
|
|
5178
|
+
actions: ["clearDigitalIdAttempt"]
|
|
5179
|
+
}, {
|
|
5180
|
+
target: "loading",
|
|
5181
|
+
actions: ["clearDigitalIdAttempt"]
|
|
5182
|
+
}]
|
|
5159
5183
|
},
|
|
5160
5184
|
on: { QUIT: { target: "closed" } }
|
|
5161
5185
|
},
|
|
5162
5186
|
digitalIdRedirect: {
|
|
5187
|
+
exit: "clearDigitalIdAttempt",
|
|
5163
5188
|
invoke: {
|
|
5164
5189
|
id: "digitalIdRedirect",
|
|
5165
5190
|
src: "digitalIdRedirectMachine",
|
|
5166
5191
|
input: ({ context }) => {
|
|
5167
5192
|
const resuming = context.digitalIdReturnParams !== void 0 && context.digitalIdResumeVerificationId !== void 0;
|
|
5168
5193
|
const routedProvider = context.digitalIdRoute?.kind === "trinsicRedirect" ? context.digitalIdRoute.providerId : void 0;
|
|
5169
|
-
const presetProvider = context.digitalIdResumeProviderId ?? routedProvider ?? context.selectedDigitalIdProviderId;
|
|
5194
|
+
const presetProvider = (resuming ? context.digitalIdResumeProviderId : void 0) ?? routedProvider ?? context.selectedDigitalIdProviderId;
|
|
5170
5195
|
const method = presetProvider !== void 0 ? getDigitalIdRedirectMethod(context.config, presetProvider) : getDigitalIdRedirectMethod(context.config);
|
|
5171
5196
|
return {
|
|
5172
5197
|
config: {
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-x2QG6QAm.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -107,14 +107,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
107
107
|
type: "setError";
|
|
108
108
|
params: NonReducibleUnknown;
|
|
109
109
|
};
|
|
110
|
-
clearError: {
|
|
111
|
-
type: "clearError";
|
|
112
|
-
params: NonReducibleUnknown;
|
|
113
|
-
};
|
|
114
110
|
setSelectedDocument: {
|
|
115
111
|
type: "setSelectedDocument";
|
|
116
112
|
params: NonReducibleUnknown;
|
|
117
113
|
};
|
|
114
|
+
clearError: {
|
|
115
|
+
type: "clearError";
|
|
116
|
+
params: NonReducibleUnknown;
|
|
117
|
+
};
|
|
118
118
|
}>, Values<{
|
|
119
119
|
hasDocuments: {
|
|
120
120
|
type: "hasDocuments";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-uBK_ACRs.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-C--rKe_Y.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CTAa9lBQ.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CMAyZpNe.d.ts → mandatoryConsentManager-CTAa9lBQ.d.ts}
RENAMED
|
@@ -60,14 +60,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
60
60
|
type: "clearError";
|
|
61
61
|
params: NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
|
-
resetContext: {
|
|
64
|
-
type: "resetContext";
|
|
65
|
-
params: NonReducibleUnknown;
|
|
66
|
-
};
|
|
67
63
|
toggleSigned: {
|
|
68
64
|
type: "toggleSigned";
|
|
69
65
|
params: NonReducibleUnknown;
|
|
70
66
|
};
|
|
67
|
+
resetContext: {
|
|
68
|
+
type: "resetContext";
|
|
69
|
+
params: NonReducibleUnknown;
|
|
70
|
+
};
|
|
71
71
|
}>, {
|
|
72
72
|
type: "canSubmit";
|
|
73
73
|
params: unknown;
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-
|
|
1
|
+
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
3
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-uBK_ACRs.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
7
|
+
import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-CJEYoaOv.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
11
11
|
import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
12
12
|
import { a as requestPermission, t as checkPermission } from "./permissionServices-DIaG8BlW.esm.js";
|
|
13
|
-
import { i as initializeDeepsightSession, o as startDetection, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
13
|
+
import { i as initializeDeepsightSession, o as startDetection, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-BUy_tYKE.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-l9vLEAQt.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
1
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-uBK_ACRs.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CQYiZibx.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DYPBvAZK.esm.js";
|
|
8
8
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
|
|
9
9
|
import { r as processFace } from "./selfieErrorUtils-yjRptLFi.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-D03koPfK.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-D_VAufFD.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-uBK_ACRs.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.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 selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DYPBvAZK.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-D03koPfK.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(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 { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CQYiZibx.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-BUy_tYKE.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-yjRptLFi.esm.js";
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
2
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import "./sessionInitializer-
|
|
3
|
+
import "./sessionInitializer-CJEYoaOv.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-Bkw_CLYB.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
4
|
-
import { t as IncodeApiError } from "./apiError-
|
|
5
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
6
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
3
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-CJEYoaOv.esm.js";
|
|
4
|
+
import { t as IncodeApiError } from "./apiError-Bkw_CLYB.esm.js";
|
|
5
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-COM19oC2.esm.js";
|
|
6
|
+
import { n as getFinishStatus } from "./flowCompletionService-D6768CKi.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionExpired.ts
|
|
8
8
|
var SessionExpiredError = class extends Error {
|
|
9
9
|
constructor() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BcoTHosg.esm.js";
|
|
3
3
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BrXkpZEc.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-CZcy2J53.esm.js";
|
|
8
8
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, k as resolveWasmConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-
|
|
1
|
+
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, k as resolveWasmConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
2
|
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-REsua-sF.esm.js";
|
|
3
3
|
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-C511Hltw.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
5
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-BcoTHosg.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
8
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-
|
|
9
|
+
import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-CJEYoaOv.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-arUwJU7T.esm.js";
|
|
14
14
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
15
15
|
var BrowserPageLifecycleProvider = class {
|
|
16
16
|
sendBeacon(url, body, contentType = "application/json") {
|
|
@@ -3,7 +3,7 @@ import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.
|
|
|
3
3
|
import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
5
5
|
import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-BrXkpZEc.esm.js";
|
|
7
7
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
8
8
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
9
9
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
@@ -1470,7 +1470,7 @@ let cryptoProviderPromise = null;
|
|
|
1470
1470
|
* the service's prewarm).
|
|
1471
1471
|
*/
|
|
1472
1472
|
function loadDiagnosticsCryptoProvider() {
|
|
1473
|
-
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-
|
|
1473
|
+
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-VbKVdIab.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
|
|
1474
1474
|
return cryptoProviderPromise;
|
|
1475
1475
|
}
|
|
1476
1476
|
/**
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-uBK_ACRs.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-arUwJU7T.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
|
|
11
|
-
import { i as CameraCompositor } from "./idCaptureDefaults-
|
|
11
|
+
import { i as CameraCompositor } from "./idCaptureDefaults-CNIn9n26.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
13
|
-
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BdQqdHmm.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieWasm.ts
|
|
16
16
|
function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
|
package/dist/{videoSelfieCameraWarmer-DdS4LV7-.esm.js → videoSelfieCameraWarmer-BdQqdHmm.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
4
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-arUwJU7T.esm.js";
|
|
5
5
|
import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
|
|
6
6
|
import { t as checkPermission } from "./permissionServices-DIaG8BlW.esm.js";
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BUy_tYKE.esm.js";
|
|
8
8
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
10
|
import { n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
|
|
11
11
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
12
12
|
import { i as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-yjRptLFi.esm.js";
|
|
13
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
13
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CNIn9n26.esm.js";
|
|
14
14
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
16
16
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-DPPQlS-U.esm.js";
|
|
2
|
-
import { D as buildWasmConfigFromBasePath, E as buildDefaultWasmConfig, T as DEFAULT_WASM_VERSION, k as resolveWasmConfig } from "./trueSightService-
|
|
2
|
+
import { D as buildWasmConfigFromBasePath, E as buildDefaultWasmConfig, T as DEFAULT_WASM_VERSION, k as resolveWasmConfig } from "./trueSightService-DLzhWTr8.esm.js";
|
|
3
3
|
import { o as warmupWasm } from "./warmup-REsua-sF.esm.js";
|
|
4
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
4
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-uBK_ACRs.esm.js";
|
|
5
5
|
//#region src/defineWasm.ts
|
|
6
6
|
function requiredModels(pipelines) {
|
|
7
7
|
const models = /* @__PURE__ */ new Set();
|
package/dist/workflow.d.ts
CHANGED
|
@@ -122,6 +122,13 @@ type CreateWorkflowManagerOptions = {
|
|
|
122
122
|
interviewId?: string;
|
|
123
123
|
/** Whether the device is a desktop. Determines desktop-to-mobile redirect injection. Defaults to true. */
|
|
124
124
|
isDesktop?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Set when mounting on the return leg of a full-page redirect a module
|
|
127
|
+
* started, such as the digital-ID bank redirect. Skips the launch screen and
|
|
128
|
+
* the desktop-to-mobile handoff, which the user already went through before
|
|
129
|
+
* leaving, so the workflow resumes on its current node. Defaults to false.
|
|
130
|
+
*/
|
|
131
|
+
isReturnLeg?: boolean;
|
|
125
132
|
/**
|
|
126
133
|
* Override for the finish-status fetch. Lets a caller overlay values the
|
|
127
134
|
* `/omni/finish-status` response never carries (e.g. the dashboard-configured
|
|
@@ -256,6 +263,8 @@ type WorkflowContext = {
|
|
|
256
263
|
isInjectedNode: boolean;
|
|
257
264
|
isHomeContinueLoading: boolean;
|
|
258
265
|
hasShownHome: boolean;
|
|
266
|
+
/** See `WorkflowInput.isReturnLeg`. */
|
|
267
|
+
isReturnLeg: boolean;
|
|
259
268
|
getFinishStatus: GetFinishStatusFn;
|
|
260
269
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
261
270
|
};
|
|
@@ -274,6 +283,14 @@ type WorkflowInput = {
|
|
|
274
283
|
interviewId?: string;
|
|
275
284
|
/** Whether the device is a desktop. Determines desktop-to-mobile redirect injection. Defaults to true. */
|
|
276
285
|
isDesktop?: boolean;
|
|
286
|
+
/**
|
|
287
|
+
* The host re-mounted this workflow on the return leg of a full-page
|
|
288
|
+
* redirect a module started (today: the digital-ID bank redirect). The user
|
|
289
|
+
* already went through the pre-node screens before leaving, so the launch
|
|
290
|
+
* screen and the desktop-to-mobile handoff are not shown again and the
|
|
291
|
+
* workflow lands straight on its current node. Defaults to false.
|
|
292
|
+
*/
|
|
293
|
+
isReturnLeg?: boolean;
|
|
277
294
|
};
|
|
278
295
|
declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
279
296
|
type: "LOAD";
|
|
@@ -339,10 +356,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
339
356
|
id: string | undefined;
|
|
340
357
|
};
|
|
341
358
|
}>, Values<{
|
|
342
|
-
setError: {
|
|
343
|
-
type: "setError";
|
|
344
|
-
params: NonReducibleUnknown;
|
|
345
|
-
};
|
|
346
359
|
setLoadingResult: {
|
|
347
360
|
type: "setLoadingResult";
|
|
348
361
|
params: NonReducibleUnknown;
|
|
@@ -375,6 +388,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
375
388
|
type: "setFinishStatusFailed";
|
|
376
389
|
params: NonReducibleUnknown;
|
|
377
390
|
};
|
|
391
|
+
setError: {
|
|
392
|
+
type: "setError";
|
|
393
|
+
params: NonReducibleUnknown;
|
|
394
|
+
};
|
|
378
395
|
setModuleError: {
|
|
379
396
|
type: "setModuleError";
|
|
380
397
|
params: NonReducibleUnknown;
|
|
@@ -667,7 +684,8 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
667
684
|
isDesktop: boolean;
|
|
668
685
|
isInjectedNode: false;
|
|
669
686
|
isHomeContinueLoading: false;
|
|
670
|
-
hasShownHome:
|
|
687
|
+
hasShownHome: boolean;
|
|
688
|
+
isReturnLeg: boolean;
|
|
671
689
|
getFinishStatus: GetFinishStatusFn;
|
|
672
690
|
getTotalScoreStatus: GetTotalScoreStatusFn;
|
|
673
691
|
};
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-DLzhWTr8.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BcoTHosg.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CJEYoaOv.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-Bkw_CLYB.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-arUwJU7T.esm.js";
|
|
9
9
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-l9vLEAQt.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-D_pA96rq.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DARAOFdl.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Bn5VbLhG.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-1MkML1iL.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-CDcMdfvW.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-Bzx8zPD3.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-C8p2vZQU.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DPLFisa3.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-BxmW4ENe.esm.js";
|
|
23
23
|
import { t as ekycMachine } from "./ekycStateMachine-UjaYNdNf.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-D7czACc4.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-D03koPfK.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-BtoMmTsr.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-BpZ2PF2U.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-BLTC8Bur.esm.js";
|
|
29
29
|
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-Ctw74iP3.esm.js";
|
|
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BqP
|
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-IMYjWyxu.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BwDBkdiB.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-B5SZlQeG.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CfujADBW.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-omXlfK8T.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-lk1KYt0f.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-B1IrvVGS.esm.js";
|
|
39
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
40
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
39
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-D6768CKi.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CTxfyfcC.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
|
|
@@ -282,6 +282,14 @@ async function resolveModule(input) {
|
|
|
282
282
|
}
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region src/modules/workflow/workflowStateMachine.ts
|
|
285
|
+
/**
|
|
286
|
+
* Whether the desktop-to-mobile handoff may be injected. It is a pre-node
|
|
287
|
+
* step, so on a return leg the user has already been through it: a desktop
|
|
288
|
+
* return only exists when they chose to continue on desktop.
|
|
289
|
+
*/
|
|
290
|
+
function canOfferDeviceHandoff(context) {
|
|
291
|
+
return context.isDesktop && !context.isReturnLeg;
|
|
292
|
+
}
|
|
285
293
|
function extractErrorInfo(err) {
|
|
286
294
|
const error = err;
|
|
287
295
|
return {
|
|
@@ -439,7 +447,8 @@ const workflowMachine = setup({
|
|
|
439
447
|
isDesktop: input.isDesktop ?? true,
|
|
440
448
|
isInjectedNode: false,
|
|
441
449
|
isHomeContinueLoading: false,
|
|
442
|
-
hasShownHome: false,
|
|
450
|
+
hasShownHome: input.isReturnLeg ?? false,
|
|
451
|
+
isReturnLeg: input.isReturnLeg ?? false,
|
|
443
452
|
getFinishStatus: input.getFinishStatus ?? getFinishStatus,
|
|
444
453
|
getTotalScoreStatus: input.getTotalScoreStatus ?? getTotalScoreStatus
|
|
445
454
|
}),
|
|
@@ -448,7 +457,7 @@ const workflowMachine = setup({
|
|
|
448
457
|
loading: { invoke: {
|
|
449
458
|
id: "loadWorkflow",
|
|
450
459
|
src: "loadWorkflow",
|
|
451
|
-
input: ({ context }) => ({ isDesktop: context
|
|
460
|
+
input: ({ context }) => ({ isDesktop: canOfferDeviceHandoff(context) }),
|
|
452
461
|
onDone: [
|
|
453
462
|
{
|
|
454
463
|
target: "home",
|
|
@@ -597,7 +606,7 @@ const workflowMachine = setup({
|
|
|
597
606
|
workflowDisableSmsOption: context.workflowConfig?.disableSmsOption ?? false,
|
|
598
607
|
workflowAddContinueToDesktop: context.workflowConfig?.addContinueToDesktop ?? false,
|
|
599
608
|
workflowQrPhishingResistance: context.workflowConfig?.qrPhishingResistance ?? false,
|
|
600
|
-
isDesktop: context
|
|
609
|
+
isDesktop: canOfferDeviceHandoff(context)
|
|
601
610
|
}),
|
|
602
611
|
onDone: [
|
|
603
612
|
{
|
|
@@ -668,6 +677,7 @@ function createWorkflowActor(options) {
|
|
|
668
677
|
customModuleCallback: options.customModuleCallback,
|
|
669
678
|
interviewId: options.interviewId,
|
|
670
679
|
isDesktop: options.isDesktop,
|
|
680
|
+
isReturnLeg: options.isReturnLeg,
|
|
671
681
|
getFinishStatus: options.getFinishStatus
|
|
672
682
|
} }).start();
|
|
673
683
|
}
|
|
@@ -864,6 +874,7 @@ function createWorkflowManager(options = {}) {
|
|
|
864
874
|
customModuleCallback: options.customModuleCallback,
|
|
865
875
|
interviewId: options.interviewId,
|
|
866
876
|
isDesktop: options.isDesktop,
|
|
877
|
+
isReturnLeg: options.isReturnLeg,
|
|
867
878
|
getFinishStatus: options.getFinishStatus
|
|
868
879
|
}),
|
|
869
880
|
mapState,
|