@fern-api/fern-api-dev 5.23.3-793-g9dc86a08808 → 5.23.3-795-gcd72613f3c2
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
|
@@ -628980,7 +628980,7 @@ var AccessTokenPosthogManager = class {
|
|
|
628980
628980
|
properties: {
|
|
628981
628981
|
...event,
|
|
628982
628982
|
...event.properties,
|
|
628983
|
-
version: "5.23.3-
|
|
628983
|
+
version: "5.23.3-795-gcd72613f3c2",
|
|
628984
628984
|
usingAccessToken: true,
|
|
628985
628985
|
...getRunIdProperties()
|
|
628986
628986
|
}
|
|
@@ -629044,7 +629044,7 @@ var UserPosthogManager = class {
|
|
|
629044
629044
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
629045
629045
|
event: "CLI",
|
|
629046
629046
|
properties: {
|
|
629047
|
-
version: "5.23.3-
|
|
629047
|
+
version: "5.23.3-795-gcd72613f3c2",
|
|
629048
629048
|
...event,
|
|
629049
629049
|
...event.properties,
|
|
629050
629050
|
usingAccessToken: false,
|
|
@@ -821059,7 +821059,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
821059
821059
|
var LOGS_FOLDER_NAME = "logs";
|
|
821060
821060
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
821061
821061
|
function getCliSource() {
|
|
821062
|
-
const version7 = "5.23.3-
|
|
821062
|
+
const version7 = "5.23.3-795-gcd72613f3c2";
|
|
821063
821063
|
return `cli@${version7}`;
|
|
821064
821064
|
}
|
|
821065
821065
|
var DebugLogger = class {
|
|
@@ -852392,7 +852392,7 @@ var LegacyDocsPublisher = class {
|
|
|
852392
852392
|
previewId,
|
|
852393
852393
|
disableTemplates: void 0,
|
|
852394
852394
|
skipUpload,
|
|
852395
|
-
cliVersion: "5.23.3-
|
|
852395
|
+
cliVersion: "5.23.3-795-gcd72613f3c2",
|
|
852396
852396
|
loginCommand: "fern auth login"
|
|
852397
852397
|
});
|
|
852398
852398
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -901322,7 +901322,10 @@ var EndpointSnippetGenerator8 = class {
|
|
|
901322
901322
|
this.context.errors.unscope();
|
|
901323
901323
|
this.context.errors.scope(Scope4.RequestBody);
|
|
901324
901324
|
if (request7.body != null) {
|
|
901325
|
-
|
|
901325
|
+
const bodyArg = this.getEndpointMethodBodyRequestArg({ body: request7.body, value: snippet.requestBody });
|
|
901326
|
+
if (!bodyArg.value.isNop()) {
|
|
901327
|
+
args.push(bodyArg);
|
|
901328
|
+
}
|
|
901326
901329
|
}
|
|
901327
901330
|
this.context.errors.unscope();
|
|
901328
901331
|
return args;
|
|
@@ -901336,6 +901339,9 @@ var EndpointSnippetGenerator8 = class {
|
|
|
901336
901339
|
value: this.getBytesBodyRequestArg({ value: value2 })
|
|
901337
901340
|
});
|
|
901338
901341
|
case "typeReference":
|
|
901342
|
+
if (body.value.type === "optional" && value2 == null) {
|
|
901343
|
+
return swift_exports.functionArgument({ label: "request", value: swift_exports.Expression.nop() });
|
|
901344
|
+
}
|
|
901339
901345
|
return swift_exports.functionArgument({
|
|
901340
901346
|
label: "request",
|
|
901341
901347
|
value: this.context.dynamicTypeLiteralMapper.convert({
|
|
@@ -917860,7 +917866,7 @@ function getAutomationContextFromEnv() {
|
|
|
917860
917866
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
917861
917867
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
917862
917868
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
917863
|
-
cli_version: "5.23.3-
|
|
917869
|
+
cli_version: "5.23.3-795-gcd72613f3c2"
|
|
917864
917870
|
};
|
|
917865
917871
|
}
|
|
917866
917872
|
function isAutomationMode() {
|
|
@@ -918686,7 +918692,7 @@ var CliContext = class _CliContext {
|
|
|
918686
918692
|
if (false) {
|
|
918687
918693
|
this.logger.error("CLI_VERSION is not defined");
|
|
918688
918694
|
}
|
|
918689
|
-
return "5.23.3-
|
|
918695
|
+
return "5.23.3-795-gcd72613f3c2";
|
|
918690
918696
|
}
|
|
918691
918697
|
getCliName() {
|
|
918692
918698
|
if (false) {
|
package/package.json
CHANGED