@incodetech/core 0.0.0-dev-20261002-8d83c2bc → 0.0.0-dev-20261005-4c26de38
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-C8R9L_4X.esm.js → FaceDetectionProvider-CZRhMwCj.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-O0-pQnns.esm.js → apiError-C8_ZsTnI.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-88NNvOEB.esm.js → authenticationManager-BXexvhsC.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Cg0ZBVKd.esm.js → authenticationStateMachine-VYlt1KgW.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-Ca8FHlC4.d.ts} +8 -8
- package/dist/{deepsightLoader-D1zNmkIg.esm.js → deepsightLoader-9vrTrc-M.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-B9kA697P.esm.js → dynamicFormsManager-BKRhvPhx.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BaXXf4a4.esm.js → dynamicFormsStateMachine-CRmYpozy.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BQQhKvLb.esm.js → ekybManager-CNCKmvP8.esm.js} +1 -1
- package/dist/{ekybStateMachine-DdP6zs6A.esm.js → ekybStateMachine-BCsoizYY.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CFGS9OQE.esm.js → electronicSignatureManager-D_xQJUzm.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-DgAXrpVe.esm.js → faceCaptureManagerFactory-yFJuQzjR.esm.js} +1 -1
- package/dist/{faceCaptureSetup-5lO_9j_U.esm.js → faceCaptureSetup-DrSzpi1U.esm.js} +3 -3
- package/dist/{feature-management-CzojxmqK.esm.js → feature-management-CX5jephW.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CUVoQ9ce.esm.js → flowCompletionService-h3Di2YTn.esm.js} +1 -1
- package/dist/{flowServices-BmSe626K.esm.js → flowServices-PfeGN_Ew.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DmL_GWgc.esm.js → geolocationManager-B8xKiikK.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DPgbUArp.esm.js → geolocationStateMachine-DDaQTPh-.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -203
- package/dist/{idCaptureDefaults-JRyk8Pqy.esm.js → idCaptureDefaults-DbDoL1m5.esm.js} +1 -1
- package/dist/{idCaptureManager-DHfSJbYv.d.ts → idCaptureManager-BufUN-y6.d.ts} +3 -3
- package/dist/{idCaptureManager-R2Oi2WEj.esm.js → idCaptureManager-C9G54e0I.esm.js} +205 -7
- package/dist/{idCaptureServices-C63qdfgk.esm.js → idCaptureServices-B9cBHHIs.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-UYvwNnwA.esm.js → idCaptureStateMachine-CIUgK8GN.esm.js} +55 -18
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-B6glP66e.d.ts → mandatoryConsentManager-bhnHk13z.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BxdlT0Aa.esm.js → runChildModule-CcmHyGsP.esm.js} +1 -1
- package/dist/{sdkVersion-D6Qk_ASE.esm.js → sdkVersion-NIsie1FT.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-UyrfXWWO.esm.js → selfieErrorUtils-hcwm2LiU.esm.js} +1 -1
- package/dist/{selfieManager-BPubCyDr.esm.js → selfieManager-BqlcOMT7.esm.js} +3 -3
- package/dist/{selfieStateMachine-CDrU2akp.esm.js → selfieStateMachine-DhNKHT_f.esm.js} +3 -3
- package/dist/{session-DQNY26KV.esm.js → session-_t2tvJWl.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-esKkrBIL.esm.js → sessionInitializer-Q0N7DXtA.esm.js} +3 -3
- package/dist/{setup-s7Ad9Blp.esm.js → setup-D7nvxJuL.esm.js} +4 -4
- package/dist/{trueSightService-Bd2fQkGa.esm.js → trueSightService-CeIIDVW0.esm.js} +1 -1
- package/dist/{types-CrZKPInf2.d.ts → types-DBCRSabn2.d.ts} +13 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-Bc7Gyd7k.esm.js → videoSelfieCameraWarmer-BHi9pVoY.esm.js} +4 -4
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.esm.js +14 -14
- package/package.json +3 -3
package/dist/{idCaptureStateMachine-UYvwNnwA.esm.js → idCaptureStateMachine-CIUgK8GN.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-CeIIDVW0.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
3
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-D7nvxJuL.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
5
|
+
import { s as exposeExperimentOnce } from "./feature-management-CX5jephW.esm.js";
|
|
6
6
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
8
|
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, v as addEvent } from "./events-CfLLkAh7.esm.js";
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-Q0N7DXtA.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
11
11
|
import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
|
|
12
12
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-_t2tvJWl.esm.js";
|
|
14
14
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
15
15
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
16
16
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
@@ -26,8 +26,8 @@ import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
27
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-CW8mFdt9.esm.js";
|
|
28
28
|
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
29
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
30
|
-
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-
|
|
29
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DbDoL1m5.esm.js";
|
|
30
|
+
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-B9cBHHIs.esm.js";
|
|
31
31
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
33
33
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1398,7 +1398,7 @@ fromPromise(async ({ input }) => {
|
|
|
1398
1398
|
});
|
|
1399
1399
|
fromPromise(async ({ input }) => {
|
|
1400
1400
|
if (!input.dependencies) return;
|
|
1401
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1401
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-9vrTrc-M.esm.js");
|
|
1402
1402
|
return loadDeepsightSession({
|
|
1403
1403
|
ds: input.ds,
|
|
1404
1404
|
storage: input.dependencies.storage,
|
|
@@ -1841,7 +1841,7 @@ function cleanup(service) {
|
|
|
1841
1841
|
service.cleanup();
|
|
1842
1842
|
} catch {}
|
|
1843
1843
|
}
|
|
1844
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
1844
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-9vrTrc-M.esm.js")).loadDeepsightSession(input)) {
|
|
1845
1845
|
let disposed = false;
|
|
1846
1846
|
let preparation;
|
|
1847
1847
|
let service;
|
|
@@ -1874,6 +1874,46 @@ function createIdMetadataPreparationCoordinator(load = async (input) => (await i
|
|
|
1874
1874
|
};
|
|
1875
1875
|
}
|
|
1876
1876
|
//#endregion
|
|
1877
|
+
//#region src/modules/id/idCaptureOnlyConfig.ts
|
|
1878
|
+
/**
|
|
1879
|
+
* The `IdCaptureConfig` keys the captureOnly flow supports.
|
|
1880
|
+
*/
|
|
1881
|
+
const ID_CAPTURE_ONLY_CONFIG_KEYS = [
|
|
1882
|
+
"showTutorial",
|
|
1883
|
+
"captureAttempts",
|
|
1884
|
+
"autoCaptureTimeout",
|
|
1885
|
+
"deviceIdleTimeout",
|
|
1886
|
+
"enableId",
|
|
1887
|
+
"enablePassport",
|
|
1888
|
+
"onlyFront",
|
|
1889
|
+
"onlyBack",
|
|
1890
|
+
"showDocumentChooserScreen"
|
|
1891
|
+
];
|
|
1892
|
+
/**
|
|
1893
|
+
* `onCapture` marks a config as captureOnly. It is not part of
|
|
1894
|
+
* `IdCaptureConfig`, but JavaScript callers (and `<incode-id>`'s `config`
|
|
1895
|
+
* property) can still pass it.
|
|
1896
|
+
*/
|
|
1897
|
+
function hasOnCaptureCallback(config) {
|
|
1898
|
+
return typeof config.onCapture === "function";
|
|
1899
|
+
}
|
|
1900
|
+
/** Keeps the supported keys and `onCapture`, dropping backend-only options. */
|
|
1901
|
+
function pickIdCaptureOnlyConfig(config) {
|
|
1902
|
+
return {
|
|
1903
|
+
...Object.fromEntries(ID_CAPTURE_ONLY_CONFIG_KEYS.filter((key) => config[key] !== void 0).map((key) => [key, config[key]])),
|
|
1904
|
+
onCapture: config.onCapture
|
|
1905
|
+
};
|
|
1906
|
+
}
|
|
1907
|
+
/**
|
|
1908
|
+
* Whether the captureOnly flow needs the back side after this capture. There
|
|
1909
|
+
* is no backend answer (`skipBackIdCapture`), so `onlyFront` decides. Drives
|
|
1910
|
+
* both the `shouldContinueToBack` guard and the manager's `needsBackCapture`.
|
|
1911
|
+
*/
|
|
1912
|
+
function captureOnlyNeedsBack({ currentMode, config }) {
|
|
1913
|
+
if (currentMode !== "front" && currentMode !== "passport") return false;
|
|
1914
|
+
return !config.onlyFront && !config.onlyBack && !config.usSmartCapture;
|
|
1915
|
+
}
|
|
1916
|
+
//#endregion
|
|
1877
1917
|
//#region src/modules/id/idProtectedCapture.ts
|
|
1878
1918
|
const ID_PROTECTED_CAPTURE_CONTROLLER = Symbol("idProtectedCaptureController");
|
|
1879
1919
|
function attachIdProtectedCaptureController(owner, controller) {
|
|
@@ -2712,7 +2752,7 @@ function createProtectedIdAttemptInput(input) {
|
|
|
2712
2752
|
const preAcquired = controller.takePreAcquiredStream();
|
|
2713
2753
|
let selectedVideoTrack = preAcquired?.stream.getVideoTracks()[0];
|
|
2714
2754
|
const constraints = getCameraReacquisitionConstraints(selectedVideoTrack, preAcquired?.constraints);
|
|
2715
|
-
const captureOnly =
|
|
2755
|
+
const captureOnly = hasOnCaptureCallback(context.config);
|
|
2716
2756
|
const diagnosticAttempt = controller.getDiagnosticAttempt();
|
|
2717
2757
|
const isAttemptActive = () => !controller.disposed && controller.getProvider() === provider && controller.getDiagnosticAttempt() === diagnosticAttempt;
|
|
2718
2758
|
const logSelectedCamera = (stream, fallbackLevel, reacquisitionConstraints, preAcquiredStream) => {
|
|
@@ -3746,9 +3786,6 @@ function getIdErrorCodeFromUnknown(error) {
|
|
|
3746
3786
|
function asPublicIdEvent(event) {
|
|
3747
3787
|
return event;
|
|
3748
3788
|
}
|
|
3749
|
-
function isCaptureOnlyConfig(config) {
|
|
3750
|
-
return "onCapture" in config && typeof config.onCapture === "function";
|
|
3751
|
-
}
|
|
3752
3789
|
function protectedFailure(event) {
|
|
3753
3790
|
return event.type === "PROTECTED_ATTEMPT_FAILED" ? event : null;
|
|
3754
3791
|
}
|
|
@@ -3785,7 +3822,7 @@ const idCaptureMachine = setup({
|
|
|
3785
3822
|
return {};
|
|
3786
3823
|
}),
|
|
3787
3824
|
startProtectedMetadataPreparation: ({ context, self }) => {
|
|
3788
|
-
if (!
|
|
3825
|
+
if (!hasOnCaptureCallback(context.config)) getIdProtectedCaptureController(self).startMetadataPreparation(context);
|
|
3789
3826
|
},
|
|
3790
3827
|
bindProtectedControllerLifetime: sendTo("protectedControllerLifetime", ({ self }) => ({
|
|
3791
3828
|
type: "BIND_PROTECTED_ID_CONTROLLER",
|
|
@@ -3826,7 +3863,7 @@ const idCaptureMachine = setup({
|
|
|
3826
3863
|
requestProtectedManualCommit: sendTo("protectedAttempt", { type: "MANUAL_CAPTURE" }),
|
|
3827
3864
|
finalizeProtectedAttempt: sendTo("protectedAttempt", { type: "FINALIZE" }),
|
|
3828
3865
|
requestProtectedUpload: enqueueActions(({ context, enqueue }) => {
|
|
3829
|
-
if (
|
|
3866
|
+
if (hasOnCaptureCallback(context.config)) return;
|
|
3830
3867
|
enqueue(sendTo("protectedAttempt", {
|
|
3831
3868
|
type: "UPLOAD_PROTECTED",
|
|
3832
3869
|
request: getProtectedIdUploadRequest(context)
|
|
@@ -4218,7 +4255,7 @@ const idCaptureMachine = setup({
|
|
|
4218
4255
|
clearExpiredFromUpload: assign({ expiredFromUpload: () => false })
|
|
4219
4256
|
},
|
|
4220
4257
|
guards: {
|
|
4221
|
-
isCaptureOnlyDelivery: ({ context }) =>
|
|
4258
|
+
isCaptureOnlyDelivery: ({ context }) => hasOnCaptureCallback(context.config),
|
|
4222
4259
|
isProtectedUploadFailure: ({ event }) => protectedFailure(event)?.failure.stage === "upload",
|
|
4223
4260
|
isProtectedManualRefusal: ({ event }) => protectedFailure(event)?.failure.stage === "manualCommit",
|
|
4224
4261
|
hasShowTutorial: hasShowTutorialGuard,
|
|
@@ -5039,7 +5076,7 @@ const idCaptureMachine = setup({
|
|
|
5039
5076
|
id: "captureOnlyDelivery",
|
|
5040
5077
|
src: "captureOnlyDelivery",
|
|
5041
5078
|
input: ({ context }) => {
|
|
5042
|
-
if (!
|
|
5079
|
+
if (!hasOnCaptureCallback(context.config)) return { mode: "protected" };
|
|
5043
5080
|
return { mode: "captureOnly" };
|
|
5044
5081
|
}
|
|
5045
5082
|
}],
|
|
@@ -5537,4 +5574,4 @@ function provideIdProtectedCaptureController(machine, controller) {
|
|
|
5537
5574
|
});
|
|
5538
5575
|
}
|
|
5539
5576
|
//#endregion
|
|
5540
|
-
export { isRedirectFlowType as a, createIdCaptureOnlyDeliveryActor as c,
|
|
5577
|
+
export { mapDeviceWalletScreenName as _, isRedirectFlowType as a, createIdCaptureOnlyDeliveryActor as c, captureOnlyNeedsBack as d, hasOnCaptureCallback as f, BrowserDigitalCredentialsProvider as g, createDeviceWalletManager as h, DIGITAL_ID_REGISTRY as i, createIdProtectedCaptureController as l, renderWallet as m, provideIdProtectedCaptureController as n, resolveDigitalIdImplementation as o, pickIdCaptureOnlyConfig as p, DIGITAL_ID_DOCUMENT_TYPES as r, attachIdProtectedCaptureController as s, idCaptureMachine as t, findIdProtectedCaptureController as u, resolveWalletPlatform as v };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-D7nvxJuL.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-DovOQmax.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-bhnHk13z.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-B6glP66e.d.ts → mandatoryConsentManager-bhnHk13z.d.ts}
RENAMED
|
@@ -56,10 +56,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
56
56
|
type: "setError";
|
|
57
57
|
params: NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
|
-
toggleSigned: {
|
|
60
|
-
type: "toggleSigned";
|
|
61
|
-
params: NonReducibleUnknown;
|
|
62
|
-
};
|
|
63
59
|
clearError: {
|
|
64
60
|
type: "clearError";
|
|
65
61
|
params: NonReducibleUnknown;
|
|
@@ -68,6 +64,10 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
68
64
|
type: "resetContext";
|
|
69
65
|
params: NonReducibleUnknown;
|
|
70
66
|
};
|
|
67
|
+
toggleSigned: {
|
|
68
|
+
type: "toggleSigned";
|
|
69
|
+
params: NonReducibleUnknown;
|
|
70
|
+
};
|
|
71
71
|
}>, {
|
|
72
72
|
type: "canSubmit";
|
|
73
73
|
params: unknown;
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-D_xQJUzm.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
1
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CeIIDVW0.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-CfLLkAh7.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-D7nvxJuL.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { c as processFace } from "./FaceDetectionProvider-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DrSzpi1U.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-yFJuQzjR.esm.js";
|
|
8
|
+
import { c as processFace } from "./FaceDetectionProvider-CZRhMwCj.esm.js";
|
|
9
9
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CVNcIL95.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-DhNKHT_f.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BqlcOMT7.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Brs1lo61.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-CZRhMwCj.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
1
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-D7nvxJuL.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-yFJuQzjR.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DhNKHT_f.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-Bg3FuvIs.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DrSzpi1U.esm.js";
|
|
4
|
+
import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-CZRhMwCj.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-hcwm2LiU.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-CeIIDVW0.esm.js";
|
|
2
2
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import "./sessionInitializer-
|
|
3
|
+
import "./sessionInitializer-Q0N7DXtA.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-C8_ZsTnI.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
4
|
-
import { t as IncodeApiError } from "./apiError-
|
|
5
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
6
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
3
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-Q0N7DXtA.esm.js";
|
|
4
|
+
import { t as IncodeApiError } from "./apiError-C8_ZsTnI.esm.js";
|
|
5
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-_t2tvJWl.esm.js";
|
|
6
|
+
import { n as getFinishStatus } from "./flowCompletionService-h3Di2YTn.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionExpired.ts
|
|
8
8
|
var SessionExpiredError = class extends Error {
|
|
9
9
|
constructor() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-CeIIDVW0.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CX5jephW.esm.js";
|
|
3
3
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-CfLLkAh7.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-NIsie1FT.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-Dz3XWA64.esm.js";
|
|
8
8
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
@@ -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-CeIIDVW0.esm.js";
|
|
2
2
|
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DLq_t-Zu.esm.js";
|
|
3
3
|
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-Q_iUpxa8.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-CX5jephW.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-CfLLkAh7.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-Q0N7DXtA.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Dz3XWA64.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-PfeGN_Ew.esm.js";
|
|
14
14
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
15
15
|
var BrowserPageLifecycleProvider = class {
|
|
16
16
|
sendBeacon(url, body, contentType = "application/json") {
|
|
@@ -3,7 +3,7 @@ import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.
|
|
|
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 reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
5
5
|
import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-NIsie1FT.esm.js";
|
|
7
7
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
8
8
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
9
9
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
@@ -54,6 +54,12 @@ interface IDigitalCredentialsCapability {
|
|
|
54
54
|
}): Promise<DigitalCredentialResult>;
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
|
+
//#region src/modules/id/idCaptureOnlyConfig.d.ts
|
|
58
|
+
/**
|
|
59
|
+
* The `IdCaptureConfig` keys the captureOnly flow supports.
|
|
60
|
+
*/
|
|
61
|
+
declare const ID_CAPTURE_ONLY_CONFIG_KEYS: readonly ["showTutorial", "captureAttempts", "autoCaptureTimeout", "deviceIdleTimeout", "enableId", "enablePassport", "onlyFront", "onlyBack", "showDocumentChooserScreen"];
|
|
62
|
+
//#endregion
|
|
57
63
|
//#region src/modules/digital-id-redirect/types.d.ts
|
|
58
64
|
/**
|
|
59
65
|
* Trinsic web-redirect Digital ID — module contracts.
|
|
@@ -359,7 +365,7 @@ type IdCaptureConfig = TutorialIdConfig & {
|
|
|
359
365
|
* the factory (see `DEFAULT_ID_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
360
366
|
* about, e.g. `{ onCapture, captureAttempts: 5, showDocumentChooserScreen: true }`.
|
|
361
367
|
*/
|
|
362
|
-
type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig,
|
|
368
|
+
type IdCaptureOnlyConfig = Partial<Pick<IdCaptureConfig, (typeof ID_CAPTURE_ONLY_CONFIG_KEYS)[number]>> & {
|
|
363
369
|
onCapture: (response: CaptureOnlyResponse) => void | Promise<void>;
|
|
364
370
|
};
|
|
365
371
|
type IdErrorCode = 'UPLOAD_ERROR' | 'CLASSIFICATION_FAILED' | 'LOW_SHARPNESS' | 'GLARE_DETECTED' | 'WRONG_DOCUMENT_SIDE' | 'ID_TYPE_UNACCEPTABLE' | 'READABILITY_ISSUE' | 'RETRY_EXHAUSTED_CONTINUE_TO_BACK' | 'RETRY_EXHAUSTED_SKIP_BACK' | 'NO_MORE_TRIES' | 'UNEXPECTED_ERROR' | 'NO_TOKEN' | 'PERMISSION_DENIED' | 'USER_CANCELLED' | 'SERVER_ERROR';
|
|
@@ -477,10 +483,16 @@ type IdCapturedImageData = {
|
|
|
477
483
|
};
|
|
478
484
|
/**
|
|
479
485
|
* Payload delivered to `IdCaptureConfig.onCapture` when `captureOnly` is enabled.
|
|
486
|
+
*
|
|
487
|
+
* `frontImage` is `undefined` only for a back-only capture (`onlyBack: true`),
|
|
488
|
+
* where no front side is captured. Check it before use.
|
|
480
489
|
*/
|
|
481
490
|
type CaptureOnlyResponse = {
|
|
482
491
|
frontImage: IdCapturedImageData;
|
|
483
492
|
backImage: IdCapturedImageData | undefined;
|
|
493
|
+
} | {
|
|
494
|
+
frontImage: undefined;
|
|
495
|
+
backImage: IdCapturedImageData;
|
|
484
496
|
};
|
|
485
497
|
declare const ID_ERROR_CODES: {
|
|
486
498
|
readonly UPLOAD_ERROR: "UPLOAD_ERROR";
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-D7nvxJuL.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-Bs3D8B_G.esm.js";
|
|
6
6
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
7
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
7
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-PfeGN_Ew.esm.js";
|
|
8
8
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
11
|
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CMjkhS2x.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-q_pfU3Cn.esm.js";
|
|
13
|
-
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BHi9pVoY.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
16
16
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-Bc7Gyd7k.esm.js → videoSelfieCameraWarmer-BHi9pVoY.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
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-Bs3D8B_G.esm.js";
|
|
4
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-PfeGN_Ew.esm.js";
|
|
5
5
|
import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
|
|
6
6
|
import { t as checkPermission } from "./permissionServices-B9IqVf3c.esm.js";
|
|
7
|
-
import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-CZRhMwCj.esm.js";
|
|
8
8
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-CMjkhS2x.esm.js";
|
|
9
9
|
import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
10
10
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
11
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
12
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
11
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-hcwm2LiU.esm.js";
|
|
12
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DbDoL1m5.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
14
14
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
15
15
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
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-DPPQlS-U.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-CeIIDVW0.esm.js";
|
|
3
3
|
import { o as warmupWasm } from "./warmup-DLq_t-Zu.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-D7nvxJuL.esm.js";
|
|
5
5
|
//#region src/defineWasm.ts
|
|
6
6
|
function requiredModels(pipelines) {
|
|
7
7
|
const models = /* @__PURE__ */ new Set();
|
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-CeIIDVW0.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CX5jephW.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-CfLLkAh7.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Q0N7DXtA.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-C8_ZsTnI.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-PfeGN_Ew.esm.js";
|
|
9
9
|
import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-D_xQJUzm.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-bbi6-rKP.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-VYlt1KgW.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DwLGw_a2.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-fvRt5D6e.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Sf4rGn_0.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BtlZ6qoX.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-CZ2QX6QO.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CRmYpozy.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-BCsoizYY.esm.js";
|
|
23
23
|
import { t as ekycMachine } from "./ekycStateMachine-Lqh8tcY3.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-NiunNxhH.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-DhNKHT_f.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CIUgK8GN.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-pue0_Jsi.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-DU28IiMQ.esm.js";
|
|
29
29
|
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DsLzqEQG.esm.js";
|
|
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CZK
|
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-OefnDFiX.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-tGbjPhIm.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-C6Wh9ylX.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DDaQTPh-.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BvvrC_3A.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-BtrFQSDe.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-B2h14s3J.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-h3Di2YTn.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CcmHyGsP.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-DQTlyw98.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20261005-4c26de38",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -276,8 +276,8 @@
|
|
|
276
276
|
"tsdown": "^0.22.8",
|
|
277
277
|
"typescript": "^5.9.3",
|
|
278
278
|
"vitest": "4.1.10",
|
|
279
|
-
"@incodetech/
|
|
280
|
-
"@incodetech/
|
|
279
|
+
"@incodetech/infra": "1.4.0",
|
|
280
|
+
"@incodetech/config": "1.0.2"
|
|
281
281
|
},
|
|
282
282
|
"scripts": {
|
|
283
283
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|