fern-api 0.31.1 → 0.31.3

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 +18 -10
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -1101274,7 +1101274,7 @@ var AccessTokenPosthogManager = class {
1101274
1101274
  properties: {
1101275
1101275
  ...event,
1101276
1101276
  ...event.properties,
1101277
- version: "0.31.1",
1101277
+ version: "0.31.3",
1101278
1101278
  usingAccessToken: true
1101279
1101279
  }
1101280
1101280
  });
@@ -1101336,7 +1101336,7 @@ var UserPosthogManager = class {
1101336
1101336
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1101337
1101337
  event: "CLI",
1101338
1101338
  properties: {
1101339
- version: "0.31.1",
1101339
+ version: "0.31.3",
1101340
1101340
  ...event,
1101341
1101341
  ...event.properties
1101342
1101342
  }
@@ -1115136,6 +1115136,14 @@ function getSchemaFromFernType({ fernType, nameOverride, generatedName, descript
1115136
1115136
  });
1115137
1115137
  }
1115138
1115138
 
1115139
+ // pnp:/home/circleci/project/packages/cli/openapi-parser/lib/utils/getValue.js
1115140
+ function getValueIfBoolean(value) {
1115141
+ if (value != null && typeof value === "boolean") {
1115142
+ return value;
1115143
+ }
1115144
+ return void 0;
1115145
+ }
1115146
+
1115139
1115147
  // pnp:/home/circleci/project/packages/cli/openapi-parser/lib/schema/utils/isReferenceObject.js
1115140
1115148
  function isReferenceObject(parameter) {
1115141
1115149
  return parameter.$ref != null;
@@ -1116651,8 +1116659,8 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
1116651
1116659
  _default: schema2.default,
1116652
1116660
  minimum: schema2.minimum,
1116653
1116661
  maximum: schema2.maximum,
1116654
- exclusiveMinimum: schema2.exclusiveMinimum,
1116655
- exclusiveMaximum: schema2.exclusiveMaximum,
1116662
+ exclusiveMinimum: getValueIfBoolean(schema2.exclusiveMinimum),
1116663
+ exclusiveMaximum: getValueIfBoolean(schema2.exclusiveMaximum),
1116656
1116664
  multipleOf: schema2.multipleOf,
1116657
1116665
  description,
1116658
1116666
  wrapAsNullable,
@@ -1116668,8 +1116676,8 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
1116668
1116676
  default: getDefaultAsNumber(schema2),
1116669
1116677
  minimum: schema2.minimum,
1116670
1116678
  maximum: schema2.maximum,
1116671
- exclusiveMinimum: schema2.exclusiveMinimum,
1116672
- exclusiveMaximum: schema2.exclusiveMaximum,
1116679
+ exclusiveMinimum: getValueIfBoolean(schema2.exclusiveMinimum),
1116680
+ exclusiveMaximum: getValueIfBoolean(schema2.exclusiveMaximum),
1116673
1116681
  multipleOf: schema2.multipleOf,
1116674
1116682
  example: getExampleAsNumber(schema2)
1116675
1116683
  }),
@@ -1116686,8 +1116694,8 @@ function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, prop
1116686
1116694
  _default: schema2.default,
1116687
1116695
  minimum: schema2.minimum,
1116688
1116696
  maximum: schema2.maximum,
1116689
- exclusiveMinimum: schema2.exclusiveMinimum,
1116690
- exclusiveMaximum: schema2.exclusiveMaximum,
1116697
+ exclusiveMinimum: getValueIfBoolean(schema2.exclusiveMinimum),
1116698
+ exclusiveMaximum: getValueIfBoolean(schema2.exclusiveMaximum),
1116691
1116699
  multipleOf: schema2.multipleOf,
1116692
1116700
  description,
1116693
1116701
  wrapAsNullable,
@@ -1127328,10 +1127336,10 @@ var CliContext = class {
1127328
1127336
  return "fern-api";
1127329
1127337
  }
1127330
1127338
  getPackageVersion() {
1127331
- if ("0.31.1" == null) {
1127339
+ if ("0.31.3" == null) {
1127332
1127340
  this.logger.error("CLI_VERSION is not defined");
1127333
1127341
  }
1127334
- return "0.31.1";
1127342
+ return "0.31.3";
1127335
1127343
  }
1127336
1127344
  getCliName() {
1127337
1127345
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.31.1",
3
+ "version": "0.31.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",