@fern-api/fern-api-dev 4.65.1-9-gae007953a2b → 4.65.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 +10 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -604115,7 +604115,7 @@ var AccessTokenPosthogManager = class {
|
|
|
604115
604115
|
properties: {
|
|
604116
604116
|
...event,
|
|
604117
604117
|
...event.properties,
|
|
604118
|
-
version: "4.65.
|
|
604118
|
+
version: "4.65.2",
|
|
604119
604119
|
usingAccessToken: true
|
|
604120
604120
|
}
|
|
604121
604121
|
});
|
|
@@ -604166,7 +604166,7 @@ var UserPosthogManager = class {
|
|
|
604166
604166
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
604167
604167
|
event: "CLI",
|
|
604168
604168
|
properties: {
|
|
604169
|
-
version: "4.65.
|
|
604169
|
+
version: "4.65.2",
|
|
604170
604170
|
...event,
|
|
604171
604171
|
...event.properties,
|
|
604172
604172
|
usingAccessToken: false,
|
|
@@ -841147,7 +841147,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
841147
841147
|
var LOGS_FOLDER_NAME = "logs";
|
|
841148
841148
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
841149
841149
|
function getCliSource() {
|
|
841150
|
-
const version7 = "4.65.
|
|
841150
|
+
const version7 = "4.65.2";
|
|
841151
841151
|
return `cli@${version7}`;
|
|
841152
841152
|
}
|
|
841153
841153
|
var DebugLogger = class {
|
|
@@ -852345,7 +852345,7 @@ var LegacyDocsPublisher = class {
|
|
|
852345
852345
|
previewId,
|
|
852346
852346
|
disableTemplates: void 0,
|
|
852347
852347
|
skipUpload,
|
|
852348
|
-
cliVersion: "4.65.
|
|
852348
|
+
cliVersion: "4.65.2"
|
|
852349
852349
|
});
|
|
852350
852350
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
852351
852351
|
return { success: false };
|
|
@@ -925934,7 +925934,7 @@ var CliContext = class {
|
|
|
925934
925934
|
if (false) {
|
|
925935
925935
|
this.logger.error("CLI_VERSION is not defined");
|
|
925936
925936
|
}
|
|
925937
|
-
return "4.65.
|
|
925937
|
+
return "4.65.2";
|
|
925938
925938
|
}
|
|
925939
925939
|
getCliName() {
|
|
925940
925940
|
if (false) {
|
|
@@ -932903,11 +932903,14 @@ async function listDocsPreview({
|
|
|
932903
932903
|
return context3.failAndThrow(
|
|
932904
932904
|
"Unauthorized to list preview deployments. Please run 'fern login' to refresh your credentials, or set the FERN_TOKEN environment variable."
|
|
932905
932905
|
);
|
|
932906
|
-
default:
|
|
932906
|
+
default: {
|
|
932907
|
+
const errorContent = listResponse.error.content != null && typeof listResponse.error.content === "object" && "body" in listResponse.error.content ? listResponse.error.content.body : listResponse.error.content;
|
|
932908
|
+
context3.logger.debug(`Error fetching preview deployments: ${JSON.stringify(errorContent)}`);
|
|
932907
932909
|
return context3.failAndThrow(
|
|
932908
|
-
"Failed to fetch preview deployments. Please
|
|
932910
|
+
"Failed to fetch preview deployments. Please ensure you are logged in with 'fern login' or have FERN_TOKEN set, then try again.",
|
|
932909
932911
|
listResponse.error
|
|
932910
932912
|
);
|
|
932913
|
+
}
|
|
932911
932914
|
}
|
|
932912
932915
|
}
|
|
932913
932916
|
const previewUrlPattern = /-preview-[a-f0-9-]+\.docs\.buildwithfern\.com$/;
|
package/package.json
CHANGED