@fern-api/fern-api-dev 5.45.1 → 5.45.2

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 +7 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -669575,7 +669575,7 @@ var AccessTokenPosthogManager = class {
669575
669575
  properties: {
669576
669576
  ...event,
669577
669577
  ...event.properties,
669578
- version: "5.45.1",
669578
+ version: "5.45.2",
669579
669579
  usingAccessToken: true,
669580
669580
  ...getRunIdProperties()
669581
669581
  }
@@ -669639,7 +669639,7 @@ var UserPosthogManager = class {
669639
669639
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
669640
669640
  event: "CLI",
669641
669641
  properties: {
669642
- version: "5.45.1",
669642
+ version: "5.45.2",
669643
669643
  ...event,
669644
669644
  ...event.properties,
669645
669645
  usingAccessToken: false,
@@ -861380,7 +861380,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
861380
861380
  var LOGS_FOLDER_NAME = "logs";
861381
861381
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
861382
861382
  function getCliSource() {
861383
- const version7 = "5.45.1";
861383
+ const version7 = "5.45.2";
861384
861384
  return `cli@${version7}`;
861385
861385
  }
861386
861386
  var DebugLogger = class {
@@ -892472,7 +892472,7 @@ var LegacyDocsPublisher = class {
892472
892472
  previewId,
892473
892473
  disableTemplates: void 0,
892474
892474
  skipUpload,
892475
- cliVersion: "5.45.1",
892475
+ cliVersion: "5.45.2",
892476
892476
  loginCommand: "fern auth login"
892477
892477
  });
892478
892478
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -945444,7 +945444,7 @@ async function writeFilesToDiskAndRunGenerator({ organization, absolutePathToFer
945444
945444
  if (rawApiSpecs != null && rawApiSpecs.length > 0) {
945445
945445
  const rawSpecsDir = (0, import_path95.join)(workspaceTempDir.path, SPECS_DIRECTORY_NAME);
945446
945446
  await (0, import_promises131.mkdir)(rawSpecsDir, { recursive: true });
945447
- const containerSpecsDir = CONTAINER_SPECS_DIRECTORY;
945447
+ const containerSpecsDir = environment2.usesContainerPaths ? CONTAINER_SPECS_DIRECTORY : rawSpecsDir;
945448
945448
  const manifest = await collectRawSpecs({
945449
945449
  specs: rawApiSpecs,
945450
945450
  hostOutputDir: AbsoluteFilePath2.of(rawSpecsDir),
@@ -957638,7 +957638,7 @@ function getAutomationContextFromEnv() {
957638
957638
  config_branch: process.env.FERN_CONFIG_BRANCH,
957639
957639
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
957640
957640
  trigger: process.env.GITHUB_EVENT_NAME,
957641
- cli_version: "5.45.1"
957641
+ cli_version: "5.45.2"
957642
957642
  };
957643
957643
  }
957644
957644
  function isAutomationMode() {
@@ -958464,7 +958464,7 @@ var CliContext = class _CliContext {
958464
958464
  if (false) {
958465
958465
  this.logger.error("CLI_VERSION is not defined");
958466
958466
  }
958467
- return "5.45.1";
958467
+ return "5.45.2";
958468
958468
  }
958469
958469
  getCliName() {
958470
958470
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.45.1",
2
+ "version": "5.45.2",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",