gbc-kyc-kit 1.5.3 → 1.5.5
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/README.md +0 -1
- package/dist/gbc-kyc-kit.es.js +8 -7
- package/dist/gbc-kyc-kit.umd.js +37 -37
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/gbc-kyc-kit.es.js
CHANGED
|
@@ -20162,13 +20162,13 @@ function StatusComponent({
|
|
|
20162
20162
|
})
|
|
20163
20163
|
}) : /* @__PURE__ */ jsxs(Fragment, {
|
|
20164
20164
|
children: [arrWarning.includes(status) ? /* @__PURE__ */ jsx(ErrorAnimation, {
|
|
20165
|
-
message
|
|
20165
|
+
message: message ? message : "Error obteniendo el Token"
|
|
20166
20166
|
}) : arrSuccess.includes(status) ? /* @__PURE__ */ jsx(SuccessAnimation, {
|
|
20167
20167
|
message
|
|
20168
20168
|
}) : null, !lib$1(lists) && /* @__PURE__ */ jsx(ListsAccordion, {
|
|
20169
20169
|
lists,
|
|
20170
20170
|
handleReport
|
|
20171
|
-
}), status !== "COUNTRY_NOT_ALLOWED" ? /* @__PURE__ */ jsxs(Fragment, {
|
|
20171
|
+
}), status !== "COUNTRY_NOT_ALLOWED" && status !== "TOKEN" ? /* @__PURE__ */ jsxs(Fragment, {
|
|
20172
20172
|
children: [/* @__PURE__ */ jsx(CustomButton, {
|
|
20173
20173
|
className: "my-2 col-6 warning-button",
|
|
20174
20174
|
onClick: () => clearState(),
|
|
@@ -20207,7 +20207,6 @@ function BlackList({
|
|
|
20207
20207
|
dataReq,
|
|
20208
20208
|
countryCode
|
|
20209
20209
|
} = BlackListController(clientId, authorize, inProduction, countryCodeAllowed);
|
|
20210
|
-
useGeolocation();
|
|
20211
20210
|
return /* @__PURE__ */ jsxs("div", {
|
|
20212
20211
|
className: `kit-gbc ${mode}`,
|
|
20213
20212
|
children: [/* @__PURE__ */ jsx(k$1, {
|
|
@@ -25908,13 +25907,15 @@ function LivenessCheck({
|
|
|
25908
25907
|
pauseOnFocusLoss: true,
|
|
25909
25908
|
draggable: true,
|
|
25910
25909
|
pauseOnHover: true
|
|
25911
|
-
}), isLoading || countryCodeAllowed !== null && !countryCode ? /* @__PURE__ */ jsx(BackDropLoader, {}) : null, status
|
|
25912
|
-
className: "
|
|
25913
|
-
children: /* @__PURE__ */ jsx(
|
|
25910
|
+
}), isLoading || countryCodeAllowed !== null && !countryCode ? /* @__PURE__ */ jsx(BackDropLoader, {}) : null, !lib$1(status) ? /* @__PURE__ */ jsxs("div", {
|
|
25911
|
+
className: "sub",
|
|
25912
|
+
children: [/* @__PURE__ */ jsx("h4", {
|
|
25913
|
+
children: "Verificaci\xF3n liveness"
|
|
25914
|
+
}), /* @__PURE__ */ jsx(StatusComponent, {
|
|
25914
25915
|
status,
|
|
25915
25916
|
message,
|
|
25916
25917
|
clearState
|
|
25917
|
-
})
|
|
25918
|
+
})]
|
|
25918
25919
|
}) : /* @__PURE__ */ jsx("face-liveness", {
|
|
25919
25920
|
locale: "es",
|
|
25920
25921
|
class: "liveness",
|