@vpdev2/metakyc-sdk 1.0.37 → 1.0.39
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/hooks/useRiskScoring.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2343,7 +2343,12 @@ function Yt(e) {
|
|
|
2343
2343
|
if (s(C), (S = O == null ? void 0 : O.riskScoringResults) != null && S.length) {
|
|
2344
2344
|
const W = O.riskScoringResults[0], F = {};
|
|
2345
2345
|
for (const h of W.riskCriteriaResults ?? [])
|
|
2346
|
-
h.riskCriteriaId != null && h.answer != null && h.answer !== ""
|
|
2346
|
+
if (h.riskCriteriaId != null && h.answer != null && h.answer !== "") {
|
|
2347
|
+
const A = [...new Set(
|
|
2348
|
+
h.answer.split(",").map((I) => I.trim()).filter((I) => I !== "")
|
|
2349
|
+
)];
|
|
2350
|
+
A.length > 0 && (F[h.riskCriteriaId] = A);
|
|
2351
|
+
}
|
|
2347
2352
|
l(F);
|
|
2348
2353
|
}
|
|
2349
2354
|
f.current = e;
|
|
@@ -4470,7 +4475,7 @@ Failed to reload test data. Please refresh the page.`);
|
|
|
4470
4475
|
}
|
|
4471
4476
|
return /* @__PURE__ */ a("form", { onSubmit: q.handleSubmit(L), children: /* @__PURE__ */ o(M, { children: [
|
|
4472
4477
|
/* @__PURE__ */ o(re, { children: [
|
|
4473
|
-
/* @__PURE__ */ a("h2", { className: "text-
|
|
4478
|
+
/* @__PURE__ */ a("h2", { className: "text-lg font-bold", children: "Review Your Information" }),
|
|
4474
4479
|
/* @__PURE__ */ a("p", { className: "text-gray-600 dark:text-gray-400 mt-1", children: "Please review and confirm your information before starting identity verification" })
|
|
4475
4480
|
] }),
|
|
4476
4481
|
/* @__PURE__ */ o(T, { className: "space-y-6", children: [
|