@incodetech/core 0.0.0-dev-20261020-4fdb6e30 → 0.0.0-dev-20261020-23d0c2dd
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-BUzA3Xfz.esm.js → FaceDetectionProvider-CczY3HPI.esm.js} +5 -5
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DQX-8xf0.esm.js → apiError-DqoFM9HA.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-kIVTFluN.esm.js → authenticationManager-B4CCHLzR.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Dw7_3wfC.esm.js → authenticationStateMachine-IDbtMzUb.esm.js} +2 -2
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-C62wP3C7.esm.js → certificateIssuanceManager-Cqxlxd2J.esm.js} +1 -1
- package/dist/{certificateIssuanceStateMachine-rcv1Mp0-.esm.js → certificateIssuanceStateMachine-DCUb94gC.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-Ca8FHlC4.d.ts} +8 -8
- package/dist/{deepsightLoader-D2VBOKJi.esm.js → deepsightLoader-Br65NSRJ.esm.js} +4 -4
- package/dist/{deepsightService-CnJgXXcj.esm.js → deepsightService-79wxy2rB.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-B5Yv_b7F.d.ts → documentCaptureManager-6tnnDkMX.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CXIp_2Xe.esm.js → dynamicFormsManager-D4jDS0sZ.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CfXLcfiy.esm.js → dynamicFormsStateMachine-D3L2RCWY.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-D0Sw9nmF.esm.js → ekybManager-CyOcjqnP.esm.js} +1 -1
- package/dist/{ekybStateMachine-B2uk9I24.esm.js → ekybStateMachine-Bg7K7Mol.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-G9vJ-4cT.esm.js → electronicSignatureManager-BJVNkJjk.esm.js} +2 -2
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +12 -12
- package/dist/{externalFetch-mShctxq_.esm.js → externalFetch-CQY41QT1.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-CyKQqMpH.esm.js → faceCaptureManagerFactory-BoH5dRsA.esm.js} +1 -1
- package/dist/{faceCaptureSetup-D13GSqvK.esm.js → faceCaptureSetup-CSpFqGxj.esm.js} +3 -3
- package/dist/{feature-management-BlPsdK6I.esm.js → feature-management-BYS40_Io.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-ko1tsdfm.esm.js → flowCompletionService-_txDlEZS.esm.js} +1 -1
- package/dist/{flowServices-Df-LxNoR.esm.js → flowServices-DWHQZaoZ.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Bn_aK63v.esm.js → geolocationManager-CYtJnr4K.esm.js} +1 -1
- package/dist/{geolocationStateMachine-D0GMeMwZ.esm.js → geolocationStateMachine-xqwwmO3p.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-CXflpRS0.esm.js → idCaptureManager-DmBeSRIt.esm.js} +3 -3
- package/dist/{idCaptureServices-DPeT_Qu3.esm.js → idCaptureServices-DUzOAUA2.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-BfGPXYID.esm.js → idCaptureStateMachine-B7OhQbLg.esm.js} +10 -10
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-BQ43yndC.d.ts → mandatoryConsentManager-qYojnZYg.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-u9c-GRQS.esm.js → redirectToMobileManager-BSSkqtEE.esm.js} +3 -2
- package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
- package/dist/{redirectToMobileStateMachine-DE95zYD3.esm.js → redirectToMobileStateMachine-BpetRK9-.esm.js} +26 -5
- package/dist/{runChildModule-DnpPfTcQ.esm.js → runChildModule-DZCZ200-.esm.js} +1 -1
- package/dist/{sdkVersion-2pk-smMJ.esm.js → sdkVersion-BjHch1Fj.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-oXui3FHr.esm.js → selfieErrorUtils-cvC7Amqh.esm.js} +1 -1
- package/dist/{selfieManager-CAPsp6sB.esm.js → selfieManager-Bm6K22Wm.esm.js} +3 -3
- package/dist/{selfieStateMachine-Cvv2tql3.esm.js → selfieStateMachine-DF92nCEJ.esm.js} +3 -3
- package/dist/{session-BeOhtQJt.esm.js → session-Cj96bIhQ.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BN6B9VSX.esm.js → sessionInitializer-GvU4MgyX.esm.js} +3 -3
- package/dist/{setup-Bn3e6ZFS.esm.js → setup-DIZlMIy0.esm.js} +4 -4
- package/dist/{trueSightService-8jhpuYdN.esm.js → trueSightService-CKE9mQaT.esm.js} +1 -1
- package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
- package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DV0XqPfw.esm.js → videoSelfieCameraWarmer-BwC_I5iH.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +1 -1
package/dist/{idCaptureStateMachine-BfGPXYID.esm.js → idCaptureStateMachine-B7OhQbLg.esm.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, u as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, u as BrowserStorageProvider } from "./setup-DIZlMIy0.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-D98twgMK.esm.js";
|
|
5
5
|
import { r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
6
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
7
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CKE9mQaT.esm.js";
|
|
7
|
+
import { t as getDisableIpify } from "./sessionInitializer-GvU4MgyX.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
9
|
+
import { s as exposeExperimentOnce } from "./feature-management-BYS40_Io.esm.js";
|
|
10
10
|
import { t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
|
|
11
11
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-Cj96bIhQ.esm.js";
|
|
13
13
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
14
14
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
15
|
-
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-
|
|
15
|
+
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
16
16
|
import { r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
17
17
|
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission } from "./permissionServices-Ca-tSNhT.esm.js";
|
|
18
18
|
import { a as flagIdManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-DeOVMWUZ.esm.js";
|
|
@@ -24,10 +24,10 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
25
|
import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
|
-
import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-
|
|
27
|
+
import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-79wxy2rB.esm.js";
|
|
28
28
|
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
29
29
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BGsG2OAs.esm.js";
|
|
30
|
-
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-
|
|
30
|
+
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-DUzOAUA2.esm.js";
|
|
31
31
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
33
33
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1421,7 +1421,7 @@ fromPromise(async ({ input }) => {
|
|
|
1421
1421
|
});
|
|
1422
1422
|
fromPromise(async ({ input }) => {
|
|
1423
1423
|
if (!input.dependencies) return;
|
|
1424
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1424
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Br65NSRJ.esm.js");
|
|
1425
1425
|
return loadDeepsightSession({
|
|
1426
1426
|
ds: input.ds,
|
|
1427
1427
|
storage: input.dependencies.storage,
|
|
@@ -1864,7 +1864,7 @@ function cleanup(service) {
|
|
|
1864
1864
|
service.cleanup();
|
|
1865
1865
|
} catch {}
|
|
1866
1866
|
}
|
|
1867
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
1867
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Br65NSRJ.esm.js")).loadDeepsightSession(input)) {
|
|
1868
1868
|
let disposed = false;
|
|
1869
1869
|
let preparation;
|
|
1870
1870
|
let service;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-DIZlMIy0.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-Ckir_BEs.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-qYojnZYg.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BQ43yndC.d.ts → mandatoryConsentManager-qYojnZYg.d.ts}
RENAMED
|
@@ -56,10 +56,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
56
56
|
type: "setError";
|
|
57
57
|
params: NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
|
-
toggleSigned: {
|
|
60
|
-
type: "toggleSigned";
|
|
61
|
-
params: NonReducibleUnknown;
|
|
62
|
-
};
|
|
63
59
|
clearError: {
|
|
64
60
|
type: "clearError";
|
|
65
61
|
params: NonReducibleUnknown;
|
|
@@ -68,6 +64,10 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
68
64
|
type: "resetContext";
|
|
69
65
|
params: NonReducibleUnknown;
|
|
70
66
|
};
|
|
67
|
+
toggleSigned: {
|
|
68
|
+
type: "toggleSigned";
|
|
69
|
+
params: NonReducibleUnknown;
|
|
70
|
+
};
|
|
71
71
|
}>, {
|
|
72
72
|
type: "canSubmit";
|
|
73
73
|
params: unknown;
|
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-BJVNkJjk.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { r as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
2
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
|
|
3
3
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
|
|
4
4
|
declare const defaultRedirectToMobileServices: RedirectToMobileServices;
|
|
5
5
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-BpetRK9-.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-BSSkqtEE.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-u9c-GRQS.esm.js → redirectToMobileManager-BSSkqtEE.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation } from "./even
|
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-
|
|
5
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-BpetRK9-.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
7
7
|
const POLL_INTERVAL_MS = 5e3;
|
|
8
8
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -74,7 +74,8 @@ function mapState(snapshot) {
|
|
|
74
74
|
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
75
75
|
if (typedSnapshot.matches("error")) return {
|
|
76
76
|
status: "error",
|
|
77
|
-
error: context.error ?? "An error occurred"
|
|
77
|
+
error: context.error ?? "An error occurred",
|
|
78
|
+
moduleErrorCode: context.moduleErrorCode
|
|
78
79
|
};
|
|
79
80
|
return { status: "idle" };
|
|
80
81
|
}
|
package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { n as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-
|
|
4
|
+
import { n as RedirectToMobileErrorCode, r as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
5
5
|
//#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.d.ts
|
|
6
6
|
declare const redirectToMobileMachine: any;
|
|
7
7
|
type RedirectToMobileMachine = typeof redirectToMobileMachine;
|
|
@@ -48,6 +48,8 @@ type RedirectToMobileClosedState = {
|
|
|
48
48
|
type RedirectToMobileErrorState = {
|
|
49
49
|
status: 'error';
|
|
50
50
|
error: string;
|
|
51
|
+
/** Machine-readable code, forwarded as `onError`'s third argument. */
|
|
52
|
+
moduleErrorCode: RedirectToMobileErrorCode | undefined;
|
|
51
53
|
};
|
|
52
54
|
type RedirectToMobileState = RedirectToMobileIdleState | RedirectToMobileLoadingState | RedirectToMobileRedirectingState | RedirectToMobileFinishedState | RedirectToMobileContinueState | RedirectToMobileClosedState | RedirectToMobileErrorState;
|
|
53
55
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
|
-
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-
|
|
5
|
+
import { n as getUrlSearchParam, r as resolveAgainstPageOrigin, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.ts
|
|
7
7
|
async function fetchRedirectUrl(signal) {
|
|
8
8
|
const res = await api.get(endpoints.onboardingUrl, { signal });
|
|
@@ -59,6 +59,14 @@ function buildRedirectUrl(baseUrl, customUrl, config, urlUuid) {
|
|
|
59
59
|
url_uuid: urlUuid || void 0
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
+
const INVALID_URL_ERROR = "Invalid Redirect to Mobile URL. Use an absolute http or https URL.";
|
|
63
|
+
const ABSOLUTE_HTTP_URL = /^https?:\/\//i;
|
|
64
|
+
function withAbsoluteUrl(config) {
|
|
65
|
+
return config.url?.startsWith("/") ? {
|
|
66
|
+
...config,
|
|
67
|
+
url: resolveAgainstPageOrigin(config.url)
|
|
68
|
+
} : config;
|
|
69
|
+
}
|
|
62
70
|
function extractUuidFromUrl(url) {
|
|
63
71
|
return getUrlSearchParam(url, "uuid") ?? "";
|
|
64
72
|
}
|
|
@@ -132,6 +140,10 @@ const redirectToMobileMachine = setup({
|
|
|
132
140
|
return { phonePrefix: event.output.phonePrefix };
|
|
133
141
|
}),
|
|
134
142
|
setError: assign(({ event }) => ({ error: String(event.error) })),
|
|
143
|
+
setInvalidUrlError: assign(() => ({
|
|
144
|
+
error: INVALID_URL_ERROR,
|
|
145
|
+
moduleErrorCode: "INVALID_REDIRECT_URL"
|
|
146
|
+
})),
|
|
135
147
|
completeSmsSend: assign(() => {
|
|
136
148
|
return {
|
|
137
149
|
smsSent: true,
|
|
@@ -172,13 +184,14 @@ const redirectToMobileMachine = setup({
|
|
|
172
184
|
},
|
|
173
185
|
guards: {
|
|
174
186
|
hasPhishingResistance: ({ context }) => context.config.qrPhishingResistance === true,
|
|
187
|
+
hasInvalidUrl: ({ context }) => context.config.url !== void 0 && !ABSOLUTE_HTTP_URL.test(context.config.url),
|
|
175
188
|
canResendSms: ({ context }) => canResendSmsFromContext(context)
|
|
176
189
|
}
|
|
177
190
|
}).createMachine({
|
|
178
191
|
id: "redirectToMobile",
|
|
179
192
|
initial: "idle",
|
|
180
193
|
context: ({ input }) => ({
|
|
181
|
-
config: input.config,
|
|
194
|
+
config: withAbsoluteUrl(input.config),
|
|
182
195
|
redirectUrl: "",
|
|
183
196
|
fetchedBaseUrl: "",
|
|
184
197
|
uuid: "",
|
|
@@ -188,10 +201,15 @@ const redirectToMobileMachine = setup({
|
|
|
188
201
|
smsFailed: false,
|
|
189
202
|
smsResendTimer: 0,
|
|
190
203
|
smsResendTimerActive: false,
|
|
191
|
-
error: void 0
|
|
204
|
+
error: void 0,
|
|
205
|
+
moduleErrorCode: void 0
|
|
192
206
|
}),
|
|
193
207
|
states: {
|
|
194
|
-
idle: { on: { LOAD:
|
|
208
|
+
idle: { on: { LOAD: [{
|
|
209
|
+
target: "error",
|
|
210
|
+
guard: "hasInvalidUrl",
|
|
211
|
+
actions: "setInvalidUrlError"
|
|
212
|
+
}, { target: "generatingUrl" }] } },
|
|
195
213
|
generatingUrl: { invoke: {
|
|
196
214
|
id: "fetchRedirectUrl",
|
|
197
215
|
src: "fetchRedirectUrl",
|
|
@@ -294,7 +312,10 @@ const redirectToMobileMachine = setup({
|
|
|
294
312
|
},
|
|
295
313
|
continue: { type: "final" },
|
|
296
314
|
closed: { type: "final" },
|
|
297
|
-
error: { on: { RETRY:
|
|
315
|
+
error: { on: { RETRY: [{
|
|
316
|
+
guard: "hasInvalidUrl",
|
|
317
|
+
actions: "setInvalidUrlError"
|
|
318
|
+
}, { target: "generatingUrl" }] } }
|
|
298
319
|
}
|
|
299
320
|
});
|
|
300
321
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
2
|
import { w as createEventBus } from "./events-D98twgMK.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CKE9mQaT.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DIZlMIy0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-D98twgMK.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { c as processFace } from "./FaceDetectionProvider-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CSpFqGxj.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BoH5dRsA.esm.js";
|
|
8
|
+
import { c as processFace } from "./FaceDetectionProvider-CczY3HPI.esm.js";
|
|
9
9
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DeOVMWUZ.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-DF92nCEJ.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Bm6K22Wm.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DraeGfc2.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-CczY3HPI.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DIZlMIy0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-D98twgMK.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BoH5dRsA.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DF92nCEJ.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CSpFqGxj.esm.js";
|
|
4
|
+
import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-CczY3HPI.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-cvC7Amqh.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-CKE9mQaT.esm.js";
|
|
3
|
+
import "./sessionInitializer-GvU4MgyX.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-DqoFM9HA.esm.js";
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
|
7
7
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-GvU4MgyX.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-HSl0diCx.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-DqoFM9HA.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-Cj96bIhQ.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-_txDlEZS.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
3
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
4
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
3
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-CKE9mQaT.esm.js";
|
|
4
|
+
import { t as SDK_VERSION } from "./sdkVersion-BjHch1Fj.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BYS40_Io.esm.js";
|
|
6
6
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BJO0RcTZ.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
8
8
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, d as drainWasmDiagnostics, f as getWasmDiagno
|
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
4
4
|
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-D98twgMK.esm.js";
|
|
5
5
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
6
|
-
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-
|
|
7
|
-
import { 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, x as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
6
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-CKE9mQaT.esm.js";
|
|
7
|
+
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, x as fingerprintSignalsReporter } from "./sessionInitializer-GvU4MgyX.esm.js";
|
|
8
8
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
9
9
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
10
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
10
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-BYS40_Io.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-DWHQZaoZ.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
15
|
/**
|
|
16
16
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWa
|
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { C as subscribeEvent, n as eventModuleNames } from "./events-D98twgMK.esm.js";
|
|
4
4
|
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BjHch1Fj.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -9,6 +9,7 @@ type RedirectToMobileConfig = {
|
|
|
9
9
|
externalId?: string;
|
|
10
10
|
lang?: string;
|
|
11
11
|
};
|
|
12
|
+
type RedirectToMobileErrorCode = 'INVALID_REDIRECT_URL';
|
|
12
13
|
type OnboardingStatus = 'ONBOARDING_FINISHED' | 'ONBOARDING_IN_PROGRESS' | 'ONBOARDING_NOT_STARTED';
|
|
13
14
|
type OnboardingStatusResponse = {
|
|
14
15
|
onboardingStatus: OnboardingStatus;
|
|
@@ -37,4 +38,4 @@ type RedirectToMobileServices = {
|
|
|
37
38
|
fetchStartInfo: (signal?: AbortSignal) => Promise<StartInfoResponse>;
|
|
38
39
|
};
|
|
39
40
|
//#endregion
|
|
40
|
-
export {
|
|
41
|
+
export { RedirectToMobileErrorCode as n, RedirectToMobileServices as r, RedirectToMobileConfig as t };
|
|
@@ -6,6 +6,9 @@ function getUrlSearchParam(url, param) {
|
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
function resolveAgainstPageOrigin(path) {
|
|
10
|
+
return new URL(path, window.location.origin).href;
|
|
11
|
+
}
|
|
9
12
|
function buildUrlWithSearchParams(baseUrl, params) {
|
|
10
13
|
const url = new URL(baseUrl);
|
|
11
14
|
for (const [key, value] of Object.entries(params)) if (value !== void 0) url.searchParams.set(key, value);
|
|
@@ -20,4 +23,4 @@ function stripUrlQueryAndFragment(url) {
|
|
|
20
23
|
}
|
|
21
24
|
}
|
|
22
25
|
//#endregion
|
|
23
|
-
export { getUrlSearchParam as n,
|
|
26
|
+
export { stripUrlQueryAndFragment as i, getUrlSearchParam as n, resolveAgainstPageOrigin as r, buildUrlWithSearchParams as t };
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-DIZlMIy0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-DWHQZaoZ.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as carryAttempts } from "./attemptCarry-D8p84a3b.esm.js";
|
|
11
11
|
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CtTauPSp.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-q_pfU3Cn.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-BwC_I5iH.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
16
16
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-DV0XqPfw.esm.js → videoSelfieCameraWarmer-BwC_I5iH.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-DWHQZaoZ.esm.js";
|
|
4
4
|
import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-Ca-tSNhT.esm.js";
|
|
6
|
-
import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
6
|
+
import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-CczY3HPI.esm.js";
|
|
7
7
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-CtTauPSp.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-cvC7Amqh.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BGsG2OAs.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-BjZw_7OB.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DIZlMIy0.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
3
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-CKE9mQaT.esm.js";
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-GvU4MgyX.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BYS40_Io.esm.js";
|
|
6
6
|
import { i as retryAfterReconnect } from "./connectivity-HSl0diCx.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-DqoFM9HA.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-DWHQZaoZ.esm.js";
|
|
9
9
|
import { a as toEkycConfig } from "./ekycUtils-zY8CdKJL.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BJVNkJjk.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-D8_nlJ1M.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
16
|
-
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-IDbtMzUb.esm.js";
|
|
16
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DCUb94gC.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-CxsgBheC.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Cv974Od7.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CmSNuU2y.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DMxJXs3Z.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D3L2RCWY.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-Bg7K7Mol.esm.js";
|
|
23
23
|
import { t as ekycMachine } from "./ekycStateMachine-TQRh3i_I.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-eeQ8dRbM.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-DF92nCEJ.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-B7OhQbLg.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-gXJD8NRW.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-By4V_fk4.esm.js";
|
|
29
29
|
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-MVAywRD_.esm.js";
|
|
30
30
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-B4e6VCrG.esm.js";
|
|
31
31
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DsjIqvJ9.esm.js";
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-DY8ZB5GG.esm.js";
|
|
33
|
-
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
33
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BpetRK9-.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-D4-juDs9.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-xqwwmO3p.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DfdpoCJG.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-Etb91dYy.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-BUcjsIb1.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-_txDlEZS.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DZCZ200-.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|