@fern-api/fern-api-dev 3.30.1 → 3.30.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 +7 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1413617,7 +1413617,7 @@ var AccessTokenPosthogManager = class {
1413617
1413617
  properties: {
1413618
1413618
  ...event,
1413619
1413619
  ...event.properties,
1413620
- version: "3.30.1",
1413620
+ version: "3.30.2",
1413621
1413621
  usingAccessToken: true
1413622
1413622
  }
1413623
1413623
  });
@@ -1413716,7 +1413716,7 @@ var UserPosthogManager = class {
1413716
1413716
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1413717
1413717
  event: "CLI",
1413718
1413718
  properties: {
1413719
- version: "3.30.1",
1413719
+ version: "3.30.2",
1413720
1413720
  ...event,
1413721
1413721
  ...event.properties,
1413722
1413722
  usingAccessToken: false,
@@ -1493782,7 +1493782,7 @@ var CliContext = class {
1493782
1493782
  if (false) {
1493783
1493783
  this.logger.error("CLI_VERSION is not defined");
1493784
1493784
  }
1493785
- return "3.30.1";
1493785
+ return "3.30.2";
1493786
1493786
  }
1493787
1493787
  getCliName() {
1493788
1493788
  if (false) {
@@ -1510757,7 +1510757,7 @@ function convert3(opts) {
1510757
1510757
  }
1510758
1510758
 
1510759
1510759
  // ../workspace/commons/lib/openapi/FernDefinitionConverter.js
1510760
- function getReferencedAuthSchemeNames(auth8) {
1510760
+ function getReferencedAuthSchemeNames(auth8, authSchemes) {
1510761
1510761
  return visitRawApiAuth(auth8, {
1510762
1510762
  single: (scheme) => {
1510763
1510763
  const schemeName = typeof scheme === "string" ? scheme : scheme.scheme;
@@ -1510767,7 +1510767,7 @@ function getReferencedAuthSchemeNames(auth8) {
1510767
1510767
  return anySchemes.any.map((scheme) => typeof scheme === "string" ? scheme : scheme.scheme);
1510768
1510768
  },
1510769
1510769
  endpointSecurity: () => {
1510770
- return [];
1510770
+ return authSchemes != null ? Object.keys(authSchemes) : [];
1510771
1510771
  }
1510772
1510772
  });
1510773
1510773
  }
@@ -1510775,7 +1510775,7 @@ function filterAuthSchemes(authSchemes, auth8) {
1510775
1510775
  if (authSchemes == null) {
1510776
1510776
  return void 0;
1510777
1510777
  }
1510778
- const referencedNames = getReferencedAuthSchemeNames(auth8);
1510778
+ const referencedNames = getReferencedAuthSchemeNames(auth8, authSchemes);
1510779
1510779
  const filtered = {};
1510780
1510780
  for (const name2 of referencedNames) {
1510781
1510781
  if (authSchemes[name2] != null) {
@@ -1588583,7 +1588583,7 @@ var import_path35 = __toESM(require("path"), 1);
1588583
1588583
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1588584
1588584
  var LOGS_FOLDER_NAME = "logs";
1588585
1588585
  function getCliSource() {
1588586
- const version6 = "3.30.1";
1588586
+ const version6 = "3.30.2";
1588587
1588587
  return `cli@${version6}`;
1588588
1588588
  }
1588589
1588589
  var DebugLogger = class {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.30.1",
2
+ "version": "3.30.2",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",