fern-api 0.31.0-rc1 → 0.31.0-rc2

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 +7 -7
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -1077782,7 +1077782,7 @@ var AccessTokenPosthogManager = class {
1077782
1077782
  properties: {
1077783
1077783
  ...event,
1077784
1077784
  ...event.properties,
1077785
- version: "0.31.0-rc1",
1077785
+ version: "0.31.0-rc2",
1077786
1077786
  usingAccessToken: true
1077787
1077787
  }
1077788
1077788
  });
@@ -1077844,7 +1077844,7 @@ var UserPosthogManager = class {
1077844
1077844
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1077845
1077845
  event: "CLI",
1077846
1077846
  properties: {
1077847
- version: "0.31.0-rc1",
1077847
+ version: "0.31.0-rc2",
1077848
1077848
  ...event,
1077849
1077849
  ...event.properties
1077850
1077850
  }
@@ -1103786,10 +1103786,10 @@ var CliContext = class {
1103786
1103786
  return "fern-api";
1103787
1103787
  }
1103788
1103788
  getPackageVersion() {
1103789
- if ("0.31.0-rc1" == null) {
1103789
+ if ("0.31.0-rc2" == null) {
1103790
1103790
  this.logger.error("CLI_VERSION is not defined");
1103791
1103791
  }
1103792
- return "0.31.0-rc1";
1103792
+ return "0.31.0-rc2";
1103793
1103793
  }
1103794
1103794
  getCliName() {
1103795
1103795
  if ("fern" == null) {
@@ -1106164,11 +1106164,11 @@ function convertTypeReferenceExample({ example, fileContainingExample, rawTypeBe
1106164
1106164
  literal: (literal2) => {
1106165
1106165
  switch (literal2.type) {
1106166
1106166
  case "boolean":
1106167
- return ExampleTypeReferenceShape.primitive(ExamplePrimitive.boolean(literal2.boolean));
1106167
+ return ExampleTypeReferenceShape.container(ExampleContainer.literal(ExamplePrimitive.boolean(literal2.boolean)));
1106168
1106168
  case "string":
1106169
- return ExampleTypeReferenceShape.primitive(ExamplePrimitive.string({
1106169
+ return ExampleTypeReferenceShape.container(ExampleContainer.literal(ExamplePrimitive.string({
1106170
1106170
  original: literal2.string
1106171
- }));
1106171
+ })));
1106172
1106172
  default:
1106173
1106173
  assertNever(literal2);
1106174
1106174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.31.0-rc1",
3
+ "version": "0.31.0-rc2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",