@fern-api/fern-api-dev 5.23.3-1482-ga04970a2aaa → 5.23.3-1483-gdf4d8dc9766
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 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -691017,7 +691017,7 @@ var AccessTokenPosthogManager = class {
|
|
|
691017
691017
|
properties: {
|
|
691018
691018
|
...event,
|
|
691019
691019
|
...event.properties,
|
|
691020
|
-
version: "5.23.3-
|
|
691020
|
+
version: "5.23.3-1483-gdf4d8dc9766",
|
|
691021
691021
|
usingAccessToken: true,
|
|
691022
691022
|
...getRunIdProperties()
|
|
691023
691023
|
}
|
|
@@ -691083,7 +691083,7 @@ var UserPosthogManager = class {
|
|
|
691083
691083
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
691084
691084
|
event: "CLI",
|
|
691085
691085
|
properties: {
|
|
691086
|
-
version: "5.23.3-
|
|
691086
|
+
version: "5.23.3-1483-gdf4d8dc9766",
|
|
691087
691087
|
...event,
|
|
691088
691088
|
...event.properties,
|
|
691089
691089
|
usingAccessToken: false,
|
|
@@ -872184,7 +872184,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
872184
872184
|
var LOGS_FOLDER_NAME = "logs";
|
|
872185
872185
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
872186
872186
|
function getCliSource() {
|
|
872187
|
-
const version7 = "5.23.3-
|
|
872187
|
+
const version7 = "5.23.3-1483-gdf4d8dc9766";
|
|
872188
872188
|
return `cli@${version7}`;
|
|
872189
872189
|
}
|
|
872190
872190
|
var DebugLogger = class {
|
|
@@ -904773,7 +904773,7 @@ var LegacyDocsPublisher = class {
|
|
|
904773
904773
|
previewId,
|
|
904774
904774
|
disableTemplates: void 0,
|
|
904775
904775
|
skipUpload,
|
|
904776
|
-
cliVersion: "5.23.3-
|
|
904776
|
+
cliVersion: "5.23.3-1483-gdf4d8dc9766",
|
|
904777
904777
|
loginCommand: "fern auth login"
|
|
904778
904778
|
});
|
|
904779
904779
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -971560,7 +971560,7 @@ function getAutomationContextFromEnv() {
|
|
|
971560
971560
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
971561
971561
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
971562
971562
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
971563
|
-
cli_version: "5.23.3-
|
|
971563
|
+
cli_version: "5.23.3-1483-gdf4d8dc9766"
|
|
971564
971564
|
};
|
|
971565
971565
|
}
|
|
971566
971566
|
function isAutomationMode() {
|
|
@@ -972392,7 +972392,7 @@ var CliContext = class _CliContext {
|
|
|
972392
972392
|
if (false) {
|
|
972393
972393
|
this.logger.error("CLI_VERSION is not defined");
|
|
972394
972394
|
}
|
|
972395
|
-
return "5.23.3-
|
|
972395
|
+
return "5.23.3-1483-gdf4d8dc9766";
|
|
972396
972396
|
}
|
|
972397
972397
|
getCliName() {
|
|
972398
972398
|
if (false) {
|
|
@@ -981354,7 +981354,7 @@ var import_node_readline6 = require("readline");
|
|
|
981354
981354
|
init_lib6();
|
|
981355
981355
|
|
|
981356
981356
|
// src/commands/docs-theme/themeOrigin.ts
|
|
981357
|
-
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry.buildwithfern.com";
|
|
981357
|
+
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry-dev2.buildwithfern.com" ?? "https://registry.buildwithfern.com";
|
|
981358
981358
|
function describeFetchError(error50) {
|
|
981359
981359
|
if (!(error50 instanceof Error)) {
|
|
981360
981360
|
return String(error50);
|
|
@@ -981804,7 +981804,7 @@ ${errors4.map((e2) => ` - ${e2}`).join("\n")}`,
|
|
|
981804
981804
|
}
|
|
981805
981805
|
async uploadToCas(content5, contentType, bindPath, label) {
|
|
981806
981806
|
const hash5 = (0, import_crypto10.createHash)("sha256").update(content5).digest("hex");
|
|
981807
|
-
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${
|
|
981807
|
+
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${encodeURIComponent(this.orgId)}/${hash5}`;
|
|
981808
981808
|
this.context.logger.debug(` CAS check: PUT ${casUrl} (${contentType}, ${content5.byteLength} bytes)`);
|
|
981809
981809
|
let checkRes;
|
|
981810
981810
|
try {
|
package/package.json
CHANGED