@incodetech/core 2.5.0-rc.4 → 2.5.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FaceDetectionProvider-klK6EFg6.esm.js → FaceDetectionProvider-VT31r1ov.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DRsBE3CK.esm.js → apiError-D2biqI0c.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CyvlBPdd.esm.js → authenticationManager-Db2AIYOY.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DlzoWoU4.esm.js → authenticationStateMachine-D5S7dLqB.esm.js} +2 -2
- package/dist/{deepsightLoader-JqZ_BHU4.esm.js → deepsightLoader-Ckm6t3kD.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-Dd3T6bcs.d.ts} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CrQe8JpB.esm.js → dynamicFormsManager-BVajFTAr.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BbQk7qGH.esm.js → dynamicFormsStateMachine-CojKBZSx.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CMr6x_1w.esm.js → ekybManager-IjDkBive.esm.js} +1 -1
- package/dist/{ekybStateMachine-CmrEOQpf.esm.js → ekybStateMachine-DrWUhTG5.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-D4e5zKJO.esm.js → ekycPrefillManager-9Rdv8tsm.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-CUFTaI8e.d.ts} +30 -30
- package/dist/{ekycPrefillStateMachine-C5lP7aBp.esm.js → ekycPrefillStateMachine-DVe575y0.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BP-va382.esm.js → electronicSignatureManager-BDOrUs1S.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +12 -12
- package/dist/{faceCaptureManagerFactory-kFzpFeWi.esm.js → faceCaptureManagerFactory-D7o4vaSt.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CpnjQFgi.esm.js → faceCaptureSetup-B6pAu2Lo.esm.js} +3 -3
- package/dist/{feature-management-CxMEynqK.esm.js → feature-management-Y7TclYIm.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-HyLrcPyI.esm.js → flowCompletionService-C0gr4duW.esm.js} +1 -1
- package/dist/{flowServices-DB-8bIC3.esm.js → flowServices-B-_9AUG2.esm.js} +6 -8
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Bg_D9126.esm.js → geolocationManager-BFT5MLUp.esm.js} +1 -1
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationStateMachine-DYwyH9H5.esm.js → geolocationStateMachine-B0mxG9gS.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-B-r13aBN.esm.js → idCaptureManager-kiSWD5_7.esm.js} +3 -3
- package/dist/{idCaptureServices-BUtcpwTU.esm.js → idCaptureServices-DABHaQGi.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-qK87MsJV.esm.js → idCaptureStateMachine-B6Djl8nt.esm.js} +8 -8
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-C3BHGgSb.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-C-tMl9v-.esm.js → kybChecksManager-CAzYmH8L.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-B8HBo4Sr.esm.js → kybChecksStateMachine-DWYRi__r.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BfKUYITn.esm.js → runChildModule-CfTDIDFy.esm.js} +1 -1
- package/dist/{sdkVersion-WUghPvAM.esm.js → sdkVersion-B0u1yI4T.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-CDEXv09U.esm.js → selfieErrorUtils-KMGgzEY8.esm.js} +1 -1
- package/dist/{selfieManager-CESXppTr.esm.js → selfieManager-CRAV_PgJ.esm.js} +3 -3
- package/dist/{selfieStateMachine-DTgmC86l.esm.js → selfieStateMachine-jd3k1iLj.esm.js} +3 -3
- package/dist/{session-BsnIw7oQ.esm.js → session-BkAhUvu7.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-6OS932zX.esm.js → sessionInitializer-BzPWbuZe.esm.js} +14 -60
- package/dist/{setup-DpNKrn3K.esm.js → setup-Cg1JJe3W.esm.js} +5 -5
- package/dist/{trueSightService-N_y4mTc3.esm.js → trueSightService-CzUm08rX.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CsIqHijy.esm.js → videoSelfieCameraWarmer-Dmkf-4Dt.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
package/dist/{FaceDetectionProvider-klK6EFg6.esm.js → FaceDetectionProvider-VT31r1ov.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-Cg1JJe3W.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CzUm08rX.esm.js";
|
|
6
|
+
import "./sessionInitializer-BzPWbuZe.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Ckm6t3kD.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BDOrUs1S.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-D5S7dLqB.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Db2AIYOY.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CyvlBPdd.esm.js → authenticationManager-Db2AIYOY.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Cg1JJe3W.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
4
4
|
import "./events-CP3yOzAl.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D7o4vaSt.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-D5S7dLqB.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-B6pAu2Lo.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-VT31r1ov.esm.js";
|
|
5
5
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-q3cVTQ6a.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-CzUm08rX.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-B0u1yI4T.esm.js";
|
|
4
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-BzPWbuZe.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.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, u as DocumentUploadStatus } from "./types-CyNndVAT.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-Dd3T6bcs.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
id: string | undefined;
|
|
103
103
|
};
|
|
104
104
|
}>, Values<{
|
|
105
|
-
decrementAttemptsRemaining: {
|
|
106
|
-
type: "decrementAttemptsRemaining";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
clearError: {
|
|
110
106
|
type: "clearError";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
112
108
|
};
|
|
109
|
+
decrementAttemptsRemaining: {
|
|
110
|
+
type: "decrementAttemptsRemaining";
|
|
111
|
+
params: NonReducibleUnknown;
|
|
112
|
+
};
|
|
113
113
|
setStream: {
|
|
114
114
|
type: "setStream";
|
|
115
115
|
params: NonReducibleUnknown;
|
|
@@ -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-CojKBZSx.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BVajFTAr.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
6
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CojKBZSx.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
8
8
|
function createDynamicFormsActor(options) {
|
|
9
9
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-BbQk7qGH.esm.js → dynamicFormsStateMachine-CojKBZSx.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DrWUhTG5.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-IjDkBive.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
6
|
+
import { t as ekybMachine } from "./ekybStateMachine-DrWUhTG5.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-B-_9AUG2.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
package/dist/ekyc-prefill.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as EkycFormValues, c as EkycValidationErrors, s as EkycValidationError } from "./types-DEa3taWc.js";
|
|
2
2
|
import { a as EkycPrefillFieldDef, c as EkycPrefillModuleConfig, i as EkycPrefillErrorKind, l as EkycPrefillServedField, n as EkycPrefillConfigField, s as EkycPrefillInputFormat, t as EkycPrefillConfig } from "./types-B-PIc0en.js";
|
|
3
|
-
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
3
|
+
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-CUFTaI8e.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
|
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DVe575y0.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-9Rdv8tsm.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
3
|
+
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DVe575y0.esm.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
5
5
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
6
6
|
function createEkycPrefillActor(options = {}) {
|
|
@@ -28,15 +28,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
28
28
|
} | {
|
|
29
29
|
type: "CLOSE";
|
|
30
30
|
}, {
|
|
31
|
-
[x: string]: ActorRefFromLogic<PromiseActorLogic<
|
|
31
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<void, {
|
|
32
32
|
hasPhone: boolean;
|
|
33
|
-
}, EventObject>> | undefined;
|
|
33
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>> | undefined;
|
|
34
34
|
}, Values<{
|
|
35
|
-
submit: {
|
|
36
|
-
src: "submit";
|
|
37
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
38
|
-
id: string | undefined;
|
|
39
|
-
};
|
|
40
35
|
loadPhoneRules: {
|
|
41
36
|
src: "loadPhoneRules";
|
|
42
37
|
logic: PromiseActorLogic<void, {
|
|
@@ -44,6 +39,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
44
39
|
}, EventObject>;
|
|
45
40
|
id: string | undefined;
|
|
46
41
|
};
|
|
42
|
+
submit: {
|
|
43
|
+
src: "submit";
|
|
44
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
45
|
+
id: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
}>, Values<{
|
|
48
48
|
applyForm: {
|
|
49
49
|
type: "applyForm";
|
|
@@ -82,10 +82,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
82
82
|
params: NonReducibleUnknown;
|
|
83
83
|
};
|
|
84
84
|
}>, Values<{
|
|
85
|
-
isValid: {
|
|
86
|
-
type: "isValid";
|
|
87
|
-
params: unknown;
|
|
88
|
-
};
|
|
89
85
|
phoneRulesFailed: {
|
|
90
86
|
type: "phoneRulesFailed";
|
|
91
87
|
params: unknown;
|
|
@@ -98,6 +94,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
98
94
|
type: "canRender";
|
|
99
95
|
params: unknown;
|
|
100
96
|
};
|
|
97
|
+
isValid: {
|
|
98
|
+
type: "isValid";
|
|
99
|
+
params: unknown;
|
|
100
|
+
};
|
|
101
101
|
isBadRequest: {
|
|
102
102
|
type: "isBadRequest";
|
|
103
103
|
params: unknown;
|
|
@@ -110,20 +110,24 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
110
110
|
type: "isLimitReached";
|
|
111
111
|
params: unknown;
|
|
112
112
|
};
|
|
113
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
113
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "misconfigured" | "submitting" | "limitReached" | {
|
|
114
114
|
form: "inputting" | "validating";
|
|
115
115
|
}, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
116
116
|
readonly id: "ekycPrefill";
|
|
117
117
|
readonly initial: "idle";
|
|
118
118
|
readonly context: ({ input }: {
|
|
119
119
|
spawn: {
|
|
120
|
-
<TSrc extends "
|
|
121
|
-
src: "
|
|
122
|
-
logic: PromiseActorLogic<
|
|
120
|
+
<TSrc extends "loadPhoneRules" | "submit">(logic: TSrc, ...[options]: ({
|
|
121
|
+
src: "loadPhoneRules";
|
|
122
|
+
logic: PromiseActorLogic<void, {
|
|
123
|
+
hasPhone: boolean;
|
|
124
|
+
}, EventObject>;
|
|
123
125
|
id: string | undefined;
|
|
124
126
|
} extends (infer T) ? T extends {
|
|
125
|
-
src: "
|
|
126
|
-
logic: PromiseActorLogic<
|
|
127
|
+
src: "loadPhoneRules";
|
|
128
|
+
logic: PromiseActorLogic<void, {
|
|
129
|
+
hasPhone: boolean;
|
|
130
|
+
}, EventObject>;
|
|
127
131
|
id: string | undefined;
|
|
128
132
|
} ? T extends {
|
|
129
133
|
src: TSrc;
|
|
@@ -133,16 +137,12 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
133
137
|
input?: InputFrom<T["logic"]> | undefined;
|
|
134
138
|
syncSnapshot?: boolean;
|
|
135
139
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
136
|
-
src: "
|
|
137
|
-
logic: PromiseActorLogic<
|
|
138
|
-
hasPhone: boolean;
|
|
139
|
-
}, EventObject>;
|
|
140
|
+
src: "submit";
|
|
141
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
140
142
|
id: string | undefined;
|
|
141
143
|
} extends (infer T_1) ? T_1 extends {
|
|
142
|
-
src: "
|
|
143
|
-
logic: PromiseActorLogic<
|
|
144
|
-
hasPhone: boolean;
|
|
145
|
-
}, EventObject>;
|
|
144
|
+
src: "submit";
|
|
145
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
146
146
|
id: string | undefined;
|
|
147
147
|
} ? T_1 extends {
|
|
148
148
|
src: TSrc;
|
|
@@ -152,11 +152,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
152
152
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
153
153
|
syncSnapshot?: boolean;
|
|
154
154
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
155
|
-
submit: {
|
|
156
|
-
src: "submit";
|
|
157
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
158
|
-
id: string | undefined;
|
|
159
|
-
};
|
|
160
155
|
loadPhoneRules: {
|
|
161
156
|
src: "loadPhoneRules";
|
|
162
157
|
logic: PromiseActorLogic<void, {
|
|
@@ -164,6 +159,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
164
159
|
}, EventObject>;
|
|
165
160
|
id: string | undefined;
|
|
166
161
|
};
|
|
162
|
+
submit: {
|
|
163
|
+
src: "submit";
|
|
164
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
165
|
+
id: string | undefined;
|
|
166
|
+
};
|
|
167
167
|
}>, "src", TSrc>["logic"]>;
|
|
168
168
|
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
169
169
|
id?: never;
|
package/dist/{ekycPrefillStateMachine-C5lP7aBp.esm.js → ekycPrefillStateMachine-DVe575y0.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.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-BDOrUs1S.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 { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.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-D2biqI0c.esm.js";
|
|
6
6
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
7
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -17,10 +17,10 @@ import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchMana
|
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Ci2iVuog.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-Dd3T6bcs.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BflWuTe4.js";
|
|
23
|
-
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-CUFTaI8e.js";
|
|
24
24
|
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BKVQazAb.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
26
26
|
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CvWeyYup.js";
|
|
@@ -31,10 +31,10 @@ import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerF
|
|
|
31
31
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
|
|
32
32
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
|
|
33
33
|
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CCkV4Cm3.js";
|
|
34
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-pT6FiPE7.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
37
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
38
38
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
|
|
39
39
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
|
|
40
40
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Cg1JJe3W.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-BzPWbuZe.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BDOrUs1S.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DKNOi9-z.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B6pAu2Lo.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Db2AIYOY.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DaUklfNj.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-BPocwpm2.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BfA29Aji.esm.js";
|
|
@@ -14,13 +14,13 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BRqSCR9R.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Bd1ooIDB.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-D5oiXpwG.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BVajFTAr.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-IjDkBive.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-nRT0rxei.esm.js";
|
|
20
|
-
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-9Rdv8tsm.esm.js";
|
|
21
21
|
import { n as createEmailManagerFromActor } from "./emailManager-Co4jarT1.esm.js";
|
|
22
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
23
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
22
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CRAV_PgJ.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-kiSWD5_7.esm.js";
|
|
24
24
|
import { n as createPhoneManagerFromActor } from "./phoneManager-rA7updqF.esm.js";
|
|
25
25
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-BDaVjzLW.esm.js";
|
|
26
26
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
|
|
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
30
30
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-im7VfJQi.esm.js";
|
|
31
31
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DjsEtWLq.esm.js";
|
|
32
32
|
import { n as createSignatureManagerFromActor } from "./signatureManager-BgAja97K.esm.js";
|
|
33
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
33
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BFT5MLUp.esm.js";
|
|
34
34
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-6JQQkzha.esm.js";
|
|
35
35
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-PMGM4hXY.esm.js";
|
|
36
36
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CGmNGbov.esm.js";
|
|
37
37
|
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-2ZBUw08-.esm.js";
|
|
38
|
-
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-
|
|
38
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-CAzYmH8L.esm.js";
|
|
39
39
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-kFzpFeWi.esm.js → faceCaptureManagerFactory-D7o4vaSt.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
6
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-B6pAu2Lo.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
8
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
9
9
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BMQItC9y.esm.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken } from "./api-CZpuJuZl.esm.js";
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./sessionInitializer-
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CzUm08rX.esm.js";
|
|
4
|
+
import "./sessionInitializer-BzPWbuZe.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
6
6
|
import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
|
|
7
7
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
9
|
import { c as isCameraDenialErrorName } from "./camera-wzsqfd3B.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BMQItC9y.esm.js";
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-VT31r1ov.esm.js";
|
|
12
12
|
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-q3cVTQ6a.esm.js";
|
|
13
13
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
14
14
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-B0u1yI4T.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-Y7TclYIm.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,12 +1,12 @@
|
|
|
1
1
|
import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DYYMdAGv.esm.js";
|
|
2
2
|
import "./events-CP3yOzAl.esm.js";
|
|
3
3
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
4
|
-
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-
|
|
4
|
+
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-B-_9AUG2.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
9
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
8
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-C0gr4duW.esm.js";
|
|
9
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CfTDIDFy.esm.js";
|
|
10
10
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
11
11
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
12
12
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
package/dist/{flowCompletionService-HyLrcPyI.esm.js → flowCompletionService-C0gr4duW.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
3
3
|
//#region src/modules/flow/flowCompletionService.ts
|
|
4
4
|
const getFinishStatus = async (flowId, signal) => {
|
|
5
5
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-BZOMg303.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
3
3
|
import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
4
|
+
import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BzPWbuZe.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-Y7TclYIm.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
7
|
+
import "./session-BkAhUvu7.esm.js";
|
|
8
8
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
9
9
|
import { a as prefetchStartInfo } from "./phoneServices-CFXcwCFr.esm.js";
|
|
10
10
|
//#region src/modules/flow/dashboardConfig.ts
|
|
@@ -738,8 +738,8 @@ function toRegulationType(value) {
|
|
|
738
738
|
* The consent decision rides on the device-fingerprint response. A flow that
|
|
739
739
|
* never checks for consent doesn't read that response, so its first module
|
|
740
740
|
* doesn't wait for the post, and the post keeps waiting for the device hash in
|
|
741
|
-
* the background. A flow that checks waits for the post, so the
|
|
742
|
-
*
|
|
741
|
+
* the background. A flow that checks waits for the post, and so for the device
|
|
742
|
+
* hash: the hash must never be dropped to show the first screen sooner.
|
|
743
743
|
*/
|
|
744
744
|
function readsFingerprintResult(flow) {
|
|
745
745
|
return flow.mandatoryConsentCheck !== false;
|
|
@@ -768,7 +768,6 @@ function prependMandatoryConsent(flow) {
|
|
|
768
768
|
*/
|
|
769
769
|
async function completeDeferredActivation(flow, signal) {
|
|
770
770
|
const awaitFingerprint = readsFingerprintResult(flow);
|
|
771
|
-
if (awaitFingerprint) endDeviceHashWait();
|
|
772
771
|
await initializeSession({
|
|
773
772
|
signal,
|
|
774
773
|
awaitFingerprint
|
|
@@ -876,7 +875,6 @@ async function normalizeDashboardFlow(rawFlow, options, signal) {
|
|
|
876
875
|
let flow = rawFlow;
|
|
877
876
|
if (options.deferActivation !== true) {
|
|
878
877
|
const awaitFingerprint = readsFingerprintResult(rawFlow);
|
|
879
|
-
if (awaitFingerprint) endDeviceHashWait();
|
|
880
878
|
await initializeSession({
|
|
881
879
|
signal,
|
|
882
880
|
awaitFingerprint
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-
|
|
1
|
+
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
2
2
|
export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
|
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-BFT5MLUp.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-B0mxG9gS.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-B0mxG9gS.esm.js";
|
|
6
6
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
7
7
|
var BrowserGeolocationProvider = class {
|
|
8
8
|
getCurrentPosition() {
|
|
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
|
|
|
117
117
|
type: "isPermissionDenied";
|
|
118
118
|
params: unknown;
|
|
119
119
|
};
|
|
120
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
120
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
121
121
|
readonly id: "geolocation";
|
|
122
122
|
readonly initial: "idle";
|
|
123
123
|
readonly context: ({ input, self }: {
|
package/dist/{geolocationStateMachine-DYwyH9H5.esm.js → geolocationStateMachine-B0mxG9gS.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-D2biqI0c.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
2
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-
|
|
2
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
3
3
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
4
4
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
5
5
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
|