fern-api 0.19.14-rc3 → 0.19.14
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.
- package/bundle.cjs +21 -10
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -828811,7 +828811,12 @@ async function convertOutputMode({ absolutePathToGeneratorsConfiguration, genera
|
|
|
828811
828811
|
registryUrl: generator.output.url ?? "https://s01.oss.sonatype.org/content/repositories/releases/",
|
|
828812
828812
|
username: generator.output.username ?? "",
|
|
828813
828813
|
password: generator.output.password ?? "",
|
|
828814
|
-
coordinate: generator.output.coordinate
|
|
828814
|
+
coordinate: generator.output.coordinate,
|
|
828815
|
+
signature: generator.output.signature != null ? {
|
|
828816
|
+
keyId: generator.output.signature.keyId,
|
|
828817
|
+
secretKey: generator.output.signature.secretKey,
|
|
828818
|
+
password: generator.output.signature.password
|
|
828819
|
+
} : void 0
|
|
828815
828820
|
}));
|
|
828816
828821
|
case "postman":
|
|
828817
828822
|
return import_fiddle_sdk.FernFiddle.OutputMode.publishV2(import_fiddle_sdk.FernFiddle.remoteGen.PublishOutputModeV2.postman({
|
|
@@ -828874,6 +828879,11 @@ function getGithubPublishInfo(output) {
|
|
|
828874
828879
|
credentials: output.username != null && output.password != null ? {
|
|
828875
828880
|
username: output.username,
|
|
828876
828881
|
password: output.password
|
|
828882
|
+
} : void 0,
|
|
828883
|
+
signature: output.signature != null ? {
|
|
828884
|
+
keyId: output.signature.keyId,
|
|
828885
|
+
password: output.signature.password,
|
|
828886
|
+
secretKey: output.signature.secretKey
|
|
828877
828887
|
} : void 0
|
|
828878
828888
|
});
|
|
828879
828889
|
case "postman":
|
|
@@ -832147,7 +832157,7 @@ var AccessTokenPosthogManager = class {
|
|
|
832147
832157
|
properties: {
|
|
832148
832158
|
...event,
|
|
832149
832159
|
...event.properties,
|
|
832150
|
-
version: "0.19.14
|
|
832160
|
+
version: "0.19.14",
|
|
832151
832161
|
usingAccessToken: true
|
|
832152
832162
|
}
|
|
832153
832163
|
});
|
|
@@ -832209,7 +832219,7 @@ var UserPosthogManager = class {
|
|
|
832209
832219
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
832210
832220
|
event: "CLI",
|
|
832211
832221
|
properties: {
|
|
832212
|
-
version: "0.19.14
|
|
832222
|
+
version: "0.19.14",
|
|
832213
832223
|
...event,
|
|
832214
832224
|
...event.properties
|
|
832215
832225
|
}
|
|
@@ -855766,10 +855776,10 @@ var CliContext = class {
|
|
|
855766
855776
|
return "fern-api";
|
|
855767
855777
|
}
|
|
855768
855778
|
getPackageVersion() {
|
|
855769
|
-
if ("0.19.14
|
|
855779
|
+
if ("0.19.14" == null) {
|
|
855770
855780
|
this.logger.error("CLI_VERSION is not defined");
|
|
855771
855781
|
}
|
|
855772
|
-
return "0.19.14
|
|
855782
|
+
return "0.19.14";
|
|
855773
855783
|
}
|
|
855774
855784
|
getCliName() {
|
|
855775
855785
|
if ("fern" == null) {
|
|
@@ -871838,16 +871848,16 @@ function getGithubPublishConfig(githubPublishInfo) {
|
|
|
871838
871848
|
tokenEnvironmentVariable: (0, import_api2.EnvironmentVariable)(value.token ?? "")
|
|
871839
871849
|
}),
|
|
871840
871850
|
maven: (value) => {
|
|
871841
|
-
var _a2, _b2
|
|
871851
|
+
var _a2, _b2;
|
|
871842
871852
|
return import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.maven({
|
|
871843
871853
|
registryUrl: value.registryUrl,
|
|
871844
871854
|
coordinate: value.coordinate,
|
|
871845
871855
|
usernameEnvironmentVariable: (0, import_api2.EnvironmentVariable)(((_a2 = value.credentials) == null ? void 0 : _a2.username) ?? ""),
|
|
871846
871856
|
passwordEnvironmentVariable: (0, import_api2.EnvironmentVariable)(((_b2 = value.credentials) == null ? void 0 : _b2.password) ?? ""),
|
|
871847
871857
|
signature: value.signature != null ? {
|
|
871848
|
-
keyIdEnvironmentVariable: (0, import_api2.EnvironmentVariable)(
|
|
871849
|
-
passwordEnvironmentVariable: (0, import_api2.EnvironmentVariable)(
|
|
871850
|
-
secretKeyEnvironmentVariable: (0, import_api2.EnvironmentVariable)(
|
|
871858
|
+
keyIdEnvironmentVariable: (0, import_api2.EnvironmentVariable)(value.signature.keyId ?? ""),
|
|
871859
|
+
passwordEnvironmentVariable: (0, import_api2.EnvironmentVariable)(value.signature.password ?? ""),
|
|
871860
|
+
secretKeyEnvironmentVariable: (0, import_api2.EnvironmentVariable)(value.signature.secretKey ?? "")
|
|
871851
871861
|
} : void 0
|
|
871852
871862
|
});
|
|
871853
871863
|
},
|
|
@@ -871980,7 +871990,8 @@ function newDummyPublishOutputConfig(version3, multipleOutputMode) {
|
|
|
871980
871990
|
password: (outputMode == null ? void 0 : outputMode.password) ?? "",
|
|
871981
871991
|
registryUrl: (outputMode == null ? void 0 : outputMode.registryUrl) ?? "",
|
|
871982
871992
|
username: (outputMode == null ? void 0 : outputMode.username) ?? "",
|
|
871983
|
-
coordinate: (outputMode == null ? void 0 : outputMode.coordinate) ?? ""
|
|
871993
|
+
coordinate: (outputMode == null ? void 0 : outputMode.coordinate) ?? "",
|
|
871994
|
+
signature: outputMode == null ? void 0 : outputMode.signature
|
|
871984
871995
|
},
|
|
871985
871996
|
npm: {
|
|
871986
871997
|
registryUrl: (outputMode == null ? void 0 : outputMode.registryUrl) ?? "",
|