@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/ae-signature.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./
|
|
2
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, 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";
|
|
3
3
|
//#region src/modules/ae-signature/index.d.ts
|
|
4
4
|
type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
|
|
5
5
|
declare function createAeSignatureManager(options: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DvFeGMIc.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BVMQTy2C.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-C6A_gEhH.esm.js → authenticationManager-BVMQTy2C.esm.js}
RENAMED
|
@@ -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 authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DvFeGMIc.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BXueiZo8.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-4ODIm8fO.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-2h_w6wFc.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,10 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "clearError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
-
resetContext: {
|
|
86
|
-
type: "resetContext";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
85
|
setConsentData: {
|
|
90
86
|
type: "setConsentData";
|
|
91
87
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
91
|
params: NonReducibleUnknown;
|
|
96
92
|
};
|
|
93
|
+
resetContext: {
|
|
94
|
+
type: "resetContext";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
|
|
4
|
-
import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
4
|
+
import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
7
7
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DocumentCaptureActor, c as DocumentCaptureConfig, d as DocumentType, i as createDocumentCaptureManagerFromActor, l as DocumentCaptureErrorCode, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, s as DOCUMENT_CAPTURE_ERROR_CODES, t as DocumentCaptureManager, u as DocumentCaptureNextPageType } from "./documentCaptureManager-
|
|
1
|
+
import { a as DocumentCaptureActor, c as DocumentCaptureConfig, d as DocumentType, i as createDocumentCaptureManagerFromActor, l as DocumentCaptureErrorCode, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, s as DOCUMENT_CAPTURE_ERROR_CODES, t as DocumentCaptureManager, u as DocumentCaptureNextPageType } from "./documentCaptureManager-Biz_PFqs.js";
|
|
2
2
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -38,6 +38,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
+
setError: {
|
|
42
|
+
type: "setError";
|
|
43
|
+
params: NonReducibleUnknown;
|
|
44
|
+
};
|
|
41
45
|
setStream: {
|
|
42
46
|
type: "setStream";
|
|
43
47
|
params: NonReducibleUnknown;
|
|
@@ -50,10 +54,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
50
54
|
type: "setProgress";
|
|
51
55
|
params: NonReducibleUnknown;
|
|
52
56
|
};
|
|
53
|
-
setError: {
|
|
54
|
-
type: "setError";
|
|
55
|
-
params: NonReducibleUnknown;
|
|
56
|
-
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
|
@@ -174,11 +174,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
174
174
|
}, EventObject>;
|
|
175
175
|
id: string | undefined;
|
|
176
176
|
};
|
|
177
|
-
initCamera: {
|
|
178
|
-
src: "initCamera";
|
|
179
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
180
|
-
id: string | undefined;
|
|
181
|
-
};
|
|
182
177
|
requestPermission: {
|
|
183
178
|
src: "requestPermission";
|
|
184
179
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -187,6 +182,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
187
182
|
}, EventObject>;
|
|
188
183
|
id: string | undefined;
|
|
189
184
|
};
|
|
185
|
+
initCamera: {
|
|
186
|
+
src: "initCamera";
|
|
187
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
188
|
+
id: string | undefined;
|
|
189
|
+
};
|
|
190
190
|
checkPermission: {
|
|
191
191
|
src: "checkPermission";
|
|
192
192
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -360,7 +360,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
360
360
|
readonly initial: "tutorial";
|
|
361
361
|
readonly context: ({ input }: {
|
|
362
362
|
spawn: {
|
|
363
|
-
<TSrc extends "uploadDocument" | "
|
|
363
|
+
<TSrc extends "uploadDocument" | "requestPermission" | "initCamera" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
364
364
|
src: "uploadDocument";
|
|
365
365
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
366
366
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -384,12 +384,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
384
384
|
input?: InputFrom<T["logic"]> | undefined;
|
|
385
385
|
syncSnapshot?: boolean;
|
|
386
386
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
387
|
-
src: "
|
|
388
|
-
logic: PromiseActorLogic<
|
|
387
|
+
src: "requestPermission";
|
|
388
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
389
|
+
permissionResult?: PermissionResult;
|
|
390
|
+
requestMotionPermission: boolean;
|
|
391
|
+
}, EventObject>;
|
|
389
392
|
id: string | undefined;
|
|
390
393
|
} extends (infer T_1) ? T_1 extends {
|
|
391
|
-
src: "
|
|
392
|
-
logic: PromiseActorLogic<
|
|
394
|
+
src: "requestPermission";
|
|
395
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
396
|
+
permissionResult?: PermissionResult;
|
|
397
|
+
requestMotionPermission: boolean;
|
|
398
|
+
}, EventObject>;
|
|
393
399
|
id: string | undefined;
|
|
394
400
|
} ? T_1 extends {
|
|
395
401
|
src: TSrc;
|
|
@@ -399,18 +405,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
399
405
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
400
406
|
syncSnapshot?: boolean;
|
|
401
407
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
402
|
-
src: "
|
|
403
|
-
logic: PromiseActorLogic<
|
|
404
|
-
permissionResult?: PermissionResult;
|
|
405
|
-
requestMotionPermission: boolean;
|
|
406
|
-
}, EventObject>;
|
|
408
|
+
src: "initCamera";
|
|
409
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
407
410
|
id: string | undefined;
|
|
408
411
|
} extends (infer T_2) ? T_2 extends {
|
|
409
|
-
src: "
|
|
410
|
-
logic: PromiseActorLogic<
|
|
411
|
-
permissionResult?: PermissionResult;
|
|
412
|
-
requestMotionPermission: boolean;
|
|
413
|
-
}, EventObject>;
|
|
412
|
+
src: "initCamera";
|
|
413
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
414
414
|
id: string | undefined;
|
|
415
415
|
} ? T_2 extends {
|
|
416
416
|
src: TSrc;
|
|
@@ -463,11 +463,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
463
463
|
}, EventObject>;
|
|
464
464
|
id: string | undefined;
|
|
465
465
|
};
|
|
466
|
-
initCamera: {
|
|
467
|
-
src: "initCamera";
|
|
468
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
469
|
-
id: string | undefined;
|
|
470
|
-
};
|
|
471
466
|
requestPermission: {
|
|
472
467
|
src: "requestPermission";
|
|
473
468
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -476,6 +471,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
476
471
|
}, EventObject>;
|
|
477
472
|
id: string | undefined;
|
|
478
473
|
};
|
|
474
|
+
initCamera: {
|
|
475
|
+
src: "initCamera";
|
|
476
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
477
|
+
id: string | undefined;
|
|
478
|
+
};
|
|
479
479
|
checkPermission: {
|
|
480
480
|
src: "checkPermission";
|
|
481
481
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -723,11 +723,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
723
723
|
}, EventObject>;
|
|
724
724
|
id: string | undefined;
|
|
725
725
|
};
|
|
726
|
-
initCamera: {
|
|
727
|
-
src: "initCamera";
|
|
728
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
729
|
-
id: string | undefined;
|
|
730
|
-
};
|
|
731
726
|
requestPermission: {
|
|
732
727
|
src: "requestPermission";
|
|
733
728
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -736,6 +731,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
736
731
|
}, EventObject>;
|
|
737
732
|
id: string | undefined;
|
|
738
733
|
};
|
|
734
|
+
initCamera: {
|
|
735
|
+
src: "initCamera";
|
|
736
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
737
|
+
id: string | undefined;
|
|
738
|
+
};
|
|
739
739
|
checkPermission: {
|
|
740
740
|
src: "checkPermission";
|
|
741
741
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -808,11 +808,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
808
808
|
}, EventObject>;
|
|
809
809
|
id: string | undefined;
|
|
810
810
|
};
|
|
811
|
-
initCamera: {
|
|
812
|
-
src: "initCamera";
|
|
813
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
814
|
-
id: string | undefined;
|
|
815
|
-
};
|
|
816
811
|
requestPermission: {
|
|
817
812
|
src: "requestPermission";
|
|
818
813
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -821,6 +816,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
821
816
|
}, EventObject>;
|
|
822
817
|
id: string | undefined;
|
|
823
818
|
};
|
|
819
|
+
initCamera: {
|
|
820
|
+
src: "initCamera";
|
|
821
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
822
|
+
id: string | undefined;
|
|
823
|
+
};
|
|
824
824
|
checkPermission: {
|
|
825
825
|
src: "checkPermission";
|
|
826
826
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -892,11 +892,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
892
892
|
}, EventObject>;
|
|
893
893
|
id: string | undefined;
|
|
894
894
|
};
|
|
895
|
-
initCamera: {
|
|
896
|
-
src: "initCamera";
|
|
897
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
898
|
-
id: string | undefined;
|
|
899
|
-
};
|
|
900
895
|
requestPermission: {
|
|
901
896
|
src: "requestPermission";
|
|
902
897
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -905,6 +900,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
905
900
|
}, EventObject>;
|
|
906
901
|
id: string | undefined;
|
|
907
902
|
};
|
|
903
|
+
initCamera: {
|
|
904
|
+
src: "initCamera";
|
|
905
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
906
|
+
id: string | undefined;
|
|
907
|
+
};
|
|
908
908
|
checkPermission: {
|
|
909
909
|
src: "checkPermission";
|
|
910
910
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -977,11 +977,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
977
977
|
}, EventObject>;
|
|
978
978
|
id: string | undefined;
|
|
979
979
|
};
|
|
980
|
-
initCamera: {
|
|
981
|
-
src: "initCamera";
|
|
982
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
983
|
-
id: string | undefined;
|
|
984
|
-
};
|
|
985
980
|
requestPermission: {
|
|
986
981
|
src: "requestPermission";
|
|
987
982
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -990,6 +985,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
990
985
|
}, EventObject>;
|
|
991
986
|
id: string | undefined;
|
|
992
987
|
};
|
|
988
|
+
initCamera: {
|
|
989
|
+
src: "initCamera";
|
|
990
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
991
|
+
id: string | undefined;
|
|
992
|
+
};
|
|
993
993
|
checkPermission: {
|
|
994
994
|
src: "checkPermission";
|
|
995
995
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1231,11 +1231,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1231
1231
|
}, EventObject>;
|
|
1232
1232
|
id: string | undefined;
|
|
1233
1233
|
};
|
|
1234
|
-
initCamera: {
|
|
1235
|
-
src: "initCamera";
|
|
1236
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1237
|
-
id: string | undefined;
|
|
1238
|
-
};
|
|
1239
1234
|
requestPermission: {
|
|
1240
1235
|
src: "requestPermission";
|
|
1241
1236
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1244,6 +1239,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1244
1239
|
}, EventObject>;
|
|
1245
1240
|
id: string | undefined;
|
|
1246
1241
|
};
|
|
1242
|
+
initCamera: {
|
|
1243
|
+
src: "initCamera";
|
|
1244
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1245
|
+
id: string | undefined;
|
|
1246
|
+
};
|
|
1247
1247
|
checkPermission: {
|
|
1248
1248
|
src: "checkPermission";
|
|
1249
1249
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1316,11 +1316,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1316
1316
|
}, EventObject>;
|
|
1317
1317
|
id: string | undefined;
|
|
1318
1318
|
};
|
|
1319
|
-
initCamera: {
|
|
1320
|
-
src: "initCamera";
|
|
1321
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1322
|
-
id: string | undefined;
|
|
1323
|
-
};
|
|
1324
1319
|
requestPermission: {
|
|
1325
1320
|
src: "requestPermission";
|
|
1326
1321
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1329,6 +1324,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1329
1324
|
}, EventObject>;
|
|
1330
1325
|
id: string | undefined;
|
|
1331
1326
|
};
|
|
1327
|
+
initCamera: {
|
|
1328
|
+
src: "initCamera";
|
|
1329
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1330
|
+
id: string | undefined;
|
|
1331
|
+
};
|
|
1332
1332
|
checkPermission: {
|
|
1333
1333
|
src: "checkPermission";
|
|
1334
1334
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1400,11 +1400,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1400
1400
|
}, EventObject>;
|
|
1401
1401
|
id: string | undefined;
|
|
1402
1402
|
};
|
|
1403
|
-
initCamera: {
|
|
1404
|
-
src: "initCamera";
|
|
1405
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1406
|
-
id: string | undefined;
|
|
1407
|
-
};
|
|
1408
1403
|
requestPermission: {
|
|
1409
1404
|
src: "requestPermission";
|
|
1410
1405
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1413,6 +1408,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1413
1408
|
}, EventObject>;
|
|
1414
1409
|
id: string | undefined;
|
|
1415
1410
|
};
|
|
1411
|
+
initCamera: {
|
|
1412
|
+
src: "initCamera";
|
|
1413
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1414
|
+
id: string | undefined;
|
|
1415
|
+
};
|
|
1416
1416
|
checkPermission: {
|
|
1417
1417
|
src: "checkPermission";
|
|
1418
1418
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1535,11 +1535,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1535
1535
|
}, EventObject>;
|
|
1536
1536
|
id: string | undefined;
|
|
1537
1537
|
};
|
|
1538
|
-
initCamera: {
|
|
1539
|
-
src: "initCamera";
|
|
1540
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1541
|
-
id: string | undefined;
|
|
1542
|
-
};
|
|
1543
1538
|
requestPermission: {
|
|
1544
1539
|
src: "requestPermission";
|
|
1545
1540
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1548,6 +1543,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1548
1543
|
}, EventObject>;
|
|
1549
1544
|
id: string | undefined;
|
|
1550
1545
|
};
|
|
1546
|
+
initCamera: {
|
|
1547
|
+
src: "initCamera";
|
|
1548
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1549
|
+
id: string | undefined;
|
|
1550
|
+
};
|
|
1551
1551
|
checkPermission: {
|
|
1552
1552
|
src: "checkPermission";
|
|
1553
1553
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
2
|
-
import { t as createEkybManager } from "./ekybManager
|
|
1
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-B870YzwX.esm.js";
|
|
2
|
+
import { t as createEkybManager } from "./ekybManager--3WIEWS5.esm.js";
|
|
3
3
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-B870YzwX.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -3,7 +3,7 @@ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
|
3
3
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DH-IPF-w.esm.js";
|
|
6
|
-
import { t as getFlow } from "./flowServices-
|
|
6
|
+
import { t as getFlow } from "./flowServices-DL7qnTQR.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
/**
|
|
9
9
|
* Countries available in all environments.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./
|
|
1
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-CKbmDFNq.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureManager, type ElectronicSignatureState, type ElectronicSignatureVariant, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -9,25 +9,25 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
|
9
9
|
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-ctqh-iS4.js";
|
|
10
10
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CN8wJ14s.js";
|
|
11
11
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-G-k-13Fe.js";
|
|
12
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
12
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-2h_w6wFc.js";
|
|
13
13
|
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-CQkUAeWO.js";
|
|
14
14
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
15
15
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager--HSBTwOy.js";
|
|
16
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
16
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-Biz_PFqs.js";
|
|
17
17
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-Dposae2l.js";
|
|
18
18
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-CBX0tM04.js";
|
|
19
19
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
20
20
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
21
|
-
import { d as IdCaptureActor, h as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
21
|
+
import { d as IdCaptureActor, h as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-Cmcwu1iM.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
23
23
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-aTyLyYrr.js";
|
|
24
24
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
25
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
25
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B2gRcE_x.js";
|
|
26
26
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-vXa7GdRh.js";
|
|
27
27
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-NVQM3o5P.js";
|
|
28
28
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-BWhRzBjk.js";
|
|
29
29
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
30
|
-
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-
|
|
30
|
+
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
|
|
31
31
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
32
32
|
type AuthenticationUploadResponse = {
|
|
33
33
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
|
|
2
|
-
import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-
|
|
2
|
+
import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-B6n-FYf7.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CL2YhiVX.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BXueiZo8.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BVMQTy2C.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-D3GyyH5u.esm.js";
|
|
10
10
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Cwm0MesJ.esm.js";
|
|
11
11
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9rdIO8Qk.esm.js";
|
|
12
12
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-C2i9Lzx9.esm.js";
|
|
13
13
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DijbJFun.esm.js";
|
|
14
14
|
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-COik5bJ7.esm.js";
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager--3WIEWS5.esm.js";
|
|
16
16
|
import { n as createEkycManagerFromActor } from "./ekycManager-BSMlIpGA.esm.js";
|
|
17
17
|
import { n as createEmailManagerFromActor } from "./emailManager-c-mDLieD.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-C_ynxeGZ.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BoLeZff7.esm.js";
|
|
20
20
|
import { n as createPhoneManagerFromActor } from "./phoneManager-KbcmjEeH.esm.js";
|
|
21
21
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-DHfJZTVo.esm.js";
|
|
22
22
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-5LlxYad-.esm.js";
|
|
@@ -25,7 +25,7 @@ import { n as createIdOcrManagerFromActor } from "./idOcrManager-niAg-BE0.esm.js
|
|
|
25
25
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-EGXGKftv.esm.js";
|
|
26
26
|
import { n as createGeolocationManagerFromActor } from "./geolocationManager-D58ehBHU.esm.js";
|
|
27
27
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CujJqsiX.esm.js";
|
|
28
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
28
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-9rtJXjS-.esm.js";
|
|
29
29
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
30
30
|
async function getFingerprint(disableIpify) {
|
|
31
31
|
const shouldDisableIpify = disableIpify ?? getDisableIpify();
|
package/dist/face-match.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
|
|
2
2
|
//#region src/modules/face-match/faceMatchStateMachine.d.ts
|
|
3
3
|
declare const faceMatchMachine: any;
|
|
4
4
|
//#endregion
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-9rtJXjS-.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-BkuqYPE9.esm.js → faceCaptureManagerFactory-CDpqsxiU.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-BXueiZo8.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DwNCUB2I.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-BDTZNnca.esm.js";
|
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-4ODIm8fO.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-CwVapQiu.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DguX5vFY.esm.js";
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-CkLJ00Pw.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
3
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
|
|
4
4
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
5
5
|
function createFaceMatchActor(options) {
|
|
6
6
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
|
@@ -39,6 +39,16 @@ type FaceMatchConfig = {
|
|
|
39
39
|
* @default false
|
|
40
40
|
*/
|
|
41
41
|
disableFaceMatchAnimation?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* When true, the module completes immediately on mount WITHOUT fetching data
|
|
44
|
+
* or rendering any match UI. Set by the Flow orchestrator under US Smart
|
|
45
|
+
* Capture when the ID was captured without a front image ("no front, no
|
|
46
|
+
* match") — there is no ID face to compare against. Distinct from (and
|
|
47
|
+
* complementary to) the reactive backend-4084 skip: this avoids mounting the
|
|
48
|
+
* module and the failing fetch entirely.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
skipFaceMatch?: boolean;
|
|
42
52
|
};
|
|
43
53
|
/**
|
|
44
54
|
* Cropped face images fetched from the backend.
|
package/dist/{faceMatchStateMachine-DD7FxtUj.esm.js → faceMatchStateMachine-BfzusGo1.esm.js}
RENAMED
|
@@ -134,6 +134,7 @@ const faceMatchMachine = setup({
|
|
|
134
134
|
},
|
|
135
135
|
guards: {
|
|
136
136
|
isAnimationDisabled: ({ context }) => context.config.disableFaceMatchAnimation === true,
|
|
137
|
+
isFaceMatchSkipped: ({ context }) => context.config.skipFaceMatch === true,
|
|
137
138
|
isFaceExtractionSkipped: ({ event }) => isFaceExtractionSkippedError(event.error)
|
|
138
139
|
}
|
|
139
140
|
}).createMachine({
|
|
@@ -146,7 +147,13 @@ const faceMatchMachine = setup({
|
|
|
146
147
|
error: void 0
|
|
147
148
|
}),
|
|
148
149
|
states: {
|
|
149
|
-
idle: {
|
|
150
|
+
idle: {
|
|
151
|
+
always: [{
|
|
152
|
+
target: "finished",
|
|
153
|
+
guard: "isFaceMatchSkipped"
|
|
154
|
+
}],
|
|
155
|
+
on: { LOAD: { target: "loading" } }
|
|
156
|
+
},
|
|
150
157
|
loading: { invoke: {
|
|
151
158
|
id: "fetchData",
|
|
152
159
|
src: "fetchData",
|
package/dist/flow.d.ts
CHANGED
|
@@ -224,6 +224,7 @@ type OrchestratedFlowEvent = {
|
|
|
224
224
|
type: 'RESET';
|
|
225
225
|
} | {
|
|
226
226
|
type: 'MODULE_COMPLETE';
|
|
227
|
+
output?: unknown;
|
|
227
228
|
} | {
|
|
228
229
|
type: 'COMPLETE_FLOW';
|
|
229
230
|
} | {
|
|
@@ -328,7 +329,7 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
|
|
|
328
329
|
* />
|
|
329
330
|
* ```
|
|
330
331
|
*/
|
|
331
|
-
completeModule(): void;
|
|
332
|
+
completeModule(output?: unknown): void;
|
|
332
333
|
/**
|
|
333
334
|
* Skip all remaining modules and complete the flow now, notifying the
|
|
334
335
|
* backend (getFinishStatus) on the way to the completion step.
|