@vpdev2/metakyc-sdk 1.0.100 → 1.0.101
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/components/KycWorkflow.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7558,7 +7558,7 @@ const Kn = ({
|
|
|
7558
7558
|
error: I,
|
|
7559
7559
|
moveBack: L,
|
|
7560
7560
|
refreshProgress: f
|
|
7561
|
-
} = Br(e), [S, D] = be.useState(!1);
|
|
7561
|
+
} = Br(e), [S, D] = be.useState(!1), H = be.useRef(null);
|
|
7562
7562
|
if (be.useEffect(() => {
|
|
7563
7563
|
I && n && n(I);
|
|
7564
7564
|
}, [I, n]), be.useEffect(() => {
|
|
@@ -7625,7 +7625,7 @@ const Kn = ({
|
|
|
7625
7625
|
/* @__PURE__ */ r(Pe, { className: "my-8" }),
|
|
7626
7626
|
/* @__PURE__ */ r("p", { className: "text-center mt-4", style: { color: "var(--metakyc-text-secondary, #6b7280)" }, children: l.status === Te.IdentityPending ? "Loading identity verification..." : "Loading current step..." })
|
|
7627
7627
|
] }) }) });
|
|
7628
|
-
const
|
|
7628
|
+
const W = (U) => {
|
|
7629
7629
|
switch (U) {
|
|
7630
7630
|
case se.Overview:
|
|
7631
7631
|
return "Overview";
|
|
@@ -7648,7 +7648,7 @@ const Kn = ({
|
|
|
7648
7648
|
default:
|
|
7649
7649
|
return "";
|
|
7650
7650
|
}
|
|
7651
|
-
},
|
|
7651
|
+
}, M = () => {
|
|
7652
7652
|
const U = u.filter((j) => j.visibility !== !1), V = U.findIndex((j) => j.order === c.order), F = V >= 0 ? V + 1 : 1, b = U.length, B = b > 1 ? V / (b - 1) * 100 : 100;
|
|
7653
7653
|
return /* @__PURE__ */ i("div", { style: { marginBottom: "24px" }, children: [
|
|
7654
7654
|
/* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "flex-start", justifyContent: "space-between", marginBottom: "16px" }, children: [
|
|
@@ -7675,10 +7675,10 @@ const Kn = ({
|
|
|
7675
7675
|
/* @__PURE__ */ r(
|
|
7676
7676
|
Nn,
|
|
7677
7677
|
{
|
|
7678
|
-
ref:
|
|
7678
|
+
ref: H,
|
|
7679
7679
|
visibleSteps: U,
|
|
7680
7680
|
currentVisibleStepIndex: V,
|
|
7681
|
-
getStepFallbackName:
|
|
7681
|
+
getStepFallbackName: W
|
|
7682
7682
|
}
|
|
7683
7683
|
)
|
|
7684
7684
|
] });
|