@fern-api/fern-api-dev 5.23.3-2075-g0dbf6cf6f43 → 5.23.3-2078-g36a6018d94d

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 +12 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -705521,7 +705521,7 @@ var AccessTokenPosthogManager = class {
705521
705521
  properties: {
705522
705522
  ...event,
705523
705523
  ...event.properties,
705524
- version: "5.23.3-2075-g0dbf6cf6f43",
705524
+ version: "5.23.3-2078-g36a6018d94d",
705525
705525
  usingAccessToken: true,
705526
705526
  ...getRunIdProperties()
705527
705527
  }
@@ -705587,7 +705587,7 @@ var UserPosthogManager = class {
705587
705587
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
705588
705588
  event: "CLI",
705589
705589
  properties: {
705590
- version: "5.23.3-2075-g0dbf6cf6f43",
705590
+ version: "5.23.3-2078-g36a6018d94d",
705591
705591
  ...event,
705592
705592
  ...event.properties,
705593
705593
  usingAccessToken: false,
@@ -887263,7 +887263,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
887263
887263
  var LOGS_FOLDER_NAME = "logs";
887264
887264
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
887265
887265
  function getCliSource() {
887266
- const version7 = "5.23.3-2075-g0dbf6cf6f43";
887266
+ const version7 = "5.23.3-2078-g36a6018d94d";
887267
887267
  return `cli@${version7}`;
887268
887268
  }
887269
887269
  var DebugLogger = class {
@@ -914576,7 +914576,7 @@ var LegacyDocsPublisher = class {
914576
914576
  previewId,
914577
914577
  disableTemplates: void 0,
914578
914578
  skipUpload,
914579
- cliVersion: "5.23.3-2075-g0dbf6cf6f43",
914579
+ cliVersion: "5.23.3-2078-g36a6018d94d",
914580
914580
  loginCommand: "fern auth login"
914581
914581
  });
914582
914582
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -965521,6 +965521,12 @@ var TypescriptCustomConfigSchema = external_exports2.strictObject({
965521
965521
  // get auth headers when credentials are supplied, and no endpoint gets them
965522
965522
  // when credentials are absent.
965523
965523
  "optional-auth": external_exports2.optional(external_exports2.boolean()),
965524
+ // When true, the generated auth providers read environment variables through a
965525
+ // `typeof process !== "undefined"` guard, so they fall back to the normal
965526
+ // missing-credential error instead of throwing `ReferenceError: process is not
965527
+ // defined` in runtimes without a Node `process` global (browsers, Cloudflare
965528
+ // Workers, Deno). Node behavior is unchanged.
965529
+ guardProcessEnvAccess: external_exports2.optional(external_exports2.boolean()),
965524
965530
  generateReactQueryHooks: external_exports2.optional(external_exports2.boolean()),
965525
965531
  // beta (not in docs)
965526
965532
  includeContentHeadersOnFileDownloadResponse: external_exports2.optional(external_exports2.boolean()),
@@ -981825,7 +981831,7 @@ function getAutomationContextFromEnv() {
981825
981831
  config_branch: process.env.FERN_CONFIG_BRANCH,
981826
981832
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
981827
981833
  trigger: process.env.GITHUB_EVENT_NAME,
981828
- cli_version: "5.23.3-2075-g0dbf6cf6f43"
981834
+ cli_version: "5.23.3-2078-g36a6018d94d"
981829
981835
  };
981830
981836
  }
981831
981837
  function isAutomationMode() {
@@ -982657,7 +982663,7 @@ var CliContext = class _CliContext {
982657
982663
  if (false) {
982658
982664
  this.logger.error("CLI_VERSION is not defined");
982659
982665
  }
982660
- return "5.23.3-2075-g0dbf6cf6f43";
982666
+ return "5.23.3-2078-g36a6018d94d";
982661
982667
  }
982662
982668
  getCliName() {
982663
982669
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-2075-g0dbf6cf6f43",
2
+ "version": "5.23.3-2078-g36a6018d94d",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",