@fern-api/fdr-sdk 1.2.39-f82f6883d8 → 1.2.40-bcfd2ff480

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.mjs CHANGED
@@ -19577,15 +19577,15 @@ function findNode(root, slug) {
19577
19577
  };
19578
19578
  }
19579
19579
  if (root.type === "root" && root.slug === slug && root.pointsTo != null) {
19580
- return { type: "redirect", redirect: root.pointsTo };
19580
+ return { type: "redirect", redirect: root.pointsTo, authed: root.authed };
19581
19581
  }
19582
19582
  if (navigation_exports.hasRedirect(found.node) && found.node.pointsTo != null) {
19583
- return { type: "redirect", redirect: found.node.pointsTo };
19583
+ return { type: "redirect", redirect: found.node.pointsTo, authed: found.node.authed };
19584
19584
  }
19585
19585
  if (found.node.type === "variant" && (found.node.pointsTo == null || found.node.pointsTo === void 0)) {
19586
19586
  const firstPage = findFirstPageInNode(found.node);
19587
19587
  if (firstPage != null) {
19588
- return { type: "redirect", redirect: firstPage };
19588
+ return { type: "redirect", redirect: firstPage, authed: found.node.authed };
19589
19589
  }
19590
19590
  }
19591
19591
  return {