@fern-api/fern-api-dev 4.54.0 → 4.54.1-1-gc146ac9518d

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 -9
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -530688,9 +530688,10 @@ function convertStreamingOperation({ operationContext, context: context3, stream
530688
530688
  return streamingExtension.streamRequestName;
530689
530689
  }
530690
530690
  if (streamingRequestBody?.schemaReference != null) {
530691
- const schemaId = getSchemaIdFromReference(streamingRequestBody.schemaReference);
530692
- if (schemaId != null) {
530693
- return `${schemaId}Streaming`;
530691
+ const resolvedSchema = context3.resolveSchemaReference(streamingRequestBody.schemaReference);
530692
+ const typeName = getExtension(resolvedSchema, FernOpenAPIExtension.TYPE_NAME);
530693
+ if (typeName != null) {
530694
+ return `${typeName}Streaming`;
530694
530695
  }
530695
530696
  }
530696
530697
  return void 0;
@@ -602461,7 +602462,7 @@ var AccessTokenPosthogManager = class {
602461
602462
  properties: {
602462
602463
  ...event,
602463
602464
  ...event.properties,
602464
- version: "4.54.0",
602465
+ version: "4.54.1-1-gc146ac9518d",
602465
602466
  usingAccessToken: true
602466
602467
  }
602467
602468
  });
@@ -602512,7 +602513,7 @@ var UserPosthogManager = class {
602512
602513
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
602513
602514
  event: "CLI",
602514
602515
  properties: {
602515
- version: "4.54.0",
602516
+ version: "4.54.1-1-gc146ac9518d",
602516
602517
  ...event,
602517
602518
  ...event.properties,
602518
602519
  usingAccessToken: false,
@@ -826385,7 +826386,7 @@ var import_path54 = __toESM(require("path"), 1);
826385
826386
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
826386
826387
  var LOGS_FOLDER_NAME = "logs";
826387
826388
  function getCliSource() {
826388
- const version7 = "4.54.0";
826389
+ const version7 = "4.54.1-1-gc146ac9518d";
826389
826390
  return `cli@${version7}`;
826390
826391
  }
826391
826392
  var DebugLogger = class {
@@ -837443,7 +837444,7 @@ var LegacyDocsPublisher = class {
837443
837444
  previewId: void 0,
837444
837445
  disableTemplates: void 0,
837445
837446
  skipUpload,
837446
- cliVersion: "4.54.0"
837447
+ cliVersion: "4.54.1-1-gc146ac9518d"
837447
837448
  });
837448
837449
  if (taskContext.getResult() === TaskResult.Failure) {
837449
837450
  return { success: false };
@@ -910539,7 +910540,7 @@ async function getLatestVersionOfCli({
910539
910540
  cliEnvironment,
910540
910541
  includePreReleases = false
910541
910542
  }) {
910542
- if (cliEnvironment.packageName !== "fern-api") {
910543
+ if (cliEnvironment.packageName !== "fern-api" || cliEnvironment.packageVersion === "0.0.0") {
910543
910544
  return cliEnvironment.packageVersion;
910544
910545
  }
910545
910546
  return latestVersion(cliEnvironment.packageName, {
@@ -910585,7 +910586,7 @@ var CliContext = class {
910585
910586
  if (false) {
910586
910587
  this.logger.error("CLI_VERSION is not defined");
910587
910588
  }
910588
- return "4.54.0";
910589
+ return "4.54.1-1-gc146ac9518d";
910589
910590
  }
910590
910591
  getCliName() {
910591
910592
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.54.0",
2
+ "version": "4.54.1-1-gc146ac9518d",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",