@fern-api/fern-api-dev 5.98.1 → 5.98.2

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 +9 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -157574,6 +157574,9 @@ var init_ExampleTypeFactory = __esm({
157574
157574
  }
157575
157575
  return void 0;
157576
157576
  case "unknown":
157577
+ if (example === null) {
157578
+ return FullExample.null({});
157579
+ }
157577
157580
  if (example != null) {
157578
157581
  const fullExample = convertToFullExample(example);
157579
157582
  if (fullExample != null) {
@@ -702841,7 +702844,7 @@ var AccessTokenPosthogManager = class {
702841
702844
  properties: {
702842
702845
  ...event,
702843
702846
  ...event.properties,
702844
- version: "5.98.1",
702847
+ version: "5.98.2",
702845
702848
  usingAccessToken: true,
702846
702849
  ...getRunIdProperties()
702847
702850
  }
@@ -702907,7 +702910,7 @@ var UserPosthogManager = class {
702907
702910
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
702908
702911
  event: "CLI",
702909
702912
  properties: {
702910
- version: "5.98.1",
702913
+ version: "5.98.2",
702911
702914
  ...event,
702912
702915
  ...event.properties,
702913
702916
  usingAccessToken: false,
@@ -884288,7 +884291,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
884288
884291
  var LOGS_FOLDER_NAME = "logs";
884289
884292
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
884290
884293
  function getCliSource() {
884291
- const version7 = "5.98.1";
884294
+ const version7 = "5.98.2";
884292
884295
  return `cli@${version7}`;
884293
884296
  }
884294
884297
  var DebugLogger = class {
@@ -909604,7 +909607,7 @@ var LegacyDocsPublisher = class {
909604
909607
  previewId,
909605
909608
  disableTemplates: void 0,
909606
909609
  skipUpload,
909607
- cliVersion: "5.98.1",
909610
+ cliVersion: "5.98.2",
909608
909611
  loginCommand: "fern auth login"
909609
909612
  });
909610
909613
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -976837,7 +976840,7 @@ function getAutomationContextFromEnv() {
976837
976840
  config_branch: process.env.FERN_CONFIG_BRANCH,
976838
976841
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
976839
976842
  trigger: process.env.GITHUB_EVENT_NAME,
976840
- cli_version: "5.98.1"
976843
+ cli_version: "5.98.2"
976841
976844
  };
976842
976845
  }
976843
976846
  function isAutomationMode() {
@@ -977669,7 +977672,7 @@ var CliContext = class _CliContext {
977669
977672
  if (false) {
977670
977673
  this.logger.error("CLI_VERSION is not defined");
977671
977674
  }
977672
- return "5.98.1";
977675
+ return "5.98.2";
977673
977676
  }
977674
977677
  getCliName() {
977675
977678
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.98.1",
2
+ "version": "5.98.2",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",