@fern-api/fern-api-dev 3.48.1 → 3.48.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 +6 -5
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1429451,7 +1429451,7 @@ var AccessTokenPosthogManager = class {
1429451
1429451
  properties: {
1429452
1429452
  ...event,
1429453
1429453
  ...event.properties,
1429454
- version: "3.48.1",
1429454
+ version: "3.48.2",
1429455
1429455
  usingAccessToken: true
1429456
1429456
  }
1429457
1429457
  });
@@ -1429550,7 +1429550,7 @@ var UserPosthogManager = class {
1429550
1429550
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1429551
1429551
  event: "CLI",
1429552
1429552
  properties: {
1429553
- version: "3.48.1",
1429553
+ version: "3.48.2",
1429554
1429554
  ...event,
1429555
1429555
  ...event.properties,
1429556
1429556
  usingAccessToken: false,
@@ -1508976,7 +1508976,7 @@ var CliContext = class {
1508976
1508976
  if (false) {
1508977
1508977
  this.logger.error("CLI_VERSION is not defined");
1508978
1508978
  }
1508979
- return "3.48.1";
1508979
+ return "3.48.2";
1508980
1508980
  }
1508981
1508981
  getCliName() {
1508982
1508982
  if (false) {
@@ -1598533,7 +1598533,8 @@ function convertService(irService, ir14) {
1598533
1598533
  const shouldUseUserSpecifiedExampleName = Object.values(userSpecifiedExamples).map((example) => example.response?.statusCode).filter((statusCode, index3, array2) => array2.indexOf(statusCode) !== index3).length > 0;
1598534
1598534
  for (const [exampleName, example] of Object.entries(userSpecifiedExamples)) {
1598535
1598535
  endpointExample = convertV2HttpEndpointExample({
1598536
- shouldUseExampleName: shouldUseUserSpecifiedExampleName,
1598536
+ // Always show user-specified displayName (OpenAPI summary), or disambiguate if needed.
1598537
+ shouldUseExampleName: example.displayName != null || shouldUseUserSpecifiedExampleName,
1598537
1598538
  exampleName: example.displayName ?? exampleName,
1598538
1598539
  example,
1598539
1598540
  irEndpoint,
@@ -1610165,7 +1610166,7 @@ var import_path40 = __toESM(require("path"), 1);
1610165
1610166
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1610166
1610167
  var LOGS_FOLDER_NAME = "logs";
1610167
1610168
  function getCliSource() {
1610168
- const version7 = "3.48.1";
1610169
+ const version7 = "3.48.2";
1610169
1610170
  return `cli@${version7}`;
1610170
1610171
  }
1610171
1610172
  var DebugLogger = class {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.48.1",
2
+ "version": "3.48.2",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",