@fern-api/fern-api-dev 4.100.2-6-g4c15d3d479a → 4.100.3
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
|
@@ -620916,7 +620916,7 @@ var AccessTokenPosthogManager = class {
|
|
|
620916
620916
|
properties: {
|
|
620917
620917
|
...event,
|
|
620918
620918
|
...event.properties,
|
|
620919
|
-
version: "4.100.
|
|
620919
|
+
version: "4.100.3",
|
|
620920
620920
|
usingAccessToken: true
|
|
620921
620921
|
}
|
|
620922
620922
|
});
|
|
@@ -620970,7 +620970,7 @@ var UserPosthogManager = class {
|
|
|
620970
620970
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
620971
620971
|
event: "CLI",
|
|
620972
620972
|
properties: {
|
|
620973
|
-
version: "4.100.
|
|
620973
|
+
version: "4.100.3",
|
|
620974
620974
|
...event,
|
|
620975
620975
|
...event.properties,
|
|
620976
620976
|
usingAccessToken: false,
|
|
@@ -832192,7 +832192,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
832192
832192
|
var LOGS_FOLDER_NAME = "logs";
|
|
832193
832193
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
832194
832194
|
function getCliSource() {
|
|
832195
|
-
const version7 = "4.100.
|
|
832195
|
+
const version7 = "4.100.3";
|
|
832196
832196
|
return `cli@${version7}`;
|
|
832197
832197
|
}
|
|
832198
832198
|
var DebugLogger = class {
|
|
@@ -843768,7 +843768,8 @@ ${JSON.stringify(errorDetails, void 0, 2)}`);
|
|
|
843768
843768
|
const publishTime = performance.now() - publishStart;
|
|
843769
843769
|
context3.logger.debug(`Docs published to FDR in ${publishTime.toFixed(0)}ms`);
|
|
843770
843770
|
const translationPages = resolver2.getTranslationPages();
|
|
843771
|
-
|
|
843771
|
+
const translationDomain = preview ? urlToOutput : domain3;
|
|
843772
|
+
if (translationPages != null && Object.keys(translationPages).length > 0) {
|
|
843772
843773
|
context3.logger.info(`Registering translations for ${Object.keys(translationPages).length} locale(s)...`);
|
|
843773
843774
|
await Promise.all(Object.entries(translationPages).map(async ([locale, localePages]) => {
|
|
843774
843775
|
try {
|
|
@@ -843832,7 +843833,7 @@ ${JSON.stringify(errorDetails, void 0, 2)}`);
|
|
|
843832
843833
|
// Include telemetry headers (X-CLI-Version, X-CI-Source, etc.)
|
|
843833
843834
|
},
|
|
843834
843835
|
body: JSON.stringify({
|
|
843835
|
-
domain:
|
|
843836
|
+
domain: translationDomain,
|
|
843836
843837
|
orgId: organization,
|
|
843837
843838
|
locale,
|
|
843838
843839
|
docsDefinition: translatedDefinition
|
|
@@ -844530,7 +844531,7 @@ var LegacyDocsPublisher = class {
|
|
|
844530
844531
|
previewId,
|
|
844531
844532
|
disableTemplates: void 0,
|
|
844532
844533
|
skipUpload,
|
|
844533
|
-
cliVersion: "4.100.
|
|
844534
|
+
cliVersion: "4.100.3",
|
|
844534
844535
|
loginCommand: "fern auth login"
|
|
844535
844536
|
});
|
|
844536
844537
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -918621,7 +918622,7 @@ var CliContext = class _CliContext {
|
|
|
918621
918622
|
if (false) {
|
|
918622
918623
|
this.logger.error("CLI_VERSION is not defined");
|
|
918623
918624
|
}
|
|
918624
|
-
return "4.100.
|
|
918625
|
+
return "4.100.3";
|
|
918625
918626
|
}
|
|
918626
918627
|
getCliName() {
|
|
918627
918628
|
if (false) {
|
package/package.json
CHANGED