fern-api 0.23.0-rc5 → 0.23.0-rc6

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 +10 -10
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -852804,7 +852804,7 @@ var AccessTokenPosthogManager = class {
852804
852804
  properties: {
852805
852805
  ...event,
852806
852806
  ...event.properties,
852807
- version: "0.23.0-rc5",
852807
+ version: "0.23.0-rc6",
852808
852808
  usingAccessToken: true
852809
852809
  }
852810
852810
  });
@@ -852866,7 +852866,7 @@ var UserPosthogManager = class {
852866
852866
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
852867
852867
  event: "CLI",
852868
852868
  properties: {
852869
- version: "0.23.0-rc5",
852869
+ version: "0.23.0-rc6",
852870
852870
  ...event,
852871
852871
  ...event.properties
852872
852872
  }
@@ -870133,7 +870133,7 @@ function convertResponse({ operationContext, responses, context, responseBreadcr
870133
870133
  };
870134
870134
  }
870135
870135
  function convertResolvedResponse({ operationContext, streamFormat, response, context, responseBreadcrumbs }) {
870136
- var _a5, _b4, _c4, _d2, _e, _f, _g, _h;
870136
+ var _a5, _b4, _c4, _d2, _e;
870137
870137
  const resolvedResponse = isReferenceObject(response) ? context.resolveResponseReference(response) : response;
870138
870138
  if (resolvedResponse.content != null) {
870139
870139
  const isdownloadFile = Object.entries(resolvedResponse.content).find(([_4, mediaObject]) => {
@@ -870172,14 +870172,14 @@ function convertResolvedResponse({ operationContext, streamFormat, response, con
870172
870172
  fullExamples: jsonMediaObject.examples
870173
870173
  });
870174
870174
  }
870175
- if (((_b4 = (_a5 = resolvedResponse.content) == null ? void 0 : _a5[APPLICATION_OCTET_STREAM_CONTENT]) == null ? void 0 : _b4.schema) != null) {
870175
+ if (((_a5 = resolvedResponse.content) == null ? void 0 : _a5[APPLICATION_OCTET_STREAM_CONTENT]) != null) {
870176
870176
  return ResponseWithExample.file({ description: resolvedResponse.description });
870177
870177
  }
870178
- if (((_d2 = (_c4 = resolvedResponse.content) == null ? void 0 : _c4[APPLICATION_PDF]) == null ? void 0 : _d2.schema) != null) {
870178
+ if (((_b4 = resolvedResponse.content) == null ? void 0 : _b4[APPLICATION_PDF]) != null) {
870179
870179
  return ResponseWithExample.file({ description: resolvedResponse.description });
870180
870180
  }
870181
- if (((_f = (_e = resolvedResponse.content) == null ? void 0 : _e[TEXT_PLAIN_CONTENT]) == null ? void 0 : _f.schema) != null) {
870182
- const textPlainSchema = (_g = resolvedResponse.content[TEXT_PLAIN_CONTENT]) == null ? void 0 : _g.schema;
870181
+ if (((_c4 = resolvedResponse.content) == null ? void 0 : _c4[TEXT_PLAIN_CONTENT]) != null) {
870182
+ const textPlainSchema = (_d2 = resolvedResponse.content[TEXT_PLAIN_CONTENT]) == null ? void 0 : _d2.schema;
870183
870183
  if (textPlainSchema == null) {
870184
870184
  return ResponseWithExample.text({ description: resolvedResponse.description });
870185
870185
  }
@@ -870189,7 +870189,7 @@ function convertResolvedResponse({ operationContext, streamFormat, response, con
870189
870189
  }
870190
870190
  return ResponseWithExample.text({ description: resolvedResponse.description });
870191
870191
  }
870192
- if (((_h = resolvedResponse.content) == null ? void 0 : _h[AUDIO_MPEG]) != null) {
870192
+ if (((_e = resolvedResponse.content) == null ? void 0 : _e[AUDIO_MPEG]) != null) {
870193
870193
  return ResponseWithExample.file({ description: resolvedResponse.description });
870194
870194
  }
870195
870195
  return void 0;
@@ -877214,10 +877214,10 @@ var CliContext = class {
877214
877214
  return "fern-api";
877215
877215
  }
877216
877216
  getPackageVersion() {
877217
- if ("0.23.0-rc5" == null) {
877217
+ if ("0.23.0-rc6" == null) {
877218
877218
  this.logger.error("CLI_VERSION is not defined");
877219
877219
  }
877220
- return "0.23.0-rc5";
877220
+ return "0.23.0-rc6";
877221
877221
  }
877222
877222
  getCliName() {
877223
877223
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.23.0-rc5",
3
+ "version": "0.23.0-rc6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",