@fern-api/fern-api-dev 5.82.0 → 5.83.0

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 +16 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -73646,6 +73646,7 @@ var init_OAuthAuthorizationCode2 = __esm({
73646
73646
  tokenUrl: schemas_exports3.string(),
73647
73647
  refreshUrl: schemas_exports3.string().optional(),
73648
73648
  redirectUri: schemas_exports3.string().optional(),
73649
+ redirectUriBackupPorts: schemas_exports3.list(schemas_exports3.number()).optional(),
73649
73650
  scopes: schemas_exports3.list(schemas_exports3.string()).optional(),
73650
73651
  pkce: OAuthPkceConfiguration,
73651
73652
  authorizationParameters: schemas_exports3.record(schemas_exports3.string(), schemas_exports3.string()).optional(),
@@ -692024,7 +692025,7 @@ var AccessTokenPosthogManager = class {
692024
692025
  properties: {
692025
692026
  ...event,
692026
692027
  ...event.properties,
692027
- version: "5.82.0",
692028
+ version: "5.83.0",
692028
692029
  usingAccessToken: true,
692029
692030
  ...getRunIdProperties()
692030
692031
  }
@@ -692090,7 +692091,7 @@ var UserPosthogManager = class {
692090
692091
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
692091
692092
  event: "CLI",
692092
692093
  properties: {
692093
- version: "5.82.0",
692094
+ version: "5.83.0",
692094
692095
  ...event,
692095
692096
  ...event.properties,
692096
692097
  usingAccessToken: false,
@@ -873196,7 +873197,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
873196
873197
  var LOGS_FOLDER_NAME = "logs";
873197
873198
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
873198
873199
  function getCliSource() {
873199
- const version7 = "5.82.0";
873200
+ const version7 = "5.83.0";
873200
873201
  return `cli@${version7}`;
873201
873202
  }
873202
873203
  var DebugLogger = class {
@@ -905892,7 +905893,7 @@ var LegacyDocsPublisher = class {
905892
905893
  previewId,
905893
905894
  disableTemplates: void 0,
905894
905895
  skipUpload,
905895
- cliVersion: "5.82.0",
905896
+ cliVersion: "5.83.0",
905896
905897
  loginCommand: "fern auth login"
905897
905898
  });
905898
905899
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -956432,6 +956433,15 @@ var TypescriptCustomConfigSchema = external_exports2.strictObject({
956432
956433
  customPagerName: external_exports2.optional(external_exports2.string()),
956433
956434
  resolveQueryParameterNameConflicts: external_exports2.optional(external_exports2.boolean()),
956434
956435
  alwaysSendAuth: external_exports2.optional(external_exports2.boolean()),
956436
+ // When true, makes client auth parameters optional even when the spec
956437
+ // mandates auth on all endpoints (isAuthMandatory=true), and sends requests
956438
+ // unauthenticated instead of throwing when no credentials are supplied.
956439
+ // Useful for hand-maintained wrapper clients that authenticate via external
956440
+ // means. Orthogonal to `alwaysSendAuth`, which decides which endpoints get
956441
+ // auth headers: with both enabled, endpoints that don't require auth still
956442
+ // get auth headers when credentials are supplied, and no endpoint gets them
956443
+ // when credentials are absent.
956444
+ "optional-auth": external_exports2.optional(external_exports2.boolean()),
956435
956445
  generateReactQueryHooks: external_exports2.optional(external_exports2.boolean()),
956436
956446
  // beta (not in docs)
956437
956447
  includeContentHeadersOnFileDownloadResponse: external_exports2.optional(external_exports2.boolean()),
@@ -972757,7 +972767,7 @@ function getAutomationContextFromEnv() {
972757
972767
  config_branch: process.env.FERN_CONFIG_BRANCH,
972758
972768
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
972759
972769
  trigger: process.env.GITHUB_EVENT_NAME,
972760
- cli_version: "5.82.0"
972770
+ cli_version: "5.83.0"
972761
972771
  };
972762
972772
  }
972763
972773
  function isAutomationMode() {
@@ -973589,7 +973599,7 @@ var CliContext = class _CliContext {
973589
973599
  if (false) {
973590
973600
  this.logger.error("CLI_VERSION is not defined");
973591
973601
  }
973592
- return "5.82.0";
973602
+ return "5.83.0";
973593
973603
  }
973594
973604
  getCliName() {
973595
973605
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.82.0",
2
+ "version": "5.83.0",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",