@incodetech/core 0.0.0-dev-20260729-e2dda0b0 → 0.0.0-dev-20260729-37d96d3d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-GA6MbJpI.esm.js → apiError-DVMm9USR.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-B7v0Jy-x.esm.js → authenticationManager-CZZkbrbS.esm.js} +2 -2
- package/dist/{authenticationStateMachine-DAh9ziFC.esm.js → authenticationStateMachine-DaBaRj0q.esm.js} +2 -2
- package/dist/{backCameraStream-6XQp9RxG.esm.js → backCameraStream-BqiXcU28.esm.js} +11 -1
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
- package/dist/{deepsightLoader-CHG26pOB.esm.js → deepsightLoader-CMjjYlDH.esm.js} +3 -3
- package/dist/device.esm.js +1 -15
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +4 -4
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureManager-FvcNYpkS.esm.js → documentCaptureManager-BXBNX-pQ.esm.js} +1 -1
- package/dist/{documentCaptureManager-BK_4RbHt.d.ts → documentCaptureManager-BiKjyojT.d.ts} +4 -4
- package/dist/{documentCaptureStateMachine-BlzN0-mU.esm.js → documentCaptureStateMachine-DAR7pkTk.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CfJixpOW.esm.js → dynamicFormsManager-bhrXytht.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DrPO1i45.esm.js → dynamicFormsStateMachine-DZNivd_Y.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DVCqaSzz.esm.js → ekybManager-CwhMYgxw.esm.js} +1 -1
- package/dist/{ekybStateMachine-C3y-Qx1a.esm.js → ekybStateMachine-CDY3t9pl.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-D0X7P-de.esm.js → electronicSignatureManager-Bv4NSqFL.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +9 -9
- package/dist/{faceCaptureManagerFactory-D2pR3ZnX.esm.js → faceCaptureManagerFactory-BdQ0rekz.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DbhDPMjb.esm.js → faceCaptureSetup-BEIJq6g-.esm.js} +4 -4
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BdZR6HyE.esm.js → flowCompletionService-BDHnpF5D.esm.js} +1 -1
- package/dist/{flowServices-CPti9am-.esm.js → flowServices-D9XwX7i7.esm.js} +3 -3
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DW27-LTL.esm.js → geolocationManager-DPpJIcS4.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Cz3Q6az0.esm.js → geolocationStateMachine-Cw1ZPxPV.esm.js} +1 -1
- package/dist/getBrowser-DNrQeL4T.esm.js +16 -0
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-CPzgzVu8.esm.js → idCaptureManager-DMuuFXqa.esm.js} +2 -2
- package/dist/{idCaptureManager-C-WjmsN4.d.ts → idCaptureManager-Z8N6jdU0.d.ts} +2 -0
- package/dist/{idCaptureStateMachine-CAKztWBq.esm.js → idCaptureStateMachine-ihg_YbB8.esm.js} +67 -24
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CzsVFG33.d.ts → mandatoryConsentManager-DOZSFZA2.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-CVhk1BWp.esm.js → onDeviceFaceResults-BJDw5FPn.esm.js} +4 -4
- package/dist/{permissionGuards-UMiLlPfq.esm.js → permissionGuards-D0cdQjk6.esm.js} +1 -1
- package/dist/{permissionServices-C4qKxOl4.esm.js → permissionServices-GFikEK6S.esm.js} +2 -17
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BGPq5vGr.esm.js → recordingService-DgRIIgz0.esm.js} +1 -1
- package/dist/{runChildModule-fagPe5Ct.esm.js → runChildModule-BygT7eDD.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-DTiBsQNn.esm.js → selfieManager-CXX0Bdsp.esm.js} +2 -2
- package/dist/{selfieStateMachine-CxabK5_3.esm.js → selfieStateMachine-BOtVaHGI.esm.js} +2 -2
- package/dist/{session-Ccob4IUP.esm.js → session-BjWDH0Yu.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DEd0CQ74.esm.js → sessionInitializer-B9Z-7bmu.esm.js} +2 -2
- package/dist/{setup-BR4G3NHV.esm.js → setup-BFV4zwpB.esm.js} +4 -4
- package/dist/trueSight-BhOPRXqt.esm.js +1 -0
- package/dist/{trueSightService-DKC-gmQC.esm.js → trueSightService-1pUahMUt.esm.js} +1 -1
- package/dist/video-selfie.esm.js +5 -5
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
- package/dist/trueSight-4L5GCqKy.esm.js +0 -1
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-Bv4NSqFL.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-DaBaRj0q.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CZZkbrbS.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-B7v0Jy-x.esm.js → authenticationManager-CZZkbrbS.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CMFCCu1H.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-BdQ0rekz.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DaBaRj0q.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-DOfmJylF.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.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-BEIJq6g-.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BJDw5FPn.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
2
2
|
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-BmFEyPP_.esm.js";
|
|
3
3
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
4
|
+
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
4
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
5
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
6
7
|
"rear",
|
|
@@ -221,6 +222,12 @@ async function getAndroidBackCameraStream(fallbackLevel = 0) {
|
|
|
221
222
|
return getAndroidBackCameraStream(nextLevel);
|
|
222
223
|
}
|
|
223
224
|
}
|
|
225
|
+
async function getFirefoxAndroidBackCameraStream() {
|
|
226
|
+
return {
|
|
227
|
+
stream: await requestCameraAccess(getDesktopConstraints({ facingMode: "environment" })),
|
|
228
|
+
fallbackLevel: 0
|
|
229
|
+
};
|
|
230
|
+
}
|
|
224
231
|
async function applyFocusHint(stream) {
|
|
225
232
|
const videoTrack = stream.getVideoTracks()[0];
|
|
226
233
|
try {
|
|
@@ -420,7 +427,10 @@ async function ensureFrontCameraStream(open) {
|
|
|
420
427
|
}
|
|
421
428
|
async function getBackCameraStream(deviceId) {
|
|
422
429
|
if (isIOS()) return { stream: await getIOSCameraStream() };
|
|
423
|
-
if (isAndroid())
|
|
430
|
+
if (isAndroid()) {
|
|
431
|
+
if (getBrowser() === "firefox") return getFirefoxAndroidBackCameraStream();
|
|
432
|
+
return getAndroidBackCameraStream(0);
|
|
433
|
+
}
|
|
424
434
|
return { stream: await getDesktopBackCameraStream(deviceId) };
|
|
425
435
|
}
|
|
426
436
|
//#endregion
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -78,14 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
78
78
|
type: "setError";
|
|
79
79
|
params: NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
|
-
setConsentData: {
|
|
82
|
-
type: "setConsentData";
|
|
83
|
-
params: NonReducibleUnknown;
|
|
84
|
-
};
|
|
85
|
-
toggleCheckbox: {
|
|
86
|
-
type: "toggleCheckbox";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
81
|
clearError: {
|
|
90
82
|
type: "clearError";
|
|
91
83
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
86
|
type: "resetContext";
|
|
95
87
|
params: NonReducibleUnknown;
|
|
96
88
|
};
|
|
89
|
+
setConsentData: {
|
|
90
|
+
type: "setConsentData";
|
|
91
|
+
params: NonReducibleUnknown;
|
|
92
|
+
};
|
|
93
|
+
toggleCheckbox: {
|
|
94
|
+
type: "toggleCheckbox";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.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-1pUahMUt.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-B9Z-7bmu.esm.js";
|
|
5
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
8
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
package/dist/device.esm.js
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import { i as isIPad, s as isTabletWithoutAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
2
|
-
import { t as
|
|
2
|
+
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
3
3
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
4
4
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
5
|
-
//#region src/internal/device/getBrowser.ts
|
|
6
|
-
function getBrowser() {
|
|
7
|
-
const userAgent = getUserAgent();
|
|
8
|
-
if (!userAgent) return "other";
|
|
9
|
-
const ua = userAgent.toLowerCase();
|
|
10
|
-
if (ua.includes("edg/") || ua.includes("edgios/")) return "edge";
|
|
11
|
-
if (ua.includes("samsungbrowser/")) return "samsung_browser";
|
|
12
|
-
if (ua.includes("opr/") || ua.includes("opera") || ua.includes("opios/") || ua.includes("opt/")) return "opera";
|
|
13
|
-
if (ua.includes("chrome") || ua.includes("crios")) return "chrome";
|
|
14
|
-
if (ua.includes("firefox") || ua.includes("fxios")) return "firefox";
|
|
15
|
-
if (ua.includes("safari")) return "safari";
|
|
16
|
-
return "other";
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
5
|
//#region src/internal/device/redirectDeviceClassification.ts
|
|
20
6
|
/**
|
|
21
7
|
* Conservative redirect-specific check. A mobile identity must also expose an
|
|
@@ -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-B4BObr_7.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-BiKjyojT.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-DAR7pkTk.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-BXBNX-pQ.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -42,10 +42,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
42
42
|
type: "setError";
|
|
43
43
|
params: NonReducibleUnknown;
|
|
44
44
|
};
|
|
45
|
-
clearError: {
|
|
46
|
-
type: "clearError";
|
|
47
|
-
params: NonReducibleUnknown;
|
|
48
|
-
};
|
|
49
45
|
setStream: {
|
|
50
46
|
type: "setStream";
|
|
51
47
|
params: NonReducibleUnknown;
|
|
@@ -58,6 +54,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
58
54
|
type: "setProgress";
|
|
59
55
|
params: NonReducibleUnknown;
|
|
60
56
|
};
|
|
57
|
+
clearError: {
|
|
58
|
+
type: "clearError";
|
|
59
|
+
params: NonReducibleUnknown;
|
|
60
|
+
};
|
|
61
61
|
stopStream: {
|
|
62
62
|
type: "stopStream";
|
|
63
63
|
params: NonReducibleUnknown;
|
|
@@ -4,7 +4,7 @@ import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
|
4
4
|
import { c as createManager, o as createActor, 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 stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
8
8
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
9
9
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
10
10
|
const url = `${endpoints.addDocument}?type=${encodeURIComponent(documentType)}`;
|
package/dist/{documentCaptureManager-FvcNYpkS.esm.js → documentCaptureManager-BXBNX-pQ.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.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 { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DAR7pkTk.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();
|
|
@@ -102,10 +102,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
type: "decrementAttemptsRemaining";
|
|
103
103
|
params: NonReducibleUnknown;
|
|
104
104
|
};
|
|
105
|
-
clearError: {
|
|
106
|
-
type: "clearError";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
setStream: {
|
|
110
106
|
type: "setStream";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
@@ -114,6 +110,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
114
110
|
type: "setProgress";
|
|
115
111
|
params: NonReducibleUnknown;
|
|
116
112
|
};
|
|
113
|
+
clearError: {
|
|
114
|
+
type: "clearError";
|
|
115
|
+
params: NonReducibleUnknown;
|
|
116
|
+
};
|
|
117
117
|
stopStream: {
|
|
118
118
|
type: "stopStream";
|
|
119
119
|
params: NonReducibleUnknown;
|
|
@@ -2,10 +2,10 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
3
3
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
5
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
8
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|
|
11
11
|
processV5CLogbook: "v5cMultiPageLogbook",
|
|
@@ -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-DZNivd_Y.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-bhrXytht.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.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-DZNivd_Y.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-DrPO1i45.esm.js → dynamicFormsStateMachine-DZNivd_Y.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-DOfmJylF.esm.js";
|
|
3
|
-
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-DVMm9USR.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-D9XwX7i7.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-CDY3t9pl.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-CwhMYgxw.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-CMFCCu1H.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-CDY3t9pl.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-DOfmJylF.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-D9XwX7i7.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-D_0t2Wdn.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-Bv4NSqFL.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, 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-CMFCCu1H.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-DVMm9USR.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
|
@@ -9,21 +9,21 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
|
9
9
|
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-BBQjIaK4.js";
|
|
10
10
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CxeMb2tM.js";
|
|
11
11
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BGM8bpD0.js";
|
|
12
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
12
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
13
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
14
14
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
|
|
15
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
15
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BiKjyojT.js";
|
|
16
16
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
|
|
17
17
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
18
18
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
19
19
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
20
20
|
import { n as CaptureIdResponse } from "./types-C2n-6lCx.js";
|
|
21
|
-
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
21
|
+
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-Z8N6jdU0.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
23
23
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
24
24
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
25
25
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
26
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
26
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DOZSFZA2.js";
|
|
27
27
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
|
|
28
28
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
|
|
29
29
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B9Z-7bmu.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
6
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-COYh4O_y.esm.js";
|
|
7
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BEIJq6g-.esm.js";
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CZZkbrbS.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-CWEAhAJ5.esm.js";
|
|
10
10
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Bk4W2TDJ.esm.js";
|
|
11
11
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-B6gYKygj.esm.js";
|
|
12
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
13
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
14
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
12
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BXBNX-pQ.esm.js";
|
|
13
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-bhrXytht.esm.js";
|
|
14
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-CwhMYgxw.esm.js";
|
|
15
15
|
import { n as createEkycManagerFromActor } from "./ekycManager-dimNksoE.esm.js";
|
|
16
16
|
import { n as createEmailManagerFromActor } from "./emailManager-BqJMritP.esm.js";
|
|
17
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
18
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
17
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CXX0Bdsp.esm.js";
|
|
18
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DMuuFXqa.esm.js";
|
|
19
19
|
import { n as createPhoneManagerFromActor } from "./phoneManager-WImoAp4i.esm.js";
|
|
20
20
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-DnVfNc1v.esm.js";
|
|
21
21
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-0ZHGWr9T.esm.js";
|
|
@@ -23,7 +23,7 @@ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonMan
|
|
|
23
23
|
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-DaKK7S4q.esm.js";
|
|
24
24
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-Drs6frVO.esm.js";
|
|
25
25
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-CxEu6KnV.esm.js";
|
|
26
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
26
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-DPpJIcS4.esm.js";
|
|
27
27
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-Df97Bf0n.esm.js";
|
|
28
28
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-XxTEAj9C.esm.js";
|
|
29
29
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-D2pR3ZnX.esm.js → faceCaptureManagerFactory-BdQ0rekz.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CMFCCu1H.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-BEIJq6g-.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
6
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GFikEK6S.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
8
8
|
function getPermissionStatus(snapshot) {
|
|
9
9
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BJDw5FPn.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
9
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-DgRIIgz0.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
|
5
5
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
9
9
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
10
10
|
import { BrowserQRCodeReader } from "@zxing/browser";
|
|
11
11
|
//#region src/modules/fiscal-qr/fiscalQrConstants.ts
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as addEvent } from "./events-CMFCCu1H.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-D9XwX7i7.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-BDHnpF5D.esm.js";
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BygT7eDD.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
package/dist/{flowCompletionService-BdZR6HyE.esm.js → flowCompletionService-BDHnpF5D.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-DOfmJylF.esm.js";
|
|
3
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError } from "./apiError-DVMm9USR.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 { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.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-B9Z-7bmu.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-DVMm9USR.esm.js";
|
|
6
|
+
import "./session-BjWDH0Yu.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) {
|
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-DPpJIcS4.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-Cw1ZPxPV.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-Cw1ZPxPV.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-Cz3Q6az0.esm.js → geolocationStateMachine-Cw1ZPxPV.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-DOfmJylF.esm.js";
|
|
3
3
|
import { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-DVMm9USR.esm.js";
|
|
5
5
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
2
|
+
//#region src/internal/device/getBrowser.ts
|
|
3
|
+
function getBrowser() {
|
|
4
|
+
const userAgent = getUserAgent();
|
|
5
|
+
if (!userAgent) return "other";
|
|
6
|
+
const ua = userAgent.toLowerCase();
|
|
7
|
+
if (ua.includes("edg/") || ua.includes("edgios/")) return "edge";
|
|
8
|
+
if (ua.includes("samsungbrowser/")) return "samsung_browser";
|
|
9
|
+
if (ua.includes("opr/") || ua.includes("opera") || ua.includes("opios/") || ua.includes("opt/")) return "opera";
|
|
10
|
+
if (ua.includes("chrome") || ua.includes("crios")) return "chrome";
|
|
11
|
+
if (ua.includes("firefox") || ua.includes("fxios")) return "firefox";
|
|
12
|
+
if (ua.includes("safari")) return "safari";
|
|
13
|
+
return "other";
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { getBrowser as t };
|
package/dist/id.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
4
4
|
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-C2n-6lCx.js";
|
|
5
|
-
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-
|
|
5
|
+
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-Z8N6jdU0.js";
|
|
6
6
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
7
7
|
type IdCaptureOnlyManager = IdCaptureManager;
|
|
8
8
|
/**
|
package/dist/id.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.e
|
|
|
2
2
|
import { n as eventModuleNames } from "./events-CMFCCu1H.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-ihg_YbB8.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DMuuFXqa.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Cgl54qED.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
@@ -3,8 +3,8 @@ import { n as eventModuleNames, o as createManagerInstrumentation } from "./even
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
|
-
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
6
|
+
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GFikEK6S.esm.js";
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-ihg_YbB8.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
|
@@ -52,6 +52,8 @@ type IdCaptureInitResult = {
|
|
|
52
52
|
type InitializeIdCaptureParams = {
|
|
53
53
|
config: IdCaptureConfig;
|
|
54
54
|
deepsightService?: DeepsightService;
|
|
55
|
+
stream?: CameraStream;
|
|
56
|
+
cameraFallbackLevel?: number;
|
|
55
57
|
};
|
|
56
58
|
declare function initializeIdCapture(params: InitializeIdCaptureParams): Promise<IdCaptureInitResult>;
|
|
57
59
|
declare function stopStream(stream: CameraStream): void;
|