@vpdev2/metakyc-sdk 1.0.84 → 1.0.85

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/index.js CHANGED
@@ -925,7 +925,7 @@ class mr {
925
925
  Array.isArray(i) && i.length > 0 && (a.reviewPageFields = i);
926
926
  } catch {
927
927
  }
928
- return n.result.reviewPageDisabled && (a.reviewPageDisabled = !0), a;
928
+ return n.result.reviewPageDisabled && (a.reviewPageDisabled = !0), n.result.fieldLabelMode === "placeholder" && (a.fieldLabelMode = "placeholder"), a;
929
929
  } catch (n) {
930
930
  return console.warn("[ThemeService] Failed to fetch theme configuration:", n), Ze(be.Default);
931
931
  }
@@ -5651,7 +5651,7 @@ const Xe = {
5651
5651
  throw new Error(
5652
5652
  "workflowKey is required. Provide it either as a prop to CreateApplicantForm or set it in config.applicantForm.workflowKey"
5653
5653
  );
5654
- const x = t || ((H = i.applicantForm) == null ? void 0 : H.externalRefId) || "", w = ((z = i.applicantForm) == null ? void 0 : z.email) || "", k = ((Q = i.applicantForm) == null ? void 0 : Q.hiddenValues) || {}, g = (((G = i.applicantForm) == null ? void 0 : G.fieldLabelMode) || "label") !== "placeholder", b = Be(
5654
+ const x = t || ((H = i.applicantForm) == null ? void 0 : H.externalRefId) || "", w = ((z = i.applicantForm) == null ? void 0 : z.email) || "", k = ((Q = i.applicantForm) == null ? void 0 : Q.hiddenValues) || {}, g = (((G = i.applicantForm) == null ? void 0 : G.fieldLabelMode) || (d == null ? void 0 : d.fieldLabelMode) || "label") !== "placeholder", b = Be(
5655
5655
  () => d != null && d.applicantFormPages && d.applicantFormPages.length > 0 ? d.applicantFormPages : null,
5656
5656
  [d == null ? void 0 : d.applicantFormPages]
5657
5657
  ), R = Be(() => {