@incodetech/core 0.0.0-dev-20260821-af317971 → 0.0.0-dev-20260821-45873d83
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-C0MCKC1X.esm.js → BrowserDiagnosticsCryptoProvider-xPXu1cad.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DINhZF1k.esm.js → apiError-CK76X365.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Ckwq7pZi.esm.js → authenticationManager-CegQR-Hf.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CScvURND.esm.js → authenticationStateMachine-CGwo-Oqt.esm.js} +3 -3
- package/dist/{backCameraStream-D30zZBEZ.esm.js → backCameraStream-S9_cRZ7f.esm.js} +2 -2
- 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-B97yrkGH.esm.js → deepsightLoader-DGVsI1zK.esm.js} +4 -4
- package/dist/device.d.ts +11 -2
- package/dist/device.esm.js +46 -11
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-CV-B3ttS.esm.js → documentCaptureManager-MMfn9FcW.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-DyNnjqKZ.esm.js → documentCaptureStateMachine-6gQ-3t8T.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DhL8CAti.esm.js → dynamicFormsManager-BWEswDzr.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-C58R6XYG.esm.js → dynamicFormsStateMachine-cHid4PdY.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DhFCnPQH.esm.js → ekybManager-BJYcw-Ji.esm.js} +1 -1
- package/dist/{ekybStateMachine-DLGDsiyt.esm.js → ekybStateMachine-DXEbdUc-.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BNR6fi3d.esm.js → electronicSignatureManager-BRaFaD8E.esm.js} +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-BfuYyPH6.esm.js → faceCaptureManagerFactory-Dm172_77.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DVMnvRbV.esm.js → faceCaptureSetup-B1tAymfW.esm.js} +4 -4
- package/dist/{feature-management-DBuXnUWY.esm.js → feature-management-BaCb63Wl.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-C_mDF2xK.esm.js → fiscalQrManager-rlajwMLO.esm.js} +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DthD-ObU.esm.js → flowCompletionService-yTCgendR.esm.js} +1 -1
- package/dist/{flowServices-BARG219v.esm.js → flowServices-CU4F7KQ1.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CHxv2c-F.esm.js → geolocationManager-Dt67QbIh.esm.js} +1 -1
- package/dist/{geolocationStateMachine-C9dzQ0YZ.esm.js → geolocationStateMachine-D-iPWWpq.esm.js} +2 -2
- package/dist/getBrowser-CBiibsL-.esm.js +19 -0
- package/dist/{getBrowser-DmNprTMV.esm.js → getBrowser-Cbe1C4Tn.esm.js} +1 -1
- package/dist/{getDeviceClass-Sh0zhEv7.esm.js → getDeviceClass-BW-fvA01.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-Ji6vFlsJ.esm.js → idCaptureManager-CYIdlRa_.esm.js} +3 -3
- package/dist/{idCaptureServices-0lE7kEdA.esm.js → idCaptureServices-C0TxV7jp.esm.js} +7 -7
- package/dist/{idCaptureStateMachine-DG7t_39B.esm.js → idCaptureStateMachine-Bbv8KHYG.esm.js} +12 -12
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CaTcQLK6.d.ts → mandatoryConsentManager-DvR2XzUH.d.ts} +4 -4
- package/dist/{mediaRecorderOptions-vXDI73LZ.esm.js → mediaRecorderOptions-D_658TcR.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-BqLGnM8A.esm.js → onDeviceFaceResults-eTjlv1-b.esm.js} +5 -5
- package/dist/{permissionGuards-DJNYwEOq.esm.js → permissionGuards-CH3gaQsZ.esm.js} +1 -1
- package/dist/{permissionServices-Dgtg_4Lv.esm.js → permissionServices-D20N3ao2.esm.js} +1 -1
- package/dist/personhood.esm.js +4 -4
- package/dist/{platform-Q4r1nvWX.esm.js → platform-8AB1KkPJ.esm.js} +13 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BNUTYip6.esm.js → recordingService-CEjFm4AG.esm.js} +3 -3
- package/dist/{runChildModule-CyrA4IkE.esm.js → runChildModule-pibTqWc_.esm.js} +1 -1
- package/dist/{sdkVersion-C2N5d9MD.esm.js → sdkVersion-CJCgMAlC.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieErrorUtils-ArUCoICg.esm.js → selfieErrorUtils-CGf8C0GO.esm.js} +1 -1
- package/dist/{selfieManager-CCl2CgNV.esm.js → selfieManager-CiQta5fg.esm.js} +2 -2
- package/dist/{selfieStateMachine-OD6m5Pnh.esm.js → selfieStateMachine-n-Y6XBE2.esm.js} +3 -3
- package/dist/{session-CK-eOrL7.esm.js → session-BaqtSJrF.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CVrazqxw.esm.js → sessionInitializer-C4uxqTd5.esm.js} +6 -6
- package/dist/{setup-Cl3qY4N6.esm.js → setup-DCdFXUyX.esm.js} +5 -5
- package/dist/trueSight-DBSQ6GPl.esm.js +1 -0
- package/dist/{trueSightService-CTM6xlHG.esm.js → trueSightService-DX-DPxJl.esm.js} +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-DVzRMMaV.esm.js → videoSelfieCameraWarmer-DEB2LLI3.esm.js} +5 -5
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +2 -2
- package/dist/getBrowser-Cb8Zgrgp.esm.js +0 -7
- package/dist/trueSight-ClQ2RLmN.esm.js +0 -1
|
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
|
|
|
18
18
|
*/
|
|
19
19
|
function getTruesightKey() {
|
|
20
20
|
try {
|
|
21
|
-
const key = decodeTruesightKey("
|
|
21
|
+
const key = decodeTruesightKey("F33hDWEJR2WyolVRdKzpbu1Ae/UicZ8Ho33Ut+KcpWI=", "vZW+s5vGXLImseoIg5EJyJcYsIlqTiWcUJFxIdCd+D4=");
|
|
22
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
23
23
|
} catch {
|
|
24
24
|
return null;
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BRaFaD8E.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-CGwo-Oqt.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CegQR-Hf.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Ckwq7pZi.esm.js → authenticationManager-CegQR-Hf.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dm172_77.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CGwo-Oqt.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -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 { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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-B1tAymfW.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-eTjlv1-b.esm.js";
|
|
8
|
+
import { t as getDeviceClass } from "./getDeviceClass-BW-fvA01.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,7 +1,7 @@
|
|
|
1
|
-
import { a as isIOS, c as
|
|
1
|
+
import { a as isIOS, c as isIPhone14OrHigher, i as isDesktop, l as isSafari, t as isAndroid } from "./platform-8AB1KkPJ.esm.js";
|
|
2
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
|
-
import { t as getBrowser } from "./getBrowser-
|
|
4
|
+
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
6
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
7
7
|
"rear",
|
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-D20N3ao2.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,11 +1,11 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-DX-DPxJl.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-C4uxqTd5.esm.js";
|
|
5
|
+
import "./trueSight-DBSQ6GPl.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
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
8
|
+
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
9
9
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
|
|
10
10
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-CxTjgXe6.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
package/dist/device.d.ts
CHANGED
|
@@ -35,8 +35,17 @@ declare function getBrowser(): Browser;
|
|
|
35
35
|
declare function isApplePlatform(): boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Whether capture/WASM are known to work in the current browser.
|
|
38
|
-
*
|
|
39
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* Native Android and iOS WebViews are supported; third-party in-app browsers
|
|
40
|
+
* are not, on either platform. Outside a WebView, only Chrome is supported on
|
|
41
|
+
* every platform and Safari is supported on Apple platforms.
|
|
42
|
+
*
|
|
43
|
+
* The rejections run first, because a browser that is unsupported on its own is
|
|
44
|
+
* still unsupported when it hosts the page as a WebView (ENG-51674).
|
|
45
|
+
*
|
|
46
|
+
* Identity comes from the user agent, plus `navigator.brave` and Client Hint
|
|
47
|
+
* brands where available. A browser that spoofs a Chrome user agent, exposes no
|
|
48
|
+
* Client Hints, and identifies itself nowhere else cannot be distinguished here.
|
|
40
49
|
*/
|
|
41
50
|
declare function isSupportedBrowser(): boolean;
|
|
42
51
|
//#endregion
|
package/dist/device.esm.js
CHANGED
|
@@ -1,10 +1,32 @@
|
|
|
1
|
-
import { a as isIOS,
|
|
2
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
3
|
-
import { t as getBrowser } from "./getBrowser-
|
|
1
|
+
import { a as isIOS, n as isAndroidWebView, o as isIOSWebView, r as isBraveBrowser, s as isIPad, u as isTabletWithoutAndroid } from "./platform-8AB1KkPJ.esm.js";
|
|
2
|
+
import { n as getUserAgentBrands, t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
3
|
+
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
4
4
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
5
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
5
|
+
import { t as getDeviceClass } from "./getDeviceClass-BW-fvA01.esm.js";
|
|
6
6
|
//#region src/internal/device/browserSupportClassification.ts
|
|
7
|
-
const
|
|
7
|
+
const ISLAND_BROWSER_TOKEN = /\bisland browser\b/i;
|
|
8
|
+
/**
|
|
9
|
+
* Third-party in-app browsers. These are real WebViews — `isAndroidWebView` and
|
|
10
|
+
* `isIOSWebView` both report them as such — but their hosts restrict camera
|
|
11
|
+
* capture, so they are rejected before the WebView allowance below.
|
|
12
|
+
*/
|
|
13
|
+
const IN_APP_BROWSER_TOKEN = /\b(?:FBAN|FBAV|FB_IAB|FB4A|Instagram|LinkedInApp|Twitter|BytedanceWebview|musical_ly)(?:[/\s;\]_]|$)/i;
|
|
14
|
+
/**
|
|
15
|
+
* Client Hint brands for the Chromium builds that are supported. `Chromium`
|
|
16
|
+
* covers vanilla and automation builds, which do not carry the Google Chrome
|
|
17
|
+
* brand. Support is an allowlist: an unknown fork reports neither brand and is
|
|
18
|
+
* rejected, rather than being supported until someone denylists it.
|
|
19
|
+
*/
|
|
20
|
+
const SUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set(["Google Chrome", "Chromium"]);
|
|
21
|
+
/**
|
|
22
|
+
* Forks that report a Chrome-compatible UA *and* claim a supported brand. A
|
|
23
|
+
* second guard on top of the allowlist, not a substitute for it.
|
|
24
|
+
*/
|
|
25
|
+
const UNSUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set([
|
|
26
|
+
"Brave",
|
|
27
|
+
"Microsoft Edge",
|
|
28
|
+
"Opera"
|
|
29
|
+
]);
|
|
8
30
|
/** iOS/iPadOS/macOS — the only platforms where Safari is a supported option. */
|
|
9
31
|
function isApplePlatform() {
|
|
10
32
|
const userAgent = getUserAgent();
|
|
@@ -12,15 +34,28 @@ function isApplePlatform() {
|
|
|
12
34
|
}
|
|
13
35
|
/**
|
|
14
36
|
* Whether capture/WASM are known to work in the current browser.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
37
|
+
*
|
|
38
|
+
* Native Android and iOS WebViews are supported; third-party in-app browsers
|
|
39
|
+
* are not, on either platform. Outside a WebView, only Chrome is supported on
|
|
40
|
+
* every platform and Safari is supported on Apple platforms.
|
|
41
|
+
*
|
|
42
|
+
* The rejections run first, because a browser that is unsupported on its own is
|
|
43
|
+
* still unsupported when it hosts the page as a WebView (ENG-51674).
|
|
44
|
+
*
|
|
45
|
+
* Identity comes from the user agent, plus `navigator.brave` and Client Hint
|
|
46
|
+
* brands where available. A browser that spoofs a Chrome user agent, exposes no
|
|
47
|
+
* Client Hints, and identifies itself nowhere else cannot be distinguished here.
|
|
17
48
|
*/
|
|
18
49
|
function isSupportedBrowser() {
|
|
19
|
-
|
|
50
|
+
const userAgent = getUserAgent();
|
|
51
|
+
if (isBraveBrowser() || ISLAND_BROWSER_TOKEN.test(userAgent) || IN_APP_BROWSER_TOKEN.test(userAgent)) return false;
|
|
52
|
+
if (isAndroidWebView(userAgent) || isIOSWebView(userAgent)) return true;
|
|
20
53
|
const browser = getBrowser();
|
|
21
|
-
if (browser === "
|
|
22
|
-
if (
|
|
23
|
-
|
|
54
|
+
if (browser === "safari") return isApplePlatform();
|
|
55
|
+
if (browser !== "chrome") return false;
|
|
56
|
+
const brands = getUserAgentBrands();
|
|
57
|
+
if (brands === void 0) return true;
|
|
58
|
+
return brands.some((brand) => SUPPORTED_CHROMIUM_BRANDS.has(brand)) && !brands.some((brand) => UNSUPPORTED_CHROMIUM_BRANDS.has(brand));
|
|
24
59
|
}
|
|
25
60
|
//#endregion
|
|
26
61
|
//#region src/internal/device/redirectDeviceClassification.ts
|
|
@@ -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-6gQ-3t8T.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-MMfn9FcW.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
package/dist/{documentCaptureManager-CV-B3ttS.esm.js → documentCaptureManager-MMfn9FcW.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-6gQ-3t8T.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();
|
|
@@ -3,9 +3,9 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
5
|
import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
|
|
6
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
6
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D20N3ao2.esm.js";
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-S9_cRZ7f.esm.js";
|
|
8
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CH3gaQsZ.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-cHid4PdY.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BWEswDzr.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-cHid4PdY.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-C58R6XYG.esm.js → dynamicFormsStateMachine-cHid4PdY.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-CK76X365.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { 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-CU4F7KQ1.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DXEbdUc-.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BJYcw-Ji.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-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-DXEbdUc-.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-CU4F7KQ1.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-D1XpBdUS.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-BRaFaD8E.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-DYiyoSlx.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-CK76X365.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
8
8
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { n as BaseWasmProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
|
|
|
12
12
|
import "./deepsightService-Cr6ns2kj.js";
|
|
13
13
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BdJ566eB.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-B9kKccLg.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
|
|
@@ -28,9 +28,9 @@ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptu
|
|
|
28
28
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
29
29
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
30
30
|
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
|
|
31
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
31
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BFDI7iFK.js";
|
|
32
32
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
33
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
33
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DvR2XzUH.js";
|
|
34
34
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-C4uxqTd5.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BRaFaD8E.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CQFNgSPt.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B1tAymfW.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CegQR-Hf.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DFTukqtI.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-BxjpLZAG.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-CGT0V6RV.esm.js";
|
|
13
13
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-6Nmkn5u1.esm.js";
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BjTF6dRi.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-SFTkKkcs.esm.js";
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-MMfn9FcW.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BWEswDzr.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BJYcw-Ji.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-DgT48ky6.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-BY0jeYwR.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CiQta5fg.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CYIdlRa_.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-FsJ0W2Ei.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-LoNZH9qm.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-MEWKeR3h.esm.js";
|
|
@@ -29,9 +29,9 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-BIQYQXXj.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-y4VQB11M.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-Ca43yhwk.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-Dt67QbIh.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CQBcGMBa.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-JpV_SAsl.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Ri4UbNz0.esm.js";
|
|
36
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
36
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-rlajwMLO.esm.js";
|
|
37
37
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-BfuYyPH6.esm.js → faceCaptureManagerFactory-Dm172_77.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-B1tAymfW.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
|
|
7
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
7
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D20N3ao2.esm.js";
|
|
8
8
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
9
9
|
function getPermissionStatus(snapshot) {
|
|
10
10
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { i as assign, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.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-D20N3ao2.esm.js";
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-eTjlv1-b.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
9
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CH3gaQsZ.esm.js";
|
|
10
10
|
import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
|
|
11
|
-
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-
|
|
11
|
+
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-CEjFm4AG.esm.js";
|
|
12
12
|
//#region src/internal/avatar/concealment.ts
|
|
13
13
|
/**
|
|
14
14
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toESM } from "./rolldown-runtime-FZ4Itg2g.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-CJCgMAlC.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BaCb63Wl.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-
|
|
1
|
+
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-rlajwMLO.esm.js";
|
|
2
2
|
export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
|
|
@@ -5,7 +5,7 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
|
5
5
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-S9_cRZ7f.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 { v as addEvent } from "./events-DYiyoSlx.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-CU4F7KQ1.esm.js";
|
|
3
3
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-yTCgendR.esm.js";
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-pibTqWc_.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
package/dist/{flowCompletionService-DthD-ObU.esm.js → flowCompletionService-yTCgendR.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError } from "./apiError-CK76X365.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
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BaCb63Wl.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-C4uxqTd5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-CK76X365.esm.js";
|
|
6
|
+
import "./session-BaqtSJrF.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-Dt67QbIh.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-D-iPWWpq.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-D-iPWWpq.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-C9dzQ0YZ.esm.js → geolocationStateMachine-D-iPWWpq.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-CCzL3XD_.esm.js";
|
|
3
|
-
import { a as isIOS, t as isAndroid } from "./platform-
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { a as isIOS, t as isAndroid } from "./platform-8AB1KkPJ.esm.js";
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-CK76X365.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region ../infra/src/device/getBrowser.ts
|
|
2
|
+
function getUserAgent() {
|
|
3
|
+
if (typeof navigator === "undefined") return "";
|
|
4
|
+
return navigator.userAgent;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Returns low-entropy User-Agent Client Hint brands when the browser exposes
|
|
8
|
+
* them. `undefined` means Client Hints are unavailable, not that no brands
|
|
9
|
+
* were reported.
|
|
10
|
+
*/
|
|
11
|
+
function getUserAgentBrands() {
|
|
12
|
+
if (typeof navigator === "undefined") return;
|
|
13
|
+
const brands = navigator.userAgentData?.brands;
|
|
14
|
+
if (!brands?.length) return;
|
|
15
|
+
const parsedBrands = brands.flatMap(({ brand }) => typeof brand === "string" ? [brand] : []);
|
|
16
|
+
return parsedBrands.length > 0 ? parsedBrands : void 0;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { getUserAgentBrands as n, getUserAgent as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
2
|
-
import {
|
|
2
|
+
import { u as isTabletWithoutAndroid } from "./platform-8AB1KkPJ.esm.js";
|
|
3
3
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
4
4
|
//#region src/internal/device/getDeviceClass.ts
|
|
5
5
|
function getDeviceClass() {
|