@fern-api/fern-api-dev 5.45.0 → 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 +16 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -657380,6 +657380,15 @@ var OperationConverter = class _OperationConverter extends AbstractOperationConv
657380
657380
  });
657381
657381
  }
657382
657382
  getEndpointBaseUrls() {
657383
+ const serverFromOperationNameExtension = new extensions_exports.ServerFromOperationNameExtension({
657384
+ breadcrumbs: this.breadcrumbs,
657385
+ operation: this.operation,
657386
+ context: this.context
657387
+ });
657388
+ const serverFromOperationName = serverFromOperationNameExtension.convert();
657389
+ if (serverFromOperationName != null) {
657390
+ return void 0;
657391
+ }
657383
657392
  const operationServers = this.operation.servers ?? this.pathLevelServers;
657384
657393
  if (operationServers == null) {
657385
657394
  return void 0;
@@ -669566,7 +669575,7 @@ var AccessTokenPosthogManager = class {
669566
669575
  properties: {
669567
669576
  ...event,
669568
669577
  ...event.properties,
669569
- version: "5.45.0",
669578
+ version: "5.45.2",
669570
669579
  usingAccessToken: true,
669571
669580
  ...getRunIdProperties()
669572
669581
  }
@@ -669630,7 +669639,7 @@ var UserPosthogManager = class {
669630
669639
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
669631
669640
  event: "CLI",
669632
669641
  properties: {
669633
- version: "5.45.0",
669642
+ version: "5.45.2",
669634
669643
  ...event,
669635
669644
  ...event.properties,
669636
669645
  usingAccessToken: false,
@@ -861371,7 +861380,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
861371
861380
  var LOGS_FOLDER_NAME = "logs";
861372
861381
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
861373
861382
  function getCliSource() {
861374
- const version7 = "5.45.0";
861383
+ const version7 = "5.45.2";
861375
861384
  return `cli@${version7}`;
861376
861385
  }
861377
861386
  var DebugLogger = class {
@@ -892463,7 +892472,7 @@ var LegacyDocsPublisher = class {
892463
892472
  previewId,
892464
892473
  disableTemplates: void 0,
892465
892474
  skipUpload,
892466
- cliVersion: "5.45.0",
892475
+ cliVersion: "5.45.2",
892467
892476
  loginCommand: "fern auth login"
892468
892477
  });
892469
892478
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -945435,7 +945444,7 @@ async function writeFilesToDiskAndRunGenerator({ organization, absolutePathToFer
945435
945444
  if (rawApiSpecs != null && rawApiSpecs.length > 0) {
945436
945445
  const rawSpecsDir = (0, import_path95.join)(workspaceTempDir.path, SPECS_DIRECTORY_NAME);
945437
945446
  await (0, import_promises131.mkdir)(rawSpecsDir, { recursive: true });
945438
- const containerSpecsDir = CONTAINER_SPECS_DIRECTORY;
945447
+ const containerSpecsDir = environment2.usesContainerPaths ? CONTAINER_SPECS_DIRECTORY : rawSpecsDir;
945439
945448
  const manifest = await collectRawSpecs({
945440
945449
  specs: rawApiSpecs,
945441
945450
  hostOutputDir: AbsoluteFilePath2.of(rawSpecsDir),
@@ -957629,7 +957638,7 @@ function getAutomationContextFromEnv() {
957629
957638
  config_branch: process.env.FERN_CONFIG_BRANCH,
957630
957639
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
957631
957640
  trigger: process.env.GITHUB_EVENT_NAME,
957632
- cli_version: "5.45.0"
957641
+ cli_version: "5.45.2"
957633
957642
  };
957634
957643
  }
957635
957644
  function isAutomationMode() {
@@ -958455,7 +958464,7 @@ var CliContext = class _CliContext {
958455
958464
  if (false) {
958456
958465
  this.logger.error("CLI_VERSION is not defined");
958457
958466
  }
958458
- return "5.45.0";
958467
+ return "5.45.2";
958459
958468
  }
958460
958469
  getCliName() {
958461
958470
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.45.0",
2
+ "version": "5.45.2",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",