fern-api 0.16.31 → 0.16.32

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 +5 -5
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -736955,7 +736955,7 @@ var AccessTokenPosthogManager = class {
736955
736955
  properties: {
736956
736956
  ...event,
736957
736957
  ...event.properties,
736958
- version: "0.16.31",
736958
+ version: "0.16.32",
736959
736959
  usingAccessToken: true
736960
736960
  }
736961
736961
  });
@@ -737017,7 +737017,7 @@ var UserPosthogManager = class {
737017
737017
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
737018
737018
  event: "CLI",
737019
737019
  properties: {
737020
- version: "0.16.31",
737020
+ version: "0.16.32",
737021
737021
  ...event,
737022
737022
  ...event.properties
737023
737023
  }
@@ -751954,7 +751954,7 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
751954
751954
  if (!wrapAsNullable && schema2.nullable === true) {
751955
751955
  return convertSchemaObject(schema2, true, context, breadcrumbs);
751956
751956
  }
751957
- if (schema2.enum != null) {
751957
+ if (schema2.enum != null && (schema2.type === "string" || schema2.type == null)) {
751958
751958
  if (!isListOfStrings(schema2.enum)) {
751959
751959
  return wrapPrimitive({
751960
751960
  primitive: import_parseIr10.PrimitiveSchemaValueWithExample.string({
@@ -761741,10 +761741,10 @@ var CliContext = class {
761741
761741
  return "fern-api";
761742
761742
  }
761743
761743
  getPackageVersion() {
761744
- if ("0.16.31" == null) {
761744
+ if ("0.16.32" == null) {
761745
761745
  this.logger.error("CLI_VERSION is not defined");
761746
761746
  }
761747
- return "0.16.31";
761747
+ return "0.16.32";
761748
761748
  }
761749
761749
  getCliName() {
761750
761750
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.16.31",
3
+ "version": "0.16.32",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",