fern-api 0.38.0 → 0.38.1

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/bundle.cjs +5 -5
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -1192517,7 +1192517,7 @@ var AccessTokenPosthogManager = class {
1192517
1192517
  properties: {
1192518
1192518
  ...event,
1192519
1192519
  ...event.properties,
1192520
- version: "0.38.0",
1192520
+ version: "0.38.1",
1192521
1192521
  usingAccessToken: true
1192522
1192522
  }
1192523
1192523
  });
@@ -1192579,7 +1192579,7 @@ var UserPosthogManager = class {
1192579
1192579
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1192580
1192580
  event: "CLI",
1192581
1192581
  properties: {
1192582
- version: "0.38.0",
1192582
+ version: "0.38.1",
1192583
1192583
  ...event,
1192584
1192584
  ...event.properties
1192585
1192585
  }
@@ -1222603,10 +1222603,10 @@ var CliContext = class {
1222603
1222603
  return "fern-api";
1222604
1222604
  }
1222605
1222605
  getPackageVersion() {
1222606
- if ("0.38.0" == null) {
1222606
+ if ("0.38.1" == null) {
1222607
1222607
  this.logger.error("CLI_VERSION is not defined");
1222608
1222608
  }
1222609
- return "0.38.0";
1222609
+ return "0.38.1";
1222610
1222610
  }
1222611
1222611
  getCliName() {
1222612
1222612
  if ("fern" == null) {
@@ -1244606,7 +1244606,7 @@ async function generateIntermediateRepresentation({ fdrApiDefinitionId, workspac
1244606
1244606
  }
1244607
1244607
  });
1244608
1244608
  intermediateRepresentation.serviceTypeReferenceInfo = computeServiceTypeReferenceInfo(irGraph);
1244609
- const intermediateRepresentationWithGeneratedExamples = new ExampleGenerator(intermediateRepresentation).enrichWithAutogeneratedExamples();
1244609
+ const intermediateRepresentationWithGeneratedExamples = disableExamples ? intermediateRepresentation : new ExampleGenerator(intermediateRepresentation).enrichWithAutogeneratedExamples();
1244610
1244610
  const workspaceDefinitionRootApiFileContents = workspace.definition.rootApiFile.contents;
1244611
1244611
  const environments2 = convertEnvironments({
1244612
1244612
  casingsGenerator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",