@incodetech/core 0.0.0-dev-20260804-aaf46585 → 0.0.0-dev-20260806-1622a84b
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-BZqV7sJR.esm.js → BrowserDiagnosticsCryptoProvider-DACTPqHK.esm.js} +1 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-eRypMxcU.esm.js → apiError-61J1QWrY.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DzPHEt-8.esm.js → authenticationManager-BNk1zdLY.esm.js} +2 -2
- package/dist/{authenticationManager-Y2_MuGXy.d.ts → authenticationManager-CiPSTRIN.d.ts} +1 -1
- package/dist/{authenticationStateMachine-B7tJiWTU.esm.js → authenticationStateMachine-BTbCV25V.esm.js} +3 -3
- package/dist/{backCameraStream-BqiXcU28.esm.js → backCameraStream-DvkELZlG.esm.js} +2 -2
- package/dist/camera-_2sXMXiF.esm.js +140 -0
- package/dist/camera.d.ts +19 -1
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
- package/dist/{deepsightLoader-DL7Y2GDJ.esm.js → deepsightLoader-BS3KFcHt.esm.js} +4 -4
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +4 -4
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureManager-5shMxTaf.esm.js → documentCaptureManager-Ckt4gvE_.esm.js} +2 -1
- package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-CoT-a3Ae.d.ts} +2 -2
- package/dist/{documentCaptureStateMachine-LFVoDSmH.esm.js → documentCaptureStateMachine-CaswhdE0.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BooCrMaK.esm.js → dynamicFormsManager-DF6bcZEg.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Bjn28VPz.esm.js → dynamicFormsStateMachine-DmrHJVyI.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-h28g_Xtv.esm.js → ekybManager-BkGMnaxO.esm.js} +1 -1
- package/dist/{ekybStateMachine-bnK91htx.esm.js → ekybStateMachine-Dr6yPkAw.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-k8eOulTu.esm.js → electronicSignatureManager-Bhzea4I2.esm.js} +1 -1
- package/dist/extensibility.d.ts +8 -8
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-K8iLKaRl.d.ts → faceCaptureManagerFactory-BLW6CfOr.d.ts} +1 -1
- package/dist/{faceCaptureManagerFactory-XgV9yjtn.esm.js → faceCaptureManagerFactory-Ckomc53O.esm.js} +3 -3
- package/dist/{faceCaptureSetup-CVS6IhMo.esm.js → faceCaptureSetup-DviNSVVQ.esm.js} +4 -4
- package/dist/fiscal-qr.esm.js +2 -2
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-B66s2grx.esm.js → flowCompletionService-BKTVutmF.esm.js} +1 -1
- package/dist/{flowServices-Dqeralkm.esm.js → flowServices-CDPLiHeh.esm.js} +3 -3
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Ci0ZCKr6.esm.js → geolocationManager-DuUJyVv6.esm.js} +1 -1
- package/dist/{geolocationStateMachine-j-nPXT5l.esm.js → geolocationStateMachine-B5M0wpkk.esm.js} +2 -2
- package/dist/{getDeviceClass-BGmoQmjj.esm.js → getDeviceClass-9y-kbVDw.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-DCdBkzIB.esm.js → idCaptureManager-D8iZJatj.esm.js} +3 -3
- package/dist/{idCaptureManager-wKz4MXR8.d.ts → idCaptureManager-JWz-mYr-.d.ts} +2 -2
- package/dist/{idCaptureServices-pFRvnFdd.esm.js → idCaptureServices-uGFsH4MQ.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-BPZDytNe.esm.js → idCaptureStateMachine-7ws3-xfJ.esm.js} +10 -10
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-B29kR0XA.d.ts → mandatoryConsentManager-DyPzUmsZ.d.ts} +4 -4
- package/dist/{mediaRecorderOptions-CUsftWlH.esm.js → mediaRecorderOptions-dALSV8af.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-DzrHstja.esm.js → onDeviceFaceResults-BOCgu6M2.esm.js} +6 -6
- package/dist/{permissionGuards-KNkc71eN.esm.js → permissionGuards-KINpmKtI.esm.js} +1 -1
- package/dist/{permissionServices-3UAjhmjw.esm.js → permissionServices-UvUcOSRb.esm.js} +31 -2
- package/dist/personhood.d.ts +1 -1
- package/dist/personhood.esm.js +5 -5
- package/dist/{platform-Cd_yWGNG.esm.js → platform-BJrm5nzZ.esm.js} +29 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DvWs45V_.esm.js → recordingService-BsDOhy-R.esm.js} +3 -3
- package/dist/{runChildModule-BnlwDAAF.esm.js → runChildModule-BaUwLBvs.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieErrorUtils-EEHiYwTi.esm.js → selfieErrorUtils-C2PYBVsp.esm.js} +1 -1
- package/dist/{selfieManager-hCzyzJU_.esm.js → selfieManager-B9V4N08q.esm.js} +2 -2
- package/dist/{selfieManager-tMxWiUk6.d.ts → selfieManager-RB6OH_Bi.d.ts} +1 -1
- package/dist/{selfieStateMachine-bPv7LlHS.esm.js → selfieStateMachine-I6TP6VqN.esm.js} +3 -3
- package/dist/{session-DtiTFOeb.esm.js → session-BTlOwOiF.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-67b35_K1.esm.js → sessionInitializer-B37CsuOa.esm.js} +3 -3
- package/dist/{setup-Ba31IGP9.esm.js → setup-CfhXNUE7.esm.js} +4 -4
- package/dist/trueSight-c8_3AedU.esm.js +1 -0
- package/dist/{trueSightService-CAM-jmTL.esm.js → trueSightService-Dg-cTLRe.esm.js} +2 -2
- package/dist/types-BEwVKkLJ.d.ts +15 -0
- package/dist/{types-B4BObr_7.d.ts → types-CxMdPvAy.d.ts} +1 -1
- package/dist/{types-BsTkSXlg2.d.ts → types-DT9tqQtP2.d.ts} +1 -1
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-BdfteLhE.esm.js → videoSelfieCameraWarmer-piKZYcjV.esm.js} +6 -6
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
- package/dist/camera-BmFEyPP_.esm.js +0 -78
- package/dist/trueSight-C5D_RAuu.esm.js +0 -1
- package/dist/types-BT-aiBYV.d.ts +0 -5
|
@@ -17,9 +17,8 @@ function decodeTruesightKey(s0Base64, s1Base64) {
|
|
|
17
17
|
* copy per call so callers may zero their copy after use.
|
|
18
18
|
*/
|
|
19
19
|
function getTruesightKey() {
|
|
20
|
-
if (typeof __TRUESIGHT_S0__ === "undefined" || typeof __TRUESIGHT_S1__ === "undefined") return null;
|
|
21
20
|
try {
|
|
22
|
-
const key = decodeTruesightKey(
|
|
21
|
+
const key = decodeTruesightKey("ho4eN/BioNC9N1pIvJ09J31uAjmirrGE20T0TTanpDs=", "hLVEZ6DHBSPVTtCZ6Ha8xwIXqUFbmmwMfui9oQ+ze0Y=");
|
|
23
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
24
23
|
} catch {
|
|
25
24
|
return null;
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-Bhzea4I2.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BLW6CfOr.js";
|
|
2
2
|
import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CiPSTRIN.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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-BTbCV25V.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BNk1zdLY.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DzPHEt-8.esm.js → authenticationManager-BNk1zdLY.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ethtfu2b.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-Ckomc53O.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BTbCV25V.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BLW6CfOr.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -3,9 +3,9 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
8
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DviNSVVQ.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BOCgu6M2.esm.js";
|
|
8
|
+
import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
11
11
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
1
|
+
import { i as isIOS, o as isIPhone14OrHigher, s as isSafari, t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
|
|
2
|
+
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-_2sXMXiF.esm.js";
|
|
3
3
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
4
4
|
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
//#region ../infra/src/media/cameraGrantMemo.ts
|
|
2
|
+
/**
|
|
3
|
+
* Document-scoped record of "a `getUserMedia` call has already succeeded here".
|
|
4
|
+
*
|
|
5
|
+
* Deliberately a module-scoped variable and **not** `sessionStorage`.
|
|
6
|
+
* ENG-43732's first fix (PR #298) cached the grant in `sessionStorage` and was
|
|
7
|
+
* reverted by PR #420: `sessionStorage` survives a page reload but an iOS
|
|
8
|
+
* WebView's camera grant does not, so the flag outlived the permission and the
|
|
9
|
+
* SDK skipped its explainer while the native prompt still appeared. In-memory
|
|
10
|
+
* state dies with the document, so a reload always re-asks the browser.
|
|
11
|
+
*
|
|
12
|
+
* A second consequence worth keeping: this carries no Web Storage dependency at
|
|
13
|
+
* all, so nothing here can throw in hosts that delete or block the storage
|
|
14
|
+
* globals.
|
|
15
|
+
*
|
|
16
|
+
* Written by the acquisition helpers in `./camera` and by
|
|
17
|
+
* `BrowserCameraProvider`. Read by Core's `checkPermission()`, which trusts it
|
|
18
|
+
* only on Android WebView — where the Permissions API structurally cannot
|
|
19
|
+
* report a grant. See `isAndroidWebView` in `../capabilities/platform`.
|
|
20
|
+
*/
|
|
21
|
+
let cameraGrantedInDocument = false;
|
|
22
|
+
/** Records that camera access was successfully acquired in this document. */
|
|
23
|
+
function markCameraGrantedInDocument() {
|
|
24
|
+
cameraGrantedInDocument = true;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Forgets any recorded grant. Called whenever the browser reports a concrete
|
|
28
|
+
* `denied`, or an acquisition fails with `NotAllowedError` — so a permission
|
|
29
|
+
* revoked mid-session self-heals on the next check instead of stranding the
|
|
30
|
+
* user on a dead camera view.
|
|
31
|
+
*/
|
|
32
|
+
function clearCameraGrantedInDocument() {
|
|
33
|
+
cameraGrantedInDocument = false;
|
|
34
|
+
}
|
|
35
|
+
/** Whether camera access has been successfully acquired in this document. */
|
|
36
|
+
function isCameraGrantedInDocument() {
|
|
37
|
+
return cameraGrantedInDocument;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Runs a camera acquisition and records its outcome in the memo: a resolved
|
|
41
|
+
* stream marks the grant, a permission denial forgets it, and every other
|
|
42
|
+
* failure leaves the memo untouched — a busy, missing or over-constrained
|
|
43
|
+
* device says nothing about permission. The error is always re-thrown unchanged,
|
|
44
|
+
* so callers keep their existing control flow.
|
|
45
|
+
*
|
|
46
|
+
* Every acquisition path should go through this rather than calling `mark`
|
|
47
|
+
* directly, so the "which errors count as a denial" rule lives in one place.
|
|
48
|
+
*/
|
|
49
|
+
async function trackCameraAcquisition(acquire) {
|
|
50
|
+
try {
|
|
51
|
+
const result = await acquire();
|
|
52
|
+
markCameraGrantedInDocument();
|
|
53
|
+
return result;
|
|
54
|
+
} catch (error) {
|
|
55
|
+
const name = error instanceof Error ? error.name : void 0;
|
|
56
|
+
if (name === "NotAllowedError" || name === "PermissionDeniedError") clearCameraGrantedInDocument();
|
|
57
|
+
throw error;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region ../infra/src/media/camera.ts
|
|
62
|
+
/**
|
|
63
|
+
* Default resolution fallback order for camera access.
|
|
64
|
+
* Tries each resolution in order until one succeeds.
|
|
65
|
+
* Matches legacy behavior from Webcam.tsx
|
|
66
|
+
*/
|
|
67
|
+
const DEFAULT_RESOLUTION_FALLBACKS = [
|
|
68
|
+
{ height: 720 },
|
|
69
|
+
{
|
|
70
|
+
width: 3840,
|
|
71
|
+
height: 2160
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
width: 1920,
|
|
75
|
+
height: 1080
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
width: 640,
|
|
79
|
+
height: 480
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
width: 800,
|
|
83
|
+
height: 480
|
|
84
|
+
},
|
|
85
|
+
{}
|
|
86
|
+
];
|
|
87
|
+
/**
|
|
88
|
+
* Request camera access with specific constraints.
|
|
89
|
+
* Throws if the request fails - no automatic fallback.
|
|
90
|
+
*/
|
|
91
|
+
async function requestCameraAccess(constraints) {
|
|
92
|
+
if (typeof navigator === "undefined" || !navigator.mediaDevices) throw new Error("MediaDevices API not available");
|
|
93
|
+
const acquire = () => navigator.mediaDevices.getUserMedia(constraints);
|
|
94
|
+
if (!constraints.video) return acquire();
|
|
95
|
+
return trackCameraAcquisition(acquire);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Request camera access with automatic resolution fallback.
|
|
99
|
+
* Tries progressively different resolutions if the initial request fails.
|
|
100
|
+
*
|
|
101
|
+
* @param baseConstraints - Base constraints (facingMode, audio, etc.)
|
|
102
|
+
* @param fallbacks - Optional custom fallback order (defaults to 720p -> 1080p -> 480p -> auto)
|
|
103
|
+
* @returns MediaStream from the camera
|
|
104
|
+
* @throws Error if all fallbacks fail or MediaDevices API not available
|
|
105
|
+
*/
|
|
106
|
+
async function requestCameraWithFallback(baseConstraints, fallbacks = DEFAULT_RESOLUTION_FALLBACKS) {
|
|
107
|
+
if (typeof navigator === "undefined" || !navigator.mediaDevices) throw new Error("MediaDevices API not available");
|
|
108
|
+
const baseVideo = baseConstraints.video;
|
|
109
|
+
for (let i = 0; i < fallbacks.length; i++) {
|
|
110
|
+
const resolution = fallbacks[i];
|
|
111
|
+
const videoConstraints = { ...baseVideo };
|
|
112
|
+
if (resolution.width) videoConstraints.width = { ideal: resolution.width };
|
|
113
|
+
if (resolution.height) videoConstraints.height = { ideal: resolution.height };
|
|
114
|
+
if (!resolution.width && !resolution.height) {
|
|
115
|
+
delete videoConstraints.width;
|
|
116
|
+
delete videoConstraints.height;
|
|
117
|
+
}
|
|
118
|
+
try {
|
|
119
|
+
return await trackCameraAcquisition(() => navigator.mediaDevices.getUserMedia({
|
|
120
|
+
...baseConstraints,
|
|
121
|
+
video: videoConstraints
|
|
122
|
+
}));
|
|
123
|
+
} catch (error) {
|
|
124
|
+
if (i === fallbacks.length - 1) throw error;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
throw new Error("All camera resolution fallbacks failed");
|
|
128
|
+
}
|
|
129
|
+
function stopCameraStream(stream) {
|
|
130
|
+
for (const track of stream.getTracks()) track.stop();
|
|
131
|
+
}
|
|
132
|
+
async function enumerateVideoDevices() {
|
|
133
|
+
if (typeof navigator === "undefined" || !navigator.mediaDevices) return [];
|
|
134
|
+
return (await navigator.mediaDevices.enumerateDevices()).filter((d) => d.kind === "videoinput");
|
|
135
|
+
}
|
|
136
|
+
async function applyTrackConstraints(track, constraints) {
|
|
137
|
+
await track.applyConstraints(constraints);
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
export { stopCameraStream as a, requestCameraWithFallback as i, enumerateVideoDevices as n, clearCameraGrantedInDocument as o, requestCameraAccess as r, isCameraGrantedInDocument as s, applyTrackConstraints as t };
|
package/dist/camera.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
2
2
|
//#region src/internal/permissions/permissionServices.d.ts
|
|
3
3
|
type RequestPermissionOptions = {
|
|
4
4
|
requestMotion?: boolean;
|
|
@@ -9,6 +9,24 @@ type RequestPermissionOptions = {
|
|
|
9
9
|
*/
|
|
10
10
|
requestAudio?: boolean;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Resolves the current camera permission without prompting the user.
|
|
14
|
+
*
|
|
15
|
+
* A concrete answer from the Permissions API always wins. The `'prompt'` case is
|
|
16
|
+
* where Android WebView needs help: it has no persistent permission store — the
|
|
17
|
+
* host app answers each `getUserMedia` through `onPermissionRequest` — so the
|
|
18
|
+
* query reports `'prompt'` however many times access was granted, and every
|
|
19
|
+
* capture module in a flow re-rendered the "allow camera" screen (ENG-43732).
|
|
20
|
+
* There we fall back to whether an acquisition has actually succeeded in this
|
|
21
|
+
* document.
|
|
22
|
+
*
|
|
23
|
+
* The Android-WebView gate is load-bearing, not defensive tidiness. iOS WebKit
|
|
24
|
+
* (PR #420) and Firefox for Android (PR #726) genuinely do re-prompt per
|
|
25
|
+
* `getUserMedia`, so treating a past grant as current would skip the SDK's
|
|
26
|
+
* explainer while the native prompt still appeared — the regressions that got
|
|
27
|
+
* two previous attempts at this fix reverted. Those platforms must keep seeing
|
|
28
|
+
* `'prompt'`.
|
|
29
|
+
*/
|
|
12
30
|
declare function checkPermission(): Promise<PermissionResult>;
|
|
13
31
|
/**
|
|
14
32
|
* Requests camera permission by attempting to access the camera, then immediately
|
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-UvUcOSRb.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-3Pbtj-RV.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,10 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "clearError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
-
resetContext: {
|
|
86
|
-
type: "resetContext";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
85
|
setConsentData: {
|
|
90
86
|
type: "setConsentData";
|
|
91
87
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
91
|
params: NonReducibleUnknown;
|
|
96
92
|
};
|
|
93
|
+
resetContext: {
|
|
94
|
+
type: "resetContext";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.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-Dg-cTLRe.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-B37CsuOa.esm.js";
|
|
5
|
+
import "./trueSight-c8_3AedU.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
8
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
9
9
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
|
|
10
10
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DGiV77J_.esm.js";
|
|
11
|
-
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
11
|
+
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
12
12
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
13
13
|
import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
|
|
14
14
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
package/dist/device.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as isIPad, c as isTabletWithoutAndroid } from "./platform-BJrm5nzZ.esm.js";
|
|
2
2
|
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
3
3
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
4
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
4
|
+
import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
|
|
5
5
|
//#region src/internal/device/redirectDeviceClassification.ts
|
|
6
6
|
/**
|
|
7
7
|
* Conservative redirect-specific check. A mobile identity must also expose an
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-CxMdPvAy.js";
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CoT-a3Ae.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-CaswhdE0.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-Ckt4gvE_.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -38,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
-
setError: {
|
|
42
|
-
type: "setError";
|
|
43
|
-
params: NonReducibleUnknown;
|
|
44
|
-
};
|
|
45
41
|
setStream: {
|
|
46
42
|
type: "setStream";
|
|
47
43
|
params: NonReducibleUnknown;
|
|
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
54
50
|
type: "setProgress";
|
|
55
51
|
params: NonReducibleUnknown;
|
|
56
52
|
};
|
|
53
|
+
setError: {
|
|
54
|
+
type: "setError";
|
|
55
|
+
params: NonReducibleUnknown;
|
|
56
|
+
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
|
@@ -3,8 +3,8 @@ import { n as eventModuleNames, o as createManagerInstrumentation } from "./even
|
|
|
3
3
|
import { t as endpoints } from "./endpoints-CCzL3XD_.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
|
-
import { a as stopCameraStream } from "./camera-
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
6
|
+
import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-DvkELZlG.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-5shMxTaf.esm.js → documentCaptureManager-Ckt4gvE_.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.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-CaswhdE0.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();
|
|
@@ -87,6 +87,7 @@ function getPermissionStatus(snapshot) {
|
|
|
87
87
|
if (snapshot.matches({ permissions: "learnMore" })) return "learnMore";
|
|
88
88
|
if (snapshot.matches({ permissions: "requesting" })) return "requesting";
|
|
89
89
|
if (snapshot.matches({ permissions: "denied" })) return "denied";
|
|
90
|
+
if (snapshot.matches({ permissions: "idle" })) return "checking";
|
|
90
91
|
return "idle";
|
|
91
92
|
}
|
|
92
93
|
function mapState(snapshot) {
|
|
@@ -2,8 +2,8 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
6
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-
|
|
5
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
6
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-CxMdPvAy.js";
|
|
7
7
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
8
8
|
declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
9
9
|
type: "CAPTURE";
|
|
@@ -2,10 +2,10 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.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 {
|
|
6
|
-
import {
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
5
|
+
import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
|
|
6
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-DvkELZlG.esm.js";
|
|
8
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KINpmKtI.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-DmrHJVyI.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DF6bcZEg.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.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-DmrHJVyI.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-Bjn28VPz.esm.js → dynamicFormsStateMachine-DmrHJVyI.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-61J1QWrY.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-CDPLiHeh.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-Dr6yPkAw.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BkGMnaxO.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-ethtfu2b.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-Dr6yPkAw.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-CDPLiHeh.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-Bhzea4I2.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-61J1QWrY.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
|
@@ -5,27 +5,27 @@ import "./Actor-iTq7YY48.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-DVmXIdzW.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
8
|
-
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-BLW6CfOr.js";
|
|
9
9
|
import { t as IStorageCapability } from "./IStorageCapability-ORkQfK3F.js";
|
|
10
10
|
import { n as BaseWasmProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
|
|
11
11
|
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-Hmd7U0JA.js";
|
|
12
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
14
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
12
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-RB6OH_Bi.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CiPSTRIN.js";
|
|
14
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
|
|
15
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
16
16
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
|
|
17
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
17
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CoT-a3Ae.js";
|
|
18
18
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
|
|
19
19
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
20
20
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
21
21
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
22
|
-
import { n as CaptureIdResponse } from "./types-
|
|
23
|
-
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
22
|
+
import { n as CaptureIdResponse } from "./types-DT9tqQtP2.js";
|
|
23
|
+
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-JWz-mYr-.js";
|
|
24
24
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
25
25
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
26
26
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
27
27
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
28
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
28
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DyPzUmsZ.js";
|
|
29
29
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
|
|
30
30
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
31
31
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B37CsuOa.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-Bhzea4I2.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-C4_d-1a0.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DviNSVVQ.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BNk1zdLY.esm.js";
|
|
10
10
|
import { n as createConsentManagerFromActor } from "./consentManager-lG6fCXOk.esm.js";
|
|
11
11
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-B5bnUpSo.esm.js";
|
|
12
12
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CYkSBXCF.esm.js";
|
|
13
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
14
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
13
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-Ckt4gvE_.esm.js";
|
|
14
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DF6bcZEg.esm.js";
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BkGMnaxO.esm.js";
|
|
16
16
|
import { n as createEkycManagerFromActor } from "./ekycManager-BnPKaiV_.esm.js";
|
|
17
17
|
import { n as createEmailManagerFromActor } from "./emailManager-D-3pYOas.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-B9V4N08q.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-D8iZJatj.esm.js";
|
|
20
20
|
import { n as createPhoneManagerFromActor } from "./phoneManager-SONkmpec.esm.js";
|
|
21
21
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-QakKGrF0.esm.js";
|
|
22
22
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CUVKNTFa.esm.js";
|
|
@@ -25,7 +25,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
25
25
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-DWGed-91.esm.js";
|
|
26
26
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B7EYFwY_.esm.js";
|
|
27
27
|
import { n as createSignatureManagerFromActor } from "./signatureManager-BpstxH7R.esm.js";
|
|
28
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
28
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-DuUJyVv6.esm.js";
|
|
29
29
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-W8v-boCx.esm.js";
|
|
30
30
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Dnp-edw5.esm.js";
|
|
31
31
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-K8iLKaRl.d.ts → faceCaptureManagerFactory-BLW6CfOr.d.ts}
RENAMED
|
@@ -10,7 +10,7 @@ import { i as FaceData, r as FaceCoordinates, t as FaceDetectionProvider } from
|
|
|
10
10
|
import { t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
|
|
11
11
|
import { i as FlowModuleConfig } from "./types-KPvmag_B.js";
|
|
12
12
|
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Hmd7U0JA.js";
|
|
13
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
13
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
14
14
|
import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
|
|
15
15
|
import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-DLVQS_RH.js";
|
|
16
16
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|