@fern-api/fdr-sdk 1.2.39-f82f6883d8 → 1.2.40-5c4b71a67c
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/converters/index.js +3 -3
- package/dist/js/converters/index.js.map +1 -1
- package/dist/js/converters/index.mjs +3 -3
- package/dist/js/converters/index.mjs.map +1 -1
- package/dist/js/index.js +3 -3
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +3 -3
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/navigation/index.js +3 -3
- package/dist/js/navigation/index.js.map +1 -1
- package/dist/js/navigation/index.mjs +3 -3
- package/dist/js/navigation/index.mjs.map +1 -1
- package/dist/js/navigation/ledger-root-builder.js +15 -7
- package/dist/js/navigation/ledger-root-builder.js.map +1 -1
- package/dist/js/navigation/ledger-root-builder.mjs +15 -7
- package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/navigation/__test__/findNode.authedRedirect.test.d.ts +2 -0
- package/dist/types/navigation/__test__/findNode.authedRedirect.test.d.ts.map +1 -0
- package/dist/types/navigation/__test__/ledger-root-builder.skipSlugApiReference.test.d.ts +2 -0
- package/dist/types/navigation/__test__/ledger-root-builder.skipSlugApiReference.test.d.ts.map +1 -0
- package/dist/types/navigation/ledger-root-builder.d.ts +5 -1
- package/dist/types/navigation/ledger-root-builder.d.ts.map +1 -1
- package/dist/types/navigation/utils/findNode.d.ts +1 -0
- package/dist/types/navigation/utils/findNode.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -15828,15 +15828,15 @@ function findNode(root, slug) {
|
|
|
15828
15828
|
};
|
|
15829
15829
|
}
|
|
15830
15830
|
if (root.type === "root" && root.slug === slug && root.pointsTo != null) {
|
|
15831
|
-
return { type: "redirect", redirect: root.pointsTo };
|
|
15831
|
+
return { type: "redirect", redirect: root.pointsTo, authed: root.authed };
|
|
15832
15832
|
}
|
|
15833
15833
|
if (navigation_exports.hasRedirect(found.node) && found.node.pointsTo != null) {
|
|
15834
|
-
return { type: "redirect", redirect: found.node.pointsTo };
|
|
15834
|
+
return { type: "redirect", redirect: found.node.pointsTo, authed: found.node.authed };
|
|
15835
15835
|
}
|
|
15836
15836
|
if (found.node.type === "variant" && (found.node.pointsTo == null || found.node.pointsTo === void 0)) {
|
|
15837
15837
|
const firstPage = findFirstPageInNode(found.node);
|
|
15838
15838
|
if (firstPage != null) {
|
|
15839
|
-
return { type: "redirect", redirect: firstPage };
|
|
15839
|
+
return { type: "redirect", redirect: firstPage, authed: found.node.authed };
|
|
15840
15840
|
}
|
|
15841
15841
|
}
|
|
15842
15842
|
return {
|