@incodetech/core 2.4.1-agentic.7 → 2.4.1-agentic.9
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-CFYVWVLU.esm.js → FaceDetectionProvider-CHpscouN.esm.js} +4 -4
- package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
- package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-B-pHP4hU.esm.js → apiError-BeWqIYu8.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Cw5nswyP.esm.js → authenticationManager-CTHFl6dl.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Czd4u-94.esm.js → authenticationStateMachine-D-SOzH8C.esm.js} +2 -2
- package/dist/{deepsightLoader-UDNbSO_O.esm.js → deepsightLoader-je1YxHgT.esm.js} +3 -3
- package/dist/{definitionSource-1vPLtuXE.esm.js → definitionSource-BHNxbuiv.esm.js} +1 -0
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Bx4jzvI6.esm.js → dynamicFormsManager-BKWJZfkn.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DK-O_wyz.esm.js → dynamicFormsStateMachine-CQN8p1ux.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DgBvPmSW.esm.js → ekybManager-BD6HTwFJ.esm.js} +1 -1
- package/dist/{ekybStateMachine-mo6zRyPH.esm.js → ekybStateMachine-3kceTymI.esm.js} +2 -2
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-Bwv-qYAZ.esm.js → ekycManager-DawJq3Jo.esm.js} +1 -1
- package/dist/{ekycPrefillManager-DHfC1T9s.d.ts → ekycPrefillManager-DLNmToWT.d.ts} +4 -4
- package/dist/{ekycPrefillManager-Pgb16lcO.esm.js → ekycPrefillManager-D_8NJzZf.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-j_WwaTPe.esm.js → ekycPrefillStateMachine-C-JAvkH3.esm.js} +3 -3
- package/dist/{ekycRules-B7vXnbdg.esm.js → ekycRules-BLX7Elcb.esm.js} +1 -1
- package/dist/{ekycStateMachine-DlN1RCob.esm.js → ekycStateMachine-qvQ-b4IY.esm.js} +155 -3
- package/dist/{ekycUtils-K6VJXnOg.esm.js → ekycUtils-Drx8ImpN.esm.js} +5 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BG10ax7f.esm.js → electronicSignatureManager-u3UBhWw_.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-DDnkBGNU.esm.js → faceCaptureManagerFactory-DKJUjsV2.esm.js} +1 -1
- package/dist/{faceCaptureSetup-C0svTi1Y.esm.js → faceCaptureSetup-CZzv26ip.esm.js} +5 -5
- package/dist/{feature-management-jqhhP3Bu.esm.js → feature-management-BMUPPAzI.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +20 -8
- package/dist/flow.esm.js +6 -4
- package/dist/{flowCompletionService-BNoVcNAa.esm.js → flowCompletionService-DgA2VEq4.esm.js} +1 -1
- package/dist/{flowServices-Bzlb_4VT.esm.js → flowServices-aJ5kGxBd.esm.js} +25 -6
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Ck2V9vfc.esm.js → geolocationManager-BA57nCxj.esm.js} +1 -1
- package/dist/{geolocationStateMachine-toB05StJ.esm.js → geolocationStateMachine-3-d1ECCh.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BXs_sb4-.esm.js → idCaptureManager-B_TyUA3w.esm.js} +3 -3
- package/dist/{idCaptureServices-DEhJe_fA.esm.js → idCaptureServices-C6FUQ76N.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-CH3gW-gJ.esm.js → idCaptureStateMachine-Cr8WdGyp.esm.js} +8 -8
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-B1birg5X.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-PIRw77NR.esm.js → kybChecksManager-x2nBdasv.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-Deabuca9.esm.js → kybChecksStateMachine-DdWSo3jQ.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-BBeOo3Sz.esm.js → mandatoryConsentManager-C9JJGENL.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-Dr3pcPt_.d.ts → mandatoryConsentManager-JNeVXgK8.d.ts} +16 -7
- package/dist/{mandatoryConsentStateMachine-BJEyS63E.esm.js → mandatoryConsentStateMachine-DLNIGElA.esm.js} +10 -4
- package/dist/{multipartRecordingService-2iVLb-2Y.esm.js → multipartRecordingService-OmSzHBqh.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DKXaaOHO.esm.js → recordingService-BUqAQd8F.esm.js} +2 -2
- package/dist/{runChildModule-CMxMWHBm.esm.js → runChildModule-BTMOZdMM.esm.js} +1 -1
- package/dist/{sdkVersion-C8FKcN44.esm.js → sdkVersion-CinXzhdk.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-CS1xwN-1.esm.js → selfieErrorUtils-D92PpZGe.esm.js} +1 -1
- package/dist/{selfieManager-DBc_zThO.esm.js → selfieManager-DX9Ejy4x.esm.js} +3 -3
- package/dist/{selfieStateMachine-C3mqlhwI.esm.js → selfieStateMachine-BfJ5mJ57.esm.js} +3 -3
- package/dist/{session-C9v6HFIu.esm.js → session-CswNE2eZ.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CVFa4wKw.esm.js → sessionInitializer-DFtIRfDh.esm.js} +4 -4
- package/dist/{setup-BlJx-S74.esm.js → setup-Bl3CRduw.esm.js} +5 -5
- package/dist/{tri-DFho7f3x.esm.js → tri-BUFivnaE.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-B3SMJJ9O.esm.js → trueSightService-CDbmG-Mi.esm.js} +1 -1
- package/dist/{types-NMBsvLIN.d.ts → types-LA74KylV.d.ts} +2 -1
- package/dist/video-selfie.d.ts +2 -1
- package/dist/video-selfie.esm.js +5 -5
- package/dist/{videoSelfieCameraWarmer-BtlqdcFh.esm.js → videoSelfieCameraWarmer-Dnkiqe0z.esm.js} +11 -9
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +18 -18
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken } from "./api-C_P9YXbL.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-CDbmG-Mi.esm.js";
|
|
4
|
+
import "./sessionInitializer-DFtIRfDh.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-Bv5PiWvo.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-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D190ATGD.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-CHpscouN.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-m2dAj6Zu.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";
|
|
@@ -181,7 +181,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
181
181
|
/** Per-attempt fallback when no step owner supplies the recording service. */
|
|
182
182
|
async createAttemptRecordingService() {
|
|
183
183
|
const wasmUtil = await this.options.dependencies.getWasmUtil();
|
|
184
|
-
return (await import("./recordingService-
|
|
184
|
+
return (await import("./recordingService-BUqAQd8F.esm.js")).createRecordingService({
|
|
185
185
|
config: this.options.config,
|
|
186
186
|
wasmUtil,
|
|
187
187
|
sessionToken: getToken(),
|
|
@@ -479,7 +479,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
479
479
|
const input = getControllerInput();
|
|
480
480
|
const pending = (async () => {
|
|
481
481
|
const wasmUtil = await input.dependencies.getWasmUtil();
|
|
482
|
-
const recordingModule = await import("./recordingService-
|
|
482
|
+
const recordingModule = await import("./recordingService-BUqAQd8F.esm.js");
|
|
483
483
|
if (!active) return;
|
|
484
484
|
stepRecording ??= recordingModule.createRecordingService({
|
|
485
485
|
config: input.config,
|
|
@@ -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-CinXzhdk.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-BMUPPAzI.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/flow.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { r as DocumentCaptureConfig } from "./types-CyNndVAT.js";
|
|
|
9
9
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
10
10
|
import { t as EkybConfig } from "./types-BgRHw-dR.js";
|
|
11
11
|
import { u as IdCaptureConfig } from "./types-BpJ21a4T.js";
|
|
12
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
12
|
+
import { r as MandatoryConsentConfig } from "./types-LA74KylV.js";
|
|
13
13
|
import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
14
14
|
import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
15
15
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
|
|
@@ -61,6 +61,19 @@ type OrchestratedFlowEvent = {
|
|
|
61
61
|
[key: string]: unknown;
|
|
62
62
|
};
|
|
63
63
|
//#endregion
|
|
64
|
+
//#region src/modules/flow/dashboardConfig.d.ts
|
|
65
|
+
type DeepPartialValue<T> = T extends Record<string, unknown> ? DeepPartial<T> : T;
|
|
66
|
+
type PreserveArray<T> = T extends readonly unknown[] ? T : DeepPartialValue<T>;
|
|
67
|
+
type DeepPartial<T> = { [K in keyof T]?: PreserveArray<T[K]>; };
|
|
68
|
+
declare function mergeDashboardConfig<T>(dashboardConfig: T, localConfig: DeepPartial<T> | undefined): T;
|
|
69
|
+
/**
|
|
70
|
+
* Partial config per flow module, keyed by the module key of the flow
|
|
71
|
+
* (`ID`, `SECOND_ID`, `SELFIE`, ...). Each entry is merged over the dashboard
|
|
72
|
+
* config of that module. `TUTORIAL_ID` is not a key: the SDK turns that step
|
|
73
|
+
* into `ID` (and `SECOND_ID`) before the merge, so use `ID`.
|
|
74
|
+
*/
|
|
75
|
+
type FlowModulesConfig = { [K in Exclude<keyof FlowModuleConfig, 'TUTORIAL_ID'>]?: DeepPartial<FlowModuleConfig[K]>; };
|
|
76
|
+
//#endregion
|
|
64
77
|
//#region src/modules/flow/orchestratedFlowManager.d.ts
|
|
65
78
|
type OrchestratedFlowHomeScreen = {
|
|
66
79
|
visible: boolean;
|
|
@@ -128,6 +141,11 @@ type CreateOrchestratedFlowActorOptions = {
|
|
|
128
141
|
deferActivation?: OrchestratedFlowInput['deferActivation'];
|
|
129
142
|
/** A getter: the manager can exist before the session that owns the ID. */
|
|
130
143
|
getInterviewId?: () => string | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* Partial config per module key, merged over the dashboard config of each
|
|
146
|
+
* module when the flow loads. Values the flow sets at runtime still win.
|
|
147
|
+
*/
|
|
148
|
+
modulesConfig?: FlowModulesConfig;
|
|
131
149
|
};
|
|
132
150
|
declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowActorOptions): Manager<OrchestratedFlowState> & {
|
|
133
151
|
/**
|
|
@@ -249,12 +267,6 @@ declare function getNextRequiredWasmPipelines(state: Pick<OrchestratedFlowReadyS
|
|
|
249
267
|
*/
|
|
250
268
|
declare function normalizeFlowModules(flow: FlowForNormalization, options?: NormalizeFlowModulesOptions): FlowModule[];
|
|
251
269
|
//#endregion
|
|
252
|
-
//#region src/modules/flow/dashboardConfig.d.ts
|
|
253
|
-
type DeepPartialValue<T> = T extends Record<string, unknown> ? DeepPartial<T> : T;
|
|
254
|
-
type PreserveArray<T> = T extends readonly unknown[] ? T : DeepPartialValue<T>;
|
|
255
|
-
type DeepPartial<T> = { [K in keyof T]?: PreserveArray<T[K]>; };
|
|
256
|
-
declare function mergeDashboardConfig<T>(dashboardConfig: T, localConfig: DeepPartial<T> | undefined): T;
|
|
257
|
-
//#endregion
|
|
258
270
|
//#region src/modules/flow/flowServices.d.ts
|
|
259
271
|
type GetFlowOptions = {
|
|
260
272
|
isDesktop?: boolean;
|
|
@@ -448,4 +460,4 @@ interface ModuleLoader {
|
|
|
448
460
|
}
|
|
449
461
|
declare function createModuleLoader(registry: ModuleLoaderRegistry): ModuleLoader;
|
|
450
462
|
//#endregion
|
|
451
|
-
export { type DeepPartial, type FinishScreenVariant, type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowReadyState, type FlowState, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowCompletingState, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, type ResolveDashboardModuleConfigOptions, type ResolvedDashboardModuleConfig, type TotalScore, classifyScoreStatus, createFlowManager, createModuleLoader, createOrchestratedFlowManager, enrichFlowModuleConfig, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };
|
|
463
|
+
export { type DeepPartial, type FinishScreenVariant, type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowModulesConfig, type FlowReadyState, type FlowState, type LazyModule, type LazyModuleRegistry, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowCompletingState, type OrchestratedFlowFinishedState, type OrchestratedFlowHomeScreen, type OrchestratedFlowInput, type OrchestratedFlowPresentation, type OrchestratedFlowReadyState, type OrchestratedFlowState, type ResolveDashboardModuleConfigOptions, type ResolvedDashboardModuleConfig, type TotalScore, classifyScoreStatus, createFlowManager, createModuleLoader, createOrchestratedFlowManager, enrichFlowModuleConfig, getFlow, getNextRequiredWasmPipelines, getRequiredWasmPipelines, getTotalScoreStatus, mergeDashboardConfig, noOpFlowModuleMachine, normalizeFlowModules, preloadDashboardFlow, resolveDashboardModuleConfig };
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
|
-
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig,
|
|
3
|
+
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, g as mergeDashboardConfig, h as applyModulesConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-aJ5kGxBd.esm.js";
|
|
4
4
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
7
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
6
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DgA2VEq4.esm.js";
|
|
7
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BTMOZdMM.esm.js";
|
|
8
8
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
9
9
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
10
10
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
|
@@ -1083,8 +1083,10 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
1083
1083
|
};
|
|
1084
1084
|
}
|
|
1085
1085
|
function createOrchestratedFlowActor(options) {
|
|
1086
|
+
const getFlow$1 = options.getFlow ?? getFlow;
|
|
1087
|
+
const { modulesConfig } = options;
|
|
1086
1088
|
return createActor(orchestratedFlowMachine, { input: {
|
|
1087
|
-
getFlow:
|
|
1089
|
+
getFlow: modulesConfig ? async (signal) => applyModulesConfig(await getFlow$1(signal), modulesConfig) : getFlow$1,
|
|
1088
1090
|
modules: options.modules,
|
|
1089
1091
|
lazyModules: options.lazyModules,
|
|
1090
1092
|
getFinishStatus: options.getFinishStatus,
|
package/dist/{flowCompletionService-BNoVcNAa.esm.js → flowCompletionService-DgA2VEq4.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-BeWqIYu8.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,9 +1,9 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-DtB0DJpl.esm.js";
|
|
2
2
|
import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-
|
|
4
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-DFtIRfDh.esm.js";
|
|
4
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BMUPPAzI.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-BeWqIYu8.esm.js";
|
|
6
|
+
import "./session-CswNE2eZ.esm.js";
|
|
7
7
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
8
8
|
import { a as prefetchStartInfo } from "./phoneServices-Crge7uSV.esm.js";
|
|
9
9
|
//#region src/modules/flow/dashboardConfig.ts
|
|
@@ -22,6 +22,25 @@ function mergeDashboardConfig(dashboardConfig, localConfig) {
|
|
|
22
22
|
}
|
|
23
23
|
return result;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Merges `modulesConfig` over the dashboard config of each matching module.
|
|
27
|
+
* Runs on the normalized flow, so the keys are the step keys (`TUTORIAL_ID`
|
|
28
|
+
* is already `ID`).
|
|
29
|
+
*/
|
|
30
|
+
function applyModulesConfig(flow, modulesConfig) {
|
|
31
|
+
if (!modulesConfig) return flow;
|
|
32
|
+
return {
|
|
33
|
+
...flow,
|
|
34
|
+
flowModules: flow.flowModules.map((module) => {
|
|
35
|
+
const override = module.key === "TUTORIAL_ID" ? void 0 : modulesConfig[module.key];
|
|
36
|
+
if (!override) return module;
|
|
37
|
+
return {
|
|
38
|
+
...module,
|
|
39
|
+
configuration: mergeDashboardConfig(module.configuration, override)
|
|
40
|
+
};
|
|
41
|
+
})
|
|
42
|
+
};
|
|
43
|
+
}
|
|
25
44
|
//#endregion
|
|
26
45
|
//#region src/modules/video-selfie/videoSelfieSteps.ts
|
|
27
46
|
/** Steps that use the rear (environment) camera; everything else uses the front (user) camera. */
|
|
@@ -95,7 +114,7 @@ let configConverters;
|
|
|
95
114
|
async function loadFlowConfigConverters(flow) {
|
|
96
115
|
const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
|
|
97
116
|
if (configConverters || !needed) return;
|
|
98
|
-
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-
|
|
117
|
+
const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Drx8ImpN.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
|
|
99
118
|
configConverters = {
|
|
100
119
|
toEkycConfig: ekyc.toEkycConfig,
|
|
101
120
|
toEkybConfig: ekyb.toEkybConfig
|
|
@@ -569,4 +588,4 @@ async function resolveDashboardModuleConfig(options) {
|
|
|
569
588
|
return flowConfig;
|
|
570
589
|
}
|
|
571
590
|
//#endregion
|
|
572
|
-
export { resolveDashboardModuleConfig as a, getRequiredWasmPipelines as c, resolveFlowModuleConfig as d, facingModeForStep as f, mergeDashboardConfig as h, resetDashboardFlowCache as i, loadFlowConfigConverters as l, videoSelfieWasmPipelines as m, getFlow as n, enrichFlowModuleConfig as o, resolveVideoSelfieSteps as p, preloadDashboardFlow as r, getNextRequiredWasmPipelines as s, completeDeferredActivation as t, normalizeFlowModules as u };
|
|
591
|
+
export { resolveDashboardModuleConfig as a, getRequiredWasmPipelines as c, resolveFlowModuleConfig as d, facingModeForStep as f, mergeDashboardConfig as g, applyModulesConfig as h, resetDashboardFlowCache as i, loadFlowConfigConverters as l, videoSelfieWasmPipelines as m, getFlow as n, enrichFlowModuleConfig as o, resolveVideoSelfieSteps as p, preloadDashboardFlow as r, getNextRequiredWasmPipelines as s, completeDeferredActivation as t, normalizeFlowModules as u };
|
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-BA57nCxj.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-3-d1ECCh.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-3-d1ECCh.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-toB05StJ.esm.js → geolocationStateMachine-3-d1ECCh.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.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-BeWqIYu8.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Bl3CRduw.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-aJ5kGxBd.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-CHpscouN.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
11
|
-
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
11
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-C6FUQ76N.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
14
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as getFinishStatus } from "./flowCompletionService-DgA2VEq4.esm.js";
|
|
14
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Dnkiqe0z.esm.js";
|
|
15
15
|
import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
16
16
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
17
17
|
/** Default autocapture window for the selfie step. */
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-Cr8WdGyp.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B_TyUA3w.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-C6FUQ76N.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Bl3CRduw.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
@@ -9,8 +9,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BtiR5pig.esm.js";
|
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D190ATGD.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
13
|
-
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
12
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-Cr8WdGyp.esm.js";
|
|
13
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-C6FUQ76N.esm.js";
|
|
14
14
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
|
|
15
15
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
16
16
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Bl3CRduw.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
|
-
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-BMUPPAzI.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
5
|
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
@@ -435,8 +435,8 @@ async function startRecordingSession(params) {
|
|
|
435
435
|
}
|
|
436
436
|
const [compositorModule, recorderModule, serviceModule] = await Promise.all([
|
|
437
437
|
import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
|
|
438
|
-
import("./WorkerEncoderRecordingProvider-
|
|
439
|
-
import("./multipartRecordingService-
|
|
438
|
+
import("./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js").then((n) => n.n),
|
|
439
|
+
import("./multipartRecordingService-OmSzHBqh.esm.js").then((n) => n.n)
|
|
440
440
|
]);
|
|
441
441
|
const recordingSource = params.stream.clone();
|
|
442
442
|
const compositor = compositorModule.createRecordingCompositor();
|
package/dist/{idCaptureStateMachine-CH3gW-gJ.esm.js → idCaptureStateMachine-Cr8WdGyp.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-Bl3CRduw.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
5
5
|
import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
6
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
7
|
-
import { n as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CDbmG-Mi.esm.js";
|
|
7
|
+
import { n as getDisableIpify } from "./sessionInitializer-DFtIRfDh.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-BMUPPAzI.esm.js";
|
|
10
10
|
import { t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
|
|
11
11
|
import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-CswNE2eZ.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
15
|
import { r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
|
|
@@ -26,7 +26,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
27
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
28
28
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
29
|
-
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-
|
|
29
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-C6FUQ76N.esm.js";
|
|
30
30
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
31
31
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -2044,7 +2044,7 @@ fromPromise(async ({ input }) => {
|
|
|
2044
2044
|
});
|
|
2045
2045
|
fromPromise(async ({ input }) => {
|
|
2046
2046
|
if (!input.dependencies) return;
|
|
2047
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2047
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-je1YxHgT.esm.js");
|
|
2048
2048
|
return loadDeepsightSession({
|
|
2049
2049
|
ds: input.ds,
|
|
2050
2050
|
storage: input.dependencies.storage,
|
|
@@ -2487,7 +2487,7 @@ function cleanup(service) {
|
|
|
2487
2487
|
service.cleanup();
|
|
2488
2488
|
} catch {}
|
|
2489
2489
|
}
|
|
2490
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2490
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-je1YxHgT.esm.js")).loadDeepsightSession(input)) {
|
|
2491
2491
|
let disposed = false;
|
|
2492
2492
|
let preparation;
|
|
2493
2493
|
let service;
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-B1birg5X.js";
|
|
2
2
|
export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -120,10 +120,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
120
120
|
type: "setError";
|
|
121
121
|
params: NonReducibleUnknown;
|
|
122
122
|
};
|
|
123
|
-
clearError: {
|
|
124
|
-
type: "clearError";
|
|
125
|
-
params: NonReducibleUnknown;
|
|
126
|
-
};
|
|
127
123
|
setSelectedDocument: {
|
|
128
124
|
type: "setSelectedDocument";
|
|
129
125
|
params: NonReducibleUnknown;
|
|
@@ -132,6 +128,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
132
128
|
type: "setCompanyName";
|
|
133
129
|
params: NonReducibleUnknown;
|
|
134
130
|
};
|
|
131
|
+
clearError: {
|
|
132
|
+
type: "clearError";
|
|
133
|
+
params: NonReducibleUnknown;
|
|
134
|
+
};
|
|
135
135
|
}>, Values<{
|
|
136
136
|
hasDocuments: {
|
|
137
137
|
type: "hasDocuments";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-Bl3CRduw.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DdWSo3jQ.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-x2nBdasv.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DdWSo3jQ.esm.js";
|
|
3
3
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
4
4
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
5
5
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-Deabuca9.esm.js → kybChecksStateMachine-DdWSo3jQ.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BeWqIYu8.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-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { r as MandatoryConsentConfig } from "./types-LA74KylV.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-JNeVXgK8.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DLNIGElA.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-C9JJGENL.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BBeOo3Sz.esm.js → mandatoryConsentManager-C9JJGENL.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
3
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DLNIGElA.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
5
5
|
function createMandatoryConsentActor(options) {
|
|
6
6
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|
package/dist/{mandatoryConsentManager-Dr3pcPt_.d.ts → mandatoryConsentManager-JNeVXgK8.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-
|
|
4
|
+
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-LA74KylV.js";
|
|
5
5
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
6
6
|
type MandatoryConsentContext = {
|
|
7
7
|
config: MandatoryConsentConfig;
|
|
@@ -73,10 +73,16 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
73
73
|
type: "toggleSigned";
|
|
74
74
|
params: NonReducibleUnknown;
|
|
75
75
|
};
|
|
76
|
-
}>, {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
}>, Values<{
|
|
77
|
+
canSubmit: {
|
|
78
|
+
type: "canSubmit";
|
|
79
|
+
params: unknown;
|
|
80
|
+
};
|
|
81
|
+
hasConsent: {
|
|
82
|
+
type: "hasConsent";
|
|
83
|
+
params: unknown;
|
|
84
|
+
};
|
|
85
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
80
86
|
readonly id: "mandatoryConsent";
|
|
81
87
|
readonly initial: "idle";
|
|
82
88
|
readonly context: ({ input }: {
|
|
@@ -234,10 +240,13 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
234
240
|
}) => {
|
|
235
241
|
config: MandatoryConsentConfig;
|
|
236
242
|
};
|
|
237
|
-
readonly onDone: {
|
|
243
|
+
readonly onDone: readonly [{
|
|
244
|
+
readonly guard: "hasConsent";
|
|
238
245
|
readonly target: "display";
|
|
239
246
|
readonly actions: "setConsent";
|
|
240
|
-
}
|
|
247
|
+
}, {
|
|
248
|
+
readonly target: "finished";
|
|
249
|
+
}];
|
|
241
250
|
readonly onError: {
|
|
242
251
|
readonly target: "error";
|
|
243
252
|
readonly actions: "setLoadError";
|
|
@@ -40,7 +40,7 @@ const mandatoryConsentMachine = setup({
|
|
|
40
40
|
})),
|
|
41
41
|
setConsent: assign(({ event }) => {
|
|
42
42
|
return {
|
|
43
|
-
consent: event.output.consents[0],
|
|
43
|
+
consent: event.output.consents?.[0],
|
|
44
44
|
isSigned: false,
|
|
45
45
|
error: void 0,
|
|
46
46
|
moduleErrorCode: void 0
|
|
@@ -63,7 +63,12 @@ const mandatoryConsentMachine = setup({
|
|
|
63
63
|
moduleErrorCode: void 0
|
|
64
64
|
}))
|
|
65
65
|
},
|
|
66
|
-
guards: {
|
|
66
|
+
guards: {
|
|
67
|
+
canSubmit: ({ context }) => Boolean(context.consent?.id) && context.isSigned,
|
|
68
|
+
hasConsent: ({ event }) => {
|
|
69
|
+
return event.output?.consents?.[0] !== void 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
67
72
|
}).createMachine({
|
|
68
73
|
id: "mandatoryConsent",
|
|
69
74
|
initial: "idle",
|
|
@@ -83,10 +88,11 @@ const mandatoryConsentMachine = setup({
|
|
|
83
88
|
id: "fetchConsent",
|
|
84
89
|
src: "fetchConsent",
|
|
85
90
|
input: ({ context }) => ({ config: context.config }),
|
|
86
|
-
onDone: {
|
|
91
|
+
onDone: [{
|
|
92
|
+
guard: "hasConsent",
|
|
87
93
|
target: "display",
|
|
88
94
|
actions: "setConsent"
|
|
89
|
-
},
|
|
95
|
+
}, { target: "finished" }],
|
|
90
96
|
onError: {
|
|
91
97
|
target: "error",
|
|
92
98
|
actions: "setLoadError"
|
package/dist/{multipartRecordingService-2iVLb-2Y.esm.js → multipartRecordingService-OmSzHBqh.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
|
|
5
|
-
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-
|
|
5
|
+
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BfQPSgSO.esm.js";
|
|
6
6
|
//#region src/internal/recordings/videoSelfieUploadService.ts
|
|
7
7
|
/**
|
|
8
8
|
* Opens a scoped multipart video upload session. Idempotent server-side: if
|
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-u3UBhWw_.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
|
2
2
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
3
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
4
4
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-B9-IEVtV.esm.js";
|
|
5
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
6
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
5
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
|
|
6
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-OmSzHBqh.esm.js";
|
|
7
7
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
8
8
|
/** A trim that runs longer than this uploads the full recording instead. */
|
|
9
9
|
const TRIM_TIMEOUT_MS = 1e4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { w as createEventBus } from "./events-kU5WJU4B.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CDbmG-Mi.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-Bl3CRduw.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-kU5WJU4B.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 { s as processFace } from "./FaceDetectionProvider-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CZzv26ip.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DKJUjsV2.esm.js";
|
|
8
|
+
import { s as processFace } from "./FaceDetectionProvider-CHpscouN.esm.js";
|
|
9
9
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-m2dAj6Zu.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-BfJ5mJ57.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DX9Ejy4x.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|