@fern-api/fern-api-dev 5.56.2 → 5.56.3

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.
Files changed (2) hide show
  1. package/cli.cjs +9 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -686971,7 +686971,7 @@ var AccessTokenPosthogManager = class {
686971
686971
  properties: {
686972
686972
  ...event,
686973
686973
  ...event.properties,
686974
- version: "5.56.2",
686974
+ version: "5.56.3",
686975
686975
  usingAccessToken: true,
686976
686976
  ...getRunIdProperties()
686977
686977
  }
@@ -687037,7 +687037,7 @@ var UserPosthogManager = class {
687037
687037
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
687038
687038
  event: "CLI",
687039
687039
  properties: {
687040
- version: "5.56.2",
687040
+ version: "5.56.3",
687041
687041
  ...event,
687042
687042
  ...event.properties,
687043
687043
  usingAccessToken: false,
@@ -868132,7 +868132,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
868132
868132
  var LOGS_FOLDER_NAME = "logs";
868133
868133
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
868134
868134
  function getCliSource() {
868135
- const version7 = "5.56.2";
868135
+ const version7 = "5.56.3";
868136
868136
  return `cli@${version7}`;
868137
868137
  }
868138
868138
  var DebugLogger = class {
@@ -898817,7 +898817,7 @@ function buildLedgerInput({ docsDefinition, git, apiDefinitions, fileManifest, f
898817
898817
  };
898818
898818
  return { localeEntry, blobs };
898819
898819
  }
898820
- async function publishDocsViaLedger({ docsDefinition, organization, domain: domain3, basepath, previewId, customDomains, git, token, fdrOrigin, headers: headers2, context: context3, apiDefinitions, fileManifest, filePaths, fileIdToPath, editThisPage, resolver: resolver2 }) {
898820
+ async function publishDocsViaLedger({ docsDefinition, organization, domain: domain3, basepath, basepathAware, previewId, customDomains, git, token, fdrOrigin, headers: headers2, context: context3, apiDefinitions, fileManifest, filePaths, fileIdToPath, editThisPage, resolver: resolver2 }) {
898821
898821
  const { localeEntry: baseLocale, blobs } = buildLedgerInput({
898822
898822
  docsDefinition,
898823
898823
  git,
@@ -898848,6 +898848,7 @@ async function publishDocsViaLedger({ docsDefinition, organization, domain: doma
898848
898848
  orgId: organization,
898849
898849
  domain: domain3,
898850
898850
  basepath: basepath ?? "",
898851
+ ...basepathAware && { basepathAware: true },
898851
898852
  customDomains: customDomains ?? [],
898852
898853
  previewId: previewId ?? null,
898853
898854
  defaultLocale: baseLocale.locale,
@@ -899610,6 +899611,7 @@ ${JSON.stringify(errorDetails, void 0, 2)}`);
899610
899611
  organization,
899611
899612
  domain: domain3,
899612
899613
  basepath: basePath,
899614
+ basepathAware: isBasepathAware,
899613
899615
  previewId,
899614
899616
  customDomains,
899615
899617
  git: ledgerGit,
@@ -900532,7 +900534,7 @@ var LegacyDocsPublisher = class {
900532
900534
  previewId,
900533
900535
  disableTemplates: void 0,
900534
900536
  skipUpload,
900535
- cliVersion: "5.56.2",
900537
+ cliVersion: "5.56.3",
900536
900538
  loginCommand: "fern auth login"
900537
900539
  });
900538
900540
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -966801,7 +966803,7 @@ function getAutomationContextFromEnv() {
966801
966803
  config_branch: process.env.FERN_CONFIG_BRANCH,
966802
966804
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
966803
966805
  trigger: process.env.GITHUB_EVENT_NAME,
966804
- cli_version: "5.56.2"
966806
+ cli_version: "5.56.3"
966805
966807
  };
966806
966808
  }
966807
966809
  function isAutomationMode() {
@@ -967633,7 +967635,7 @@ var CliContext = class _CliContext {
967633
967635
  if (false) {
967634
967636
  this.logger.error("CLI_VERSION is not defined");
967635
967637
  }
967636
- return "5.56.2";
967638
+ return "5.56.3";
967637
967639
  }
967638
967640
  getCliName() {
967639
967641
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.56.2",
2
+ "version": "5.56.3",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",