@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.
@@ -1285,7 +1285,7 @@ function filterDmcaEntry(entryOrEntries) {
1285
1285
  function applyFilter(entry) {
1286
1286
  if (!entry) return entry;
1287
1287
  const entryPath = `@${entry.author}/${entry.permlink}`;
1288
- const isDmca = CONFIG.dmcaPatternRegexes.some((regex) => regex.test(entryPath));
1288
+ const isDmca = CONFIG.dmcaPatterns.includes(entryPath) || CONFIG.dmcaPatternRegexes.some((regex) => regex.test(entryPath));
1289
1289
  if (isDmca) {
1290
1290
  return {
1291
1291
  ...entry,