@fern-api/fern-api-dev 5.23.3-606-g545d044b5eb → 5.23.3-612-g59551fc03da
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 +17 -14
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -669211,7 +669211,7 @@ var AccessTokenPosthogManager = class {
|
|
|
669211
669211
|
properties: {
|
|
669212
669212
|
...event,
|
|
669213
669213
|
...event.properties,
|
|
669214
|
-
version: "5.23.3-
|
|
669214
|
+
version: "5.23.3-612-g59551fc03da",
|
|
669215
669215
|
usingAccessToken: true,
|
|
669216
669216
|
...getRunIdProperties()
|
|
669217
669217
|
}
|
|
@@ -669275,7 +669275,7 @@ var UserPosthogManager = class {
|
|
|
669275
669275
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
669276
669276
|
event: "CLI",
|
|
669277
669277
|
properties: {
|
|
669278
|
-
version: "5.23.3-
|
|
669278
|
+
version: "5.23.3-612-g59551fc03da",
|
|
669279
669279
|
...event,
|
|
669280
669280
|
...event.properties,
|
|
669281
669281
|
usingAccessToken: false,
|
|
@@ -861013,7 +861013,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
861013
861013
|
var LOGS_FOLDER_NAME = "logs";
|
|
861014
861014
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
861015
861015
|
function getCliSource() {
|
|
861016
|
-
const version7 = "5.23.3-
|
|
861016
|
+
const version7 = "5.23.3-612-g59551fc03da";
|
|
861017
861017
|
return `cli@${version7}`;
|
|
861018
861018
|
}
|
|
861019
861019
|
var DebugLogger = class {
|
|
@@ -892105,7 +892105,7 @@ var LegacyDocsPublisher = class {
|
|
|
892105
892105
|
previewId,
|
|
892106
892106
|
disableTemplates: void 0,
|
|
892107
892107
|
skipUpload,
|
|
892108
|
-
cliVersion: "5.23.3-
|
|
892108
|
+
cliVersion: "5.23.3-612-g59551fc03da",
|
|
892109
892109
|
loginCommand: "fern auth login"
|
|
892110
892110
|
});
|
|
892111
892111
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -917533,13 +917533,16 @@ var EndpointSnippetGenerator3 = class {
|
|
|
917533
917533
|
}
|
|
917534
917534
|
getBytesBodyRequestArg({ value: value2 }) {
|
|
917535
917535
|
const bytesValue = typeof value2 === "string" ? value2 : "";
|
|
917536
|
-
|
|
917537
|
-
|
|
917538
|
-
|
|
917539
|
-
|
|
917540
|
-
|
|
917541
|
-
|
|
917542
|
-
|
|
917536
|
+
if (this.context.customConfig?.useReaderForBytesRequest ?? true) {
|
|
917537
|
+
return go_exports.TypeInstantiation.reference(go_exports.invokeFunc({
|
|
917538
|
+
func: go_exports.typeReference({
|
|
917539
|
+
name: "NewReader",
|
|
917540
|
+
importPath: "bytes"
|
|
917541
|
+
}),
|
|
917542
|
+
arguments_: [go_exports.TypeInstantiation.bytes(bytesValue)]
|
|
917543
|
+
}));
|
|
917544
|
+
}
|
|
917545
|
+
return go_exports.TypeInstantiation.bytes(bytesValue);
|
|
917543
917546
|
}
|
|
917544
917547
|
getMethodArgsForInlinedRequest({ request: request7, snippet: snippet2 }) {
|
|
917545
917548
|
const otherArgs = [];
|
|
@@ -917659,7 +917662,7 @@ var EndpointSnippetGenerator3 = class {
|
|
|
917659
917662
|
getReferencedRequestBodyPropertyTypeInstantiation({ body, value: value2 }) {
|
|
917660
917663
|
switch (body.type) {
|
|
917661
917664
|
case "bytes":
|
|
917662
|
-
return
|
|
917665
|
+
return go_exports.TypeInstantiation.bytes(typeof value2 === "string" ? value2 : "");
|
|
917663
917666
|
case "typeReference":
|
|
917664
917667
|
return this.context.dynamicTypeInstantiationMapper.convert({ typeReference: body.value, value: value2 });
|
|
917665
917668
|
default:
|
|
@@ -957243,7 +957246,7 @@ function getAutomationContextFromEnv() {
|
|
|
957243
957246
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
957244
957247
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
957245
957248
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
957246
|
-
cli_version: "5.23.3-
|
|
957249
|
+
cli_version: "5.23.3-612-g59551fc03da"
|
|
957247
957250
|
};
|
|
957248
957251
|
}
|
|
957249
957252
|
function isAutomationMode() {
|
|
@@ -958069,7 +958072,7 @@ var CliContext = class _CliContext {
|
|
|
958069
958072
|
if (false) {
|
|
958070
958073
|
this.logger.error("CLI_VERSION is not defined");
|
|
958071
958074
|
}
|
|
958072
|
-
return "5.23.3-
|
|
958075
|
+
return "5.23.3-612-g59551fc03da";
|
|
958073
958076
|
}
|
|
958074
958077
|
getCliName() {
|
|
958075
958078
|
if (false) {
|
package/package.json
CHANGED