@fern-api/fdr-sdk 0.145.11-d3f4174bc → 0.145.12-911e926cd
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/docs/index.js +5 -1
- package/dist/js/docs/index.js.map +1 -1
- package/dist/js/docs/index.mjs +5 -1
- package/dist/js/docs/index.mjs.map +1 -1
- package/dist/js/index.js +5 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +5 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/docs/s3-docs-definition.d.ts +1 -1
- package/dist/types/docs/s3-docs-definition.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/js/index.mjs
CHANGED
|
@@ -65294,8 +65294,12 @@ var EMPTY_FRONTMATTER = {
|
|
|
65294
65294
|
};
|
|
65295
65295
|
|
|
65296
65296
|
// src/docs/s3-docs-definition.ts
|
|
65297
|
-
function getS3KeyForV1DocsDefinition(domain) {
|
|
65297
|
+
function getS3KeyForV1DocsDefinition(domain, basepath) {
|
|
65298
65298
|
const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === "true";
|
|
65299
|
+
if (basepath != null) {
|
|
65300
|
+
const cleanBasepath = basepath.replace(/^\//, "");
|
|
65301
|
+
return isLocalMode ? `${cleanBasepath}/v1/fdr.json` : `${domain}/${cleanBasepath}/v1/fdr.json`;
|
|
65302
|
+
}
|
|
65299
65303
|
return isLocalMode ? "v1/fdr.json" : `${domain}/v1/fdr.json`;
|
|
65300
65304
|
}
|
|
65301
65305
|
function getS3KeyForDynamicIr({
|