@incodetech/core 2.3.0-rc.7 → 2.3.0-rc.9
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-BclCEzL8.esm.js → BrowserDiagnosticsCryptoProvider-HO8YXP4h.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-kCLAWdn1.esm.js → FaceDetectionProvider-C7bUZsH9.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-Bvig2fNZ.esm.js → apiError-BWlcyGbw.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BE702Ijw.esm.js → authenticationManager-B321A87w.esm.js} +3 -3
- package/dist/{authenticationStateMachine-CRsqnMxm.esm.js → authenticationStateMachine-CSJtf13E.esm.js} +2 -2
- package/dist/{deepsightLoader-n43qNbOw.esm.js → deepsightLoader-FOktaF-9.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-W7ZXcuvL.d.ts} +15 -1
- package/dist/{documentCaptureManager-BeR7ttQy.esm.js → documentCaptureManager-pprJUhsN.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-C_8bQ3fw.esm.js → documentCaptureStateMachine-DN2YOxdu.esm.js} +10 -5
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CnQcLXL_.esm.js → dynamicFormsManager-Pj67RmHb.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BSjRcqQY.esm.js → dynamicFormsStateMachine-B00MVHEa.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CL-GLqTh.esm.js → ekybManager-CovxKSIS.esm.js} +1 -1
- package/dist/{ekybStateMachine-3ZRVx12M.esm.js → ekybStateMachine-DHCg1B5d.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CDgeKkaK.esm.js → electronicSignatureManager-BnlLBzH6.esm.js} +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-D_Ljfeey.esm.js → faceCaptureManagerFactory-DTqP1t1a.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DgPE6Y2i.esm.js → faceCaptureSetup-DfetEHJm.esm.js} +4 -4
- package/dist/{feature-management-PDAuJ35w.esm.js → feature-management-BjROP6fF.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-_qvfViI5.esm.js → flowCompletionService-iyH7fw8r.esm.js} +1 -1
- package/dist/{flowServices-tV_n-phH.esm.js → flowServices-C8CBt9j3.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-S68x93Tj.esm.js → geolocationManager-DQ5tHq5k.esm.js} +1 -1
- package/dist/{geolocationStateMachine-rJY4ba6N.esm.js → geolocationStateMachine-BfNIvTHA.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-AySbfIxl.esm.js → idCaptureDefaults-DCmwAxkz.esm.js} +1 -1
- package/dist/{idCaptureManager-BqQL-OOf.esm.js → idCaptureManager-C4gJNe18.esm.js} +3 -3
- package/dist/{idCaptureServices-O1skRskw.esm.js → idCaptureServices-CPh--aZR.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-DXHBTn83.esm.js → idCaptureStateMachine-Du4Q40uJ.esm.js} +9 -9
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-BFDI7iFK.d.ts → identityReuseManager-v2TH5g7e.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-Csfl7_XQ.d.ts → mandatoryConsentManager-2O5wztkg.d.ts} +4 -4
- package/dist/{multipartRecordingService-CuXLH4tK.esm.js → multipartRecordingService-DDAOXQKm.esm.js} +3 -7
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-CPl1GIjN.esm.js → runChildModule-CHjWYSMf.esm.js} +1 -1
- package/dist/{sdkVersion-Cmc8CPSi.esm.js → sdkVersion-DCLQtexS.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-68bOKgEb.esm.js → selfieManager-ys-X4hkv.esm.js} +3 -3
- package/dist/{selfieStateMachine-CJyGioZT.esm.js → selfieStateMachine-BhzbXmKN.esm.js} +2 -2
- package/dist/{session-BQ4dCQCr.esm.js → session-oKiwoHdR.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DRfVB5Az.esm.js → sessionInitializer-DSf0jyab.esm.js} +4 -4
- package/dist/{setup-BUnRvSkr.esm.js → setup-BttZ27hw.esm.js} +5 -5
- package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-B8SjRCo7.esm.js → trueSightService-C1JG8gAU.esm.js} +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-CY5YHgLl.esm.js → videoSelfieCameraWarmer-BpaLtLvD.esm.js} +3 -3
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +15 -15
- package/package.json +3 -3
|
@@ -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("nxY4C/lJGbUcQA2twGzlEpHz8TmdjvBbeIBLiUcra3o=", "QAqAFiwIRDpNaOyQw8/ZZnVATD2qQlng4xu9ni/ypOU=");
|
|
22
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
23
23
|
} catch {
|
|
24
24
|
return null;
|
package/dist/{FaceDetectionProvider-kCLAWdn1.esm.js → FaceDetectionProvider-C7bUZsH9.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C1JG8gAU.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-CUUnwYxe.esm.js";
|
|
3
3
|
import { i as BaseWasmProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
4
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
5
|
-
import "./sessionInitializer-
|
|
4
|
+
import { t as ensureWasmPipelines } from "./setup-BttZ27hw.esm.js";
|
|
5
|
+
import "./sessionInitializer-DSf0jyab.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
7
7
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
8
8
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
@@ -156,7 +156,7 @@ function startDetection(params) {
|
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
async function initializeDeepsightSession(options) {
|
|
159
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
159
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-FOktaF-9.esm.js");
|
|
160
160
|
return loadDeepsightSession({
|
|
161
161
|
ds: options.ds,
|
|
162
162
|
storage: options.storage
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BnlLBzH6.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-CSJtf13E.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B321A87w.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-BE702Ijw.esm.js → authenticationManager-B321A87w.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-BttZ27hw.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DTqP1t1a.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CSJtf13E.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DfetEHJm.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-C7bUZsH9.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-C1JG8gAU.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
3
|
-
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-
|
|
4
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-DSf0jyab.esm.js";
|
|
4
|
+
import { t as SDK_VERSION } from "./sdkVersion-DCLQtexS.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.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-BjSly8cp.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-W7ZXcuvL.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 };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DN2YOxdu.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-pprJUhsN.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -55,6 +55,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
55
55
|
[x: string]: ActorRefFromLogic<PromiseActorLogic<DocumentUploadResponse, {
|
|
56
56
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
57
57
|
processingType: string;
|
|
58
|
+
sendBase64: boolean;
|
|
58
59
|
onProgress: (progress: number) => void;
|
|
59
60
|
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, {
|
|
60
61
|
permissionResult?: PermissionResult;
|
|
@@ -68,6 +69,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
68
69
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
69
70
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
70
71
|
processingType: string;
|
|
72
|
+
sendBase64: boolean;
|
|
71
73
|
onProgress: (progress: number) => void;
|
|
72
74
|
}, EventObject>;
|
|
73
75
|
id: string | undefined;
|
|
@@ -251,7 +253,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
251
253
|
type: "fileSizeOkForNonGallery";
|
|
252
254
|
params: unknown;
|
|
253
255
|
};
|
|
254
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
256
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
255
257
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
256
258
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
257
259
|
readonly id: "documentCapture";
|
|
@@ -263,6 +265,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
263
265
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
264
266
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
265
267
|
processingType: string;
|
|
268
|
+
sendBase64: boolean;
|
|
266
269
|
onProgress: (progress: number) => void;
|
|
267
270
|
}, EventObject>;
|
|
268
271
|
id: string | undefined;
|
|
@@ -271,6 +274,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
271
274
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
272
275
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
273
276
|
processingType: string;
|
|
277
|
+
sendBase64: boolean;
|
|
274
278
|
onProgress: (progress: number) => void;
|
|
275
279
|
}, EventObject>;
|
|
276
280
|
id: string | undefined;
|
|
@@ -357,6 +361,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
357
361
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
358
362
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
359
363
|
processingType: string;
|
|
364
|
+
sendBase64: boolean;
|
|
360
365
|
onProgress: (progress: number) => void;
|
|
361
366
|
}, EventObject>;
|
|
362
367
|
id: string | undefined;
|
|
@@ -617,6 +622,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
617
622
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
618
623
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
619
624
|
processingType: string;
|
|
625
|
+
sendBase64: boolean;
|
|
620
626
|
onProgress: (progress: number) => void;
|
|
621
627
|
}, EventObject>;
|
|
622
628
|
id: string | undefined;
|
|
@@ -702,6 +708,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
702
708
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
703
709
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
704
710
|
processingType: string;
|
|
711
|
+
sendBase64: boolean;
|
|
705
712
|
onProgress: (progress: number) => void;
|
|
706
713
|
}, EventObject>;
|
|
707
714
|
id: string | undefined;
|
|
@@ -786,6 +793,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
786
793
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
787
794
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
788
795
|
processingType: string;
|
|
796
|
+
sendBase64: boolean;
|
|
789
797
|
onProgress: (progress: number) => void;
|
|
790
798
|
}, EventObject>;
|
|
791
799
|
id: string | undefined;
|
|
@@ -871,6 +879,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
871
879
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
872
880
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
873
881
|
processingType: string;
|
|
882
|
+
sendBase64: boolean;
|
|
874
883
|
onProgress: (progress: number) => void;
|
|
875
884
|
}, EventObject>;
|
|
876
885
|
id: string | undefined;
|
|
@@ -1125,6 +1134,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1125
1134
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
1126
1135
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
1127
1136
|
processingType: string;
|
|
1137
|
+
sendBase64: boolean;
|
|
1128
1138
|
onProgress: (progress: number) => void;
|
|
1129
1139
|
}, EventObject>;
|
|
1130
1140
|
id: string | undefined;
|
|
@@ -1210,6 +1220,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1210
1220
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
1211
1221
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
1212
1222
|
processingType: string;
|
|
1223
|
+
sendBase64: boolean;
|
|
1213
1224
|
onProgress: (progress: number) => void;
|
|
1214
1225
|
}, EventObject>;
|
|
1215
1226
|
id: string | undefined;
|
|
@@ -1294,6 +1305,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1294
1305
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
1295
1306
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
1296
1307
|
processingType: string;
|
|
1308
|
+
sendBase64: boolean;
|
|
1297
1309
|
onProgress: (progress: number) => void;
|
|
1298
1310
|
}, EventObject>;
|
|
1299
1311
|
id: string | undefined;
|
|
@@ -1429,6 +1441,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1429
1441
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
1430
1442
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
1431
1443
|
processingType: string;
|
|
1444
|
+
sendBase64: boolean;
|
|
1432
1445
|
onProgress: (progress: number) => void;
|
|
1433
1446
|
}, EventObject>;
|
|
1434
1447
|
id: string | undefined;
|
|
@@ -1686,6 +1699,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1686
1699
|
}) => {
|
|
1687
1700
|
capturedDocument: CapturedDocument;
|
|
1688
1701
|
processingType: DocumentType;
|
|
1702
|
+
sendBase64: boolean;
|
|
1689
1703
|
onProgress: (progress: number) => void;
|
|
1690
1704
|
};
|
|
1691
1705
|
readonly onDone: {
|
package/dist/{documentCaptureManager-BeR7ttQy.esm.js → documentCaptureManager-pprJUhsN.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DN2YOxdu.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -47,20 +47,22 @@ function normalizeProcessingType(processingType) {
|
|
|
47
47
|
function buildUrl(baseUrl, type, format) {
|
|
48
48
|
return `${baseUrl}?type=${encodeURIComponent(type)}&format=${format}`;
|
|
49
49
|
}
|
|
50
|
-
function resolveUploadUrl(processingType, fileFormat) {
|
|
50
|
+
function resolveUploadUrl(processingType, fileFormat, sendBase64 = false) {
|
|
51
51
|
const format = fileFormat === "application/pdf" ? "pdf" : "image";
|
|
52
52
|
const resolvedType = normalizeProcessingType(processingType);
|
|
53
53
|
if (isMultiPageDocumentType(resolvedType)) return buildUrl(endpoints.documentV3, resolvedType, format);
|
|
54
54
|
if (V3_SINGLE_PAGE_TYPES.has(resolvedType)) return buildUrl(endpoints.documentV3, resolvedType, format);
|
|
55
55
|
if (resolvedType === "carInvoice") return buildUrl(endpoints.cfdi, resolvedType, format);
|
|
56
|
+
if (!sendBase64) return buildUrl(endpoints.documentLegacy, resolvedType || "addressStatement", format);
|
|
56
57
|
if (OTHER_DOCUMENT_TYPES.has(resolvedType)) return buildUrl(endpoints.addDocument, resolvedType, format);
|
|
57
58
|
if (resolvedType === "addressStatement" || !resolvedType) return buildUrl(endpoints.addressStatement, resolvedType || "addressStatement", format);
|
|
58
59
|
return buildUrl(endpoints.addressStatement, processingType, format);
|
|
59
60
|
}
|
|
60
|
-
async function uploadDocumentCapture({ base64Image, processingType, fileFormat, onProgress, signal }) {
|
|
61
|
-
const url = resolveUploadUrl(processingType, fileFormat);
|
|
62
|
-
const
|
|
63
|
-
const response = await api.post(url,
|
|
61
|
+
async function uploadDocumentCapture({ file, base64Image, sendBase64 = false, processingType, fileFormat, onProgress, signal }) {
|
|
62
|
+
const url = resolveUploadUrl(processingType, fileFormat, sendBase64);
|
|
63
|
+
const body = sendBase64 ? { base64Image: base64Image.includes(",") ? base64Image.split(",")[1] : base64Image } : file;
|
|
64
|
+
const response = await api.post(url, body, {
|
|
65
|
+
headers: { "Content-Type": sendBase64 ? "application/json" : file.type },
|
|
64
66
|
signal,
|
|
65
67
|
onUploadProgress: onProgress
|
|
66
68
|
});
|
|
@@ -106,7 +108,9 @@ const documentCaptureMachine = setup({
|
|
|
106
108
|
}),
|
|
107
109
|
uploadDocument: fromPromise(async ({ input, signal }) => {
|
|
108
110
|
return uploadDocumentCapture({
|
|
111
|
+
file: input.capturedDocument.file,
|
|
109
112
|
base64Image: input.capturedDocument.imageBase64,
|
|
113
|
+
sendBase64: input.sendBase64,
|
|
110
114
|
processingType: input.processingType,
|
|
111
115
|
fileFormat: input.capturedDocument.fileType,
|
|
112
116
|
onProgress: input.onProgress,
|
|
@@ -418,6 +422,7 @@ const documentCaptureMachine = setup({
|
|
|
418
422
|
return {
|
|
419
423
|
capturedDocument: context.capturedDocument,
|
|
420
424
|
processingType: context.config.processingType,
|
|
425
|
+
sendBase64: context.config.sendBase64,
|
|
421
426
|
onProgress: (progress) => {
|
|
422
427
|
self.send({
|
|
423
428
|
type: "UPLOAD_PROGRESS",
|
|
@@ -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-B00MVHEa.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-Pj67RmHb.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B00MVHEa.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-BSjRcqQY.esm.js → dynamicFormsStateMachine-B00MVHEa.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-B-3Q-LUw.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BWlcyGbw.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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 { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-C8CBt9j3.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DHCg1B5d.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-CovxKSIS.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-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-DHCg1B5d.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-B-3Q-LUw.esm.js";
|
|
3
|
-
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-
|
|
3
|
+
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-C8CBt9j3.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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-DyHGgeX8.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BnlLBzH6.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, 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-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BWlcyGbw.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
8
8
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchMana
|
|
|
16
16
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-SSKNrm5Z.js";
|
|
17
17
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
|
|
18
18
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
|
|
19
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
19
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-W7ZXcuvL.js";
|
|
20
20
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-D5R_uxLQ.js";
|
|
21
21
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
22
22
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
@@ -27,9 +27,9 @@ import { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManager
|
|
|
27
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
28
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
29
29
|
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
|
|
30
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
30
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-2O5wztkg.js";
|
|
33
33
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
34
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
-
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-BttZ27hw.esm.js";
|
|
3
|
+
import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-DSf0jyab.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BnlLBzH6.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DfetEHJm.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B321A87w.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-B6E1XJDw.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9XhFVZ5S.esm.js";
|
|
13
13
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DbIMYFcJ.esm.js";
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CzWZTkW-.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DWTED5Ur.esm.js";
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-pprJUhsN.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Pj67RmHb.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-CovxKSIS.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-BlQ-Qj4E.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-bR1N5rV_.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-ys-X4hkv.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-C4gJNe18.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-IjhSv5XS.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CixcLNDT.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
|
|
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-r46XfZGE.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-FLEWJtv8.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-B72np4ZO.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-DQ5tHq5k.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CacFOtKO.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DT42c77H.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Bmv0HzuY.esm.js";
|
package/dist/{faceCaptureManagerFactory-D_Ljfeey.esm.js → faceCaptureManagerFactory-DTqP1t1a.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { i as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { i as concealmentToAvatar } from "./faceCaptureSetup-DfetEHJm.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-
|
|
1
|
+
import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-C1JG8gAU.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import "./sessionInitializer-
|
|
4
|
+
import "./sessionInitializer-DSf0jyab.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
7
7
|
import { t as isAndroid } from "./platform-DkcRc9JV.esm.js";
|
|
8
8
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-C7bUZsH9.esm.js";
|
|
12
12
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
13
13
|
import { a as flagFaceManualReview, i as imageFileToDataUrl, n as runProtectedAttempt, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
|
|
14
14
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
15
15
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
16
16
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-uYZYFu4J.esm.js";
|
|
17
17
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
18
|
-
import { n as CameraCompositor, r as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-
|
|
18
|
+
import { n as CameraCompositor, r as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-DDAOXQKm.esm.js";
|
|
19
19
|
//#region src/internal/avatar/concealment.ts
|
|
20
20
|
/**
|
|
21
21
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-DCLQtexS.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BjROP6fF.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
2
|
-
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-
|
|
2
|
+
import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-C8CBt9j3.esm.js";
|
|
3
3
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-iyH7fw8r.esm.js";
|
|
6
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CHjWYSMf.esm.js";
|
|
7
7
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
8
8
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
9
9
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
package/dist/{flowCompletionService-_qvfViI5.esm.js → flowCompletionService-iyH7fw8r.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-B-3Q-LUw.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-BWlcyGbw.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,10 +1,10 @@
|
|
|
1
1
|
import { n as getWasmStatus } from "./warmup-CUUnwYxe.esm.js";
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BjROP6fF.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-DSf0jyab.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session-
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-BWlcyGbw.esm.js";
|
|
7
|
+
import "./session-oKiwoHdR.esm.js";
|
|
8
8
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
9
9
|
//#region src/modules/flow/dashboardConfig.ts
|
|
10
10
|
function isPlainObject(value) {
|
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-DQ5tHq5k.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BfNIvTHA.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BfNIvTHA.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-rJY4ba6N.esm.js → geolocationStateMachine-BfNIvTHA.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
3
|
import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-BWlcyGbw.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BttZ27hw.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-C8CBt9j3.esm.js";
|
|
5
5
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-C7bUZsH9.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
|
|
11
|
-
import { n as CameraCompositor } from "./multipartRecordingService-
|
|
12
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
13
|
-
import { _ as validateUploadResponse, h as uploadIdImage, u as processId, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
11
|
+
import { n as CameraCompositor } from "./multipartRecordingService-DDAOXQKm.esm.js";
|
|
12
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DCmwAxkz.esm.js";
|
|
13
|
+
import { _ as validateUploadResponse, h as uploadIdImage, u as processId, v as ID_ERROR_CODES } from "./idCaptureServices-CPh--aZR.esm.js";
|
|
14
14
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
15
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
16
|
-
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
15
|
+
import { n as getFinishStatus } from "./flowCompletionService-iyH7fw8r.esm.js";
|
|
16
|
+
import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BpaLtLvD.esm.js";
|
|
17
17
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
18
18
|
/** Default autocapture window for the selfie step. */
|
|
19
19
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|