@ecency/sdk 1.5.4 → 1.5.5

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.
@@ -1260,7 +1260,7 @@ function filterDmcaEntry(entryOrEntries) {
1260
1260
  function applyFilter(entry) {
1261
1261
  if (!entry) return entry;
1262
1262
  const entryPath = `@${entry.author}/${entry.permlink}`;
1263
- const isDmca = CONFIG.dmcaPatternRegexes.some((regex) => regex.test(entryPath));
1263
+ const isDmca = CONFIG.dmcaPatterns.includes(entryPath) || CONFIG.dmcaPatternRegexes.some((regex) => regex.test(entryPath));
1264
1264
  if (isDmca) {
1265
1265
  return {
1266
1266
  ...entry,