fern-api 0.19.14 → 0.19.15

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 +8 -6
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -828806,9 +828806,10 @@ async function convertOutputMode({ absolutePathToGeneratorsConfiguration, genera
828806
828806
  packageName: generator.output["package-name"],
828807
828807
  token: generator.output.token ?? ""
828808
828808
  }));
828809
- case "maven":
828809
+ case "maven": {
828810
+ const hasSignature = generator.output.signature != null;
828810
828811
  return import_fiddle_sdk.FernFiddle.OutputMode.publishV2(import_fiddle_sdk.FernFiddle.remoteGen.PublishOutputModeV2.mavenOverride({
828811
- registryUrl: generator.output.url ?? "https://s01.oss.sonatype.org/content/repositories/releases/",
828812
+ registryUrl: generator.output.url ?? hasSignature ? "https://oss.sonatype.org/service/local/staging/deploy/maven2/" : "https://s01.oss.sonatype.org/content/repositories/releases/",
828812
828813
  username: generator.output.username ?? "",
828813
828814
  password: generator.output.password ?? "",
828814
828815
  coordinate: generator.output.coordinate,
@@ -828818,6 +828819,7 @@ async function convertOutputMode({ absolutePathToGeneratorsConfiguration, genera
828818
828819
  password: generator.output.signature.password
828819
828820
  } : void 0
828820
828821
  }));
828822
+ }
828821
828823
  case "postman":
828822
828824
  return import_fiddle_sdk.FernFiddle.OutputMode.publishV2(import_fiddle_sdk.FernFiddle.remoteGen.PublishOutputModeV2.postman({
828823
828825
  apiKey: generator.output["api-key"],
@@ -832157,7 +832159,7 @@ var AccessTokenPosthogManager = class {
832157
832159
  properties: {
832158
832160
  ...event,
832159
832161
  ...event.properties,
832160
- version: "0.19.14",
832162
+ version: "0.19.15",
832161
832163
  usingAccessToken: true
832162
832164
  }
832163
832165
  });
@@ -832219,7 +832221,7 @@ var UserPosthogManager = class {
832219
832221
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
832220
832222
  event: "CLI",
832221
832223
  properties: {
832222
- version: "0.19.14",
832224
+ version: "0.19.15",
832223
832225
  ...event,
832224
832226
  ...event.properties
832225
832227
  }
@@ -855776,10 +855778,10 @@ var CliContext = class {
855776
855778
  return "fern-api";
855777
855779
  }
855778
855780
  getPackageVersion() {
855779
- if ("0.19.14" == null) {
855781
+ if ("0.19.15" == null) {
855780
855782
  this.logger.error("CLI_VERSION is not defined");
855781
855783
  }
855782
- return "0.19.14";
855784
+ return "0.19.15";
855783
855785
  }
855784
855786
  getCliName() {
855785
855787
  if ("fern" == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.19.14",
3
+ "version": "0.19.15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",