fern-api 0.26.7 → 0.26.8

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
@@ -977842,7 +977842,7 @@ var AccessTokenPosthogManager = class {
977842
977842
  properties: {
977843
977843
  ...event,
977844
977844
  ...event.properties,
977845
- version: "0.26.7",
977845
+ version: "0.26.8",
977846
977846
  usingAccessToken: true
977847
977847
  }
977848
977848
  });
@@ -977904,7 +977904,7 @@ var UserPosthogManager = class {
977904
977904
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
977905
977905
  event: "CLI",
977906
977906
  properties: {
977907
- version: "0.26.7",
977907
+ version: "0.26.8",
977908
977908
  ...event,
977909
977909
  ...event.properties
977910
977910
  }
@@ -992300,7 +992300,7 @@ function getTitleAsName(title) {
992300
992300
  }
992301
992301
  function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, propertiesToExclude = /* @__PURE__ */ new Set(), referencedAsRequest = false) {
992302
992302
  var _a5;
992303
- const nameOverride = getExtension(schema2, FernOpenAPIExtension.TYPE_NAME) ?? context.shouldUseTitleAsName ? getTitleAsName(schema2.title) : void 0;
992303
+ const nameOverride = getExtension(schema2, FernOpenAPIExtension.TYPE_NAME) ?? (context.shouldUseTitleAsName ? getTitleAsName(schema2.title) : void 0);
992304
992304
  const mixedGroupName = getExtension(schema2, FernOpenAPIExtension.SDK_GROUP_NAME) ?? ((_a5 = getExtension(schema2, OpenAPIExtension.TAGS)) == null ? void 0 : _a5[0]);
992305
992305
  const groupName = typeof mixedGroupName === "string" ? [mixedGroupName] : mixedGroupName;
992306
992306
  const generatedName = getGeneratedTypeName(breadcrumbs);
@@ -1002759,10 +1002759,10 @@ var CliContext = class {
1002759
1002759
  return "fern-api";
1002760
1002760
  }
1002761
1002761
  getPackageVersion() {
1002762
- if ("0.26.7" == null) {
1002762
+ if ("0.26.8" == null) {
1002763
1002763
  this.logger.error("CLI_VERSION is not defined");
1002764
1002764
  }
1002765
- return "0.26.7";
1002765
+ return "0.26.8";
1002766
1002766
  }
1002767
1002767
  getCliName() {
1002768
1002768
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.26.7",
3
+ "version": "0.26.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",