@fern-api/fern-api-dev 5.23.3-1753-g4758fe2b163 → 5.23.3-1760-g8edf8d4b8fd

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
@@ -694418,7 +694418,7 @@ var AccessTokenPosthogManager = class {
694418
694418
  properties: {
694419
694419
  ...event,
694420
694420
  ...event.properties,
694421
- version: "5.23.3-1753-g4758fe2b163",
694421
+ version: "5.23.3-1760-g8edf8d4b8fd",
694422
694422
  usingAccessToken: true,
694423
694423
  ...getRunIdProperties()
694424
694424
  }
@@ -694484,7 +694484,7 @@ var UserPosthogManager = class {
694484
694484
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
694485
694485
  event: "CLI",
694486
694486
  properties: {
694487
- version: "5.23.3-1753-g4758fe2b163",
694487
+ version: "5.23.3-1760-g8edf8d4b8fd",
694488
694488
  ...event,
694489
694489
  ...event.properties,
694490
694490
  usingAccessToken: false,
@@ -875614,7 +875614,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
875614
875614
  var LOGS_FOLDER_NAME = "logs";
875615
875615
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
875616
875616
  function getCliSource() {
875617
- const version7 = "5.23.3-1753-g4758fe2b163";
875617
+ const version7 = "5.23.3-1760-g8edf8d4b8fd";
875618
875618
  return `cli@${version7}`;
875619
875619
  }
875620
875620
  var DebugLogger = class {
@@ -908324,7 +908324,7 @@ var LegacyDocsPublisher = class {
908324
908324
  previewId,
908325
908325
  disableTemplates: void 0,
908326
908326
  skipUpload,
908327
- cliVersion: "5.23.3-1753-g4758fe2b163",
908327
+ cliVersion: "5.23.3-1760-g8edf8d4b8fd",
908328
908328
  loginCommand: "fern auth login"
908329
908329
  });
908330
908330
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -928060,6 +928060,8 @@ var Generation = class {
928060
928060
  omitFernHeaders: () => this.customConfig["omit-fern-headers"] ?? false,
928061
928061
  /** When true, emits the platform observability headers (X-Fern-Runtime, X-Fern-Runtime-Version, X-Fern-Platform). Default: false. Still subject to omitFernHeaders. */
928062
928062
  includePlatformHeaders: () => this.customConfig["include-platform-headers"] ?? false,
928063
+ /** When true, exposes an `AppInfo` client option whose sanitized product token is appended to the `User-Agent` header (RFC 9110). Default: false. Independent of includePlatformHeaders; still subject to omitFernHeaders. */
928064
+ allowUserAgentAppInfo: () => this.customConfig["allow-user-agent-app-info"] ?? false,
928063
928065
  /** When true, falls back to `<NuGetPackageId>/<version>` for the `User-Agent` header when the IR doesn't supply one. Default: false. */
928064
928066
  userAgentNameFromPackage: () => this.customConfig["user-agent-name-from-package"] ?? false,
928065
928067
  /** When true, moves auth params and IR headers into ClientOptions so the constructor takes only named arguments. Default: false. */
@@ -928348,6 +928350,14 @@ var Generation = class {
928348
928350
  origin: this.model.staticExplicit("ClientOptions"),
928349
928351
  namespace: this.namespaces.publicCoreClasses
928350
928352
  }),
928353
+ /**
928354
+ * Optional application-info product token appended to the `User-Agent`
928355
+ * header. Only generated when the `allow-user-agent-app-info` config is on.
928356
+ */
928357
+ AppInfo: () => this.csharp.classReference({
928358
+ origin: this.model.staticExplicit("AppInfo"),
928359
+ namespace: this.namespaces.publicCoreClasses
928360
+ }),
928351
928361
  /** Low-level HTTP client wrapper for making raw API calls */
928352
928362
  RawClient: () => this.csharp.classReference({
928353
928363
  namespace: this.namespaces.core,
@@ -975200,7 +975210,7 @@ function getAutomationContextFromEnv() {
975200
975210
  config_branch: process.env.FERN_CONFIG_BRANCH,
975201
975211
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
975202
975212
  trigger: process.env.GITHUB_EVENT_NAME,
975203
- cli_version: "5.23.3-1753-g4758fe2b163"
975213
+ cli_version: "5.23.3-1760-g8edf8d4b8fd"
975204
975214
  };
975205
975215
  }
975206
975216
  function isAutomationMode() {
@@ -976032,7 +976042,7 @@ var CliContext = class _CliContext {
976032
976042
  if (false) {
976033
976043
  this.logger.error("CLI_VERSION is not defined");
976034
976044
  }
976035
- return "5.23.3-1753-g4758fe2b163";
976045
+ return "5.23.3-1760-g8edf8d4b8fd";
976036
976046
  }
976037
976047
  getCliName() {
976038
976048
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1753-g4758fe2b163",
2
+ "version": "5.23.3-1760-g8edf8d4b8fd",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",