@open-charging-cloud/chargy-core 0.14.0 → 0.14.1

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/README.md CHANGED
@@ -207,7 +207,7 @@ npx playwright install chromium
207
207
  ## Publishing
208
208
 
209
209
  ```bash
210
- npm version 0.14.0 --no-git-tag-version
210
+ npm version 0.14.1 --no-git-tag-version
211
211
  npm run verify
212
212
  npm pack --dry-run
213
213
  npm pack
@@ -13704,10 +13704,12 @@ var Chargy = class {
13704
13704
  verifyLiveLinkSignatures(LiveLink) {
13705
13705
  const result = verifyDocumentSignatures(LiveLink);
13706
13706
  const warnings = new Array();
13707
+ const reported = /* @__PURE__ */ new Set();
13707
13708
  const warn = (messageKey, level) => {
13708
- const message = this.GetMultilanguageText(messageKey);
13709
- if (!warnings.some((warning) => warning.message === message))
13710
- warnings.push({ level, message });
13709
+ if (reported.has(messageKey))
13710
+ return;
13711
+ reported.add(messageKey);
13712
+ warnings.push({ level, message: this.GetMultilanguageText(messageKey) });
13711
13713
  };
13712
13714
  if (result.status === "unsigned")
13713
13715
  warn("DocumentSignature_Missing", "low" /* low */);