@fern-api/fern-api-dev 5.23.3-665-g0932ac24e1f → 5.23.3-673-ge691f043fb0

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 +22 -8
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -669559,7 +669559,7 @@ var AccessTokenPosthogManager = class {
669559
669559
  properties: {
669560
669560
  ...event,
669561
669561
  ...event.properties,
669562
- version: "5.23.3-665-g0932ac24e1f",
669562
+ version: "5.23.3-673-ge691f043fb0",
669563
669563
  usingAccessToken: true,
669564
669564
  ...getRunIdProperties()
669565
669565
  }
@@ -669623,7 +669623,7 @@ var UserPosthogManager = class {
669623
669623
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
669624
669624
  event: "CLI",
669625
669625
  properties: {
669626
- version: "5.23.3-665-g0932ac24e1f",
669626
+ version: "5.23.3-673-ge691f043fb0",
669627
669627
  ...event,
669628
669628
  ...event.properties,
669629
669629
  usingAccessToken: false,
@@ -861361,7 +861361,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
861361
861361
  var LOGS_FOLDER_NAME = "logs";
861362
861362
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
861363
861363
  function getCliSource() {
861364
- const version7 = "5.23.3-665-g0932ac24e1f";
861364
+ const version7 = "5.23.3-673-ge691f043fb0";
861365
861365
  return `cli@${version7}`;
861366
861366
  }
861367
861367
  var DebugLogger = class {
@@ -892453,7 +892453,7 @@ var LegacyDocsPublisher = class {
892453
892453
  previewId,
892454
892454
  disableTemplates: void 0,
892455
892455
  skipUpload,
892456
- cliVersion: "5.23.3-665-g0932ac24e1f",
892456
+ cliVersion: "5.23.3-673-ge691f043fb0",
892457
892457
  loginCommand: "fern auth login"
892458
892458
  });
892459
892459
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -904006,7 +904006,15 @@ var is7 = {
904006
904006
  ClassReference: (value2) => value2 instanceof ClassReference,
904007
904007
  Optional: (value2) => value2 instanceof Optional,
904008
904008
  OptionalWrapper: (value2) => value2 instanceof OptionalWrapper,
904009
- AsyncEnumerable: (value2) => value2 != null && value2.asNonOptional().fullyQualifiedName.startsWith("System.Collections.Generic.IAsyncEnumerable"),
904009
+ AsyncEnumerable: (value2) => {
904010
+ if (value2 == null) {
904011
+ return false;
904012
+ }
904013
+ const fqn = value2.asNonOptional().fullyQualifiedName;
904014
+ return fqn.startsWith("System.Collections.Generic.IAsyncEnumerable") || // WithRawResponseStream<T> implements IAsyncEnumerable<T>, so callers that emit
904015
+ // `await foreach` over the return value must treat it as async-iterable too.
904016
+ fqn.endsWith("WithRawResponseStream") || fqn.includes("WithRawResponseStream<");
904017
+ },
904010
904018
  Record: {
904011
904019
  empty: (value2) => value2 == null || Object.keys(value2 || {}).length === 0,
904012
904020
  nonEmpty: (value2) => is7.object(value2) && Object.keys(value2).length > 0,
@@ -907280,7 +907288,8 @@ var Parameter = class extends AstNode {
907280
907288
  type;
907281
907289
  ref;
907282
907290
  out;
907283
- constructor({ name: name2, type: type8, docs: docs2, initializer: initializer4, ref: ref2, out }, generation) {
907291
+ annotations;
907292
+ constructor({ name: name2, type: type8, docs: docs2, initializer: initializer4, ref: ref2, out, annotations }, generation) {
907284
907293
  super(generation);
907285
907294
  this.name = name2;
907286
907295
  this.type = type8;
@@ -907288,8 +907297,13 @@ var Parameter = class extends AstNode {
907288
907297
  this.initializer = initializer4;
907289
907298
  this.ref = ref2 ?? false;
907290
907299
  this.out = out ?? false;
907300
+ this.annotations = annotations ?? [];
907291
907301
  }
907292
907302
  write(writer2) {
907303
+ for (const annotation of this.annotations) {
907304
+ writer2.writeNode(annotation);
907305
+ writer2.write(" ");
907306
+ }
907293
907307
  if (this.ref) {
907294
907308
  writer2.write("ref ");
907295
907309
  }
@@ -957643,7 +957657,7 @@ function getAutomationContextFromEnv() {
957643
957657
  config_branch: process.env.FERN_CONFIG_BRANCH,
957644
957658
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
957645
957659
  trigger: process.env.GITHUB_EVENT_NAME,
957646
- cli_version: "5.23.3-665-g0932ac24e1f"
957660
+ cli_version: "5.23.3-673-ge691f043fb0"
957647
957661
  };
957648
957662
  }
957649
957663
  function isAutomationMode() {
@@ -958469,7 +958483,7 @@ var CliContext = class _CliContext {
958469
958483
  if (false) {
958470
958484
  this.logger.error("CLI_VERSION is not defined");
958471
958485
  }
958472
- return "5.23.3-665-g0932ac24e1f";
958486
+ return "5.23.3-673-ge691f043fb0";
958473
958487
  }
958474
958488
  getCliName() {
958475
958489
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-665-g0932ac24e1f",
2
+ "version": "5.23.3-673-ge691f043fb0",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",