fern-api 0.19.27 → 0.19.28

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
@@ -827127,7 +827127,7 @@ var AccessTokenPosthogManager = class {
827127
827127
  properties: {
827128
827128
  ...event,
827129
827129
  ...event.properties,
827130
- version: "0.19.27",
827130
+ version: "0.19.28",
827131
827131
  usingAccessToken: true
827132
827132
  }
827133
827133
  });
@@ -827189,7 +827189,7 @@ var UserPosthogManager = class {
827189
827189
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
827190
827190
  event: "CLI",
827191
827191
  properties: {
827192
- version: "0.19.27",
827192
+ version: "0.19.28",
827193
827193
  ...event,
827194
827194
  ...event.properties
827195
827195
  }
@@ -839802,7 +839802,7 @@ function buildAuthSchemes(context) {
839802
839802
  context.builder.setAuth(BEARER_AUTH_SCHEME);
839803
839803
  setAuth = true;
839804
839804
  }
839805
- if (securityScheme.scopesEnum != null) {
839805
+ if (securityScheme.scopesEnum != null && securityScheme.scopesEnum.values.length > 0) {
839806
839806
  context.builder.addType(RelativeFilePath.of("__package__.yml"), {
839807
839807
  name: "OauthScope",
839808
839808
  schema: buildEnumTypeDeclaration(securityScheme.scopesEnum).schema
@@ -851222,10 +851222,10 @@ var CliContext = class {
851222
851222
  return "fern-api";
851223
851223
  }
851224
851224
  getPackageVersion() {
851225
- if ("0.19.27" == null) {
851225
+ if ("0.19.28" == null) {
851226
851226
  this.logger.error("CLI_VERSION is not defined");
851227
851227
  }
851228
- return "0.19.27";
851228
+ return "0.19.28";
851229
851229
  }
851230
851230
  getCliName() {
851231
851231
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.19.27",
3
+ "version": "0.19.28",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",