fern-api 0.31.1 → 0.31.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/bundle.cjs +14 -6
  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.2",
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.2",
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,
@@ -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.2" == null) {
1127332
1127340
  this.logger.error("CLI_VERSION is not defined");
1127333
1127341
  }
1127334
- return "0.31.1";
1127342
+ return "0.31.2";
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.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",