@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.
@@ -6653,10 +6653,7 @@ var transformErrorCheck = /* @__PURE__ */ __name((error, _credential) => {
6653
6653
  }, "transformErrorCheck");
6654
6654
  var transformErrorMessage = /* @__PURE__ */ __name((error, credential) => {
6655
6655
  if (error.startsWith("expiration")) {
6656
- return credential.expirationDate ? `Invalid \u2022 Expired ${format(
6657
- new Date(credential.expirationDate),
6658
- "dd MMM yyyy"
6659
- ).toUpperCase()}` : "Invalid \u2022 Expired";
6656
+ return credential.expirationDate ? `Expired ${format(new Date(credential.expirationDate), "dd MMM yyyy").toUpperCase()}` : "Expired";
6660
6657
  }
6661
6658
  return error;
6662
6659
  }, "transformErrorMessage");
@@ -6669,10 +6666,10 @@ var transformWarningCheck = /* @__PURE__ */ __name((warning, _credential) => {
6669
6666
  var transformCheckMessage = /* @__PURE__ */ __name((check, credential) => {
6670
6667
  return {
6671
6668
  proof: "Valid",
6672
- expiration: credential.expirationDate ? `Valid \u2022 Expires ${format(
6669
+ expiration: credential.expirationDate ? `Expires ${format(
6673
6670
  new Date(credential.expirationDate),
6674
6671
  "dd MMM yyyy"
6675
- ).toUpperCase()}` : "Valid \u2022 Does Not Expire"
6672
+ ).toUpperCase()}` : "Does Not Expire"
6676
6673
  }[check] || check;
6677
6674
  }, "transformCheckMessage");
6678
6675
  var verifyCredential = /* @__PURE__ */ __name((learnCard) => {