@incodetech/core 0.0.0-dev-20260817-941e76d2 → 0.0.0-dev-20260817-ec13a90c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BrowserDiagnosticsCryptoProvider-CPcF1K4D.esm.js → BrowserDiagnosticsCryptoProvider-CG8PumM1.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-B3TI9TK9.esm.js → apiError-5rTDCQnX.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BL7RvcC8.esm.js → authenticationManager-CD1Vtrdb.esm.js} +2 -2
- package/dist/{authenticationStateMachine-D1XsBKTx.esm.js → authenticationStateMachine-COUrxTBq.esm.js} +2 -2
- package/dist/{deepsightLoader-BnU_V6rk.esm.js → deepsightLoader-CO67Oxue.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/{documentCaptureManager-DlGYd-sJ.d.ts → documentCaptureManager-BykkLCQD.d.ts} +66 -66
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CH1eSNvy.esm.js → dynamicFormsManager-DNg2P7ma.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-D144f-2m.esm.js → dynamicFormsStateMachine-CvbaBh5w.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BBJwCOsR.esm.js → ekybManager-BvzcaOpy.esm.js} +1 -1
- package/dist/{ekybStateMachine-jym81TFF.esm.js → ekybStateMachine-DHWxYUIS.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CWYfI4hO.esm.js → electronicSignatureManager-5KlPvreH.esm.js} +1 -1
- package/dist/extensibility.d.ts +1 -1
- package/dist/extensibility.esm.js +9 -9
- package/dist/{faceCaptureManagerFactory-DysNuSGO.esm.js → faceCaptureManagerFactory-BsEeLkzc.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DXCPmEv2.esm.js → faceCaptureSetup-Beroat8T.esm.js} +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DvWL2nH-.esm.js → flowCompletionService-Y0WvcQkw.esm.js} +1 -1
- package/dist/{flowServices-CAz3XO92.esm.js → flowServices-BXidrtDw.esm.js} +8 -13
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CPwKn86Q.esm.js → geolocationManager-BoivjO09.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Cm28EW1O.esm.js → geolocationStateMachine-CfDsI3Xy.esm.js} +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BuFn4xQl.esm.js → idCaptureManager-BQgLtZOI.esm.js} +2 -2
- package/dist/{idCaptureServices-Bn656NFx.esm.js → idCaptureServices-CbqjoUNV.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-CBpdXe7D.esm.js → idCaptureStateMachine-CTGXbcWc.esm.js} +7 -7
- package/dist/index.esm.js +1 -1
- package/dist/{onDeviceFaceResults-DT9SoUq7.esm.js → onDeviceFaceResults-Dinx_8fT.esm.js} +3 -3
- package/dist/personhood.esm.js +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DgwNVrR4.esm.js → recordingService-B3n0pLbb.esm.js} +1 -1
- package/dist/{runChildModule-BCd-d039.esm.js → runChildModule-DZVmB0WG.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-DfeUZfgL.esm.js → selfieManager-lTXVdFxn.esm.js} +2 -2
- package/dist/{selfieStateMachine-CHSNxzhO.esm.js → selfieStateMachine-BjUQB7dK.esm.js} +2 -2
- package/dist/{session-CuM9od2S.esm.js → session-C_XtdDVu.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-D_B-8Ujt.esm.js → sessionInitializer-9YcDPUJq.esm.js} +2 -2
- package/dist/{setup-y1bXyMoz.esm.js → setup-D6X-70jj.esm.js} +4 -4
- package/dist/trueSight-ZB99GCUf.esm.js +1 -0
- package/dist/{trueSightService-zTWODJoh.esm.js → trueSightService-D3QlMnBw.esm.js} +2 -2
- package/dist/video-selfie.d.ts +5 -22
- package/dist/video-selfie.esm.js +11 -16
- package/dist/{videoSelfieCameraWarmer-Da9lJmK8.esm.js → videoSelfieCameraWarmer-Dup2r3Q1.esm.js} +4 -4
- package/dist/{videoSelfieStepDetector-Bw5t6XCU.d.ts → videoSelfieStepDetector-SuOT83r7.d.ts} +3 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
- package/dist/trueSight-lNCajJAf.esm.js +0 -1
|
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
|
|
|
18
18
|
*/
|
|
19
19
|
function getTruesightKey() {
|
|
20
20
|
try {
|
|
21
|
-
const key = decodeTruesightKey("
|
|
21
|
+
const key = decodeTruesightKey("MP/pVLD0lg9USE+wjxEytXuDjX+Joab7vDh0pQqwRXc=", "+DWsW7cmSZWkubPZfkBjLn0CUXLXlf4Kk2f7igCkBCE=");
|
|
22
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
23
23
|
} catch {
|
|
24
24
|
return null;
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-5KlPvreH.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -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-COUrxTBq.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CD1Vtrdb.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-BL7RvcC8.esm.js → authenticationManager-CD1Vtrdb.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BsEeLkzc.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-COUrxTBq.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-CCzL3XD_.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-B0nFKawG.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-Beroat8T.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Dinx_8fT.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-D3QlMnBw.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-9YcDPUJq.esm.js";
|
|
5
|
+
import "./trueSight-ZB99GCUf.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
8
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-DelMqZLe.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-BykkLCQD.js";
|
|
3
3
|
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;
|
|
@@ -72,6 +72,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
72
72
|
}, EventObject>;
|
|
73
73
|
id: string | undefined;
|
|
74
74
|
};
|
|
75
|
+
initCamera: {
|
|
76
|
+
src: "initCamera";
|
|
77
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
78
|
+
id: string | undefined;
|
|
79
|
+
};
|
|
75
80
|
requestPermission: {
|
|
76
81
|
src: "requestPermission";
|
|
77
82
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -80,11 +85,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
80
85
|
}, EventObject>;
|
|
81
86
|
id: string | undefined;
|
|
82
87
|
};
|
|
83
|
-
initCamera: {
|
|
84
|
-
src: "initCamera";
|
|
85
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
86
|
-
id: string | undefined;
|
|
87
|
-
};
|
|
88
88
|
checkPermission: {
|
|
89
89
|
src: "checkPermission";
|
|
90
90
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -251,14 +251,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
251
251
|
type: "fileSizeOkForNonGallery";
|
|
252
252
|
params: unknown;
|
|
253
253
|
};
|
|
254
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "
|
|
254
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "failure" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
255
255
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
256
256
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
257
257
|
readonly id: "documentCapture";
|
|
258
258
|
readonly initial: "tutorial";
|
|
259
259
|
readonly context: ({ input }: {
|
|
260
260
|
spawn: {
|
|
261
|
-
<TSrc extends "uploadDocument" | "
|
|
261
|
+
<TSrc extends "uploadDocument" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
262
262
|
src: "uploadDocument";
|
|
263
263
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
264
264
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -282,18 +282,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
282
282
|
input?: InputFrom<T["logic"]> | undefined;
|
|
283
283
|
syncSnapshot?: boolean;
|
|
284
284
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
285
|
-
src: "
|
|
286
|
-
logic: PromiseActorLogic<
|
|
287
|
-
permissionResult?: PermissionResult;
|
|
288
|
-
requestMotionPermission: boolean;
|
|
289
|
-
}, EventObject>;
|
|
285
|
+
src: "initCamera";
|
|
286
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
290
287
|
id: string | undefined;
|
|
291
288
|
} extends (infer T_1) ? T_1 extends {
|
|
292
|
-
src: "
|
|
293
|
-
logic: PromiseActorLogic<
|
|
294
|
-
permissionResult?: PermissionResult;
|
|
295
|
-
requestMotionPermission: boolean;
|
|
296
|
-
}, EventObject>;
|
|
289
|
+
src: "initCamera";
|
|
290
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
297
291
|
id: string | undefined;
|
|
298
292
|
} ? T_1 extends {
|
|
299
293
|
src: TSrc;
|
|
@@ -303,12 +297,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
303
297
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
304
298
|
syncSnapshot?: boolean;
|
|
305
299
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
306
|
-
src: "
|
|
307
|
-
logic: PromiseActorLogic<
|
|
300
|
+
src: "requestPermission";
|
|
301
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
302
|
+
permissionResult?: PermissionResult;
|
|
303
|
+
requestMotionPermission: boolean;
|
|
304
|
+
}, EventObject>;
|
|
308
305
|
id: string | undefined;
|
|
309
306
|
} extends (infer T_2) ? T_2 extends {
|
|
310
|
-
src: "
|
|
311
|
-
logic: PromiseActorLogic<
|
|
307
|
+
src: "requestPermission";
|
|
308
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
309
|
+
permissionResult?: PermissionResult;
|
|
310
|
+
requestMotionPermission: boolean;
|
|
311
|
+
}, EventObject>;
|
|
312
312
|
id: string | undefined;
|
|
313
313
|
} ? T_2 extends {
|
|
314
314
|
src: TSrc;
|
|
@@ -361,6 +361,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
361
361
|
}, EventObject>;
|
|
362
362
|
id: string | undefined;
|
|
363
363
|
};
|
|
364
|
+
initCamera: {
|
|
365
|
+
src: "initCamera";
|
|
366
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
367
|
+
id: string | undefined;
|
|
368
|
+
};
|
|
364
369
|
requestPermission: {
|
|
365
370
|
src: "requestPermission";
|
|
366
371
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -369,11 +374,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
369
374
|
}, EventObject>;
|
|
370
375
|
id: string | undefined;
|
|
371
376
|
};
|
|
372
|
-
initCamera: {
|
|
373
|
-
src: "initCamera";
|
|
374
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
375
|
-
id: string | undefined;
|
|
376
|
-
};
|
|
377
377
|
checkPermission: {
|
|
378
378
|
src: "checkPermission";
|
|
379
379
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -621,6 +621,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
621
621
|
}, EventObject>;
|
|
622
622
|
id: string | undefined;
|
|
623
623
|
};
|
|
624
|
+
initCamera: {
|
|
625
|
+
src: "initCamera";
|
|
626
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
627
|
+
id: string | undefined;
|
|
628
|
+
};
|
|
624
629
|
requestPermission: {
|
|
625
630
|
src: "requestPermission";
|
|
626
631
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -629,11 +634,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
629
634
|
}, EventObject>;
|
|
630
635
|
id: string | undefined;
|
|
631
636
|
};
|
|
632
|
-
initCamera: {
|
|
633
|
-
src: "initCamera";
|
|
634
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
635
|
-
id: string | undefined;
|
|
636
|
-
};
|
|
637
637
|
checkPermission: {
|
|
638
638
|
src: "checkPermission";
|
|
639
639
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -706,6 +706,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
706
706
|
}, EventObject>;
|
|
707
707
|
id: string | undefined;
|
|
708
708
|
};
|
|
709
|
+
initCamera: {
|
|
710
|
+
src: "initCamera";
|
|
711
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
712
|
+
id: string | undefined;
|
|
713
|
+
};
|
|
709
714
|
requestPermission: {
|
|
710
715
|
src: "requestPermission";
|
|
711
716
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -714,11 +719,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
714
719
|
}, EventObject>;
|
|
715
720
|
id: string | undefined;
|
|
716
721
|
};
|
|
717
|
-
initCamera: {
|
|
718
|
-
src: "initCamera";
|
|
719
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
720
|
-
id: string | undefined;
|
|
721
|
-
};
|
|
722
722
|
checkPermission: {
|
|
723
723
|
src: "checkPermission";
|
|
724
724
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -790,6 +790,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
790
790
|
}, EventObject>;
|
|
791
791
|
id: string | undefined;
|
|
792
792
|
};
|
|
793
|
+
initCamera: {
|
|
794
|
+
src: "initCamera";
|
|
795
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
796
|
+
id: string | undefined;
|
|
797
|
+
};
|
|
793
798
|
requestPermission: {
|
|
794
799
|
src: "requestPermission";
|
|
795
800
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -798,11 +803,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
798
803
|
}, EventObject>;
|
|
799
804
|
id: string | undefined;
|
|
800
805
|
};
|
|
801
|
-
initCamera: {
|
|
802
|
-
src: "initCamera";
|
|
803
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
804
|
-
id: string | undefined;
|
|
805
|
-
};
|
|
806
806
|
checkPermission: {
|
|
807
807
|
src: "checkPermission";
|
|
808
808
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -875,6 +875,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
875
875
|
}, EventObject>;
|
|
876
876
|
id: string | undefined;
|
|
877
877
|
};
|
|
878
|
+
initCamera: {
|
|
879
|
+
src: "initCamera";
|
|
880
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
881
|
+
id: string | undefined;
|
|
882
|
+
};
|
|
878
883
|
requestPermission: {
|
|
879
884
|
src: "requestPermission";
|
|
880
885
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -883,11 +888,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
883
888
|
}, EventObject>;
|
|
884
889
|
id: string | undefined;
|
|
885
890
|
};
|
|
886
|
-
initCamera: {
|
|
887
|
-
src: "initCamera";
|
|
888
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
889
|
-
id: string | undefined;
|
|
890
|
-
};
|
|
891
891
|
checkPermission: {
|
|
892
892
|
src: "checkPermission";
|
|
893
893
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1129,6 +1129,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1129
1129
|
}, EventObject>;
|
|
1130
1130
|
id: string | undefined;
|
|
1131
1131
|
};
|
|
1132
|
+
initCamera: {
|
|
1133
|
+
src: "initCamera";
|
|
1134
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1135
|
+
id: string | undefined;
|
|
1136
|
+
};
|
|
1132
1137
|
requestPermission: {
|
|
1133
1138
|
src: "requestPermission";
|
|
1134
1139
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1137,11 +1142,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1137
1142
|
}, EventObject>;
|
|
1138
1143
|
id: string | undefined;
|
|
1139
1144
|
};
|
|
1140
|
-
initCamera: {
|
|
1141
|
-
src: "initCamera";
|
|
1142
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1143
|
-
id: string | undefined;
|
|
1144
|
-
};
|
|
1145
1145
|
checkPermission: {
|
|
1146
1146
|
src: "checkPermission";
|
|
1147
1147
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1214,6 +1214,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1214
1214
|
}, EventObject>;
|
|
1215
1215
|
id: string | undefined;
|
|
1216
1216
|
};
|
|
1217
|
+
initCamera: {
|
|
1218
|
+
src: "initCamera";
|
|
1219
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1220
|
+
id: string | undefined;
|
|
1221
|
+
};
|
|
1217
1222
|
requestPermission: {
|
|
1218
1223
|
src: "requestPermission";
|
|
1219
1224
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1222,11 +1227,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1222
1227
|
}, EventObject>;
|
|
1223
1228
|
id: string | undefined;
|
|
1224
1229
|
};
|
|
1225
|
-
initCamera: {
|
|
1226
|
-
src: "initCamera";
|
|
1227
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1228
|
-
id: string | undefined;
|
|
1229
|
-
};
|
|
1230
1230
|
checkPermission: {
|
|
1231
1231
|
src: "checkPermission";
|
|
1232
1232
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1298,6 +1298,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1298
1298
|
}, EventObject>;
|
|
1299
1299
|
id: string | undefined;
|
|
1300
1300
|
};
|
|
1301
|
+
initCamera: {
|
|
1302
|
+
src: "initCamera";
|
|
1303
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1304
|
+
id: string | undefined;
|
|
1305
|
+
};
|
|
1301
1306
|
requestPermission: {
|
|
1302
1307
|
src: "requestPermission";
|
|
1303
1308
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1306,11 +1311,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1306
1311
|
}, EventObject>;
|
|
1307
1312
|
id: string | undefined;
|
|
1308
1313
|
};
|
|
1309
|
-
initCamera: {
|
|
1310
|
-
src: "initCamera";
|
|
1311
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1312
|
-
id: string | undefined;
|
|
1313
|
-
};
|
|
1314
1314
|
checkPermission: {
|
|
1315
1315
|
src: "checkPermission";
|
|
1316
1316
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1433,6 +1433,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1433
1433
|
}, EventObject>;
|
|
1434
1434
|
id: string | undefined;
|
|
1435
1435
|
};
|
|
1436
|
+
initCamera: {
|
|
1437
|
+
src: "initCamera";
|
|
1438
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1439
|
+
id: string | undefined;
|
|
1440
|
+
};
|
|
1436
1441
|
requestPermission: {
|
|
1437
1442
|
src: "requestPermission";
|
|
1438
1443
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1441,11 +1446,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1441
1446
|
}, EventObject>;
|
|
1442
1447
|
id: string | undefined;
|
|
1443
1448
|
};
|
|
1444
|
-
initCamera: {
|
|
1445
|
-
src: "initCamera";
|
|
1446
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1447
|
-
id: string | undefined;
|
|
1448
|
-
};
|
|
1449
1449
|
checkPermission: {
|
|
1450
1450
|
src: "checkPermission";
|
|
1451
1451
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CvbaBh5w.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DNg2P7ma.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.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 dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CvbaBh5w.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-D144f-2m.esm.js → dynamicFormsStateMachine-CvbaBh5w.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-5rTDCQnX.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-BXidrtDw.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DHWxYUIS.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BvzcaOpy.esm.js";
|
|
4
4
|
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-CxfNJVZW.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-DHWxYUIS.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-BXidrtDw.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
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-DQyrvDQj.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-5KlPvreH.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-5rTDCQnX.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 { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchMana
|
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-C_TQjX2P.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BykkLCQD.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-DhveFHPS.js";
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
23
23
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-9YcDPUJq.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-5KlPvreH.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-B8Plzf7a.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Beroat8T.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CD1Vtrdb.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Ci4symEA.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-BApTlfA0.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-OmYvyung.esm.js";
|
|
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-6mtAzlY2.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-BgS0M1gL.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-D7A4k-GE.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DNg2P7ma.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BvzcaOpy.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-oTstTJuL.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-tE-YvNtS.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-lTXVdFxn.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BQgLtZOI.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-Cpiai2IM.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CjSMmbyq.esm.js";
|
|
25
25
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-D5vXknnJ.esm.js";
|
|
@@ -28,7 +28,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
28
28
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-CvJZhmBR.esm.js";
|
|
29
29
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-C0dfc7f6.esm.js";
|
|
30
30
|
import { n as createSignatureManagerFromActor } from "./signatureManager-DdPgcmou.esm.js";
|
|
31
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
31
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BoivjO09.esm.js";
|
|
32
32
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-DeF0Wcf5.esm.js";
|
|
33
33
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CduNXhWd.esm.js";
|
|
34
34
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BXp2WUT-.esm.js";
|
package/dist/{faceCaptureManagerFactory-DysNuSGO.esm.js → faceCaptureManagerFactory-BsEeLkzc.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CxfNJVZW.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 { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-Beroat8T.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
|
|
7
7
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BPUkbztJ.esm.js";
|
|
@@ -2,13 +2,13 @@ import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as sendTo, 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-BPUkbztJ.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-Dinx_8fT.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.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-BEgOUwwQ.esm.js";
|
|
10
10
|
import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
|
|
11
|
-
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-
|
|
11
|
+
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-B3n0pLbb.esm.js";
|
|
12
12
|
//#region src/internal/avatar/concealment.ts
|
|
13
13
|
/**
|
|
14
14
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as addEvent } from "./events-CxfNJVZW.esm.js";
|
|
2
|
-
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
2
|
+
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-BXidrtDw.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor, 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
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-Y0WvcQkw.esm.js";
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DZVmB0WG.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
package/dist/{flowCompletionService-DvWL2nH-.esm.js → flowCompletionService-Y0WvcQkw.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError } from "./apiError-5rTDCQnX.esm.js";
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
6
6
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
3
|
+
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-9YcDPUJq.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-5rTDCQnX.esm.js";
|
|
6
|
+
import "./session-C_XtdDVu.esm.js";
|
|
7
7
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
|
@@ -220,6 +220,7 @@ function facingModeForStep(step) {
|
|
|
220
220
|
* the first well-framed frame.
|
|
221
221
|
*/
|
|
222
222
|
function resolveVideoSelfieSteps(config) {
|
|
223
|
+
if (config.steps && config.steps.length > 0) return [...config.steps];
|
|
223
224
|
const steps = [];
|
|
224
225
|
if (config.checkIdScan) {
|
|
225
226
|
steps.push("frontId");
|
|
@@ -233,16 +234,10 @@ function resolveVideoSelfieSteps(config) {
|
|
|
233
234
|
}
|
|
234
235
|
return steps;
|
|
235
236
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
* flow-level eager warmup ({@link getRequiredWasmPipelines}) and the
|
|
241
|
-
* tutorial-time lazy warmup (`warmupVideoSelfieWasm`).
|
|
242
|
-
*/
|
|
243
|
-
function videoSelfieWasmPipelines(config) {
|
|
244
|
-
const pipelines = ["videoSelfie"];
|
|
245
|
-
if (config.checkIdScan) pipelines.push("videoSelfieId");
|
|
237
|
+
function videoSelfieWasmPipelines(config, steps = resolveVideoSelfieSteps(config)) {
|
|
238
|
+
const pipelines = [];
|
|
239
|
+
if (steps.includes("selfie")) pipelines.push("videoSelfie");
|
|
240
|
+
if (steps.some((step) => step === "frontId" || step === "backId")) pipelines.push("videoSelfieId");
|
|
246
241
|
return pipelines;
|
|
247
242
|
}
|
|
248
243
|
//#endregion
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-BoivjO09.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CfDsI3Xy.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|