@incodetech/core 2.5.0-rc.1 → 2.5.0-rc.3
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-D0DbKUKC.esm.js → FaceDetectionProvider-CCJo4bco.esm.js} +11 -5
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/{StreamCanvasCapture-BOwciHDC.d.ts → StreamCanvasCapture-Y6cQ0Y4s.d.ts} +16 -1
- package/dist/{WasmUtilProvider-0xTxgP0R.esm.js → WasmUtilProvider-BW_4YKrg.esm.js} +7 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DJHHF70K.esm.js → apiError-DxhYr0v7.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CkjV81NT.esm.js → authenticationManager-BXdvE7lC.esm.js} +4 -4
- package/dist/{authenticationManager-B0WPJjvz.d.ts → authenticationManager-CFHIObef.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BoPwxHAI.esm.js → authenticationStateMachine-Bf0ApKso.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B2F_VeAo.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -9
- package/dist/{deepsightLoader-ngnhyO6B.esm.js → deepsightLoader-C7TAHJXG.esm.js} +5 -5
- package/dist/{desktopCameraElection-BKFjsQpO.esm.js → desktopCameraElection-ByUXdW6A.esm.js} +2 -2
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BKaJVQxg.esm.js → documentCaptureManager-C9g-btPN.esm.js} +1 -1
- package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-BYLb5Azk.esm.js → documentCaptureStateMachine-B0b1h_GT.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CC3t8bqX.esm.js → dynamicFormsManager-DWeIy62Y.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Vsn6kszV.esm.js → dynamicFormsStateMachine-dJEw3-L4.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DgNO6c0e.esm.js → ekybManager-JBglywM8.esm.js} +1 -1
- package/dist/{ekybStateMachine-DHybwePr.esm.js → ekybStateMachine-CUq0RRXx.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-DOTl3Y2w.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -4
- package/dist/{ekycPrefillManager-Drq_nYJ3.esm.js → ekycPrefillManager-CMGSavny.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-CycO-K3B.esm.js → ekycPrefillStateMachine-43l5cV8s.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-hn-_ADP5.esm.js → electronicSignatureManager-C86sxqsy.esm.js} +1 -1
- package/dist/extensibility.d.ts +12 -12
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-BZjGT392.d.ts → faceCaptureManagerFactory-DqDNQb8X.d.ts} +10 -4
- package/dist/{faceCaptureManagerFactory-B2POCGth.esm.js → faceCaptureManagerFactory-dgc5H8hd.esm.js} +3 -3
- package/dist/{faceCaptureSetup-DCBK1osx.esm.js → faceCaptureSetup-BcE26nwo.esm.js} +6 -6
- package/dist/{feature-management-BFfuXr1M.esm.js → feature-management-So4L3K2G.esm.js} +3 -2
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-Crry_GxY.esm.js → flowCompletionService-DVqGjUJ5.esm.js} +1 -1
- package/dist/{flowServices-Cj8SQjQT.esm.js → flowServices-m20VxXpw.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-qpTiVlc6.esm.js → geolocationManager-B7tr1Mjr.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Dk10UW9G.esm.js → geolocationStateMachine-Bj7PzCgO.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Drh207VJ.esm.js → idCaptureDefaults-CRn9jT4K.esm.js} +1 -1
- package/dist/{idCaptureManager-RrDMn2tS.esm.js → idCaptureManager-BY8Ms5-x.esm.js} +5 -5
- package/dist/{idCaptureManager-C4Xk02cS.d.ts → idCaptureManager-DBVw9Etw.d.ts} +10 -3
- package/dist/{idCaptureServices-BqDlOnzD.esm.js → idCaptureServices-DxRuZzik.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-DFa1GOap.esm.js → idCaptureStateMachine-jIgD_6K9.esm.js} +13 -13
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CcEXyOlg.esm.js → kybChecksManager-0_CnXLk4.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DEKqDA2G.esm.js → kybChecksStateMachine-CothByiQ.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-Bh1asNJh.d.ts → mandatoryConsentManager-DszYRM5U.d.ts} +7 -7
- package/dist/{permissionGuards-pcrrqrPR.esm.js → permissionGuards-DoAed6-z.esm.js} +1 -1
- package/dist/{permissionServices-DFJlH7K3.esm.js → permissionServices-Ex5xc1h7.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-CJzb91Cf.esm.js → runChildModule-BeAXn155.esm.js} +1 -1
- package/dist/{sdkVersion-k-QlBWlU.esm.js → sdkVersion-CK98LU4K.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-F449y_PI.esm.js → selfieErrorUtils-Bd3iBR1y.esm.js} +1 -1
- package/dist/{selfieManager-aPdwxSFt.d.ts → selfieManager-Btqla0Id.d.ts} +1 -1
- package/dist/{selfieManager-Ba2YqjfY.esm.js → selfieManager-u0dnwOE7.esm.js} +4 -4
- package/dist/{selfieStateMachine-CTjb-Qr4.esm.js → selfieStateMachine-BvMe5dxz.esm.js} +3 -3
- package/dist/{session-DPL5QWRx.esm.js → session--fux_Vkl.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-43LQITNU.esm.js → sessionInitializer-BhXyYkt8.esm.js} +4 -4
- package/dist/{setup-DpOr8H_l.d.ts → setup-O-JVSYKa.d.ts} +4 -3
- package/dist/{setup-lcBOfaNE.esm.js → setup-uIE9pmGh.esm.js} +5 -5
- package/dist/{trueSightService-Bs6xqUXD.esm.js → trueSightService-DhNRlYgN.esm.js} +1 -1
- package/dist/{types-CE1jkHw3.d.ts → types-BxLFoqzR.d.ts} +1 -1
- package/dist/{types-YA7ieDOx.d.ts → types-CYrtpEe5.d.ts} +2 -2
- package/dist/{types-9wlf1-GE.d.ts → types-CoAp9UmW.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-a7GBfmEZ.esm.js → videoSelfieCameraWarmer-e9InU88j.esm.js} +5 -5
- package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-VJFqUQmL.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-DPK7qGgo.esm.js → wasmDsFlagSync-BHm1d2gA.esm.js} +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { 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-BcE26nwo.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CCJo4bco.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-Bd3iBR1y.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-CZpuJuZl.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-DhNRlYgN.esm.js";
|
|
3
|
+
import "./sessionInitializer-BhXyYkt8.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-DxhYr0v7.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-CZpuJuZl.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-BhXyYkt8.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 { r as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-DxhYr0v7.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--fux_Vkl.esm.js";
|
|
7
|
+
import { r as getFinishStatus } from "./flowCompletionService-DVqGjUJ5.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -3,10 +3,10 @@ import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1
|
|
|
3
3
|
import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./types-DYYMdAGv.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
5
5
|
import "./events-CP3yOzAl.esm.js";
|
|
6
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
7
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-DhNRlYgN.esm.js";
|
|
7
|
+
import { t as SDK_VERSION } from "./sdkVersion-CK98LU4K.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
9
|
+
import { E as updateFeatureManagementUser } from "./feature-management-So4L3K2G.esm.js";
|
|
10
10
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DoByUnTa.esm.js";
|
|
11
11
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
12
12
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -324,7 +324,7 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
324
324
|
}
|
|
325
325
|
const fingerprintSignalsReporter = createFingerprintSignalsReporter({
|
|
326
326
|
getWasmUtil: async () => {
|
|
327
|
-
return (await import("./WasmUtilProvider-
|
|
327
|
+
return (await import("./WasmUtilProvider-BW_4YKrg.esm.js").then((n) => n.n)).WasmUtilProvider.getInstance();
|
|
328
328
|
},
|
|
329
329
|
getToken: () => getToken(),
|
|
330
330
|
post: async (url, body, headers) => (await api.post(url, body, { headers })).data,
|
|
@@ -398,8 +398,9 @@ type FeatureManagementSetupOptions = {
|
|
|
398
398
|
* Avoid putting PII or secrets in these values — they reach the
|
|
399
399
|
* feature-management backend's logs as-is.
|
|
400
400
|
*
|
|
401
|
-
* `
|
|
402
|
-
*
|
|
401
|
+
* `sdk_name` and `sdk_version` are reserved keys — the SDK always sets
|
|
402
|
+
* them (`'web_v2'` and its own published version), overwriting
|
|
403
|
+
* any value you supply here.
|
|
403
404
|
*/
|
|
404
405
|
custom?: Record<string, unknown>;
|
|
405
406
|
/**
|
|
@@ -407,7 +408,7 @@ type FeatureManagementSetupOptions = {
|
|
|
407
408
|
* onboarding web app), mapped to Statsig's first-class `appVersion` user
|
|
408
409
|
* field. This unlocks native version-comparator targeting (`>=`,
|
|
409
410
|
* `between`, ...) in the Statsig console, independent of the SDK's own
|
|
410
|
-
* version (always sent as `custom.
|
|
411
|
+
* version (always sent as `custom.sdk_version`). Leave unset unless you
|
|
411
412
|
* are the host application and want to target by your own release.
|
|
412
413
|
*/
|
|
413
414
|
appVersion?: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, v as setWasmDiagnosticsHandler } from "./wasmWebClient-CyLCM31e.esm.js";
|
|
2
2
|
import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiagnostics, n as getWarmupFacts, p as getWasmDiagnosticsMode, s as warmupWasm } from "./warmup-BZOMg303.esm.js";
|
|
3
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-DYYMdAGv.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-CZpuJuZl.esm.js";
|
|
6
6
|
import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-CP3yOzAl.esm.js";
|
|
7
|
-
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-
|
|
8
|
-
import { C 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, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
7
|
+
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-DhNRlYgN.esm.js";
|
|
8
|
+
import { C 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, w as fingerprintSignalsReporter } from "./sessionInitializer-BhXyYkt8.esm.js";
|
|
9
9
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
10
10
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
11
|
-
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-
|
|
11
|
+
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-So4L3K2G.esm.js";
|
|
12
12
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
13
13
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
14
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
14
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-m20VxXpw.esm.js";
|
|
15
15
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
16
16
|
/**
|
|
17
17
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -3,7 +3,7 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
3
3
|
import { S as subscribeEvent, n as eventModuleNames } from "./types-DYYMdAGv.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-CZpuJuZl.esm.js";
|
|
5
5
|
import "./events-CP3yOzAl.esm.js";
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-CK98LU4K.esm.js";
|
|
7
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
8
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
9
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
2
|
-
import { t as BaseFaceCaptureConfig } from "./types-
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-CoAp9UmW.js";
|
|
3
3
|
//#region src/modules/authentication/types.d.ts
|
|
4
4
|
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
5
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
2
2
|
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-Ddc4Tr_f.js";
|
|
3
|
-
import { a as IStorageCapability } from "./IWasmUtilCapability-
|
|
3
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-Y6cQ0Y4s.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
7
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
8
8
|
import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
|
|
2
2
|
import { n as Flow, s as SelfieConcealmentOption } from "./types-Ddc4Tr_f.js";
|
|
3
|
-
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
3
|
+
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "./Actor-DqjOqDfU.js";
|
|
|
6
6
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
7
7
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
8
8
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
9
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-
|
|
9
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-VJFqUQmL.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
11
11
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
12
12
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-uIE9pmGh.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.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 { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-m20VxXpw.esm.js";
|
|
7
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
8
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
11
|
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-e9InU88j.esm.js";
|
|
14
14
|
import { r as createRecordingCompositor } from "./CameraCompositor-ppyMYVoY.esm.js";
|
|
15
15
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CsDED9UU.esm.js";
|
|
16
16
|
import { t as MultipartRecordingService } from "./multipartRecordingService-WgK8ieRI.esm.js";
|
package/dist/{videoSelfieCameraWarmer-a7GBfmEZ.esm.js → videoSelfieCameraWarmer-e9InU88j.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-m20VxXpw.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-Ex5xc1h7.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-CCJo4bco.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-
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-Bd3iBR1y.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CRn9jT4K.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-VJFqUQmL.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
2
|
+
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
3
|
+
import { n as DetectionStatus } from "./types-CoAp9UmW.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
package/dist/wasm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BNhIuURi.js";
|
|
2
|
-
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-
|
|
2
|
+
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-O-JVSYKa.js";
|
|
3
3
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
4
4
|
/** The WASM version bundled and tested with this SDK release. */
|
|
5
5
|
declare const DEFAULT_WASM_VERSION = "v2.14.54-post1";
|
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-CyLCM31e.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-BZOMg303.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-uIE9pmGh.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as utilityWasmApi } from "./WasmUtilProvider-
|
|
1
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
2
|
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
3
3
|
/**
|
|
4
4
|
* Sets the Deepsight (ds) flag that the WASM utility API receives on every
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
4
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
5
|
-
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-
|
|
6
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-DhNRlYgN.esm.js";
|
|
5
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-BhXyYkt8.esm.js";
|
|
6
|
+
import { E as updateFeatureManagementUser } from "./feature-management-So4L3K2G.esm.js";
|
|
7
7
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
8
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
+
import { i as toIncodeApiError } from "./apiError-DxhYr0v7.esm.js";
|
|
9
9
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-C86sxqsy.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Bf0ApKso.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-_EQcjGE3.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-DgiIcT9q.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-BQ8XK2Y3.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-r8nGhyo1.esm.js";
|
|
20
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
20
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-B0b1h_GT.esm.js";
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-dJEw3-L4.esm.js";
|
|
22
22
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
23
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
23
|
+
import { t as ekybMachine } from "./ekybStateMachine-CUq0RRXx.esm.js";
|
|
24
24
|
import { t as ekycMachine } from "./ekycStateMachine-nwJRel2s.esm.js";
|
|
25
25
|
import { l as toEkycConfig } from "./ekycUtils-FcqA6oU4.esm.js";
|
|
26
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
26
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-43l5cV8s.esm.js";
|
|
27
27
|
import { t as emailMachine } from "./emailStateMachine-CTEaYncs.esm.js";
|
|
28
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
29
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
28
|
+
import { t as selfieMachine } from "./selfieStateMachine-BvMe5dxz.esm.js";
|
|
29
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-jIgD_6K9.esm.js";
|
|
30
30
|
import { t as phoneMachine } from "./phoneStateMachine-DKdY2Scx.esm.js";
|
|
31
31
|
import { t as watchlistMachine } from "./watchlistStateMachine-Cx-6QAvu.esm.js";
|
|
32
32
|
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-BMWm5mcP.esm.js";
|
|
@@ -35,13 +35,13 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-Bju
|
|
|
35
35
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-B832arAl.esm.js";
|
|
36
36
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CMjjUXSu.esm.js";
|
|
37
37
|
import { t as signatureMachine } from "./signatureStateMachine-CVPmvU2p.esm.js";
|
|
38
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
38
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-Bj7PzCgO.esm.js";
|
|
39
39
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-wBunpfQ9.esm.js";
|
|
40
40
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
|
|
41
41
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-BuHt7kec.esm.js";
|
|
42
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
43
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
44
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
42
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-CothByiQ.esm.js";
|
|
43
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-DVqGjUJ5.esm.js";
|
|
44
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BeAXn155.esm.js";
|
|
45
45
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
46
46
|
import "./qe-signature.esm.js";
|
|
47
47
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.5.0-rc.
|
|
3
|
+
"version": "2.5.0-rc.3",
|
|
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",
|
|
294
295
|
"@incodetech/form-definitions": "0.0.0",
|
|
295
|
-
"@incodetech/infra": "1.5.0"
|
|
296
|
-
"@incodetech/config": "1.0.2"
|
|
296
|
+
"@incodetech/infra": "1.5.0"
|
|
297
297
|
},
|
|
298
298
|
"scripts": {
|
|
299
299
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|