@incodetech/core 2.3.1 → 2.3.2-rc.1
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-DmCOL3H0.esm.js → FaceDetectionProvider-TahI1A08.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DGxjS7uc.esm.js → apiError-Bs593U5-.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Bdp0m34Q.esm.js → authenticationManager-BmduLIZ3.esm.js} +3 -3
- package/dist/{authenticationManager-B23V74p7.d.ts → authenticationManager-CboRCl_N.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DA9S3bdA.esm.js → authenticationStateMachine-DzzX2VNK.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-SSKNrm5Z.d.ts → curpValidationManager-DNuZn9fn.d.ts} +1 -1
- package/dist/{deepsightLoader-B8Wjr1RK.esm.js → deepsightLoader-D3t8dlXB.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Db2XF0d2.esm.js → dynamicFormsManager-DrHEu5pM.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-oqs0MnbP.esm.js → dynamicFormsStateMachine-BPDX3HSJ.esm.js} +1 -1
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-HBuYPaee.esm.js → ekybManager-BZ6-Z5ht.esm.js} +1 -1
- package/dist/{ekybManager-Dzswb_b8.d.ts → ekybManager-BwRuGAwt.d.ts} +2 -2
- package/dist/{ekybStateMachine-_nFk5mDU.esm.js → ekybStateMachine-D8O5nJaI.esm.js} +1 -1
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BlQ-Qj4E.esm.js → ekycManager-B3ABxgqf.esm.js} +1 -1
- package/dist/{ekycManager-BFpHbBoT.d.ts → ekycManager-DLzDuBzI.d.ts} +1 -1
- package/dist/{ekycStateMachine-CshSNJhh.esm.js → ekycStateMachine-CjZJ2_PK.esm.js} +32 -7
- package/dist/{ekycUtils-Dew1rBG0.esm.js → ekycUtils-D6wfSpPN.esm.js} +33 -6
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BKyBlW5Q.esm.js → electronicSignatureManager-CM-uCUgF.esm.js} +1 -1
- package/dist/extensibility.d.ts +10 -10
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-DyMR8TN_.esm.js → faceCaptureManagerFactory-DIA1aR3a.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-DMLstvui.d.ts → faceCaptureManagerFactory-m-7ae67q.d.ts} +14 -4
- package/dist/{faceCaptureSetup-XdKJGxvK.esm.js → faceCaptureSetup-DqdPgIu8.esm.js} +3 -3
- package/dist/{feature-management-DowQ_qJQ.esm.js → feature-management-DlJP5rR7.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BunTfNCK.esm.js → flowCompletionService-B_9U_S5E.esm.js} +1 -1
- package/dist/{flowServices-BA0WmDkk.esm.js → flowServices-B0lGbmB_.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-XauflBV0.esm.js → geolocationManager-DV6Mzpof.esm.js} +1 -1
- package/dist/{geolocationStateMachine-D8oBY8wz.esm.js → geolocationStateMachine-BS5dXnam.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-CEv4MS8Y.esm.js → idCaptureDefaults-DApx-JBj.esm.js} +1 -1
- package/dist/{idCaptureManager-BaHEyQyr.d.ts → idCaptureManager-BHwL2Z0V.d.ts} +2 -2
- package/dist/{idCaptureManager-BJLGWt70.esm.js → idCaptureManager-Dxoz9DJO.esm.js} +3 -3
- package/dist/{idCaptureServices-zeGs8ab8.esm.js → idCaptureServices-Bu_S1zrl.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-BaxK1yjV.esm.js → idCaptureStateMachine-DvKCgG_k.esm.js} +9 -9
- package/dist/{index-DLcJT5YP.d.ts → index-CeaC32qI.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-vhv1co_n.d.ts → mandatoryConsentManager-BR_4cBuc.d.ts} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BwizvLhr.esm.js → runChildModule-vlAJ82zm.esm.js} +1 -1
- package/dist/{sdkVersion-BLJwGdb7.esm.js → sdkVersion-z4krISdo.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-CDCTOrcg.d.ts → selfieManager-BSZG891S.d.ts} +1 -1
- package/dist/{selfieManager-5VWl-v3u.esm.js → selfieManager-DcZOkFwa.esm.js} +3 -3
- package/dist/{selfieStateMachine-BZxVWdqZ.esm.js → selfieStateMachine-CVVPUw_s.esm.js} +5 -3
- package/dist/{session-CV903M_E.esm.js → session-CyQRV-Kh.esm.js} +3 -3
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DCgxnQgD.esm.js → sessionInitializer-Cd12hywV.esm.js} +3 -3
- package/dist/{setup-6djfFVJZ.esm.js → setup-BECC3p1I.esm.js} +4 -4
- package/dist/{trueSightService-C_sBhNRd.esm.js → trueSightService-BWcOjnq3.esm.js} +1 -1
- package/dist/types-Bt9RuRqt.d.ts +6 -0
- package/dist/{types-DgDvvzg0.d.ts → types-Bx-BWveD.d.ts} +1 -1
- package/dist/{types-BfHiko5D.d.ts → types-C0oWGUzg.d.ts} +1 -1
- package/dist/{types-Do5rEXij.d.ts → types-C1g9itHE.d.ts} +2 -2
- package/dist/{types-Bk_6dmDa.d.ts → types-Cx-1zo-i.d.ts} +3 -0
- package/dist/{types-9_esGTPj.d.ts → types-CxGdmzxa.d.ts} +1 -1
- package/dist/{types-byBHOzCG2.d.ts → types-DEGVXwsk2.d.ts} +1 -1
- package/dist/{types-Bnl58jUQ.d.ts → types-ESdtnHtg.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DjJiTNMF.esm.js → videoSelfieCameraWarmer-B6N8K6u7.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-CAqAG2G3.d.ts → videoSelfieStepDetector-ChYgFM15.d.ts} +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -31
- package/package.json +3 -3
- package/dist/types-ChAowIxT.d.ts +0 -6
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as resolveWasmConfig, S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, l as trueSightLog, o as resetTrueSight, t as finalizeTrueSight, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-
|
|
1
|
+
import { D as resolveWasmConfig, S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, l as trueSightLog, o as resetTrueSight, t as finalizeTrueSight, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-BWcOjnq3.esm.js";
|
|
2
2
|
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-ChDwHSel.esm.js";
|
|
3
3
|
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-BdU9_m2E.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
5
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DlJP5rR7.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
8
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-
|
|
9
|
+
import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-Cd12hywV.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-B0lGbmB_.esm.js";
|
|
14
14
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
15
15
|
var BrowserPageLifecycleProvider = class {
|
|
16
16
|
sendBeacon(url, body, contentType = "application/json") {
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, f as deriveSiblingJsPath, i as initializeW
|
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-z4krISdo.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
7
7
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
8
8
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-C1g9itHE.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-ESdtnHtg.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as RiskAddon } from "./types-
|
|
1
|
+
import { s as RiskAddon } from "./types-Cx-1zo-i.js";
|
|
2
2
|
import "./createFaceAvatar-BlcTYgJv.js";
|
|
3
3
|
//#region src/internal/avatar/concealment.d.ts
|
|
4
4
|
/**
|
|
@@ -127,7 +127,7 @@ type FlowModuleConfig = {
|
|
|
127
127
|
uniqueBeneficialOwnerSource: 'userInput';
|
|
128
128
|
};
|
|
129
129
|
EXTERNAL_VERIFICATION: {
|
|
130
|
-
source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
|
|
130
|
+
source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
|
|
131
131
|
checkName: boolean;
|
|
132
132
|
nameSource: 'userInput' | 'document' | 'poa' | 'phoneModuleInput' | 'emailModuleInput';
|
|
133
133
|
checkEmail: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-C1g9itHE.js";
|
|
3
3
|
import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
5
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BlcTYgJv.js";
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-C1g9itHE.js";
|
|
3
3
|
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./Actor-iTq7YY48.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
7
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
8
|
-
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-ChYgFM15.js";
|
|
9
9
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
10
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
11
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BECC3p1I.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-B0lGbmB_.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-mwKFTlhR.esm.js";
|
|
11
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
12
|
-
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-B6N8K6u7.esm.js";
|
|
13
13
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
|
14
14
|
//#region src/modules/video-selfie/videoSelfieWasm.ts
|
|
15
15
|
function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
|
package/dist/{videoSelfieCameraWarmer-DjJiTNMF.esm.js → videoSelfieCameraWarmer-B6N8K6u7.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
4
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-B0lGbmB_.esm.js";
|
|
5
5
|
import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
|
|
6
6
|
import { t as checkPermission } from "./permissionServices-EY3_Vx6c.esm.js";
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-TahI1A08.esm.js";
|
|
8
8
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
9
9
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-mwKFTlhR.esm.js";
|
|
10
10
|
import { n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
|
|
11
11
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
12
12
|
import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-UiQ46EBa.esm.js";
|
|
13
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
13
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DApx-JBj.esm.js";
|
|
14
14
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
16
16
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-CAqAG2G3.d.ts → videoSelfieStepDetector-ChYgFM15.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-C1g9itHE.js";
|
|
2
2
|
import "./IWasmUtilCapability-CNWRl7jr.js";
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
3
|
+
import { n as DetectionStatus } from "./types-ESdtnHtg.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
-
import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-
|
|
2
|
+
import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-BWcOjnq3.esm.js";
|
|
3
3
|
import { o as warmupWasm } from "./warmup-ChDwHSel.esm.js";
|
|
4
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
4
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-BECC3p1I.esm.js";
|
|
5
5
|
//#region src/defineWasm.ts
|
|
6
6
|
function requiredModels(pipelines) {
|
|
7
7
|
const models = /* @__PURE__ */ new Set();
|
package/dist/workflow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as CallbackActorLogic } from "./callback-645_omgz.js";
|
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
5
5
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
6
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
6
|
+
import { o as FlowEventSubscribable } from "./index-CeaC32qI.js";
|
|
7
7
|
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BfgmV7s7.js";
|
|
8
8
|
//#region src/modules/workflow/types.d.ts
|
|
9
9
|
/** Possible node types returned by the workflow server. */
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-BWcOjnq3.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DlJP5rR7.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cd12hywV.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
9
|
-
import { i as toEkycConfig } from "./ekycUtils-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-Bs593U5-.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-B0lGbmB_.esm.js";
|
|
9
|
+
import { i as toEkycConfig } from "./ekycUtils-D6wfSpPN.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-CM-uCUgF.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-DBeq47D2.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DzzX2VNK.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CxqS_nD-.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-DTSfdGiW.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-g5kMfuLj.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-DOQou6TW.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-D312sSIu.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
23
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BPDX3HSJ.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-D8O5nJaI.esm.js";
|
|
23
|
+
import { t as ekycMachine } from "./ekycStateMachine-CjZJ2_PK.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-CVVPUw_s.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-DvKCgG_k.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-CXdXufKg.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-CBqk2w-h.esm.js";
|
|
29
29
|
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-CJ-MvUre.esm.js";
|
|
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DC5
|
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-ClDEP-VI.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CSWWgUTO.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-ce_XMA3l.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BS5dXnam.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-DbDVIh9t.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-mRIHQ3dA.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-B_9U_S5E.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-vlAJ82zm.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
|
@@ -281,6 +281,25 @@ async function resolveModule(input) {
|
|
|
281
281
|
return entry;
|
|
282
282
|
}
|
|
283
283
|
//#endregion
|
|
284
|
+
//#region src/modules/workflow/workflowNodeConfig.ts
|
|
285
|
+
/**
|
|
286
|
+
* Overlays the Workflow engine adds on top of a node's resolved
|
|
287
|
+
* `moduleConfiguration`. Applied both at the child-actor boundary in
|
|
288
|
+
* `workflowStateMachine` and in `resolveCurrentModuleConfig`, so headless
|
|
289
|
+
* consumers and the UI see the same config.
|
|
290
|
+
*/
|
|
291
|
+
function applyWorkflowNodeOverlays(moduleKey, config, skipFaceMatch) {
|
|
292
|
+
if (moduleKey === "SELFIE") return {
|
|
293
|
+
...config,
|
|
294
|
+
skipProcessFace: true
|
|
295
|
+
};
|
|
296
|
+
if (moduleKey === "FACE_MATCH" && skipFaceMatch) return {
|
|
297
|
+
...config,
|
|
298
|
+
skipFaceMatch: true
|
|
299
|
+
};
|
|
300
|
+
return config;
|
|
301
|
+
}
|
|
302
|
+
//#endregion
|
|
284
303
|
//#region src/modules/workflow/workflowStateMachine.ts
|
|
285
304
|
function extractErrorInfo(err) {
|
|
286
305
|
const error = err;
|
|
@@ -515,10 +534,7 @@ const workflowMachine = setup({
|
|
|
515
534
|
...context.currentNode?.moduleConfiguration,
|
|
516
535
|
ds: context.workflowConfig?.ds
|
|
517
536
|
}, context.configMappers);
|
|
518
|
-
const finalConfig = context.currentNode?.moduleKey
|
|
519
|
-
...config,
|
|
520
|
-
skipFaceMatch: true
|
|
521
|
-
} : config;
|
|
537
|
+
const finalConfig = applyWorkflowNodeOverlays(context.currentNode?.moduleKey, config, context.skipFaceMatch);
|
|
522
538
|
return {
|
|
523
539
|
machine: context.resolvedMachine,
|
|
524
540
|
config: finalConfig
|
|
@@ -698,21 +714,16 @@ function deriveHomeScreen(snapshot) {
|
|
|
698
714
|
}
|
|
699
715
|
/**
|
|
700
716
|
* Builds the current node's config and applies the module-specific config
|
|
701
|
-
* mapper (if any). Single source of truth for
|
|
702
|
-
* used by both `mapState` and `getModuleConfig`. The
|
|
703
|
-
*
|
|
704
|
-
* surfaces agree.
|
|
717
|
+
* mapper (if any) and the Workflow node overlays. Single source of truth for
|
|
718
|
+
* the shape consumers see — used by both `mapState` and `getModuleConfig`. The
|
|
719
|
+
* same `applyConfigMapper` and `applyWorkflowNodeOverlays` run at the
|
|
720
|
+
* child-actor boundary in `workflowStateMachine` so all surfaces agree.
|
|
705
721
|
*/
|
|
706
722
|
function resolveCurrentModuleConfig(moduleKey, moduleConfiguration, ds, mappers, skipFaceMatch = false) {
|
|
707
|
-
|
|
723
|
+
return applyWorkflowNodeOverlays(moduleKey, applyConfigMapper(moduleKey, {
|
|
708
724
|
...moduleConfiguration ?? {},
|
|
709
725
|
ds
|
|
710
|
-
}, mappers);
|
|
711
|
-
if (moduleKey === "FACE_MATCH" && skipFaceMatch) return {
|
|
712
|
-
...resolved,
|
|
713
|
-
skipFaceMatch: true
|
|
714
|
-
};
|
|
715
|
-
return resolved;
|
|
726
|
+
}, mappers), skipFaceMatch);
|
|
716
727
|
}
|
|
717
728
|
function mapState(snapshot) {
|
|
718
729
|
const { context } = snapshot;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.3.1",
|
|
3
|
+
"version": "2.3.2-rc.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -271,8 +271,8 @@
|
|
|
271
271
|
"tsdown": "^0.22.8",
|
|
272
272
|
"typescript": "^5.9.3",
|
|
273
273
|
"vitest": "4.1.10",
|
|
274
|
-
"@incodetech/
|
|
275
|
-
"@incodetech/
|
|
274
|
+
"@incodetech/infra": "1.4.0",
|
|
275
|
+
"@incodetech/config": "1.0.2"
|
|
276
276
|
},
|
|
277
277
|
"scripts": {
|
|
278
278
|
"build": "tsdown -c tsdown.config.ts",
|
package/dist/types-ChAowIxT.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
|
|
2
|
-
import { t as BaseFaceCaptureConfig } from "./types-Bnl58jUQ.js";
|
|
3
|
-
//#region src/modules/authentication/types.d.ts
|
|
4
|
-
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { AuthenticationConfig as t };
|