@fern-api/fern-api-dev 3.47.4 → 3.47.5

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/cli.cjs +10 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1429260,7 +1429260,7 @@ var AccessTokenPosthogManager = class {
1429260
1429260
  properties: {
1429261
1429261
  ...event,
1429262
1429262
  ...event.properties,
1429263
- version: "3.47.4",
1429263
+ version: "3.47.5",
1429264
1429264
  usingAccessToken: true
1429265
1429265
  }
1429266
1429266
  });
@@ -1429359,7 +1429359,7 @@ var UserPosthogManager = class {
1429359
1429359
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1429360
1429360
  event: "CLI",
1429361
1429361
  properties: {
1429362
- version: "3.47.4",
1429362
+ version: "3.47.5",
1429363
1429363
  ...event,
1429364
1429364
  ...event.properties,
1429365
1429365
  usingAccessToken: false,
@@ -1508732,7 +1508732,7 @@ var CliContext = class {
1508732
1508732
  if (false) {
1508733
1508733
  this.logger.error("CLI_VERSION is not defined");
1508734
1508734
  }
1508735
- return "3.47.4";
1508735
+ return "3.47.5";
1508736
1508736
  }
1508737
1508737
  getCliName() {
1508738
1508738
  if (false) {
@@ -1532278,9 +1532278,11 @@ function parseAsyncAPIV2({ context: context2, breadcrumbs, source: source2, asyn
1532278
1532278
  for (const [name3, schema2] of Object.entries(channel.bindings.ws.headers.properties ?? {})) {
1532279
1532279
  if (isReferenceObject(schema2)) {
1532280
1532280
  const resolvedSchema = context2.resolveSchemaReference(schema2);
1532281
+ const isRequired3 = required6.includes(name3);
1532282
+ const [isOptional2, isNullable2] = context2.options.coerceOptionalSchemasToNullable ? [false, !isRequired3] : [!isRequired3, false];
1532281
1532283
  headers2.push({
1532282
1532284
  name: name3,
1532283
- schema: convertReferenceObject(schema2, false, false, context2, breadcrumbs, void 0, source2, context2.namespace),
1532285
+ schema: convertReferenceObject(schema2, isOptional2, isNullable2, context2, breadcrumbs, void 0, source2, context2.namespace),
1532284
1532286
  description: resolvedSchema.description,
1532285
1532287
  parameterNameOverride: void 0,
1532286
1532288
  env: void 0,
@@ -1532307,9 +1532309,11 @@ function parseAsyncAPIV2({ context: context2, breadcrumbs, source: source2, asyn
1532307
1532309
  for (const [name3, schema2] of Object.entries(channel.bindings.ws.query.properties ?? {})) {
1532308
1532310
  if (isReferenceObject(schema2)) {
1532309
1532311
  const resolvedSchema = context2.resolveSchemaReference(schema2);
1532312
+ const isRequired3 = required6.includes(name3);
1532313
+ const [isOptional2, isNullable2] = context2.options.coerceOptionalSchemasToNullable ? [false, !isRequired3] : [!isRequired3, false];
1532310
1532314
  queryParameters.push({
1532311
1532315
  name: name3,
1532312
- schema: convertReferenceObject(schema2, false, false, context2, breadcrumbs, void 0, source2, context2.namespace),
1532316
+ schema: convertReferenceObject(schema2, isOptional2, isNullable2, context2, breadcrumbs, void 0, source2, context2.namespace),
1532313
1532317
  description: resolvedSchema.description,
1532314
1532318
  parameterNameOverride: void 0,
1532315
1532319
  availability: convertAvailability3(resolvedSchema),
@@ -1609884,7 +1609888,7 @@ var import_path40 = __toESM(require("path"), 1);
1609884
1609888
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1609885
1609889
  var LOGS_FOLDER_NAME = "logs";
1609886
1609890
  function getCliSource() {
1609887
- const version7 = "3.47.4";
1609891
+ const version7 = "3.47.5";
1609888
1609892
  return `cli@${version7}`;
1609889
1609893
  }
1609890
1609894
  var DebugLogger = class {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.47.4",
2
+ "version": "3.47.5",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",