@incodetech/core 0.0.0-dev-20260727-4e22043f → 0.0.0-dev-20260728-bbd74326
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/{Face2DProvider-xWUeSJZI.esm.js → Face2DProvider-BZCsS_sf.esm.js} +16 -4
- package/dist/PrivacyLensProvider-DA3rp6sf.esm.js +727 -0
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CqcUarZL.esm.js → authenticationManager-DAAdpM_f.esm.js} +2 -2
- package/dist/{authenticationManager-Ce1nLm5y.d.ts → authenticationManager-DqyCzK3H.d.ts} +1 -1
- package/dist/{authenticationStateMachine-C65ym-xr.esm.js → authenticationStateMachine-oxArsYdg.esm.js} +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/avatarStats-BIB3SREM.esm.js +146 -0
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/{createFaceAvatar-CwVapQiu.esm.js → createFaceAvatar-x5aaJwVM.esm.js} +2 -2
- package/dist/{deepsightLoader-P9BYMXpo.esm.js → deepsightLoader-Dlc_Weco.esm.js} +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-viscdI3d.esm.js → ekybManager-C8D2E58Z.esm.js} +1 -1
- package/dist/{ekybStateMachine-DR_8mE1j.esm.js → ekybStateMachine-vndKNS03.esm.js} +1 -1
- package/dist/extensibility.d.ts +8 -8
- package/dist/extensibility.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-BUE6z9iY.d.ts → faceCaptureManagerFactory-BpVpExwX.d.ts} +0 -6
- package/dist/{faceCaptureManagerFactory-BVZ3fonQ.esm.js → faceCaptureManagerFactory-C6IocH9G.esm.js} +1 -2
- package/dist/{faceCaptureSetup-DWPFfh6J.esm.js → faceCaptureSetup-6sVLFiOS.esm.js} +3 -11
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-DR1uBo_E.esm.js → flowServices-Cr7_BFYP.esm.js} +2 -2
- package/dist/id-ocr.d.ts +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-DZjNKCN0.esm.js → idCaptureManager-DmGinDs-.esm.js} +4 -3
- package/dist/{idCaptureManager-CtsYvX-Z.d.ts → idCaptureManager-DmVmaxd9.d.ts} +1 -2
- package/dist/{idCaptureStateMachine-CXMJ1Yjg.esm.js → idCaptureStateMachine-B-txehAH.esm.js} +25 -23
- package/dist/{idOcrManager-DlYG277_.d.ts → idOcrManager-5vi0uwLZ.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-BobEyNBc.d.ts → mandatoryConsentManager-Ck2e2W4o.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-Ck6PjuaN.esm.js → onDeviceFaceResults-CWYb5Pry.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-C37o41ar.esm.js → recordingService-CWs4c_bi.esm.js} +1 -1
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-CUSnS_Ty.esm.js → selfieManager-BG79dEch.esm.js} +2 -2
- package/dist/{selfieManager-LabfZln4.d.ts → selfieManager-DR-EIsRb.d.ts} +1 -1
- package/dist/{selfieStateMachine-CSTR3bTY.esm.js → selfieStateMachine-DIhTwBBG.esm.js} +2 -2
- package/dist/session-5JaQ3ELc.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-B_GKYIAU.esm.js → sessionInitializer-CMwm-WD5.esm.js} +1 -1
- package/dist/{setup-Dr_yQTok.esm.js → setup-DOqvwH5q.esm.js} +2 -2
- package/dist/{types-D0ohdBDu.d.ts → types-DByREvr1.d.ts} +2 -4
- package/dist/video-selfie.esm.js +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +6 -6
- package/package.json +3 -3
- package/dist/PrivacyLensProvider-BrYSd1dr.esm.js +0 -336
- package/dist/session-DTuRfMtr.esm.js +0 -1
- /package/dist/{types-CBJI9n6h.d.ts → types-CBJI9n6h2.d.ts} +0 -0
package/dist/{idCaptureStateMachine-CXMJ1Yjg.esm.js → idCaptureStateMachine-B-txehAH.esm.js}
RENAMED
|
@@ -3,20 +3,20 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
|
3
3
|
import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-CMwm-WD5.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
8
|
-
import "./session-
|
|
8
|
+
import "./session-5JaQ3ELc.esm.js";
|
|
9
9
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
11
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
12
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
12
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
|
|
13
13
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
14
14
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
15
15
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
16
16
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
17
17
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
18
18
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
19
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
19
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CWs4c_bi.esm.js";
|
|
20
20
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
|
|
21
21
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
22
22
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1506,10 +1506,6 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
|
|
|
1506
1506
|
provider: {
|
|
1507
1507
|
processFrame: async (frame) => {
|
|
1508
1508
|
currentCanvas = IncodeCanvas.fromImageData(frame);
|
|
1509
|
-
sendBack({
|
|
1510
|
-
type: "DETECTION_FRAME",
|
|
1511
|
-
frame
|
|
1512
|
-
});
|
|
1513
1509
|
await provider.processFrame(frame);
|
|
1514
1510
|
},
|
|
1515
1511
|
reset: () => {
|
|
@@ -1525,11 +1521,7 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
|
|
|
1525
1521
|
lastReportedSide = null;
|
|
1526
1522
|
provider.reset();
|
|
1527
1523
|
}
|
|
1528
|
-
}
|
|
1529
|
-
onFrame: (frame) => sendBack({
|
|
1530
|
-
type: "DETECTION_FRAME",
|
|
1531
|
-
frame
|
|
1532
|
-
})
|
|
1524
|
+
}
|
|
1533
1525
|
});
|
|
1534
1526
|
sendBack({
|
|
1535
1527
|
type: "DETECTION_RESET_READY",
|
|
@@ -1542,6 +1534,13 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
|
|
|
1542
1534
|
session?.dispose();
|
|
1543
1535
|
};
|
|
1544
1536
|
});
|
|
1537
|
+
const uploadProgressTickerActor = fromCallback(({ sendBack }) => {
|
|
1538
|
+
const timer = BrowserTimerProvider.getInstance();
|
|
1539
|
+
const interval = timer.setInterval(() => {
|
|
1540
|
+
sendBack({ type: "UPLOAD_PROGRESS_TICK" });
|
|
1541
|
+
}, 400);
|
|
1542
|
+
return () => timer.clearInterval(interval);
|
|
1543
|
+
});
|
|
1545
1544
|
const uploadIdImageActor = fromPromise(async ({ input, signal }) => {
|
|
1546
1545
|
const image = input.canvas.getBase64Image();
|
|
1547
1546
|
if (!image) throw new Error(ID_ERROR_CODES.UPLOAD_ERROR);
|
|
@@ -1615,7 +1614,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1615
1614
|
});
|
|
1616
1615
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1617
1616
|
if (!input.dependencies) return;
|
|
1618
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1617
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Dlc_Weco.esm.js");
|
|
1619
1618
|
return loadDeepsightSession({
|
|
1620
1619
|
ds: input.ds,
|
|
1621
1620
|
storage: input.dependencies.storage,
|
|
@@ -1927,6 +1926,7 @@ const idCaptureMachine = setup({
|
|
|
1927
1926
|
initializeCamera: initializeCameraActor,
|
|
1928
1927
|
runDetection: runDetectionActor,
|
|
1929
1928
|
uploadIdImage: uploadIdImageActor,
|
|
1929
|
+
uploadProgressTicker: uploadProgressTickerActor,
|
|
1930
1930
|
processId: processIdActor,
|
|
1931
1931
|
submitBarcode: submitBarcodeActor,
|
|
1932
1932
|
startRecording: startRecordingActor,
|
|
@@ -1963,7 +1963,6 @@ const idCaptureMachine = setup({
|
|
|
1963
1963
|
resetDetection: void 0,
|
|
1964
1964
|
idType: void 0,
|
|
1965
1965
|
qualityElements: void 0,
|
|
1966
|
-
debugFrame: void 0,
|
|
1967
1966
|
frameRect: void 0,
|
|
1968
1967
|
previewImageUrl: void 0,
|
|
1969
1968
|
uploadProgress: void 0,
|
|
@@ -1988,7 +1987,6 @@ const idCaptureMachine = setup({
|
|
|
1988
1987
|
resetDetection: void 0,
|
|
1989
1988
|
idType: void 0,
|
|
1990
1989
|
qualityElements: void 0,
|
|
1991
|
-
debugFrame: void 0,
|
|
1992
1990
|
frameRect: void 0,
|
|
1993
1991
|
previewImageUrl: void 0,
|
|
1994
1992
|
uploadProgress: void 0,
|
|
@@ -2011,7 +2009,6 @@ const idCaptureMachine = setup({
|
|
|
2011
2009
|
resetDetection: void 0,
|
|
2012
2010
|
idType: void 0,
|
|
2013
2011
|
qualityElements: void 0,
|
|
2014
|
-
debugFrame: void 0,
|
|
2015
2012
|
frameRect: void 0,
|
|
2016
2013
|
previewImageUrl: void 0,
|
|
2017
2014
|
uploadProgress: void 0,
|
|
@@ -2193,7 +2190,6 @@ const idCaptureMachine = setup({
|
|
|
2193
2190
|
resetDetection: void 0,
|
|
2194
2191
|
idType: void 0,
|
|
2195
2192
|
qualityElements: void 0,
|
|
2196
|
-
debugFrame: void 0,
|
|
2197
2193
|
frameRect: void 0,
|
|
2198
2194
|
detectionArea: void 0,
|
|
2199
2195
|
previewImageUrl: void 0,
|
|
@@ -2604,7 +2600,6 @@ const idCaptureMachine = setup({
|
|
|
2604
2600
|
}],
|
|
2605
2601
|
on: {
|
|
2606
2602
|
DETECTION_UPDATE: { actions: "setDetectionStatus" },
|
|
2607
|
-
DETECTION_FRAME: { actions: assign({ debugFrame: ({ event }) => event.frame }) },
|
|
2608
2603
|
DETECTION_RESET_READY: { actions: assign({ resetDetection: ({ event }) => event.reset }) },
|
|
2609
2604
|
DETECTION_SUCCESS: {
|
|
2610
2605
|
target: "capturing",
|
|
@@ -2683,7 +2678,10 @@ const idCaptureMachine = setup({
|
|
|
2683
2678
|
},
|
|
2684
2679
|
uploading: {
|
|
2685
2680
|
entry: assign({ uploadProgress: () => 0 }),
|
|
2686
|
-
invoke: {
|
|
2681
|
+
invoke: [{
|
|
2682
|
+
id: "uploadProgressTicker",
|
|
2683
|
+
src: "uploadProgressTicker"
|
|
2684
|
+
}, {
|
|
2687
2685
|
id: "uploadIdImage",
|
|
2688
2686
|
src: "uploadIdImage",
|
|
2689
2687
|
input: ({ context, self }) => {
|
|
@@ -2712,7 +2710,7 @@ const idCaptureMachine = setup({
|
|
|
2712
2710
|
};
|
|
2713
2711
|
},
|
|
2714
2712
|
onDone: {
|
|
2715
|
-
target: "
|
|
2713
|
+
target: "uploadCompleted",
|
|
2716
2714
|
actions: [assign({
|
|
2717
2715
|
uploadResponse: ({ event }) => event.output,
|
|
2718
2716
|
uploadProgress: () => 100,
|
|
@@ -2726,9 +2724,13 @@ const idCaptureMachine = setup({
|
|
|
2726
2724
|
attemptsRemaining: context.attemptsRemaining - 1
|
|
2727
2725
|
}))
|
|
2728
2726
|
}
|
|
2729
|
-
},
|
|
2730
|
-
on: {
|
|
2727
|
+
}],
|
|
2728
|
+
on: {
|
|
2729
|
+
UPLOAD_PROGRESS: { actions: assign({ uploadProgress: ({ context, event }) => Math.max(context.uploadProgress ?? 0, Math.round(event.progress / 100 * 80)) }) },
|
|
2730
|
+
UPLOAD_PROGRESS_TICK: { actions: assign({ uploadProgress: ({ context }) => Math.min(95, (context.uploadProgress ?? 0) + 1) }) }
|
|
2731
|
+
}
|
|
2731
2732
|
},
|
|
2733
|
+
uploadCompleted: { after: { [800]: { target: "validatingUpload" } } },
|
|
2732
2734
|
validatingUpload: { always: [
|
|
2733
2735
|
{
|
|
2734
2736
|
target: "uploadError",
|
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-
|
|
5
|
+
import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-CBJI9n6h2.js";
|
|
6
6
|
//#region src/modules/id-ocr/idOcrStateMachine.d.ts
|
|
7
7
|
type IdOcrOcrDocument = 'first' | 'second';
|
|
8
8
|
type IdOcrContext = {
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-DOqvwH5q.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-BQgIv5p8.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-Ck2e2W4o.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BobEyNBc.d.ts → mandatoryConsentManager-Ck2e2W4o.d.ts}
RENAMED
|
@@ -61,14 +61,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
61
61
|
type: "clearError";
|
|
62
62
|
params: NonReducibleUnknown;
|
|
63
63
|
};
|
|
64
|
-
resetContext: {
|
|
65
|
-
type: "resetContext";
|
|
66
|
-
params: NonReducibleUnknown;
|
|
67
|
-
};
|
|
68
64
|
toggleSigned: {
|
|
69
65
|
type: "toggleSigned";
|
|
70
66
|
params: NonReducibleUnknown;
|
|
71
67
|
};
|
|
68
|
+
resetContext: {
|
|
69
|
+
type: "resetContext";
|
|
70
|
+
params: NonReducibleUnknown;
|
|
71
|
+
};
|
|
72
72
|
}>, {
|
|
73
73
|
type: "canSubmit";
|
|
74
74
|
params: unknown;
|
|
@@ -516,7 +516,7 @@ async function stopRecording(session) {
|
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
async function initializeDeepsightSession(options) {
|
|
519
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
519
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Dlc_Weco.esm.js");
|
|
520
520
|
return loadDeepsightSession({
|
|
521
521
|
ds: options.ds,
|
|
522
522
|
storage: options.storage
|
package/dist/personhood.esm.js
CHANGED
|
@@ -4,13 +4,13 @@ import { t as api } from "./api-BDTZNnca.esm.js";
|
|
|
4
4
|
import { a as createApi$1, t as getStoredHttpConfig } from "./clientLifecycle-BX83zwtT.esm.js";
|
|
5
5
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
7
|
-
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
7
|
+
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CMwm-WD5.esm.js";
|
|
8
8
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
10
10
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
12
12
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
13
|
-
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
13
|
+
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region ../infra/src/crypto/randomUUID.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
|
|
6
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
7
7
|
async function flagFaceManualReview() {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { a as SelfieCaptureOnlyMachine, c as SelfieActor, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { a as SelfieCaptureOnlyMachine, c as SelfieActor, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine } from "./faceCaptureManagerFactory-BpVpExwX.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
5
5
|
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-DMMk51Ec.js";
|
|
6
6
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
7
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-DR-EIsRb.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-6sVLFiOS.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C6IocH9G.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-BAEYvNVr.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-DIhTwBBG.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BG79dEch.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C6IocH9G.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DIhTwBBG.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BpVpExwX.js";
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
5
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
6
6
|
type ProcessFaceResponse = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-6sVLFiOS.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
|
|
7
7
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./sessionInitializer-CMwm-WD5.esm.js";
|
package/dist/session.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession } from "./sessionInitializer-CMwm-WD5.esm.js";
|
|
4
4
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-5JaQ3ELc.esm.js";
|
|
6
6
|
import { n as getFinishStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
8
8
|
/**
|
|
@@ -1614,7 +1614,7 @@ function isBrowserSimulation(browserEnv) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
//#endregion
|
|
1616
1616
|
//#region src/internal/version/sdkVersion.ts
|
|
1617
|
-
const SDK_VERSION = "0.0.0-dev-
|
|
1617
|
+
const SDK_VERSION = "0.0.0-dev-20260728-bbd74326";
|
|
1618
1618
|
//#endregion
|
|
1619
1619
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
1620
1620
|
function formatOsVersion(os) {
|
|
@@ -7,9 +7,9 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
|
|
|
7
7
|
import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
9
9
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
10
|
-
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy } from "./sessionInitializer-
|
|
10
|
+
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy } from "./sessionInitializer-CMwm-WD5.esm.js";
|
|
11
11
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
12
|
-
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-
|
|
12
|
+
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-Cr7_BFYP.esm.js";
|
|
13
13
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
14
14
|
var BrowserPageLifecycleProvider = class {
|
|
15
15
|
sendBeacon(url, body, contentType = "application/json") {
|
|
@@ -588,7 +588,6 @@ type IdCaptureContext = {
|
|
|
588
588
|
glare?: number;
|
|
589
589
|
sharpness?: number;
|
|
590
590
|
} | undefined;
|
|
591
|
-
debugFrame: ImageData | undefined;
|
|
592
591
|
frameRect: {
|
|
593
592
|
x: number;
|
|
594
593
|
y: number;
|
|
@@ -634,9 +633,6 @@ type IdCaptureEvent = {
|
|
|
634
633
|
} | {
|
|
635
634
|
type: 'DETECTION_UPDATE';
|
|
636
635
|
status: DetectionStatus;
|
|
637
|
-
} | {
|
|
638
|
-
type: 'DETECTION_FRAME';
|
|
639
|
-
frame: ImageData;
|
|
640
636
|
} | {
|
|
641
637
|
type: 'DETECTION_SUCCESS';
|
|
642
638
|
canvas: IncodeCanvas;
|
|
@@ -687,6 +683,8 @@ type IdCaptureEvent = {
|
|
|
687
683
|
} | {
|
|
688
684
|
type: 'UPLOAD_PROGRESS';
|
|
689
685
|
progress: number;
|
|
686
|
+
} | {
|
|
687
|
+
type: 'UPLOAD_PROGRESS_TICK';
|
|
690
688
|
} | {
|
|
691
689
|
type: 'SET_FRAME_RECT';
|
|
692
690
|
frameRect: {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-DOqvwH5q.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
6
|
-
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-Cr7_BFYP.esm.js";
|
|
7
7
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
9
9
|
import { t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
10
10
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
|
|
12
12
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
13
13
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
14
14
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as warmupWasm } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-B4DUtYET.esm.js";
|
|
3
|
-
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-DOqvwH5q.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.d.ts
CHANGED
|
@@ -320,10 +320,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
320
320
|
id: string | undefined;
|
|
321
321
|
};
|
|
322
322
|
}>, Values<{
|
|
323
|
-
setError: {
|
|
324
|
-
type: "setError";
|
|
325
|
-
params: NonReducibleUnknown;
|
|
326
|
-
};
|
|
327
323
|
setLoadingResult: {
|
|
328
324
|
type: "setLoadingResult";
|
|
329
325
|
params: NonReducibleUnknown;
|
|
@@ -352,6 +348,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
352
348
|
type: "setFinishStatusFailed";
|
|
353
349
|
params: NonReducibleUnknown;
|
|
354
350
|
};
|
|
351
|
+
setError: {
|
|
352
|
+
type: "setError";
|
|
353
|
+
params: NonReducibleUnknown;
|
|
354
|
+
};
|
|
355
355
|
setModuleError: {
|
|
356
356
|
type: "setModuleError";
|
|
357
357
|
params: NonReducibleUnknown;
|
package/dist/workflow.esm.js
CHANGED
|
@@ -2,27 +2,27 @@ import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.
|
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CMwm-WD5.esm.js";
|
|
6
6
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
7
|
-
import { g as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { g as toEkybConfig } from "./flowServices-Cr7_BFYP.esm.js";
|
|
8
8
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
9
9
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
11
|
import { n as electronicSignatureMachine } from "./electronicSignatureManager-BXIpAJ5m.esm.js";
|
|
12
12
|
import "./ae-signature.esm.js";
|
|
13
13
|
import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
|
|
14
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
14
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-oxArsYdg.esm.js";
|
|
15
15
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
|
|
16
16
|
import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
|
|
17
17
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
|
|
18
18
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
|
|
19
19
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
|
|
20
20
|
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BQqAwNQ-.esm.js";
|
|
21
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-vndKNS03.esm.js";
|
|
22
22
|
import { t as ekycMachine } from "./ekycStateMachine-DRbbavZy.esm.js";
|
|
23
23
|
import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
|
|
24
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
25
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
24
|
+
import { t as selfieMachine } from "./selfieStateMachine-DIhTwBBG.esm.js";
|
|
25
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-B-txehAH.esm.js";
|
|
26
26
|
import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
|
|
27
27
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
|
|
28
28
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BP3npRnI.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-20260728-bbd74326",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -281,8 +281,8 @@
|
|
|
281
281
|
"tsdown": "^0.22.8",
|
|
282
282
|
"typescript": "^5.9.3",
|
|
283
283
|
"vitest": "4.1.4",
|
|
284
|
-
"@incodetech/
|
|
285
|
-
"@incodetech/
|
|
284
|
+
"@incodetech/infra": "1.2.0",
|
|
285
|
+
"@incodetech/config": "1.0.2"
|
|
286
286
|
},
|
|
287
287
|
"scripts": {
|
|
288
288
|
"build": "tsdown -c tsdown.config.ts",
|