fern-api 0.15.0-rc82 → 0.15.0-rc84

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 -7
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -707949,7 +707949,7 @@ var AccessTokenPosthogManager = class {
707949
707949
  properties: {
707950
707950
  ...event,
707951
707951
  ...event.properties,
707952
- version: "0.15.0-rc82",
707952
+ version: "0.15.0-rc84",
707953
707953
  usingAccessToken: true
707954
707954
  }
707955
707955
  });
@@ -708011,7 +708011,7 @@ var UserPosthogManager = class {
708011
708011
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
708012
708012
  event: "CLI",
708013
708013
  properties: {
708014
- version: "0.15.0-rc82",
708014
+ version: "0.15.0-rc84",
708015
708015
  ...event,
708016
708016
  ...event.properties
708017
708017
  }
@@ -732250,10 +732250,10 @@ var CliContext = class {
732250
732250
  return "fern-api";
732251
732251
  }
732252
732252
  getPackageVersion() {
732253
- if ("0.15.0-rc82" == null) {
732253
+ if ("0.15.0-rc84" == null) {
732254
732254
  this.logger.error("CLI_VERSION is not defined");
732255
732255
  }
732256
- return "0.15.0-rc82";
732256
+ return "0.15.0-rc84";
732257
732257
  }
732258
732258
  getCliName() {
732259
732259
  if ("fern" == null) {
@@ -732800,7 +732800,7 @@ function convertService(irService, ir) {
732800
732800
  return irService.endpoints.map((irEndpoint) => {
732801
732801
  var _a2;
732802
732802
  return {
732803
- availability: irEndpoint.availability != null ? convertIrEndpointAvailability({ availability: irEndpoint.availability }) : void 0,
732803
+ availability: irEndpoint.availability != null ? convertIrAvailability({ availability: irEndpoint.availability }) : irService.availability != null ? convertIrAvailability({ availability: irService.availability }) : void 0,
732804
732804
  auth: irEndpoint.auth,
732805
732805
  description: irEndpoint.docs ?? void 0,
732806
732806
  method: convertHttpMethod(irEndpoint.method),
@@ -732834,7 +732834,7 @@ function convertService(irService, ir) {
732834
732834
  };
732835
732835
  });
732836
732836
  }
732837
- function convertIrEndpointAvailability({ availability }) {
732837
+ function convertIrAvailability({ availability }) {
732838
732838
  switch (availability.status) {
732839
732839
  case "DEPRECATED":
732840
732840
  return import_registry_node3.FernRegistry.api.v1.register.Availability.Deprecated;
@@ -745120,7 +745120,7 @@ var LocalTaskHandler = class {
745120
745120
  await (0, import_promises28.cp)(this.absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
745121
745121
  await this.runGitCommand(["init"], tmpOutputResolutionDir);
745122
745122
  await this.runGitCommand(["add", "."], tmpOutputResolutionDir);
745123
- await this.runGitCommand(["commit", "-m", '"init"'], tmpOutputResolutionDir);
745123
+ await this.runGitCommand(["commit", "--allow-empty", "-m", '"init"'], tmpOutputResolutionDir);
745124
745124
  await this.runGitCommand(["rm", "-rf", "."], tmpOutputResolutionDir);
745125
745125
  await this.copyGeneratedFilesToDirectory(tmpOutputResolutionDir);
745126
745126
  await this.runGitCommand(["reset", "--", ...fernIngnorePaths], tmpOutputResolutionDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.15.0-rc82",
3
+ "version": "0.15.0-rc84",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",