fern-api 0.25.0-rc2 → 0.25.0-rc3

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/bundle.cjs +10 -5
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -912228,7 +912228,7 @@ var AccessTokenPosthogManager = class {
912228
912228
  properties: {
912229
912229
  ...event,
912230
912230
  ...event.properties,
912231
- version: "0.25.0-rc2",
912231
+ version: "0.25.0-rc3",
912232
912232
  usingAccessToken: true
912233
912233
  }
912234
912234
  });
@@ -912290,7 +912290,7 @@ var UserPosthogManager = class {
912290
912290
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
912291
912291
  event: "CLI",
912292
912292
  properties: {
912293
- version: "0.25.0-rc2",
912293
+ version: "0.25.0-rc3",
912294
912294
  ...event,
912295
912295
  ...event.properties
912296
912296
  }
@@ -932645,7 +932645,12 @@ var FernDefinitionBuilderImpl = class {
932645
932645
  if (errorDeclaration.examples == null) {
932646
932646
  errorDeclaration.examples = [];
932647
932647
  }
932648
- (_a5 = errorDeclaration.examples) == null ? void 0 : _a5.push(example);
932648
+ const alreadyAdded = errorDeclaration.examples.some((existingExample) => {
932649
+ return isEqual_default(existingExample, example);
932650
+ }) ?? false;
932651
+ if (!alreadyAdded) {
932652
+ (_a5 = errorDeclaration.examples) == null ? void 0 : _a5.push(example);
932653
+ }
932649
932654
  }
932650
932655
  addEndpoint(file, { name: name2, schema: schema2 }) {
932651
932656
  const fernFile = this.getOrCreateFile(file);
@@ -936896,10 +936901,10 @@ var CliContext = class {
936896
936901
  return "fern-api";
936897
936902
  }
936898
936903
  getPackageVersion() {
936899
- if ("0.25.0-rc2" == null) {
936904
+ if ("0.25.0-rc3" == null) {
936900
936905
  this.logger.error("CLI_VERSION is not defined");
936901
936906
  }
936902
- return "0.25.0-rc2";
936907
+ return "0.25.0-rc3";
936903
936908
  }
936904
936909
  getCliName() {
936905
936910
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.25.0-rc2",
3
+ "version": "0.25.0-rc3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",