@contentrain/wp-import 0.10.4 → 0.10.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.
package/dist/index.mjs CHANGED
@@ -2905,7 +2905,7 @@ function rawToContentrain(raw, opts) {
2905
2905
  open_in_new_tab: i.target_attr === "_blank"
2906
2906
  };
2907
2907
  if (i.parent && !i.parent_unresolved) e.parent = itemRef(i.parent);
2908
- if (i.target.kind === "url" && i.url) e.url = i.url;
2908
+ if ((i.target.kind === "url" || i.target.kind === "archive") && i.url) e.url = i.url;
2909
2909
  if (i.target.kind === "post" && i.target.resolved && i.target.id != null) {
2910
2910
  const pe = postEntry.get(i.target.id);
2911
2911
  if (pe) e.target = toTarget.ref(pe);