fern-api 0.17.9 → 0.17.10

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 +7 -9
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -739026,7 +739026,7 @@ var AccessTokenPosthogManager = class {
739026
739026
  properties: {
739027
739027
  ...event,
739028
739028
  ...event.properties,
739029
- version: "0.17.9",
739029
+ version: "0.17.10",
739030
739030
  usingAccessToken: true
739031
739031
  }
739032
739032
  });
@@ -739088,7 +739088,7 @@ var UserPosthogManager = class {
739088
739088
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
739089
739089
  event: "CLI",
739090
739090
  properties: {
739091
- version: "0.17.9",
739091
+ version: "0.17.10",
739092
739092
  ...event,
739093
739093
  ...event.properties
739094
739094
  }
@@ -754018,11 +754018,9 @@ var import_finalIr6 = __toESM(require_finalIr());
754018
754018
  var import_parseIr11 = __toESM(require_parseIr());
754019
754019
 
754020
754020
  // pnp:/home/circleci/project/packages/cli/openapi-parser/lib/v3/converters/endpoint/getApplicationJsonSchema.js
754021
- var APPLICATION_JSON_CONTENT = "application/json";
754022
- var APPLICATION_JSON_REGEX = /^application.*json$/;
754023
754021
  function getApplicationJsonSchemaMediaObject(media) {
754024
754022
  for (const contentType of Object.keys(media)) {
754025
- if (contentType.includes(APPLICATION_JSON_CONTENT) || APPLICATION_JSON_REGEX.test(contentType)) {
754023
+ if (contentType.includes("json")) {
754026
754024
  const mediaObject = media[contentType];
754027
754025
  if (mediaObject == null) {
754028
754026
  continue;
@@ -754058,7 +754056,7 @@ function getApplicationJsonSchemaMediaObject(media) {
754058
754056
  }
754059
754057
 
754060
754058
  // pnp:/home/circleci/project/packages/cli/openapi-parser/lib/v3/converters/endpoint/convertRequest.js
754061
- var APPLICATION_JSON_CONTENT2 = "application/json";
754059
+ var APPLICATION_JSON_CONTENT = "application/json";
754062
754060
  var MULTIPART_CONTENT = "multipart/form-data";
754063
754061
  var OCTET_STREAM = "application/octet-stream";
754064
754062
  function getMultipartFormDataRequest(requestBody) {
@@ -754211,7 +754209,7 @@ function removeApplicationJsonAndMultipartConflictsFromOperationObject(operation
754211
754209
  };
754212
754210
  }
754213
754211
  function removeApplicationJsonAndMultipartConflictsFromRequestBody(requestBody) {
754214
- const jsonContent = requestBody.content[APPLICATION_JSON_CONTENT2];
754212
+ const jsonContent = requestBody.content[APPLICATION_JSON_CONTENT];
754215
754213
  const multipartContent = requestBody.content[MULTIPART_CONTENT];
754216
754214
  if (multipartContent != null && jsonContent != null) {
754217
754215
  return {
@@ -764967,10 +764965,10 @@ var CliContext = class {
764967
764965
  return "fern-api";
764968
764966
  }
764969
764967
  getPackageVersion() {
764970
- if ("0.17.9" == null) {
764968
+ if ("0.17.10" == null) {
764971
764969
  this.logger.error("CLI_VERSION is not defined");
764972
764970
  }
764973
- return "0.17.9";
764971
+ return "0.17.10";
764974
764972
  }
764975
764973
  getCliName() {
764976
764974
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.17.9",
3
+ "version": "0.17.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",