@learncard/learn-card-plugin 1.1.62 → 1.1.63

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.
@@ -6677,10 +6677,7 @@ var transformErrorCheck = /* @__PURE__ */ __name((error, _credential) => {
6677
6677
  }, "transformErrorCheck");
6678
6678
  var transformErrorMessage = /* @__PURE__ */ __name((error, credential) => {
6679
6679
  if (error.startsWith("expiration")) {
6680
- return credential.expirationDate ? `Invalid \u2022 Expired ${format(
6681
- new Date(credential.expirationDate),
6682
- "dd MMM yyyy"
6683
- ).toUpperCase()}` : "Invalid \u2022 Expired";
6680
+ return credential.expirationDate ? `Expired ${format(new Date(credential.expirationDate), "dd MMM yyyy").toUpperCase()}` : "Expired";
6684
6681
  }
6685
6682
  return error;
6686
6683
  }, "transformErrorMessage");
@@ -6693,10 +6690,10 @@ var transformWarningCheck = /* @__PURE__ */ __name((warning, _credential) => {
6693
6690
  var transformCheckMessage = /* @__PURE__ */ __name((check, credential) => {
6694
6691
  return {
6695
6692
  proof: "Valid",
6696
- expiration: credential.expirationDate ? `Valid \u2022 Expires ${format(
6693
+ expiration: credential.expirationDate ? `Expires ${format(
6697
6694
  new Date(credential.expirationDate),
6698
6695
  "dd MMM yyyy"
6699
- ).toUpperCase()}` : "Valid \u2022 Does Not Expire"
6696
+ ).toUpperCase()}` : "Does Not Expire"
6700
6697
  }[check] || check;
6701
6698
  }, "transformCheckMessage");
6702
6699
  var verifyCredential = /* @__PURE__ */ __name((learnCard) => {