@fern-api/fern-api-dev 5.41.1 → 5.41.2
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 +8 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -669384,7 +669384,7 @@ var AccessTokenPosthogManager = class {
|
|
|
669384
669384
|
properties: {
|
|
669385
669385
|
...event,
|
|
669386
669386
|
...event.properties,
|
|
669387
|
-
version: "5.41.
|
|
669387
|
+
version: "5.41.2",
|
|
669388
669388
|
usingAccessToken: true,
|
|
669389
669389
|
...getRunIdProperties()
|
|
669390
669390
|
}
|
|
@@ -669448,7 +669448,7 @@ var UserPosthogManager = class {
|
|
|
669448
669448
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
669449
669449
|
event: "CLI",
|
|
669450
669450
|
properties: {
|
|
669451
|
-
version: "5.41.
|
|
669451
|
+
version: "5.41.2",
|
|
669452
669452
|
...event,
|
|
669453
669453
|
...event.properties,
|
|
669454
669454
|
usingAccessToken: false,
|
|
@@ -860411,7 +860411,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
860411
860411
|
var LOGS_FOLDER_NAME = "logs";
|
|
860412
860412
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
860413
860413
|
function getCliSource() {
|
|
860414
|
-
const version7 = "5.41.
|
|
860414
|
+
const version7 = "5.41.2";
|
|
860415
860415
|
return `cli@${version7}`;
|
|
860416
860416
|
}
|
|
860417
860417
|
var DebugLogger = class {
|
|
@@ -880106,7 +880106,8 @@ async function publishDocs({ token, organization, docsWorkspace, domain: domain3
|
|
|
880106
880106
|
context: context3,
|
|
880107
880107
|
apiNameOverride: apiName
|
|
880108
880108
|
});
|
|
880109
|
-
const
|
|
880109
|
+
const isSelfHosted = token.value === "dummy";
|
|
880110
|
+
const aiEnhancerConfig = getAIEnhancerConfig(withAiExamples && !isSelfHosted, docsWorkspace.config.aiExamples?.style ?? docsWorkspace.config.experimental?.aiExampleStyleInstructions);
|
|
880110
880111
|
if (aiEnhancerConfig) {
|
|
880111
880112
|
const sources = workspace?.getSources();
|
|
880112
880113
|
const openApiSources = sources?.filter((source2) => source2.type === "openapi").map((source2) => ({
|
|
@@ -881051,7 +881052,7 @@ var LegacyDocsPublisher = class {
|
|
|
881051
881052
|
previewId,
|
|
881052
881053
|
disableTemplates: void 0,
|
|
881053
881054
|
skipUpload,
|
|
881054
|
-
cliVersion: "5.41.
|
|
881055
|
+
cliVersion: "5.41.2",
|
|
881055
881056
|
loginCommand: "fern auth login"
|
|
881056
881057
|
});
|
|
881057
881058
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -955981,7 +955982,7 @@ function getAutomationContextFromEnv() {
|
|
|
955981
955982
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
955982
955983
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
955983
955984
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
955984
|
-
cli_version: "5.41.
|
|
955985
|
+
cli_version: "5.41.2"
|
|
955985
955986
|
};
|
|
955986
955987
|
}
|
|
955987
955988
|
function isAutomationMode() {
|
|
@@ -956807,7 +956808,7 @@ var CliContext = class _CliContext {
|
|
|
956807
956808
|
if (false) {
|
|
956808
956809
|
this.logger.error("CLI_VERSION is not defined");
|
|
956809
956810
|
}
|
|
956810
|
-
return "5.41.
|
|
956811
|
+
return "5.41.2";
|
|
956811
956812
|
}
|
|
956812
956813
|
getCliName() {
|
|
956813
956814
|
if (false) {
|
package/package.json
CHANGED