@fern-api/fern-api-dev 5.23.3-742-g5e5a92e5f6c → 5.23.3-744-gfb89a942558
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/cli.cjs +13 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -628733,7 +628733,7 @@ var AccessTokenPosthogManager = class {
|
|
|
628733
628733
|
properties: {
|
|
628734
628734
|
...event,
|
|
628735
628735
|
...event.properties,
|
|
628736
|
-
version: "5.23.3-
|
|
628736
|
+
version: "5.23.3-744-gfb89a942558",
|
|
628737
628737
|
usingAccessToken: true,
|
|
628738
628738
|
...getRunIdProperties()
|
|
628739
628739
|
}
|
|
@@ -628797,7 +628797,7 @@ var UserPosthogManager = class {
|
|
|
628797
628797
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
628798
628798
|
event: "CLI",
|
|
628799
628799
|
properties: {
|
|
628800
|
-
version: "5.23.3-
|
|
628800
|
+
version: "5.23.3-744-gfb89a942558",
|
|
628801
628801
|
...event,
|
|
628802
628802
|
...event.properties,
|
|
628803
628803
|
usingAccessToken: false,
|
|
@@ -820807,7 +820807,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
820807
820807
|
var LOGS_FOLDER_NAME = "logs";
|
|
820808
820808
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
820809
820809
|
function getCliSource() {
|
|
820810
|
-
const version7 = "5.23.3-
|
|
820810
|
+
const version7 = "5.23.3-744-gfb89a942558";
|
|
820811
820811
|
return `cli@${version7}`;
|
|
820812
820812
|
}
|
|
820813
820813
|
var DebugLogger = class {
|
|
@@ -852140,7 +852140,7 @@ var LegacyDocsPublisher = class {
|
|
|
852140
852140
|
previewId,
|
|
852141
852141
|
disableTemplates: void 0,
|
|
852142
852142
|
skipUpload,
|
|
852143
|
-
cliVersion: "5.23.3-
|
|
852143
|
+
cliVersion: "5.23.3-744-gfb89a942558",
|
|
852144
852144
|
loginCommand: "fern auth login"
|
|
852145
852145
|
});
|
|
852146
852146
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -884946,9 +884946,15 @@ var EndpointSnippetGenerator4 = class {
|
|
|
884946
884946
|
}
|
|
884947
884947
|
getPathParameters({ namedParameters, snippet: snippet2 }) {
|
|
884948
884948
|
const args = [];
|
|
884949
|
+
const values2 = { ...snippet2.pathParameters ?? {} };
|
|
884950
|
+
for (const parameter6 of namedParameters) {
|
|
884951
|
+
if (parameter6.variable != null && values2[parameter6.name.wireValue] == null && parameter6.typeReference.type === "primitive" && parameter6.typeReference.value === "STRING") {
|
|
884952
|
+
values2[parameter6.name.wireValue] = `<${parameter6.name.wireValue}>`;
|
|
884953
|
+
}
|
|
884954
|
+
}
|
|
884949
884955
|
const pathParameters = this.context.associateByWireValue({
|
|
884950
884956
|
parameters: namedParameters,
|
|
884951
|
-
values:
|
|
884957
|
+
values: values2
|
|
884952
884958
|
});
|
|
884953
884959
|
for (const parameter6 of pathParameters) {
|
|
884954
884960
|
args.push({
|
|
@@ -917520,7 +917526,7 @@ function getAutomationContextFromEnv() {
|
|
|
917520
917526
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
917521
917527
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
917522
917528
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
917523
|
-
cli_version: "5.23.3-
|
|
917529
|
+
cli_version: "5.23.3-744-gfb89a942558"
|
|
917524
917530
|
};
|
|
917525
917531
|
}
|
|
917526
917532
|
function isAutomationMode() {
|
|
@@ -918346,7 +918352,7 @@ var CliContext = class _CliContext {
|
|
|
918346
918352
|
if (false) {
|
|
918347
918353
|
this.logger.error("CLI_VERSION is not defined");
|
|
918348
918354
|
}
|
|
918349
|
-
return "5.23.3-
|
|
918355
|
+
return "5.23.3-744-gfb89a942558";
|
|
918350
918356
|
}
|
|
918351
918357
|
getCliName() {
|
|
918352
918358
|
if (false) {
|
package/package.json
CHANGED