@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.
@@ -1761,7 +1761,9 @@ var transformErrorMessage = /* @__PURE__ */ __name((error, credential, verificat
1761
1761
  }
1762
1762
  return error;
1763
1763
  }, "transformErrorMessage");
1764
+ var NON_DID_ISSUER_WARNING = "Issuer authorization was not checked because the credential issuer is not a DID";
1764
1765
  var transformWarningCheck = /* @__PURE__ */ __name((warning, _credential) => {
1766
+ if (warning === NON_DID_ISSUER_WARNING) return "Issuer Authorization";
1765
1767
  if (warning.includes("Boost Authenticity")) return "Boost Authenticity";
1766
1768
  const prefix = warning.split(" warning")[0];
1767
1769
  return prefix || warning;