@fern-api/fdr-sdk 1.2.39-95fb5e6623 → 1.2.39-9a2ca52650

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/js/index.js CHANGED
@@ -19640,15 +19640,15 @@ function findNode(root, slug) {
19640
19640
  };
19641
19641
  }
19642
19642
  if (root.type === "root" && root.slug === slug && root.pointsTo != null) {
19643
- return { type: "redirect", redirect: root.pointsTo };
19643
+ return { type: "redirect", redirect: root.pointsTo, authed: root.authed };
19644
19644
  }
19645
19645
  if (navigation_exports.hasRedirect(found.node) && found.node.pointsTo != null) {
19646
- return { type: "redirect", redirect: found.node.pointsTo };
19646
+ return { type: "redirect", redirect: found.node.pointsTo, authed: found.node.authed };
19647
19647
  }
19648
19648
  if (found.node.type === "variant" && (found.node.pointsTo == null || found.node.pointsTo === void 0)) {
19649
19649
  const firstPage = findFirstPageInNode(found.node);
19650
19650
  if (firstPage != null) {
19651
- return { type: "redirect", redirect: firstPage };
19651
+ return { type: "redirect", redirect: firstPage, authed: found.node.authed };
19652
19652
  }
19653
19653
  }
19654
19654
  return {