@fern-api/fern-api-dev 5.23.3-1569-g5a7929f5906 → 5.23.3-1574-g8a9f04aaa25

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 +10 -10
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -691395,7 +691395,7 @@ var AccessTokenPosthogManager = class {
691395
691395
  properties: {
691396
691396
  ...event,
691397
691397
  ...event.properties,
691398
- version: "5.23.3-1569-g5a7929f5906",
691398
+ version: "5.23.3-1574-g8a9f04aaa25",
691399
691399
  usingAccessToken: true,
691400
691400
  ...getRunIdProperties()
691401
691401
  }
@@ -691461,7 +691461,7 @@ var UserPosthogManager = class {
691461
691461
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
691462
691462
  event: "CLI",
691463
691463
  properties: {
691464
- version: "5.23.3-1569-g5a7929f5906",
691464
+ version: "5.23.3-1574-g8a9f04aaa25",
691465
691465
  ...event,
691466
691466
  ...event.properties,
691467
691467
  usingAccessToken: false,
@@ -872567,7 +872567,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
872567
872567
  var LOGS_FOLDER_NAME = "logs";
872568
872568
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
872569
872569
  function getCliSource() {
872570
- const version7 = "5.23.3-1569-g5a7929f5906";
872570
+ const version7 = "5.23.3-1574-g8a9f04aaa25";
872571
872571
  return `cli@${version7}`;
872572
872572
  }
872573
872573
  var DebugLogger = class {
@@ -905220,7 +905220,7 @@ var LegacyDocsPublisher = class {
905220
905220
  previewId,
905221
905221
  disableTemplates: void 0,
905222
905222
  skipUpload,
905223
- cliVersion: "5.23.3-1569-g5a7929f5906",
905223
+ cliVersion: "5.23.3-1574-g8a9f04aaa25",
905224
905224
  loginCommand: "fern auth login"
905225
905225
  });
905226
905226
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -924941,6 +924941,8 @@ var Generation = class {
924941
924941
  userAgentNameFromPackage: () => this.customConfig["user-agent-name-from-package"] ?? false,
924942
924942
  /** When true, moves auth params and IR headers into ClientOptions so the constructor takes only named arguments. Default: false. */
924943
924943
  unifiedClientOptions: () => this.customConfig["unified-client-options"] ?? false,
924944
+ /** When true, exposes server URL variables as ClientOptions properties and interpolates them into the environment URL template(s) at construction time. When false, suppresses those options and the interpolation, falling back to the pre-feature base-URL behavior. Default: true. */
924945
+ serverUrlVariables: () => this.customConfig["server-url-variables"] ?? true,
924944
924946
  /** When true, uses PascalCase for environment names (e.g., "Production" instead of "production"). Default: true. */
924945
924947
  pascalCaseEnvironments: () => this.customConfig["pascal-case-environments"] ?? true,
924946
924948
  /** Solution file format: "sln" generates both .sln and .slnx, "slnx" (default) generates only .slnx. */
@@ -948946,8 +948948,7 @@ var DynamicTypeLiteralMapper5 = class {
948946
948948
  if (!enumVariant2) {
948947
948949
  return rust_exports.Expression.raw(`todo!("Unknown enum variant: ${value2}")`);
948948
948950
  }
948949
- const rawVariantName = enumVariant2.name.pascalCase.unsafeName;
948950
- const variantName = this.context.escapeRustReservedType(rawVariantName);
948951
+ const variantName = enumVariant2.name.pascalCase.safeName;
948951
948952
  return rust_exports.Expression.reference(`${enumName}::${variantName}`);
948952
948953
  }
948953
948954
  convertDiscriminatedUnionType({ unionType: unionType2, value: value2 }) {
@@ -950430,8 +950431,7 @@ var EndpointSnippetGenerator7 = class {
950430
950431
  if (namedType.values.length > 0) {
950431
950432
  const firstVariant = namedType.values[0];
950432
950433
  if (firstVariant) {
950433
- const rawVariantName = firstVariant.name.pascalCase.unsafeName;
950434
- const variantName = this.context.escapeRustReservedType(rawVariantName);
950434
+ const variantName = firstVariant.name.pascalCase.safeName;
950435
950435
  return rust_exports.Expression.raw(`${typeName}::${variantName}`);
950436
950436
  }
950437
950437
  }
@@ -972133,7 +972133,7 @@ function getAutomationContextFromEnv() {
972133
972133
  config_branch: process.env.FERN_CONFIG_BRANCH,
972134
972134
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
972135
972135
  trigger: process.env.GITHUB_EVENT_NAME,
972136
- cli_version: "5.23.3-1569-g5a7929f5906"
972136
+ cli_version: "5.23.3-1574-g8a9f04aaa25"
972137
972137
  };
972138
972138
  }
972139
972139
  function isAutomationMode() {
@@ -972965,7 +972965,7 @@ var CliContext = class _CliContext {
972965
972965
  if (false) {
972966
972966
  this.logger.error("CLI_VERSION is not defined");
972967
972967
  }
972968
- return "5.23.3-1569-g5a7929f5906";
972968
+ return "5.23.3-1574-g8a9f04aaa25";
972969
972969
  }
972970
972970
  getCliName() {
972971
972971
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1569-g5a7929f5906",
2
+ "version": "5.23.3-1574-g8a9f04aaa25",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",