@incodetech/core 0.0.0-dev-20260716-ab304429 → 0.0.0-dev-20260716-2b4f5edb
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/ae-signature.d.ts +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-C6A_gEhH.esm.js → authenticationManager-BVMQTy2C.esm.js} +2 -2
- package/dist/{authenticationStateMachine-MnSqXh8s.esm.js → authenticationStateMachine-DvFeGMIc.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-DLOyIZzt.d.ts → consentManager-2h_w6wFc.d.ts} +4 -4
- package/dist/{deepsightLoader-Dnd7Rajk.esm.js → deepsightLoader-BGu6zfoZ.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/{documentCaptureManager-DBqK5ner.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +65 -65
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DbK688m-.esm.js → ekybManager--3WIEWS5.esm.js} +1 -1
- package/dist/{ekybStateMachine-BmvMrUpO.esm.js → ekybStateMachine-B870YzwX.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +7 -7
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-BkuqYPE9.esm.js → faceCaptureManagerFactory-CDpqsxiU.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CJo_MFLc.esm.js → faceCaptureSetup-BXueiZo8.esm.js} +2 -2
- package/dist/{faceMatchManager-B7jlv77Q.esm.js → faceMatchManager-9rtJXjS-.esm.js} +1 -1
- package/dist/{faceMatchManager-CJQG1W1u.d.ts → faceMatchManager-BnvrZM2F.d.ts} +10 -0
- package/dist/{faceMatchStateMachine-DD7FxtUj.esm.js → faceMatchStateMachine-BfzusGo1.esm.js} +8 -1
- package/dist/flow.d.ts +2 -1
- package/dist/flow.esm.js +20 -6
- package/dist/{flowServices-DtiBvqZ6.esm.js → flowServices-DL7qnTQR.esm.js} +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-BFMN4aac.esm.js → idCaptureManager-BoLeZff7.esm.js} +5 -2
- package/dist/{idCaptureManager-CSGbGORT.d.ts → idCaptureManager-Cmcwu1iM.d.ts} +31 -1
- package/dist/{idCaptureStateMachine-DSVttQgS.esm.js → idCaptureStateMachine-D2H3vwwf.esm.js} +34 -6
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-BlB4bX6_.d.ts → mandatoryConsentManager-B2gRcE_x.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-Dtx5mUa3.esm.js → onDeviceFaceResults-4ODIm8fO.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/qe-signature.d.ts +1 -2
- package/dist/{recordingService-CCavy7bJ.esm.js → recordingService-CkLJ00Pw.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-BZFO5-P9.esm.js → selfieManager-C_ynxeGZ.esm.js} +2 -2
- package/dist/{selfieStateMachine-DjaHbMKZ.esm.js → selfieStateMachine-CFqYKJFF.esm.js} +2 -2
- package/dist/session-CThOl8m5.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-D3TaaDyZ.esm.js → sessionInitializer-B6n-FYf7.esm.js} +1 -1
- package/dist/{setup-Bdtm4xAl.esm.js → setup-CeQfb7bE.esm.js} +1 -1
- package/dist/video-selfie.esm.js +2 -2
- 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/session-BadmZmbK.esm.js +0 -1
- /package/dist/{electronicSignatureManager-CKbmDFNq.d.ts → index-CKbmDFNq.d.ts} +0 -0
package/dist/flow.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as addEvent } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
4
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DL7qnTQR.esm.js";
|
|
5
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
|
|
6
6
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
@@ -355,7 +355,8 @@ function createBaseContext(context, isHomeContinueLoading) {
|
|
|
355
355
|
getFinishStatus: context.getFinishStatus,
|
|
356
356
|
enableHome: context.enableHome,
|
|
357
357
|
finishStatus: void 0,
|
|
358
|
-
isHomeContinueLoading
|
|
358
|
+
isHomeContinueLoading,
|
|
359
|
+
skipFaceMatch: false
|
|
359
360
|
};
|
|
360
361
|
}
|
|
361
362
|
function createInitialContext(input) {
|
|
@@ -440,7 +441,11 @@ const orchestratedFlowMachine = setup({
|
|
|
440
441
|
incrementStep: assign(({ context }) => {
|
|
441
442
|
const nextIndex = context.currentStepIndex + 1;
|
|
442
443
|
const module = context.flow?.flowModules?.[nextIndex];
|
|
443
|
-
const
|
|
444
|
+
const baseConfig = getModuleConfig(module, context.flow);
|
|
445
|
+
const config = module?.key === "FACE_MATCH" && context.skipFaceMatch === true ? {
|
|
446
|
+
...baseConfig,
|
|
447
|
+
skipFaceMatch: true
|
|
448
|
+
} : baseConfig;
|
|
444
449
|
return {
|
|
445
450
|
currentStepIndex: nextIndex,
|
|
446
451
|
currentStep: module?.key,
|
|
@@ -448,6 +453,12 @@ const orchestratedFlowMachine = setup({
|
|
|
448
453
|
currentModuleMachine: void 0
|
|
449
454
|
};
|
|
450
455
|
}),
|
|
456
|
+
persistSkipFaceMatch: assign(({ context, event }) => {
|
|
457
|
+
const isPrimaryIdStep = context.currentStep === "ID" || context.currentStep === "TUTORIAL_ID";
|
|
458
|
+
const out = event.output;
|
|
459
|
+
if (!isPrimaryIdStep) return {};
|
|
460
|
+
return { skipFaceMatch: out?.skipFaceMatch ?? context.skipFaceMatch };
|
|
461
|
+
}),
|
|
451
462
|
setCurrentModuleMachine: assign(({ event }) => ({ currentModuleMachine: event.output })),
|
|
452
463
|
prefetchNextModule: ({ context }) => {
|
|
453
464
|
prefetchNextLazyModule(context);
|
|
@@ -609,7 +620,7 @@ const orchestratedFlowMachine = setup({
|
|
|
609
620
|
},
|
|
610
621
|
{
|
|
611
622
|
target: "resolvingModule",
|
|
612
|
-
actions: "incrementStep"
|
|
623
|
+
actions: ["persistSkipFaceMatch", "incrementStep"]
|
|
613
624
|
}
|
|
614
625
|
],
|
|
615
626
|
MODULE_ERROR: [
|
|
@@ -845,9 +856,12 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
|
|
|
845
856
|
* />
|
|
846
857
|
* ```
|
|
847
858
|
*/
|
|
848
|
-
completeModule() {
|
|
859
|
+
completeModule(output) {
|
|
849
860
|
trackElementClicked?.("completeModule");
|
|
850
|
-
actor.send({
|
|
861
|
+
actor.send({
|
|
862
|
+
type: "MODULE_COMPLETE",
|
|
863
|
+
output
|
|
864
|
+
});
|
|
851
865
|
},
|
|
852
866
|
/**
|
|
853
867
|
* Skip all remaining modules and complete the flow now, notifying the
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-COvIGYWe.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-CThOl8m5.esm.js";
|
|
6
6
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
|
|
7
7
|
//#region src/modules/flow/flowUtils.ts
|
|
8
8
|
const WASM_MODULE_PIPELINES = {
|
package/dist/id.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
4
4
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
5
|
-
import { A as
|
|
5
|
+
import { A as IdCaptureThresholds, B as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, C as IdCaptureDependencies, D as IdCaptureMode, E as IdCaptureInput, F as IdFlowStep, G as DetectionOrientation, H as ManualUploadContext, I as RecordingSession, K as IIdCaptureCapability, L as UploadIdResponse, M as IdDocumentType, N as IdError, O as IdCaptureOnlyConfig, P as IdErrorCode, R as IAnalyticsCapability, S as IdCaptureContext, T as IdCaptureGeometry, U as ManualUploadSide, V as MANUAL_UPLOAD_MAX_RETRIES, W as ManualUploadTab, _ as CapturedImage, a as CreateIdCaptureOnlyActorOptions, b as ID_ERROR_CODES, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as CaptureOnlyResponse, h as CaptureIdResponse, j as IdCapturedImageData, k as IdCaptureOutput, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, q as IdCaptureSettings, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as DetectionArea, w as IdCaptureEvent, x as IdCaptureConfig, y as DetectionStatus, z as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS } from "./idCaptureManager-Cmcwu1iM.js";
|
|
6
6
|
//#region src/modules/id/idCaptureServices.d.ts
|
|
7
7
|
type IdCaptureInitResult = {
|
|
8
8
|
stream: CameraStream;
|
|
@@ -121,4 +121,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
|
|
|
121
121
|
*/
|
|
122
122
|
declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
|
|
123
123
|
//#endregion
|
|
124
|
-
export { type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
|
124
|
+
export { type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
|
2
2
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
5
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-D2H3vwwf.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BoLeZff7.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
|
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DwNCUB2I.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-D2H3vwwf.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
|
@@ -336,7 +336,10 @@ function mapState(snapshot) {
|
|
|
336
336
|
currentMode: context.currentMode
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
if (snapshot.matches("finished")) return {
|
|
339
|
+
if (snapshot.matches("finished")) return {
|
|
340
|
+
status: "finished",
|
|
341
|
+
output: snapshot.output
|
|
342
|
+
};
|
|
340
343
|
if (snapshot.matches("error")) return {
|
|
341
344
|
status: "error",
|
|
342
345
|
error: context.error ?? "Unknown error"
|
|
@@ -644,6 +644,29 @@ type IdCaptureInput = {
|
|
|
644
644
|
analyticsProvider?: IAnalyticsCapability;
|
|
645
645
|
dependencies?: IdCaptureDependencies;
|
|
646
646
|
};
|
|
647
|
+
/**
|
|
648
|
+
* Terminal output of `idCaptureMachine`, read by the Flow orchestrator (via
|
|
649
|
+
* `runChildModule`'s `MODULE_COMPLETE`) to decide downstream module skipping.
|
|
650
|
+
*
|
|
651
|
+
* Declared at the machine ROOT (not on a final state) so it actually populates
|
|
652
|
+
* the actor output in this XState version. It is therefore emitted on EVERY
|
|
653
|
+
* top-level final state (`finished` AND `closed`); `computeIdCaptureOutput`
|
|
654
|
+
* gates the skip on a captured back + no front, so cancel / no-capture paths
|
|
655
|
+
* yield `skipFaceMatch: false`. The `| undefined` branch is a defensive type
|
|
656
|
+
* allowance and is not produced at runtime.
|
|
657
|
+
*/
|
|
658
|
+
type IdCaptureOutput = {
|
|
659
|
+
/** A front-of-ID image was captured this session (an ID face exists). */
|
|
660
|
+
frontIdCaptured: boolean;
|
|
661
|
+
/**
|
|
662
|
+
* Under US Smart Capture, `true` when the ID completed WITHOUT a front
|
|
663
|
+
* image ("no front, no match"): the downstream Face Match step has no ID
|
|
664
|
+
* face to compare the selfie against and should be skipped. Always
|
|
665
|
+
* `false` outside `usSmartCapture` (standard front+back always captures a
|
|
666
|
+
* front). The selfie/face capture itself is unaffected.
|
|
667
|
+
*/
|
|
668
|
+
skipFaceMatch: boolean;
|
|
669
|
+
} | undefined;
|
|
647
670
|
//#endregion
|
|
648
671
|
//#region src/modules/id/idCaptureStateMachine.d.ts
|
|
649
672
|
declare const idCaptureMachine: AnyStateMachine;
|
|
@@ -759,6 +782,13 @@ type IdCaptureExpiredExhaustedState = {
|
|
|
759
782
|
};
|
|
760
783
|
type IdCaptureFinishedState = {
|
|
761
784
|
status: 'finished';
|
|
785
|
+
/**
|
|
786
|
+
* Terminal output of the ID machine — the downstream module-skip signal
|
|
787
|
+
* (e.g. `skipFaceMatch` for the US Smart Capture "no front, no match" path).
|
|
788
|
+
* UI-driven modules don't auto-propagate machine output to the orchestrator,
|
|
789
|
+
* so the UI forwards this to `flowManager.completeModule(output)` on finish.
|
|
790
|
+
*/
|
|
791
|
+
output?: IdCaptureOutput;
|
|
762
792
|
};
|
|
763
793
|
type IdCaptureClosedState = {
|
|
764
794
|
status: 'closed';
|
|
@@ -909,4 +939,4 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
909
939
|
digitalUploadChooseAnother(): void;
|
|
910
940
|
};
|
|
911
941
|
//#endregion
|
|
912
|
-
export {
|
|
942
|
+
export { IdCaptureThresholds as A, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as B, IdCaptureDependencies as C, IdCaptureMode as D, IdCaptureInput as E, IdFlowStep as F, DetectionOrientation as G, ManualUploadContext as H, RecordingSession as I, IIdCaptureCapability as K, UploadIdResponse as L, IdDocumentType as M, IdError as N, IdCaptureOnlyConfig as O, IdErrorCode as P, IAnalyticsCapability as R, IdCaptureContext as S, IdCaptureGeometry as T, ManualUploadSide as U, MANUAL_UPLOAD_MAX_RETRIES as V, ManualUploadTab as W, CapturedImage as _, CreateIdCaptureOnlyActorOptions as a, ID_ERROR_CODES as b, IdCaptureOnlyMachine as c, IdCaptureActor as d, createIdCaptureActor as f, CaptureOnlyResponse as g, CaptureIdResponse as h, createIdCaptureManagerFromActor as i, IdCapturedImageData as j, IdCaptureOutput as k, idCaptureOnlyMachine as l, idCaptureMachine as m, IdCaptureManager as n, IdCaptureOnlyActor as o, IdCaptureMachine as p, IdCaptureSettings as q, IdCaptureState as r, createIdCaptureOnlyActor as s, createIdCaptureManager as t, CreateIdCaptureActorOptions as u, DetectionArea as v, IdCaptureEvent as w, IdCaptureConfig as x, DetectionStatus as y, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as z };
|
package/dist/{idCaptureStateMachine-DSVttQgS.esm.js → idCaptureStateMachine-D2H3vwwf.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-DLQ0g4-R.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
|
|
8
8
|
import { a as and, n as sendTo, r as assign, s as not, 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 { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-4ODIm8fO.esm.js";
|
|
12
12
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
13
13
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
14
14
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
15
15
|
import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
|
|
16
16
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
17
17
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DguX5vFY.esm.js";
|
|
18
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
19
|
-
import "./session-
|
|
18
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CkLJ00Pw.esm.js";
|
|
19
|
+
import "./session-CThOl8m5.esm.js";
|
|
20
20
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-Dzfws4i0.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"]);
|
|
@@ -1220,6 +1220,32 @@ function getManualUploadTabs(config) {
|
|
|
1220
1220
|
showPassportTab
|
|
1221
1221
|
};
|
|
1222
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
* Computes `idCaptureMachine`'s terminal output — the downstream module-skip
|
|
1225
|
+
* signal read by the Flow orchestrator (via `runChildModule`'s `MODULE_COMPLETE`).
|
|
1226
|
+
*
|
|
1227
|
+
* `skipFaceMatch` is set ONLY for the US Smart Capture *camera back-only* path:
|
|
1228
|
+
* a back image was captured on-device (`capturedImages.back`) and no front was
|
|
1229
|
+
* (`!capturedImages.front`) — "no front, no ID face, no match".
|
|
1230
|
+
*
|
|
1231
|
+
* Requiring a captured back is deliberate and load-bearing: the manual-upload
|
|
1232
|
+
* and digital-ID-upload paths submit a full ID (front face present) but do NOT
|
|
1233
|
+
* populate `capturedImages` (only the camera path does). Gating on a captured
|
|
1234
|
+
* back excludes those upload paths so a real ID-vs-selfie match is never
|
|
1235
|
+
* silently skipped. `capturedImages.front`/`forceFrontIdCapture` alone are not
|
|
1236
|
+
* enough (a later front upload clears the request; uploads set neither field).
|
|
1237
|
+
*
|
|
1238
|
+
* Always `false` outside US Smart Capture. The selfie/face capture itself is
|
|
1239
|
+
* unaffected — only the ID-vs-selfie match is skipped.
|
|
1240
|
+
*/
|
|
1241
|
+
function computeIdCaptureOutput(context) {
|
|
1242
|
+
const frontIdCaptured = Boolean(context.capturedImages.front);
|
|
1243
|
+
const backIdCaptured = Boolean(context.capturedImages.back);
|
|
1244
|
+
return {
|
|
1245
|
+
frontIdCaptured,
|
|
1246
|
+
skipFaceMatch: context.config.usSmartCapture === true && backIdCaptured && !frontIdCaptured
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1223
1249
|
//#endregion
|
|
1224
1250
|
//#region src/modules/id/idCaptureActors.ts
|
|
1225
1251
|
const checkPermissionActor = fromPromise(async () => {
|
|
@@ -1522,7 +1548,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1522
1548
|
});
|
|
1523
1549
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1524
1550
|
if (!input.dependencies) return;
|
|
1525
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1551
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BGu6zfoZ.esm.js");
|
|
1526
1552
|
return loadDeepsightSession({
|
|
1527
1553
|
ds: input.ds,
|
|
1528
1554
|
storage: input.dependencies.storage,
|
|
@@ -1791,7 +1817,8 @@ const idCaptureMachine = setup({
|
|
|
1791
1817
|
types: {
|
|
1792
1818
|
context: {},
|
|
1793
1819
|
events: {},
|
|
1794
|
-
input: {}
|
|
1820
|
+
input: {},
|
|
1821
|
+
output: {}
|
|
1795
1822
|
},
|
|
1796
1823
|
actors: {
|
|
1797
1824
|
checkPermission: checkPermissionActor,
|
|
@@ -2028,6 +2055,7 @@ const idCaptureMachine = setup({
|
|
|
2028
2055
|
}).createMachine({
|
|
2029
2056
|
id: "idCapture",
|
|
2030
2057
|
initial: "idle",
|
|
2058
|
+
output: ({ context }) => computeIdCaptureOutput(context),
|
|
2031
2059
|
context: ({ input }) => {
|
|
2032
2060
|
const currentMode = input.config.onlyBack ? "back" : !input.config.enableId && input.config.enablePassport ? "passport" : input.config.usSmartCapture ? "back" : "front";
|
|
2033
2061
|
return {
|
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-CeQfb7bE.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-B2gRcE_x.js";
|
|
2
2
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BlB4bX6_.d.ts → mandatoryConsentManager-B2gRcE_x.d.ts}
RENAMED
|
@@ -80,14 +80,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
80
80
|
type: "clearError";
|
|
81
81
|
params: NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
|
-
toggleSigned: {
|
|
84
|
-
type: "toggleSigned";
|
|
85
|
-
params: NonReducibleUnknown;
|
|
86
|
-
};
|
|
87
83
|
resetContext: {
|
|
88
84
|
type: "resetContext";
|
|
89
85
|
params: NonReducibleUnknown;
|
|
90
86
|
};
|
|
87
|
+
toggleSigned: {
|
|
88
|
+
type: "toggleSigned";
|
|
89
|
+
params: NonReducibleUnknown;
|
|
90
|
+
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
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-BGu6zfoZ.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-DzT65Fvf.esm.js";
|
|
5
5
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
7
|
-
import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
7
|
+
import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-B6n-FYf7.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-DwNCUB2I.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-4ODIm8fO.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
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
|
-
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./
|
|
3
|
-
import "./electronic-signature.js";
|
|
2
|
+
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-CKbmDFNq.js";
|
|
4
3
|
//#region src/modules/qe-signature/index.d.ts
|
|
5
4
|
type QeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
|
|
6
5
|
declare function createQeSignatureManager(options: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-wmV7oTAJ.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-4ODIm8fO.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-BhSZDDNb.esm.js";
|
|
6
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
7
7
|
async function flagFaceManualReview() {
|
package/dist/selfie.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.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-BXueiZo8.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CDpqsxiU.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
8
|
import { t as processFace } from "./selfieUploadService-B4LnSIf6.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-CFqYKJFF.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-C_ynxeGZ.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-DAshwHhX.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-CDpqsxiU.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-CFqYKJFF.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 { 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-BXueiZo8.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-4ODIm8fO.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { n as uploadSelfie, t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
|
|
7
7
|
Object.values(FACE_ERROR_CODES);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./sessionInitializer-B6n-FYf7.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-DLQ0g4-R.esm.js";
|
|
3
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
4
4
|
import { n as toIncodeApiError, t as IncodeApiError } from "./apiError-COvIGYWe.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-CThOl8m5.esm.js";
|
|
6
6
|
import { n as getFinishStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
8
8
|
/**
|
|
@@ -1608,7 +1608,7 @@ function isBrowserSimulation(browserEnv) {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
//#endregion
|
|
1610
1610
|
//#region src/internal/version/sdkVersion.ts
|
|
1611
|
-
const SDK_VERSION = "0.0.0-dev-20260716-
|
|
1611
|
+
const SDK_VERSION = "0.0.0-dev-20260716-2b4f5edb";
|
|
1612
1612
|
//#endregion
|
|
1613
1613
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
1614
1614
|
function formatOsVersion(os) {
|
|
@@ -5,7 +5,7 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
|
|
|
5
5
|
import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
7
7
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
|
|
8
|
-
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-
|
|
8
|
+
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
9
9
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-N-xlKhZK.esm.js";
|
|
10
10
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
11
11
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-CeQfb7bE.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-DLQ0g4-R.esm.js";
|
|
@@ -7,7 +7,7 @@ import { c as createManager, o as createActor, r as assign, t as setup } from ".
|
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
8
8
|
import { t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
|
|
9
9
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
10
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
10
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-4ODIm8fO.esm.js";
|
|
11
11
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
12
12
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
13
13
|
import { n as uploadSelfie, t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as warmupWasm } from "./WasmUtilProvider-DAshwHhX.esm.js";
|
|
2
|
-
import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-
|
|
2
|
+
import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-CeQfb7bE.esm.js";
|
|
3
3
|
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
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
4
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
5
5
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
import { n as toIncodeApiError } from "./apiError-COvIGYWe.esm.js";
|
|
8
8
|
import { n as electronicSignatureMachine } from "./electronicSignatureManager-DSZu9OHT.esm.js";
|
|
9
9
|
import "./ae-signature.esm.js";
|
|
10
10
|
import { t as antifraudMachine } from "./antifraudStateMachine-Bf-IiCq7.esm.js";
|
|
11
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
11
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DvFeGMIc.esm.js";
|
|
12
12
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Ce568YfR.esm.js";
|
|
13
13
|
import { t as consentMachine } from "./consentStateMachine-Pc3Ez3mV.esm.js";
|
|
14
14
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-7i3TD8J2.esm.js";
|
|
15
15
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D23XTxl2.esm.js";
|
|
16
16
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-qgsrlcVh.esm.js";
|
|
17
17
|
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BV-Fn13x.esm.js";
|
|
18
|
-
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-
|
|
18
|
+
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-B870YzwX.esm.js";
|
|
19
19
|
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-a7oP-XWo.esm.js";
|
|
20
20
|
import { t as emailMachine } from "./emailStateMachine-ChNwY22u.esm.js";
|
|
21
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
22
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
21
|
+
import { t as selfieMachine } from "./selfieStateMachine-CFqYKJFF.esm.js";
|
|
22
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-D2H3vwwf.esm.js";
|
|
23
23
|
import { t as phoneMachine } from "./phoneStateMachine-wDQtaT38.esm.js";
|
|
24
24
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-CM45EBrb.esm.js";
|
|
25
25
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
|
|
@@ -27,7 +27,7 @@ import { t as idOcrStateMachine } from "./idOcrStateMachine-CpZZL411.esm.js";
|
|
|
27
27
|
import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D-8ipBq2.esm.js";
|
|
28
28
|
import { t as geolocationMachine } from "./geolocationStateMachine-BorcBNZ6.esm.js";
|
|
29
29
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-D-1GlgC5.esm.js";
|
|
30
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
30
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
|
|
31
31
|
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
|
|
32
32
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
|
|
33
33
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DkakcwTj.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-20260716-
|
|
3
|
+
"version": "0.0.0-dev-20260716-2b4f5edb",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -276,8 +276,8 @@
|
|
|
276
276
|
"tsdown": "^0.22.8",
|
|
277
277
|
"typescript": "^5.9.3",
|
|
278
278
|
"vitest": "4.1.4",
|
|
279
|
-
"@incodetech/
|
|
280
|
-
"@incodetech/
|
|
279
|
+
"@incodetech/config": "1.0.2",
|
|
280
|
+
"@incodetech/infra": "1.2.0"
|
|
281
281
|
},
|
|
282
282
|
"scripts": {
|
|
283
283
|
"build": "tsdown -c tsdown.config.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./sessionInitializer-D3TaaDyZ.esm.js";
|
|
File without changes
|