@ecency/sdk 1.3.9 → 1.4.0

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.
@@ -3693,7 +3693,7 @@ function buildQuery(entry, retry = 3) {
3693
3693
  q += ` -dporn type:post`;
3694
3694
  let tags;
3695
3695
  if (json_metadata && json_metadata.tags && Array.isArray(json_metadata.tags)) {
3696
- tags = json_metadata.tags.filter((tag) => tag && tag !== "").filter((tag) => !tag.startsWith("hive-")).filter((_tag, ind) => ind < +retry).join(",");
3696
+ tags = json_metadata.tags.filter((tag) => tag && tag !== "" && typeof tag === "string").filter((tag) => !tag.startsWith("hive-")).filter((_tag, ind) => ind < +retry).join(",");
3697
3697
  }
3698
3698
  if (tags && tags.length > 0) {
3699
3699
  q += ` tag:${tags}`;