@learncard/learn-card-plugin 1.2.28 → 1.2.30

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.
@@ -1785,7 +1785,9 @@ var transformErrorMessage = /* @__PURE__ */ __name((error, credential, verificat
1785
1785
  }
1786
1786
  return error;
1787
1787
  }, "transformErrorMessage");
1788
+ var NON_DID_ISSUER_WARNING = "Issuer authorization was not checked because the credential issuer is not a DID";
1788
1789
  var transformWarningCheck = /* @__PURE__ */ __name((warning, _credential) => {
1790
+ if (warning === NON_DID_ISSUER_WARNING) return "Issuer Authorization";
1789
1791
  if (warning.includes("Boost Authenticity")) return "Boost Authenticity";
1790
1792
  const prefix = warning.split(" warning")[0];
1791
1793
  return prefix || warning;