@fern-api/fern-api-dev 5.23.3-434-gb1301741a84 → 5.23.3-440-g457cc6a2c85

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 +17 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -669562,7 +669562,7 @@ var AccessTokenPosthogManager = class {
669562
669562
  properties: {
669563
669563
  ...event,
669564
669564
  ...event.properties,
669565
- version: "5.23.3-434-gb1301741a84",
669565
+ version: "5.23.3-440-g457cc6a2c85",
669566
669566
  usingAccessToken: true,
669567
669567
  ...getRunIdProperties()
669568
669568
  }
@@ -669626,7 +669626,7 @@ var UserPosthogManager = class {
669626
669626
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
669627
669627
  event: "CLI",
669628
669628
  properties: {
669629
- version: "5.23.3-434-gb1301741a84",
669629
+ version: "5.23.3-440-g457cc6a2c85",
669630
669630
  ...event,
669631
669631
  ...event.properties,
669632
669632
  usingAccessToken: false,
@@ -861322,7 +861322,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
861322
861322
  var LOGS_FOLDER_NAME = "logs";
861323
861323
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
861324
861324
  function getCliSource() {
861325
- const version7 = "5.23.3-434-gb1301741a84";
861325
+ const version7 = "5.23.3-440-g457cc6a2c85";
861326
861326
  return `cli@${version7}`;
861327
861327
  }
861328
861328
  var DebugLogger = class {
@@ -892414,7 +892414,7 @@ var LegacyDocsPublisher = class {
892414
892414
  previewId,
892415
892415
  disableTemplates: void 0,
892416
892416
  skipUpload,
892417
- cliVersion: "5.23.3-434-gb1301741a84",
892417
+ cliVersion: "5.23.3-440-g457cc6a2c85",
892418
892418
  loginCommand: "fern auth login"
892419
892419
  });
892420
892420
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -918353,6 +918353,7 @@ var BaseJavaCustomConfigSchema = external_exports2.object({
918353
918353
  "base-api-exception-class-name": external_exports2.string().optional(),
918354
918354
  "base-exception-class-name": external_exports2.string().optional(),
918355
918355
  "client-class-name": external_exports2.string().optional(),
918356
+ "exported-client-class-name": external_exports2.string().optional(),
918356
918357
  "inline-file-properties": external_exports2.boolean().optional(),
918357
918358
  "inline-path-parameters": external_exports2.boolean().optional(),
918358
918359
  "package-layout": external_exports2.enum(["flat", "nested"]).optional(),
@@ -920628,13 +920629,22 @@ var DynamicSnippetsGeneratorContext3 = class _DynamicSnippetsGeneratorContext ex
920628
920629
  }
920629
920630
  getRootClientClassReference() {
920630
920631
  return java_exports.classReference({
920631
- name: this.getRootClientClassName(),
920632
+ name: this.getRootClientClassNameForSnippets(),
920632
920633
  packageName: this.getRootPackageName()
920633
920634
  });
920634
920635
  }
920635
920636
  getRootClientClassName() {
920636
920637
  return this.customConfig?.["client-class-name"] ?? `${this.getBaseNamePrefix()}Client`;
920637
920638
  }
920639
+ /**
920640
+ * The client class name surfaced in documentation snippets (dynamic snippets, README, reference.md).
920641
+ * Customers may export the generated root client under a different, hand-written class name; this
920642
+ * accessor reflects that exported name. Falls back to the internal client class name when unset, so
920643
+ * output is unchanged for users who have not configured `exported-client-class-name`.
920644
+ */
920645
+ getRootClientClassNameForSnippets() {
920646
+ return this.customConfig?.["exported-client-class-name"] ?? this.getRootClientClassName();
920647
+ }
920638
920648
  getEnvironmentClassName() {
920639
920649
  return "Environment";
920640
920650
  }
@@ -957501,7 +957511,7 @@ function getAutomationContextFromEnv() {
957501
957511
  config_branch: process.env.FERN_CONFIG_BRANCH,
957502
957512
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
957503
957513
  trigger: process.env.GITHUB_EVENT_NAME,
957504
- cli_version: "5.23.3-434-gb1301741a84"
957514
+ cli_version: "5.23.3-440-g457cc6a2c85"
957505
957515
  };
957506
957516
  }
957507
957517
  function isAutomationMode() {
@@ -958327,7 +958337,7 @@ var CliContext = class _CliContext {
958327
958337
  if (false) {
958328
958338
  this.logger.error("CLI_VERSION is not defined");
958329
958339
  }
958330
- return "5.23.3-434-gb1301741a84";
958340
+ return "5.23.3-440-g457cc6a2c85";
958331
958341
  }
958332
958342
  getCliName() {
958333
958343
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-434-gb1301741a84",
2
+ "version": "5.23.3-440-g457cc6a2c85",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",