@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,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CHpscouN.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-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
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DKJUjsV2.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-BfJ5mJ57.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 { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CZzv26ip.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CHpscouN.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-D92PpZGe.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-C_P9YXbL.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-CDbmG-Mi.esm.js";
|
|
3
|
+
import "./sessionInitializer-DFtIRfDh.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-BeWqIYu8.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-C_P9YXbL.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-DFtIRfDh.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.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-BeWqIYu8.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-CswNE2eZ.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-DgA2VEq4.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -2,15 +2,15 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
2
2
|
import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
3
3
|
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
5
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-CDbmG-Mi.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-CinXzhdk.esm.js";
|
|
7
7
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
8
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
8
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BMUPPAzI.esm.js";
|
|
9
9
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-Bv5PiWvo.esm.js";
|
|
10
10
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
11
11
|
import { a as isIOS } from "./platform-aPh7gTWh.esm.js";
|
|
12
12
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
13
|
-
import { a as isTRIStarted, o as linkSessionWithTRI, s as readTRIFpSignals } from "./tri-
|
|
13
|
+
import { a as isTRIStarted, o as linkSessionWithTRI, s as readTRIFpSignals } from "./tri-BUFivnaE.esm.js";
|
|
14
14
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
15
15
|
//#region src/internal/version/sdkPlatform.ts
|
|
16
16
|
/**
|
|
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiag
|
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
4
|
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-kU5WJU4B.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-C_P9YXbL.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 { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig } 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-CDbmG-Mi.esm.js";
|
|
7
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig } from "./sessionInitializer-DFtIRfDh.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
9
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.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-BMUPPAzI.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
|
|
12
|
-
import { a as isTRIStarted, c as resetSdkOwnedTRI, i as initializeTRI, s as readTRIFpSignals, t as addTRIFpSignals } from "./tri-
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
12
|
+
import { a as isTRIStarted, c as resetSdkOwnedTRI, i as initializeTRI, s as readTRIFpSignals, t as addTRIFpSignals } from "./tri-BUFivnaE.esm.js";
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-aJ5kGxBd.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
15
|
/**
|
|
16
16
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
1
|
+
import { t as SDK_VERSION } from "./sdkVersion-CinXzhdk.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/TransactionalRiskIntelligenceProvider.ts
|
package/dist/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-
|
|
1
|
+
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-BUFivnaE.esm.js";
|
|
2
2
|
export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -2,7 +2,7 @@ import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTran
|
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
3
|
import { C as subscribeEvent, n as eventModuleNames } from "./events-kU5WJU4B.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-C_P9YXbL.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CinXzhdk.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;
|
|
@@ -15,7 +15,8 @@ type MandatoryConsent = {
|
|
|
15
15
|
consentType: string;
|
|
16
16
|
};
|
|
17
17
|
type FetchMandatoryConsentResponse = {
|
|
18
|
-
|
|
18
|
+
/** Can be empty or missing when there is no consent for the regulation type. */
|
|
19
|
+
consents?: MandatoryConsent[];
|
|
19
20
|
};
|
|
20
21
|
//#endregion
|
|
21
22
|
export { MandatoryConsent as n, MandatoryConsentConfig as r, FetchMandatoryConsentResponse as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -299,7 +299,8 @@ type VideoSelfieCameraWarmer = {
|
|
|
299
299
|
/**
|
|
300
300
|
* Stop a warmed-but-unused stream. Call on unmount when capture never started
|
|
301
301
|
* so the camera light doesn't stay on. No-op once the stream has been consumed
|
|
302
|
-
* by the recording machine.
|
|
302
|
+
* by the recording machine. After `dispose()`, `warm()` does nothing and
|
|
303
|
+
* `acquireCamera` always acquires a fresh stream.
|
|
303
304
|
*/
|
|
304
305
|
dispose(): void;
|
|
305
306
|
};
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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 api, u as endpoints } from "./api-C_P9YXbL.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 { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-aJ5kGxBd.esm.js";
|
|
7
7
|
import { i as assign, l as raise, 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-BaAXPR_w.esm.js";
|
|
11
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-Dnkiqe0z.esm.js";
|
|
13
13
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
14
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
15
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
14
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
|
|
15
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-OmSzHBqh.esm.js";
|
|
16
16
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
17
17
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
18
18
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-BtlqdcFh.esm.js → videoSelfieCameraWarmer-Dnkiqe0z.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-aJ5kGxBd.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-D190ATGD.esm.js";
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CHpscouN.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.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-D92PpZGe.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
@@ -470,10 +470,10 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
470
470
|
const firstFacing = facingModeForStep(steps[0] ?? "selfie");
|
|
471
471
|
let warming = null;
|
|
472
472
|
let warmed = null;
|
|
473
|
-
let
|
|
473
|
+
let handedOff = null;
|
|
474
474
|
return {
|
|
475
475
|
warm() {
|
|
476
|
-
if (warming) return;
|
|
476
|
+
if (warming || handedOff) return;
|
|
477
477
|
warming = (async () => {
|
|
478
478
|
try {
|
|
479
479
|
if (await checkPermission() !== "granted") return null;
|
|
@@ -485,8 +485,8 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
485
485
|
})();
|
|
486
486
|
},
|
|
487
487
|
async acquireCamera(facingMode, withAudio) {
|
|
488
|
-
if (!
|
|
489
|
-
|
|
488
|
+
if (!handedOff && facingMode === firstFacing && withAudio) {
|
|
489
|
+
handedOff = "consumed";
|
|
490
490
|
const stream = warmed ?? (warming ? await warming : null);
|
|
491
491
|
warmed = null;
|
|
492
492
|
if (stream) return stream;
|
|
@@ -494,12 +494,14 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
494
494
|
return defaultAcquireCamera(facingMode, withAudio);
|
|
495
495
|
},
|
|
496
496
|
dispose() {
|
|
497
|
-
if (
|
|
497
|
+
if (handedOff) return;
|
|
498
|
+
handedOff = "disposed";
|
|
498
499
|
if (warmed) {
|
|
499
500
|
stopStream(warmed);
|
|
500
501
|
warmed = null;
|
|
501
502
|
} else if (warming) warming.then((stream) => {
|
|
502
|
-
|
|
503
|
+
stopStream(stream);
|
|
504
|
+
warmed = null;
|
|
503
505
|
});
|
|
504
506
|
}
|
|
505
507
|
};
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-BDrax6Eu.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-DtB0DJpl.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-Bl3CRduw.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,45 +1,45 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-CDbmG-Mi.esm.js";
|
|
4
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-DFtIRfDh.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BMUPPAzI.esm.js";
|
|
6
6
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-BeWqIYu8.esm.js";
|
|
8
8
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
9
9
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
10
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
10
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-u3UBhWw_.esm.js";
|
|
11
11
|
import "./ae-signature.esm.js";
|
|
12
12
|
import { t as antifraudMachine } from "./antifraudStateMachine-qNNXrlsP.esm.js";
|
|
13
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
13
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-D-SOzH8C.esm.js";
|
|
14
14
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-uSD9IkcV.esm.js";
|
|
15
15
|
import { t as consentMachine } from "./consentStateMachine-BAiLDE3D.esm.js";
|
|
16
16
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-DyAEyScb.esm.js";
|
|
17
17
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-ZZoDGRAZ.esm.js";
|
|
18
18
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-CgCtimSa.esm.js";
|
|
19
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
19
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CQN8p1ux.esm.js";
|
|
20
20
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
21
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
22
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
23
|
-
import { l as toEkycConfig } from "./ekycUtils-
|
|
24
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-3kceTymI.esm.js";
|
|
22
|
+
import { t as ekycMachine } from "./ekycStateMachine-qvQ-b4IY.esm.js";
|
|
23
|
+
import { l as toEkycConfig } from "./ekycUtils-Drx8ImpN.esm.js";
|
|
24
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-C-JAvkH3.esm.js";
|
|
25
25
|
import { t as emailMachine } from "./emailStateMachine-CaoPZtZN.esm.js";
|
|
26
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
27
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
26
|
+
import { t as selfieMachine } from "./selfieStateMachine-BfJ5mJ57.esm.js";
|
|
27
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-Cr8WdGyp.esm.js";
|
|
28
28
|
import { t as phoneMachine } from "./phoneStateMachine-CHnhCS-4.esm.js";
|
|
29
29
|
import { t as watchlistMachine } from "./watchlistStateMachine-DeLfuGSl.esm.js";
|
|
30
30
|
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-D8qIyL8w.esm.js";
|
|
31
31
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-BtpkGpYZ.esm.js";
|
|
32
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
32
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DLNIGElA.esm.js";
|
|
33
33
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-RjNycN07.esm.js";
|
|
34
34
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-D0DW4y-f.esm.js";
|
|
35
35
|
import { t as signatureMachine } from "./signatureStateMachine-DFbbbFwg.esm.js";
|
|
36
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
36
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-3-d1ECCh.esm.js";
|
|
37
37
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BwMClTqC.esm.js";
|
|
38
38
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-Bj00uWvh.esm.js";
|
|
39
39
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-D90ZHY1r.esm.js";
|
|
40
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
41
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
42
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
40
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-DdWSo3jQ.esm.js";
|
|
41
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DgA2VEq4.esm.js";
|
|
42
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BTMOZdMM.esm.js";
|
|
43
43
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
44
44
|
import "./qe-signature.esm.js";
|
|
45
45
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.4.1-agentic.
|
|
3
|
+
"version": "2.4.1-agentic.9",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -291,9 +291,9 @@
|
|
|
291
291
|
"tsdown": "^0.22.8",
|
|
292
292
|
"typescript": "^5.9.3",
|
|
293
293
|
"vitest": "4.1.10",
|
|
294
|
-
"@incodetech/config": "1.0.2",
|
|
295
294
|
"@incodetech/form-definitions": "0.0.0",
|
|
296
|
-
"@incodetech/infra": "1.5.0"
|
|
295
|
+
"@incodetech/infra": "1.5.0",
|
|
296
|
+
"@incodetech/config": "1.0.2"
|
|
297
297
|
},
|
|
298
298
|
"scripts": {
|
|
299
299
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|