fern-api 0.39.2 → 0.39.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 +9 -5
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -1192575,7 +1192575,7 @@ var AccessTokenPosthogManager = class {
1192575
1192575
  properties: {
1192576
1192576
  ...event,
1192577
1192577
  ...event.properties,
1192578
- version: "0.39.2",
1192578
+ version: "0.39.3",
1192579
1192579
  usingAccessToken: true
1192580
1192580
  }
1192581
1192581
  });
@@ -1192637,7 +1192637,7 @@ var UserPosthogManager = class {
1192637
1192637
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1192638
1192638
  event: "CLI",
1192639
1192639
  properties: {
1192640
- version: "0.39.2",
1192640
+ version: "0.39.3",
1192641
1192641
  ...event,
1192642
1192642
  ...event.properties
1192643
1192643
  }
@@ -1222741,10 +1222741,10 @@ var CliContext = class {
1222741
1222741
  return "fern-api";
1222742
1222742
  }
1222743
1222743
  getPackageVersion() {
1222744
- if ("0.39.2" == null) {
1222744
+ if ("0.39.3" == null) {
1222745
1222745
  this.logger.error("CLI_VERSION is not defined");
1222746
1222746
  }
1222747
- return "0.39.2";
1222747
+ return "0.39.3";
1222748
1222748
  }
1222749
1222749
  getCliName() {
1222750
1222750
  if ("fern" == null) {
@@ -1246194,7 +1246194,11 @@ function convertService(irService, ir) {
1246194
1246194
  key: pathParameter.name.originalName,
1246195
1246195
  type: convertTypeReference(pathParameter.valueType)
1246196
1246196
  })),
1246197
- parts: [...convertHttpPath(irService.basePath), ...convertHttpPath(irEndpoint.path)]
1246197
+ parts: [
1246198
+ ...ir.basePath != null ? convertHttpPath(ir.basePath) : [],
1246199
+ ...convertHttpPath(irService.basePath),
1246200
+ ...convertHttpPath(irEndpoint.path)
1246201
+ ]
1246198
1246202
  },
1246199
1246203
  queryParameters: irEndpoint.queryParameters.map((queryParameter) => ({
1246200
1246204
  description: queryParameter.docs ?? void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.39.2",
3
+ "version": "0.39.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",