@incodetech/core 0.0.0-dev-20260720-ca9de495 → 0.0.0-dev-20260720-00ef49e9
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/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CwGOQTp3.esm.js → authenticationManager-D7wtvj8F.esm.js} +2 -2
- package/dist/{authenticationStateMachine-gh33Mocb.esm.js → authenticationStateMachine-CM4bMjJc.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-uhDPdU6i.d.ts} +5 -5
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-CQkUAeWO.d.ts → cpfOcrManager-C-3PWS2h.d.ts} +1 -1
- package/dist/{deepsightLoader-CCg7okNq.esm.js → deepsightLoader-N6u2JnGq.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/{documentCaptureManager-DewvUtVQ.d.ts → documentCaptureManager-Ccu_LTBA.d.ts} +69 -69
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CNYD_rcL.esm.js → ekybManager-BVUo4X83.esm.js} +1 -1
- package/dist/{ekybStateMachine-wp-ecHHi.esm.js → ekybStateMachine-CwDauKYm.esm.js} +1 -1
- package/dist/extensibility.d.ts +6 -6
- package/dist/extensibility.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-Bgr6E6eS.esm.js → faceCaptureManagerFactory-Dhpagy6D.esm.js} +1 -1
- package/dist/{faceCaptureSetup-z13yTUSx.esm.js → faceCaptureSetup-CjWXmyg1.esm.js} +2 -2
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-Cu3jqNDh.esm.js → flowServices-CFExICxt.esm.js} +2 -2
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-Cqx7_G5y.esm.js → idCaptureManager-Bam3S6wg.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-Ctq7tDpn.esm.js → idCaptureStateMachine-yMOSoMqs.esm.js} +5 -5
- package/dist/{idOcrManager-vXa7GdRh.d.ts → idOcrManager-B-JyjyPb.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-D6pD4hcZ.d.ts → identityReuseManager-v2TH5g7e.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-DzLHRc5u.d.ts → mandatoryConsentManager-BYyb8A34.d.ts} +5 -5
- package/dist/{onDeviceFaceResults-DYyiiDct.esm.js → onDeviceFaceResults-BAiPSJHi.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-DWip186Y.esm.js → recordingService-BW-tqhqS.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-COH1oF0k.esm.js → selfieManager-CpjT9NOs.esm.js} +2 -2
- package/dist/{selfieStateMachine-D12LWngD.esm.js → selfieStateMachine-CQVjhQLQ.esm.js} +2 -2
- package/dist/session-DF5fLTmo.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-DpLZ6Px5.esm.js → sessionInitializer-BEQovnS0.esm.js} +1 -1
- package/dist/{setup-DOio3C6M.esm.js → setup-DvcUUX66.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 +5 -5
- package/package.json +3 -3
- package/dist/session-10sTI8lm.esm.js +0 -1
|
@@ -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-CM4bMjJc.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D7wtvj8F.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CwGOQTp3.esm.js → authenticationManager-D7wtvj8F.esm.js}
RENAMED
|
@@ -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-Dhpagy6D.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-CM4bMjJc.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-CfRg7iAr.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.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-CjWXmyg1.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BAiPSJHi.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-uhDPdU6i.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,6 +82,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "clearError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
+
resetContext: {
|
|
86
|
+
type: "resetContext";
|
|
87
|
+
params: NonReducibleUnknown;
|
|
88
|
+
};
|
|
85
89
|
setConsentData: {
|
|
86
90
|
type: "setConsentData";
|
|
87
91
|
params: NonReducibleUnknown;
|
|
@@ -90,14 +94,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
90
94
|
type: "toggleCheckbox";
|
|
91
95
|
params: NonReducibleUnknown;
|
|
92
96
|
};
|
|
93
|
-
resetContext: {
|
|
94
|
-
type: "resetContext";
|
|
95
|
-
params: NonReducibleUnknown;
|
|
96
|
-
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({ input }: {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-
|
|
1
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.js";
|
|
2
2
|
//#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
|
|
3
3
|
declare function formatCPF(value: string): string;
|
|
4
4
|
declare function isValidCPF(value: string): boolean;
|
|
@@ -63,7 +63,7 @@ declare const cpfOcrMachine: StateMachine<CpfOcrContext, {
|
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "inputting", string, CpfOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.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-BEQovnS0.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-Ccu_LTBA.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,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
-
setError: {
|
|
42
|
-
type: "setError";
|
|
43
|
-
params: NonReducibleUnknown;
|
|
44
|
-
};
|
|
45
41
|
setStream: {
|
|
46
42
|
type: "setStream";
|
|
47
43
|
params: NonReducibleUnknown;
|
|
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
54
50
|
type: "setProgress";
|
|
55
51
|
params: NonReducibleUnknown;
|
|
56
52
|
};
|
|
53
|
+
setError: {
|
|
54
|
+
type: "setError";
|
|
55
|
+
params: NonReducibleUnknown;
|
|
56
|
+
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
|
@@ -174,6 +174,11 @@ 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
|
+
};
|
|
177
182
|
requestPermission: {
|
|
178
183
|
src: "requestPermission";
|
|
179
184
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -182,11 +187,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
182
187
|
}, EventObject>;
|
|
183
188
|
id: string | undefined;
|
|
184
189
|
};
|
|
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>;
|
|
@@ -200,10 +200,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
200
200
|
id: string | undefined;
|
|
201
201
|
};
|
|
202
202
|
}>, Values<{
|
|
203
|
-
decrementAttemptsRemaining: {
|
|
204
|
-
type: "decrementAttemptsRemaining";
|
|
205
|
-
params: NonReducibleUnknown;
|
|
206
|
-
};
|
|
207
203
|
setStream: {
|
|
208
204
|
type: "setStream";
|
|
209
205
|
params: NonReducibleUnknown;
|
|
@@ -220,6 +216,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
220
216
|
type: "stopStream";
|
|
221
217
|
params: NonReducibleUnknown;
|
|
222
218
|
};
|
|
219
|
+
decrementAttemptsRemaining: {
|
|
220
|
+
type: "decrementAttemptsRemaining";
|
|
221
|
+
params: NonReducibleUnknown;
|
|
222
|
+
};
|
|
223
223
|
setCapturedDocument: {
|
|
224
224
|
type: "setCapturedDocument";
|
|
225
225
|
params: NonReducibleUnknown;
|
|
@@ -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" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
364
364
|
src: "uploadDocument";
|
|
365
365
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
366
366
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -384,18 +384,12 @@ 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<
|
|
389
|
-
permissionResult?: PermissionResult;
|
|
390
|
-
requestMotionPermission: boolean;
|
|
391
|
-
}, EventObject>;
|
|
387
|
+
src: "initCamera";
|
|
388
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
392
389
|
id: string | undefined;
|
|
393
390
|
} extends (infer T_1) ? T_1 extends {
|
|
394
|
-
src: "
|
|
395
|
-
logic: PromiseActorLogic<
|
|
396
|
-
permissionResult?: PermissionResult;
|
|
397
|
-
requestMotionPermission: boolean;
|
|
398
|
-
}, EventObject>;
|
|
391
|
+
src: "initCamera";
|
|
392
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
399
393
|
id: string | undefined;
|
|
400
394
|
} ? T_1 extends {
|
|
401
395
|
src: TSrc;
|
|
@@ -405,12 +399,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
405
399
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
406
400
|
syncSnapshot?: boolean;
|
|
407
401
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
408
|
-
src: "
|
|
409
|
-
logic: PromiseActorLogic<
|
|
402
|
+
src: "requestPermission";
|
|
403
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
404
|
+
permissionResult?: PermissionResult;
|
|
405
|
+
requestMotionPermission: boolean;
|
|
406
|
+
}, EventObject>;
|
|
410
407
|
id: string | undefined;
|
|
411
408
|
} extends (infer T_2) ? T_2 extends {
|
|
412
|
-
src: "
|
|
413
|
-
logic: PromiseActorLogic<
|
|
409
|
+
src: "requestPermission";
|
|
410
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
411
|
+
permissionResult?: PermissionResult;
|
|
412
|
+
requestMotionPermission: boolean;
|
|
413
|
+
}, EventObject>;
|
|
414
414
|
id: string | undefined;
|
|
415
415
|
} ? T_2 extends {
|
|
416
416
|
src: TSrc;
|
|
@@ -463,6 +463,11 @@ 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
|
+
};
|
|
466
471
|
requestPermission: {
|
|
467
472
|
src: "requestPermission";
|
|
468
473
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -471,11 +476,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
471
476
|
}, EventObject>;
|
|
472
477
|
id: string | undefined;
|
|
473
478
|
};
|
|
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,6 +723,11 @@ 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
|
+
};
|
|
726
731
|
requestPermission: {
|
|
727
732
|
src: "requestPermission";
|
|
728
733
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -731,11 +736,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
731
736
|
}, EventObject>;
|
|
732
737
|
id: string | undefined;
|
|
733
738
|
};
|
|
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,6 +808,11 @@ 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
|
+
};
|
|
811
816
|
requestPermission: {
|
|
812
817
|
src: "requestPermission";
|
|
813
818
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -816,11 +821,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
816
821
|
}, EventObject>;
|
|
817
822
|
id: string | undefined;
|
|
818
823
|
};
|
|
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,6 +892,11 @@ 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
|
+
};
|
|
895
900
|
requestPermission: {
|
|
896
901
|
src: "requestPermission";
|
|
897
902
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -900,11 +905,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
900
905
|
}, EventObject>;
|
|
901
906
|
id: string | undefined;
|
|
902
907
|
};
|
|
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,6 +977,11 @@ 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
|
+
};
|
|
980
985
|
requestPermission: {
|
|
981
986
|
src: "requestPermission";
|
|
982
987
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -985,11 +990,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
985
990
|
}, EventObject>;
|
|
986
991
|
id: string | undefined;
|
|
987
992
|
};
|
|
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,6 +1231,11 @@ 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
|
+
};
|
|
1234
1239
|
requestPermission: {
|
|
1235
1240
|
src: "requestPermission";
|
|
1236
1241
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1239,11 +1244,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1239
1244
|
}, EventObject>;
|
|
1240
1245
|
id: string | undefined;
|
|
1241
1246
|
};
|
|
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,6 +1316,11 @@ 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
|
+
};
|
|
1319
1324
|
requestPermission: {
|
|
1320
1325
|
src: "requestPermission";
|
|
1321
1326
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1324,11 +1329,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1324
1329
|
}, EventObject>;
|
|
1325
1330
|
id: string | undefined;
|
|
1326
1331
|
};
|
|
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,6 +1400,11 @@ 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
|
+
};
|
|
1403
1408
|
requestPermission: {
|
|
1404
1409
|
src: "requestPermission";
|
|
1405
1410
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1408,11 +1413,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1408
1413
|
}, EventObject>;
|
|
1409
1414
|
id: string | undefined;
|
|
1410
1415
|
};
|
|
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,6 +1535,11 @@ 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
|
+
};
|
|
1538
1543
|
requestPermission: {
|
|
1539
1544
|
src: "requestPermission";
|
|
1540
1545
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1543,11 +1548,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1543
1548
|
}, EventObject>;
|
|
1544
1549
|
id: string | undefined;
|
|
1545
1550
|
};
|
|
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-CwDauKYm.esm.js";
|
|
2
|
+
import { t as createEkybManager } from "./ekybManager-BVUo4X83.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-CwDauKYm.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-CfRg7iAr.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-DEYnZoez.esm.js";
|
|
6
|
-
import { t as getFlow } from "./flowServices-
|
|
6
|
+
import { t as getFlow } from "./flowServices-CFExICxt.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
/**
|
|
9
9
|
* Countries available in all environments.
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -9,21 +9,21 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
|
9
9
|
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-DMMk51Ec.js";
|
|
10
10
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Dq9wNlcg.js";
|
|
11
11
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BCm7eGoK.js";
|
|
12
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
13
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-
|
|
12
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.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-DRQrbEhj.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-Ccu_LTBA.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
21
|
import { P as CaptureIdResponse, i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DTe_5dcI.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
23
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
23
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.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-
|
|
26
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
25
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BYyb8A34.js";
|
|
26
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-B-JyjyPb.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-BOuGkRoP.js";
|
|
29
29
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.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-BEQovnS0.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-CFsD4BgV.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CjWXmyg1.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-D7wtvj8F.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
|
|
10
10
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
|
|
11
11
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
|
|
12
12
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
|
|
13
13
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BI1bAj1F.esm.js";
|
|
14
14
|
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Fi2O2RUM.esm.js";
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BVUo4X83.esm.js";
|
|
16
16
|
import { n as createEkycManagerFromActor } from "./ekycManager-CI7sN4Ln.esm.js";
|
|
17
17
|
import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CpjT9NOs.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Bam3S6wg.esm.js";
|
|
20
20
|
import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
|
|
21
21
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
|
|
22
22
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
|
package/dist/{faceCaptureManagerFactory-Bgr6E6eS.esm.js → faceCaptureManagerFactory-Dhpagy6D.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-CjWXmyg1.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.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-CkHL1BjH.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-BAiPSJHi.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-5Cu6a8iN.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-BW-tqhqS.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`
|
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-CFExICxt.esm.js";
|
|
5
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.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
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BEQovnS0.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-DF5fLTmo.esm.js";
|
|
7
7
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
|
|
8
8
|
//#region src/modules/flow/flowUtils.ts
|
|
9
9
|
const WASM_MODULE_PIPELINES = {
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-
|
|
1
|
+
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-B-JyjyPb.js";
|
|
2
2
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
3
3
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
4
4
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "flowId">) => OcrFieldConfig[];
|
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 { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-yMOSoMqs.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Bam3S6wg.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-CkHL1BjH.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-yMOSoMqs.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) {
|
package/dist/{idCaptureStateMachine-Ctq7tDpn.esm.js → idCaptureStateMachine-yMOSoMqs.esm.js}
RENAMED
|
@@ -3,12 +3,12 @@ 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-BEQovnS0.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-CkHL1BjH.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-BAiPSJHi.esm.js";
|
|
12
12
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
13
13
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
14
14
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
@@ -16,8 +16,8 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
|
16
16
|
import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.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-
|
|
20
|
-
import "./session-
|
|
19
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-BW-tqhqS.esm.js";
|
|
20
|
+
import "./session-DF5fLTmo.esm.js";
|
|
21
21
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
|
|
22
22
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
23
23
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1626,7 +1626,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1626
1626
|
});
|
|
1627
1627
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1628
1628
|
if (!input.dependencies) return;
|
|
1629
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1629
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-N6u2JnGq.esm.js");
|
|
1630
1630
|
return loadDeepsightSession({
|
|
1631
1631
|
ds: input.ds,
|
|
1632
1632
|
storage: input.dependencies.storage,
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({ input }: {
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -125,7 +125,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
125
125
|
type: "hasSelection";
|
|
126
126
|
params: unknown;
|
|
127
127
|
};
|
|
128
|
-
}>, never, "error" | "idle" | "finished" | "
|
|
128
|
+
}>, never, "error" | "idle" | "finished" | "submitting" | "loading" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
129
129
|
readonly id: "identityReuse";
|
|
130
130
|
readonly initial: "idle";
|
|
131
131
|
readonly context: ({ input }: {
|
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-DvcUUX66.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-BYyb8A34.js";
|
|
2
2
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-DzLHRc5u.d.ts → mandatoryConsentManager-BYyb8A34.d.ts}
RENAMED
|
@@ -80,18 +80,18 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
80
80
|
type: "clearError";
|
|
81
81
|
params: NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
|
-
resetContext: {
|
|
84
|
-
type: "resetContext";
|
|
85
|
-
params: NonReducibleUnknown;
|
|
86
|
-
};
|
|
87
83
|
toggleSigned: {
|
|
88
84
|
type: "toggleSigned";
|
|
89
85
|
params: NonReducibleUnknown;
|
|
90
86
|
};
|
|
87
|
+
resetContext: {
|
|
88
|
+
type: "resetContext";
|
|
89
|
+
params: NonReducibleUnknown;
|
|
90
|
+
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
94
|
-
}, never, "error" | "idle" | "closed" | "finished" | "
|
|
94
|
+
}, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
95
95
|
readonly id: "mandatoryConsent";
|
|
96
96
|
readonly initial: "idle";
|
|
97
97
|
readonly context: ({ input }: {
|
|
@@ -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-N6u2JnGq.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 { 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-BEQovnS0.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-BAiPSJHi.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-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-BAiPSJHi.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-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-CjWXmyg1.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dhpagy6D.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-yob1UasM.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-CQVjhQLQ.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CpjT9NOs.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-Dhpagy6D.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-CQVjhQLQ.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-CjWXmyg1.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BAiPSJHi.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-yob1UasM.esm.js";
|
|
7
7
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./sessionInitializer-BEQovnS0.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-BEQovnS0.esm.js";
|
|
4
4
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-DF5fLTmo.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-20260720-
|
|
1617
|
+
const SDK_VERSION = "0.0.0-dev-20260720-00ef49e9";
|
|
1618
1618
|
//#endregion
|
|
1619
1619
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
1620
1620
|
function formatOsVersion(os) {
|
|
@@ -7,7 +7,7 @@ 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, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-
|
|
10
|
+
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-BEQovnS0.esm.js";
|
|
11
11
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
12
12
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
13
13
|
var BrowserPageLifecycleProvider = class {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-DvcUUX66.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";
|
|
@@ -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-CkHL1BjH.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-BAiPSJHi.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 { 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-DvcUUX66.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.d.ts
CHANGED
|
@@ -320,6 +320,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
320
320
|
id: string | undefined;
|
|
321
321
|
};
|
|
322
322
|
}>, Values<{
|
|
323
|
+
setError: {
|
|
324
|
+
type: "setError";
|
|
325
|
+
params: NonReducibleUnknown;
|
|
326
|
+
};
|
|
323
327
|
setLoadingResult: {
|
|
324
328
|
type: "setLoadingResult";
|
|
325
329
|
params: NonReducibleUnknown;
|
|
@@ -348,10 +352,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
348
352
|
type: "setFinishStatusFailed";
|
|
349
353
|
params: NonReducibleUnknown;
|
|
350
354
|
};
|
|
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,25 +2,25 @@ 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-BEQovnS0.esm.js";
|
|
6
6
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
8
8
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
9
9
|
import { n as electronicSignatureMachine } from "./electronicSignatureManager-DGFwHdro.esm.js";
|
|
10
10
|
import "./ae-signature.esm.js";
|
|
11
11
|
import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
|
|
12
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
12
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CM4bMjJc.esm.js";
|
|
13
13
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
|
|
14
14
|
import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
|
|
15
15
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
|
|
16
16
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
|
|
17
17
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-C1uifdea.esm.js";
|
|
18
18
|
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
|
|
19
|
-
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-
|
|
19
|
+
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-CwDauKYm.esm.js";
|
|
20
20
|
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
|
|
21
21
|
import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
|
|
22
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
23
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
22
|
+
import { t as selfieMachine } from "./selfieStateMachine-CQVjhQLQ.esm.js";
|
|
23
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-yMOSoMqs.esm.js";
|
|
24
24
|
import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
|
|
25
25
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
|
|
26
26
|
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-20260720-
|
|
3
|
+
"version": "0.0.0-dev-20260720-00ef49e9",
|
|
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",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./sessionInitializer-DpLZ6Px5.esm.js";
|