@neofaceid/web-sdk 1.8.7 → 1.9.2
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.
|
@@ -1135,7 +1135,7 @@ class NeoFaceError extends Error {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
const __vite_import_meta_env__$1 = {};
|
|
1138
|
-
const API_BASE_URL = (__vite_import_meta_env__$1 == null ? void 0 : __vite_import_meta_env__$1.VITE_API_BASE_URL) || "
|
|
1138
|
+
const API_BASE_URL = (__vite_import_meta_env__$1 == null ? void 0 : __vite_import_meta_env__$1.VITE_API_BASE_URL) || "https://sandbox-core.neofaceid.com";
|
|
1139
1139
|
const REQUEST_TIMEOUT = 1e4;
|
|
1140
1140
|
const ensureSecureContext = () => {
|
|
1141
1141
|
const isLocalhost = window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" || window.location.hostname === "";
|
|
@@ -3151,7 +3151,7 @@ function BiometricRegistrationModal({
|
|
|
3151
3151
|
stepProgress > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "progress-bar", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "progress-fill", style: { width: `${stepProgress}%` } }) })
|
|
3152
3152
|
] }),
|
|
3153
3153
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "branding-small", children: [
|
|
3154
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: "/
|
|
3154
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: "/logo-icone.png", alt: "NeoFaceId", className: "brand-logo-small" }),
|
|
3155
3155
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "NeoFaceId by" }),
|
|
3156
3156
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "brand-name", children: "OCTA" })
|
|
3157
3157
|
] })
|
|
@@ -4442,7 +4442,7 @@ class BiometricStatusOverlay {
|
|
|
4442
4442
|
<div class="neofaceid-logo-wrapper">
|
|
4443
4443
|
${showLogo ? `
|
|
4444
4444
|
<img
|
|
4445
|
-
src="/logo-icone-no-
|
|
4445
|
+
src="/logo-icone-no-background.png"
|
|
4446
4446
|
alt="NeoFaceId"
|
|
4447
4447
|
class="neofaceid-logo ${isPulsing ? "pulsing" : ""}"
|
|
4448
4448
|
onerror="this.style.display='none'"
|
|
@@ -4809,7 +4809,7 @@ class EmailPasswordModal {
|
|
|
4809
4809
|
|
|
4810
4810
|
<!-- Branding -->
|
|
4811
4811
|
<div class="neoface-email-branding">
|
|
4812
|
-
<img src="/
|
|
4812
|
+
<img src="/logo-icone-no-background.png" alt="NeoFaceId" class="neoface-email-brand-logo" onerror="this.style.display='none'" />
|
|
4813
4813
|
<span>NeoFaceId by</span>
|
|
4814
4814
|
<span class="neoface-email-brand-name">OCTA</span>
|
|
4815
4815
|
</div>
|
|
@@ -5711,8 +5711,8 @@ const biometricDetection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
5711
5711
|
initializeBiometricDetection,
|
|
5712
5712
|
isAdvancedDetectionAvailable
|
|
5713
5713
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5714
|
-
const VERSION = "1.
|
|
5715
|
-
const RELEASE_DATE = "
|
|
5714
|
+
const VERSION = "1.9.2";
|
|
5715
|
+
const RELEASE_DATE = "2026-01-20";
|
|
5716
5716
|
class OnboardingCaptureModal {
|
|
5717
5717
|
constructor(options) {
|
|
5718
5718
|
__publicField(this, "overlay", null);
|
|
@@ -5943,7 +5943,7 @@ class NeoFaceID {
|
|
|
5943
5943
|
__publicField(this, "signature");
|
|
5944
5944
|
__publicField(this, "sessionData");
|
|
5945
5945
|
this.appToken = config.appToken;
|
|
5946
|
-
this.baseUrl = config.baseUrl || (__vite_import_meta_env__ == null ? void 0 : __vite_import_meta_env__.VITE_API_BASE_URL) || "
|
|
5946
|
+
this.baseUrl = config.baseUrl || (__vite_import_meta_env__ == null ? void 0 : __vite_import_meta_env__.VITE_API_BASE_URL) || "https://sandbox-core.neofaceid.com";
|
|
5947
5947
|
this.signature = config.signature;
|
|
5948
5948
|
this.sessionData = config.sessionData;
|
|
5949
5949
|
if (this.signature && !this.validateSignatureFormat(this.signature)) {
|
|
@@ -6614,7 +6614,7 @@ class DocumentCaptureModal {
|
|
|
6614
6614
|
renderBranding() {
|
|
6615
6615
|
return `
|
|
6616
6616
|
<div class="neoface-doc-branding">
|
|
6617
|
-
<img src="/logo-icone-no-
|
|
6617
|
+
<img src="/logo-icone-no-background.png"
|
|
6618
6618
|
alt="NeoFaceId" class="neoface-doc-brand-icon"
|
|
6619
6619
|
onerror="this.style.display='none'" />
|
|
6620
6620
|
<span class="neoface-doc-brand-name-text">NeoFaceId</span>
|