@incodetech/core 0.0.0-dev-20260911-3c28f170 → 0.0.0-dev-20260911-d4e8be9f
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/{BrowserDiagnosticsCryptoProvider-D8H3nWpr.esm.js → BrowserDiagnosticsCryptoProvider-DGdx3emH.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-CY6lWIaQ.esm.js → apiError-DsGq8I1L.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BxkiSz79.esm.js → authenticationManager-C1kut8FN.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DAQ4dBAD.esm.js → authenticationStateMachine-CTCuMCty.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-DLOyIZzt.d.ts → consentManager-uhDPdU6i.d.ts} +1 -1
- package/dist/{deepsightLoader-Cpjfw3EQ.esm.js → deepsightLoader-HcpfFvrJ.esm.js} +2 -2
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-DD0qtFdE.d.ts → documentCaptureManager-DensIj5F.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CKkEm4x5.esm.js → dynamicFormsManager-CIODOItK.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CoBVJjYk.esm.js → dynamicFormsStateMachine-Dz0LqEEn.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-hFZnmQzb.esm.js → ekybManager-BQb_E24w.esm.js} +1 -1
- package/dist/{ekybStateMachine-CHzi9XHk.esm.js → ekybStateMachine-Dzf-Pbdt.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-vLj_aBwI.esm.js → electronicSignatureManager-Bf6B6pEU.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-BRuA7cbI.esm.js → faceCaptureManagerFactory-CoWc6zH_.esm.js} +1 -1
- package/dist/{faceCaptureSetup-Bhpk__dy.esm.js → faceCaptureSetup-C209BNIm.esm.js} +1 -1
- package/dist/{feature-management-Dd_npJ0p.esm.js → feature-management-DJHtBpsz.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-cuWgokHI.esm.js → flowCompletionService-CTbI_iTT.esm.js} +1 -1
- package/dist/{flowServices-CzgZ-VRv.esm.js → flowServices-Nv0vz_a6.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Vh9KYMeo.esm.js → geolocationManager-C4qEcTWe.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BPzG-LrP.esm.js → geolocationStateMachine-DIZOaCem.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-Dic5mQfO.esm.js → idCaptureDefaults-DO_iW674.esm.js} +1 -1
- package/dist/{idCaptureManager-De-5JavX.esm.js → idCaptureManager-oNVoPND4.esm.js} +3 -3
- package/dist/{idCaptureServices-BZvFZyyy.esm.js → idCaptureServices-0b3RJwM_.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-UTll8mMx.esm.js → idCaptureStateMachine-CBELAdUH.esm.js} +7 -7
- package/dist/{idOcrManager-CFlDwUvN.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-BXEBBI3N.d.ts → identityReuseManager-v2TH5g7e.d.ts} +5 -5
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-eFC-htLS.d.ts → mandatoryConsentManager-BxrRrlBs.d.ts} +5 -5
- package/dist/{onDeviceFaceResults-CU5XlhqG.esm.js → onDeviceFaceResults-C10QzrYa.esm.js} +4 -52
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-6P8ofHxL.esm.js → runChildModule-BvxjSxjZ.esm.js} +1 -1
- package/dist/{sdkVersion-DlL6SxXs.esm.js → sdkVersion-BRy4YQdU.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-C4esDm_H.esm.js → selfieManager-C680J2y6.esm.js} +3 -3
- package/dist/{selfieStateMachine-B7vhKLV7.esm.js → selfieStateMachine-CV3OsU5z.esm.js} +2 -2
- package/dist/{session-DWnBmR2a.esm.js → session-BxzK5bo1.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DUpE6yBR.esm.js → sessionInitializer-BpyJ5y2B.esm.js} +82 -14
- package/dist/{setup-CQNSur1c.esm.js → setup-BQ5-0CB6.esm.js} +4 -4
- package/dist/{trueSightService-CvdDnFul.esm.js → trueSightService-CGUA9dm6.esm.js} +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-Gcgw9ze7.esm.js → videoSelfieCameraWarmer-Dn4l6XzJ.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
package/dist/{mandatoryConsentManager-eFC-htLS.d.ts → mandatoryConsentManager-BxrRrlBs.d.ts}
RENAMED
|
@@ -57,14 +57,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
57
57
|
type: "setError";
|
|
58
58
|
params: NonReducibleUnknown;
|
|
59
59
|
};
|
|
60
|
-
clearError: {
|
|
61
|
-
type: "clearError";
|
|
62
|
-
params: NonReducibleUnknown;
|
|
63
|
-
};
|
|
64
60
|
toggleSigned: {
|
|
65
61
|
type: "toggleSigned";
|
|
66
62
|
params: NonReducibleUnknown;
|
|
67
63
|
};
|
|
64
|
+
clearError: {
|
|
65
|
+
type: "clearError";
|
|
66
|
+
params: NonReducibleUnknown;
|
|
67
|
+
};
|
|
68
68
|
resetContext: {
|
|
69
69
|
type: "resetContext";
|
|
70
70
|
params: NonReducibleUnknown;
|
|
@@ -72,7 +72,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
72
72
|
}>, {
|
|
73
73
|
type: "canSubmit";
|
|
74
74
|
params: unknown;
|
|
75
|
-
}, never, "error" | "idle" | "closed" | "finished" | "
|
|
75
|
+
}, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
76
76
|
readonly id: "mandatoryConsent";
|
|
77
77
|
readonly initial: "idle";
|
|
78
78
|
readonly context: ({ input }: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BQ5-0CB6.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-BOM-sD-6.esm.js";
|
|
3
3
|
import { i as BaseWasmProvider } from "./safeStorage-Dp9m6aOh.esm.js";
|
|
4
4
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
5
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CGUA9dm6.esm.js";
|
|
6
|
+
import { v as yieldUntilNextPaint } from "./sessionInitializer-BpyJ5y2B.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
8
8
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
9
9
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
@@ -11,54 +11,6 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
11
11
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
12
12
|
import { a as StreamCanvasProcessingSession, n as startRecording, r as stopRecording$1, t as createRecordingSession } from "./recordingsRepository-CCWy13M-.esm.js";
|
|
13
13
|
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
|
|
14
|
-
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
15
|
-
/**
|
|
16
|
-
* Resolves after the browser has had a chance to commit and paint a queued
|
|
17
|
-
* render.
|
|
18
|
-
*
|
|
19
|
-
* Strategy:
|
|
20
|
-
* - `requestAnimationFrame` callbacks fire BEFORE the paint of the frame
|
|
21
|
-
* they belong to (per the HTML5 "update the rendering" step). If we
|
|
22
|
-
* resolve the promise inside a rAF callback, the await-continuation
|
|
23
|
-
* runs as a microtask immediately after the callback returns — still
|
|
24
|
-
* before the paint phase of that frame. A caller that then blocks the
|
|
25
|
-
* main thread (e.g. synchronous WASM `processPhoto`) starves the paint.
|
|
26
|
-
* - We therefore chain rAF → setTimeout: the rAF fires before frame N's
|
|
27
|
-
* paint, the setTimeout runs as a macrotask scheduled after frame N's
|
|
28
|
-
* "update the rendering" step, which the browser will only get to once
|
|
29
|
-
* the paint actually lands. By the time setTimeout fires, the paint
|
|
30
|
-
* for the queued render is on screen.
|
|
31
|
-
* - In environments where rAF never ticks (jsdom, happy-dom, backgrounded
|
|
32
|
-
* tabs), a parallel `setTimeout` fallback at 100 ms resolves instead.
|
|
33
|
-
* 100 ms is comfortably longer than two real-browser frames so rAF +
|
|
34
|
-
* setTimeout wins reliably in any foregrounded browser. (An earlier
|
|
35
|
-
* implementation raced rAF against a `MessageChannel` macrotask, but
|
|
36
|
-
* MessageChannel drains immediately after the current task's
|
|
37
|
-
* microtasks — before the next paint — so it resolved the promise too
|
|
38
|
-
* early and defeated the whole point of the helper.)
|
|
39
|
-
*
|
|
40
|
-
* Lives in infra because it touches browser APIs (`requestAnimationFrame`,
|
|
41
|
-
* `setTimeout`) that the architecture rules forbid from core. Core modules
|
|
42
|
-
* that need to yield to the browser render loop should import this helper
|
|
43
|
-
* directly via its file path.
|
|
44
|
-
*/
|
|
45
|
-
function yieldUntilNextPaint() {
|
|
46
|
-
return new Promise((resolve) => {
|
|
47
|
-
let resolved = false;
|
|
48
|
-
const done = () => {
|
|
49
|
-
if (resolved) return;
|
|
50
|
-
resolved = true;
|
|
51
|
-
resolve();
|
|
52
|
-
};
|
|
53
|
-
if (typeof requestAnimationFrame === "function") requestAnimationFrame(() => {
|
|
54
|
-
requestAnimationFrame(() => {
|
|
55
|
-
setTimeout(done, 0);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
setTimeout(done, 100);
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
14
|
//#region ../infra/src/wasm/faceProcessingWasmApi.ts
|
|
63
15
|
var FaceProcessingWasmApi = class {
|
|
64
16
|
constructor(runtime = wasmRuntime) {
|
|
@@ -517,7 +469,7 @@ async function stopRecording(session) {
|
|
|
517
469
|
}
|
|
518
470
|
}
|
|
519
471
|
async function initializeDeepsightSession(options) {
|
|
520
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
472
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-HcpfFvrJ.esm.js");
|
|
521
473
|
return loadDeepsightSession({
|
|
522
474
|
ds: options.ds,
|
|
523
475
|
storage: options.storage
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BQ5-0CB6.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-Dp9m6aOh.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
|
-
import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-
|
|
5
|
+
import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-CGUA9dm6.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { _ as getThumbmarkId,
|
|
7
|
+
import { _ as getThumbmarkId, b as BrowserEnvironmentProvider, m as isBrowserSimulation, n as getFingerprintEnabled, y as getDeviceFingerprintInfo } from "./sessionInitializer-BpyJ5y2B.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
12
12
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-f7nBnW5P.esm.js";
|
|
13
|
-
import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-CU5XlhqG.esm.js";
|
|
14
13
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
14
|
+
import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-C10QzrYa.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
|
17
17
|
/**
|
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-Bf6B6pEU.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CGUA9dm6.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BQ5-0CB6.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-Dp9m6aOh.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-C209BNIm.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CoWc6zH_.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-CV3OsU5z.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-C680J2y6.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BQ5-0CB6.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-Dp9m6aOh.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CoWc6zH_.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-CV3OsU5z.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-C209BNIm.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-C10QzrYa.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieStateMachine.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
2
|
+
import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-CGUA9dm6.esm.js";
|
|
3
|
+
import "./sessionInitializer-BpyJ5y2B.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-DsGq8I1L.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,5 +1,5 @@
|
|
|
1
|
-
import { c as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-
|
|
2
|
-
import { t as IncodeApiError } from "./apiError-
|
|
3
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
4
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { c as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-BpyJ5y2B.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-DsGq8I1L.esm.js";
|
|
3
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BxzK5bo1.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-CTbI_iTT.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DJHtBpsz.esm.js";
|
|
2
2
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-
|
|
3
|
+
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-CGUA9dm6.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BRy4YQdU.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DkK-f8JT.esm.js";
|
|
8
8
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
@@ -239,7 +239,7 @@ async function getDeviceFingerprintInfo() {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
//#endregion
|
|
242
|
-
//#region ../../node_modules/.pnpm/@thumbmarkjs+thumbmarkjs@1.6.
|
|
242
|
+
//#region ../../node_modules/.pnpm/@thumbmarkjs+thumbmarkjs@1.6.4_patch_hash=4567be4f9456c742dbb8f16dd684bd7f9e5d056dfdc5a42aa48c836cab4a540a/node_modules/@thumbmarkjs/thumbmarkjs/dist/thumbmark.esm.js
|
|
243
243
|
const e = 2592e5;
|
|
244
244
|
const t = "thumbmark";
|
|
245
245
|
const n = "https://api.thumbmarkjs.com";
|
|
@@ -312,6 +312,11 @@ function c(e) {
|
|
|
312
312
|
function l(e, t, n) {
|
|
313
313
|
let o = [];
|
|
314
314
|
for (let t = 0; t < e[0].data.length; t++) {
|
|
315
|
+
const first = e[0].data[t];
|
|
316
|
+
if (e.every((image) => image.data[t] === first)) {
|
|
317
|
+
o.push(first);
|
|
318
|
+
continue;
|
|
319
|
+
}
|
|
315
320
|
let n = [];
|
|
316
321
|
for (let o = 0; o < e.length; o++) n.push(e[o].data[t]);
|
|
317
322
|
o.push(u(n));
|
|
@@ -395,7 +400,7 @@ async function g(e) {
|
|
|
395
400
|
o.setProperty("position", "fixed"), o.setProperty("display", "block", "important"), o.setProperty("visibility", "visible"), o.setProperty("border", "0"), o.setProperty("opacity", "0"), n.src = "about:blank", document.body.appendChild(n);
|
|
396
401
|
const r = n.contentDocument || (null === (t = n.contentWindow) || void 0 === t ? void 0 : t.document);
|
|
397
402
|
if (!r) throw new Error("Iframe document is not accessible");
|
|
398
|
-
e({ iframe: r }), setTimeout((() => {
|
|
403
|
+
await e({ iframe: r }), setTimeout((() => {
|
|
399
404
|
document.body.removeChild(n);
|
|
400
405
|
}), 0);
|
|
401
406
|
}
|
|
@@ -802,7 +807,7 @@ const V = {
|
|
|
802
807
|
0 !== t.length ? e({ commonPixelsHash: h(l(t, p, 20).data.toString()).toString() }) : e(null);
|
|
803
808
|
}));
|
|
804
809
|
},
|
|
805
|
-
fonts: async function(
|
|
810
|
+
fonts: async function(options) {
|
|
806
811
|
return new Promise(((e) => {
|
|
807
812
|
try {
|
|
808
813
|
g((async ({ iframe: t }) => {
|
|
@@ -810,10 +815,12 @@ const V = {
|
|
|
810
815
|
if (!n) return void e(null);
|
|
811
816
|
const o = y.map(((e) => S(n, e)));
|
|
812
817
|
let r = {};
|
|
813
|
-
v.
|
|
814
|
-
|
|
818
|
+
for (let i = 0; i < v.length; i++) {
|
|
819
|
+
if (options?.yield && i % 8 === 0) await options.yield();
|
|
820
|
+
const e = v[i], t = S(n, e);
|
|
815
821
|
o.includes(t) || (r[e] = t);
|
|
816
|
-
}
|
|
822
|
+
}
|
|
823
|
+
e(r);
|
|
817
824
|
}));
|
|
818
825
|
} catch (t) {
|
|
819
826
|
e(null);
|
|
@@ -1390,7 +1397,14 @@ async function oe(e, t) {
|
|
|
1390
1397
|
})).filter((([e]) => {
|
|
1391
1398
|
var t, o, r, i;
|
|
1392
1399
|
return (null === (t = null == n ? void 0 : n.include) || void 0 === t ? void 0 : t.some(((e) => e.includes(".")))) ? null === (o = null == n ? void 0 : n.include) || void 0 === o ? void 0 : o.some(((t) => t.startsWith(e))) : 0 === (null === (r = null == n ? void 0 : n.include) || void 0 === r ? void 0 : r.length) || (null === (i = null == n ? void 0 : n.include) || void 0 === i ? void 0 : i.includes(e));
|
|
1393
|
-
})), i = r.map((([e]) => e)),
|
|
1400
|
+
})), i = r.map((([e]) => e)), a = [];
|
|
1401
|
+
for (const [e, fn] of r) {
|
|
1402
|
+
if (n.yield) await n.yield();
|
|
1403
|
+
const pending = fn(t);
|
|
1404
|
+
pending.catch(() => void 0);
|
|
1405
|
+
a.push(pending);
|
|
1406
|
+
}
|
|
1407
|
+
const s = await function(e, t, n) {
|
|
1394
1408
|
return Promise.all(e.map(((e) => {
|
|
1395
1409
|
const o = performance.now();
|
|
1396
1410
|
return Promise.race([e.then(((e) => ({
|
|
@@ -1404,7 +1418,7 @@ async function oe(e, t) {
|
|
|
1404
1418
|
})))]);
|
|
1405
1419
|
var r, i;
|
|
1406
1420
|
})));
|
|
1407
|
-
}(
|
|
1421
|
+
}(a, (null == n ? void 0 : n.timeout) || 5e3, j), c = {}, l = {};
|
|
1408
1422
|
s.forEach(((e, t) => {
|
|
1409
1423
|
var n;
|
|
1410
1424
|
null != e.value && (l[i[t]] = e.value, c[i[t]] = null !== (n = e.elapsed) && void 0 !== n ? n : 0);
|
|
@@ -1435,6 +1449,54 @@ var se = class {
|
|
|
1435
1449
|
}
|
|
1436
1450
|
};
|
|
1437
1451
|
//#endregion
|
|
1452
|
+
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
1453
|
+
/**
|
|
1454
|
+
* Resolves after the browser has had a chance to commit and paint a queued
|
|
1455
|
+
* render.
|
|
1456
|
+
*
|
|
1457
|
+
* Strategy:
|
|
1458
|
+
* - `requestAnimationFrame` callbacks fire BEFORE the paint of the frame
|
|
1459
|
+
* they belong to (per the HTML5 "update the rendering" step). If we
|
|
1460
|
+
* resolve the promise inside a rAF callback, the await-continuation
|
|
1461
|
+
* runs as a microtask immediately after the callback returns — still
|
|
1462
|
+
* before the paint phase of that frame. A caller that then blocks the
|
|
1463
|
+
* main thread (e.g. synchronous WASM `processPhoto`) starves the paint.
|
|
1464
|
+
* - We therefore chain rAF → setTimeout: the rAF fires before frame N's
|
|
1465
|
+
* paint, the setTimeout runs as a macrotask scheduled after frame N's
|
|
1466
|
+
* "update the rendering" step, which the browser will only get to once
|
|
1467
|
+
* the paint actually lands. By the time setTimeout fires, the paint
|
|
1468
|
+
* for the queued render is on screen.
|
|
1469
|
+
* - In environments where rAF never ticks (jsdom, happy-dom, backgrounded
|
|
1470
|
+
* tabs), a parallel `setTimeout` fallback at 100 ms resolves instead.
|
|
1471
|
+
* 100 ms is comfortably longer than two real-browser frames so rAF +
|
|
1472
|
+
* setTimeout wins reliably in any foregrounded browser. (An earlier
|
|
1473
|
+
* implementation raced rAF against a `MessageChannel` macrotask, but
|
|
1474
|
+
* MessageChannel drains immediately after the current task's
|
|
1475
|
+
* microtasks — before the next paint — so it resolved the promise too
|
|
1476
|
+
* early and defeated the whole point of the helper.)
|
|
1477
|
+
*
|
|
1478
|
+
* Lives in infra because it touches browser APIs (`requestAnimationFrame`,
|
|
1479
|
+
* `setTimeout`) that the architecture rules forbid from core. Core modules
|
|
1480
|
+
* that need to yield to the browser render loop should import this helper
|
|
1481
|
+
* directly via its file path.
|
|
1482
|
+
*/
|
|
1483
|
+
function yieldUntilNextPaint() {
|
|
1484
|
+
return new Promise((resolve) => {
|
|
1485
|
+
let resolved = false;
|
|
1486
|
+
const done = () => {
|
|
1487
|
+
if (resolved) return;
|
|
1488
|
+
resolved = true;
|
|
1489
|
+
resolve();
|
|
1490
|
+
};
|
|
1491
|
+
if (typeof requestAnimationFrame === "function") requestAnimationFrame(() => {
|
|
1492
|
+
requestAnimationFrame(() => {
|
|
1493
|
+
setTimeout(done, 0);
|
|
1494
|
+
});
|
|
1495
|
+
});
|
|
1496
|
+
setTimeout(done, 100);
|
|
1497
|
+
});
|
|
1498
|
+
}
|
|
1499
|
+
//#endregion
|
|
1438
1500
|
//#region ../infra/src/providers/browser/thumbmarkAdapter.ts
|
|
1439
1501
|
/**
|
|
1440
1502
|
* Adapter for @thumbmarkjs/thumbmarkjs. Single point of dependency so bundlers
|
|
@@ -1456,7 +1518,10 @@ const THUMBMARK_ALGORITHM = {
|
|
|
1456
1518
|
* read. It also stops upstream's 1-in-10 000 telemetry POST to
|
|
1457
1519
|
* api.thumbmarkjs.com. Re-check this when bumping the dependency.
|
|
1458
1520
|
*/
|
|
1459
|
-
const THUMBMARK_OPTIONS = {
|
|
1521
|
+
const THUMBMARK_OPTIONS = {
|
|
1522
|
+
logging: false,
|
|
1523
|
+
yield: yieldUntilNextPaint
|
|
1524
|
+
};
|
|
1460
1525
|
async function getThumbmarkId() {
|
|
1461
1526
|
return (await new se(THUMBMARK_OPTIONS).get()).thumbmark;
|
|
1462
1527
|
}
|
|
@@ -1610,7 +1675,9 @@ function formatBrowser(browser) {
|
|
|
1610
1675
|
}
|
|
1611
1676
|
async function submitDeviceFingerprint(options = {}, dependencies) {
|
|
1612
1677
|
const { disableIpify = false, hostingApp, signal } = options;
|
|
1678
|
+
const token = getToken();
|
|
1613
1679
|
const fingerprint = await dependencies.fingerprintProvider.getFingerprint(disableIpify);
|
|
1680
|
+
if (getToken() !== token || dependencies.isCurrentSession?.() === false) throw new Error("Session changed during fingerprint collection");
|
|
1614
1681
|
const hasLiedBrowser = isBrowserSimulation(dependencies.browserEnv);
|
|
1615
1682
|
const payload = {
|
|
1616
1683
|
hash: fingerprint.visitorId || "",
|
|
@@ -1851,7 +1918,8 @@ async function submitSessionFingerprint(fingerprintProvider, options, settled) {
|
|
|
1851
1918
|
if (fingerprintProvider) try {
|
|
1852
1919
|
const result = await submitDeviceFingerprint(options, {
|
|
1853
1920
|
fingerprintProvider,
|
|
1854
|
-
browserEnv: new BrowserEnvironmentProvider()
|
|
1921
|
+
browserEnv: new BrowserEnvironmentProvider(),
|
|
1922
|
+
isCurrentSession: isCurrent
|
|
1855
1923
|
});
|
|
1856
1924
|
if (isCurrent()) {
|
|
1857
1925
|
cachedFingerprintResult = result;
|
|
@@ -1903,4 +1971,4 @@ function resetSessionInit() {
|
|
|
1903
1971
|
resetDeviceStatsQueue();
|
|
1904
1972
|
}
|
|
1905
1973
|
//#endregion
|
|
1906
|
-
export { getThumbmarkId as _, resetSessionInit as a, whenSessionFingerprintSettled as c, resetStandaloneFlowPolicy as d, resolveStandaloneFlowPolicy as f, IpifyProvider as g, getFingerprint as h, initializeSession as i, getStandaloneFlowPolicy as l, isBrowserSimulation as m, getFingerprintEnabled as n, setClientFingerprintEnabled as o, setStandaloneFlowPolicy as p, getSessionFingerprintResult as r, setClientIpLookupEnabled as s, getDisableIpify as t, registerFlowPreloader as u,
|
|
1974
|
+
export { getThumbmarkId as _, resetSessionInit as a, BrowserEnvironmentProvider as b, whenSessionFingerprintSettled as c, resetStandaloneFlowPolicy as d, resolveStandaloneFlowPolicy as f, IpifyProvider as g, getFingerprint as h, initializeSession as i, getStandaloneFlowPolicy as l, isBrowserSimulation as m, getFingerprintEnabled as n, setClientFingerprintEnabled as o, setStandaloneFlowPolicy as p, getSessionFingerprintResult as r, setClientIpLookupEnabled as s, getDisableIpify as t, registerFlowPreloader as u, yieldUntilNextPaint as v, getDeviceFingerprintInfo as y };
|
|
@@ -2,16 +2,16 @@ import { d as deriveSiblingJsPath, f as WASM_MODEL_FILES } from "./wasmWebClient
|
|
|
2
2
|
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-BOM-sD-6.esm.js";
|
|
3
3
|
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-Dp9m6aOh.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-DJHtBpsz.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, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-
|
|
8
|
+
import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-CGUA9dm6.esm.js";
|
|
9
9
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
10
|
-
import { a as resetSessionInit, d as resetStandaloneFlowPolicy, f as resolveStandaloneFlowPolicy, i as initializeSession, o as setClientFingerprintEnabled, p as setStandaloneFlowPolicy, s as setClientIpLookupEnabled, u as registerFlowPreloader
|
|
10
|
+
import { a as resetSessionInit, b as BrowserEnvironmentProvider, d as resetStandaloneFlowPolicy, f as resolveStandaloneFlowPolicy, i as initializeSession, o as setClientFingerprintEnabled, p as setStandaloneFlowPolicy, s as setClientIpLookupEnabled, u as registerFlowPreloader } from "./sessionInitializer-BpyJ5y2B.esm.js";
|
|
11
11
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
12
12
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
13
13
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
14
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
14
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-Nv0vz_a6.esm.js";
|
|
15
15
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
16
16
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
17
17
|
/** The WASM version bundled and tested with this SDK release. */
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWa
|
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BRy4YQdU.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
|
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
|
|
|
1320
1320
|
* the service's prewarm).
|
|
1321
1321
|
*/
|
|
1322
1322
|
function loadDiagnosticsCryptoProvider() {
|
|
1323
|
-
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-
|
|
1323
|
+
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-DGdx3emH.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
|
|
1324
1324
|
return cryptoProviderPromise;
|
|
1325
1325
|
}
|
|
1326
1326
|
/**
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BQ5-0CB6.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-Dp9m6aOh.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-D3B9mUHh.esm.js";
|
|
6
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-Nv0vz_a6.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
|
|
11
|
-
import { i as CameraCompositor } from "./idCaptureDefaults-
|
|
11
|
+
import { i as CameraCompositor } from "./idCaptureDefaults-DO_iW674.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.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-Dn4l6XzJ.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieWasm.ts
|
|
16
16
|
function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
|
package/dist/{videoSelfieCameraWarmer-Gcgw9ze7.esm.js → videoSelfieCameraWarmer-Dn4l6XzJ.esm.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
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-D3B9mUHh.esm.js";
|
|
4
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-Nv0vz_a6.esm.js";
|
|
5
5
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
6
6
|
import { t as checkPermission } from "./permissionServices-f7nBnW5P.esm.js";
|
|
7
|
-
import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
7
|
+
import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-C10QzrYa.esm.js";
|
|
8
8
|
import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
|
|
9
9
|
import { n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
|
|
10
10
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
11
11
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
12
12
|
import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-C6gC06J7.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
14
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
14
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DO_iW674.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
16
16
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
|
17
17
|
return (await api.post(endpoint, { base64Image })).data;
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as WASM_MODEL_FILES, h as WASM_PIPELINE_MODEL_NAMES, p as WASM_PIPELINE_LAZY_MODEL_NAMES } from "./wasmWebClient-BJCaFeBL.esm.js";
|
|
2
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-
|
|
2
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-BQ5-0CB6.esm.js";
|
|
3
3
|
import { o as warmupWasm } from "./warmup-BOM-sD-6.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DJHtBpsz.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-CGUA9dm6.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BpyJ5y2B.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-DsGq8I1L.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-Nv0vz_a6.esm.js";
|
|
9
9
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-Bf6B6pEU.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-BHxehiJZ.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CTCuMCty.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BBD5h8c4.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-DbUmqWgV.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-DvUPC_8S.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-qZVgkKgP.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-CPizkpcg.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dz0LqEEn.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-Dzf-Pbdt.esm.js";
|
|
23
23
|
import { t as ekycMachine } from "./ekycStateMachine-CmdW2gVm.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-CyPFZ7dW.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-CV3OsU5z.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CBELAdUH.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-jl8LJKCo.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-DvOby3a-.esm.js";
|
|
29
29
|
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DEzgjz7C.esm.js";
|
|
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DSD
|
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-33UvRAHE.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-v3otpT-L.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-BHPwkJZS.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DIZOaCem.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-D1ZnEqdd.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-BPGrQZEm.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-BUc5FXYy.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-CTbI_iTT.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BvxjSxjZ.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|