@fern-api/fern-api-dev 4.85.1-14-g12da300acd4 → 4.85.1-3-g2c9d5ab8cfd
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 +6 -11
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -614772,7 +614772,7 @@ var AccessTokenPosthogManager = class {
|
|
|
614772
614772
|
properties: {
|
|
614773
614773
|
...event,
|
|
614774
614774
|
...event.properties,
|
|
614775
|
-
version: "4.85.1-
|
|
614775
|
+
version: "4.85.1-3-g2c9d5ab8cfd",
|
|
614776
614776
|
usingAccessToken: true
|
|
614777
614777
|
}
|
|
614778
614778
|
});
|
|
@@ -614826,7 +614826,7 @@ var UserPosthogManager = class {
|
|
|
614826
614826
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
614827
614827
|
event: "CLI",
|
|
614828
614828
|
properties: {
|
|
614829
|
-
version: "4.85.1-
|
|
614829
|
+
version: "4.85.1-3-g2c9d5ab8cfd",
|
|
614830
614830
|
...event,
|
|
614831
614831
|
...event.properties,
|
|
614832
614832
|
usingAccessToken: false,
|
|
@@ -832324,7 +832324,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
832324
832324
|
var LOGS_FOLDER_NAME = "logs";
|
|
832325
832325
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
832326
832326
|
function getCliSource() {
|
|
832327
|
-
const version7 = "4.85.1-
|
|
832327
|
+
const version7 = "4.85.1-3-g2c9d5ab8cfd";
|
|
832328
832328
|
return `cli@${version7}`;
|
|
832329
832329
|
}
|
|
832330
832330
|
var DebugLogger = class {
|
|
@@ -841933,12 +841933,7 @@ async function startJob({ intermediateRepresentation, generatorInvocation, job,
|
|
|
841933
841933
|
}
|
|
841934
841934
|
}
|
|
841935
841935
|
function extractErrorMessage2(error50) {
|
|
841936
|
-
|
|
841937
|
-
if (error50?.reason === "status-code") {
|
|
841938
|
-
body = error50.body;
|
|
841939
|
-
} else if (error50?.content?.reason === "status-code") {
|
|
841940
|
-
body = error50.content.body;
|
|
841941
|
-
}
|
|
841936
|
+
const body = error50?.content?.reason === "status-code" ? error50.content.body : void 0;
|
|
841942
841937
|
if (typeof body?.content?.message === "string") {
|
|
841943
841938
|
return body.content.message;
|
|
841944
841939
|
}
|
|
@@ -843976,7 +843971,7 @@ var LegacyDocsPublisher = class {
|
|
|
843976
843971
|
previewId,
|
|
843977
843972
|
disableTemplates: void 0,
|
|
843978
843973
|
skipUpload,
|
|
843979
|
-
cliVersion: "4.85.1-
|
|
843974
|
+
cliVersion: "4.85.1-3-g2c9d5ab8cfd"
|
|
843980
843975
|
});
|
|
843981
843976
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
843982
843977
|
return { success: false };
|
|
@@ -919364,7 +919359,7 @@ var CliContext = class _CliContext {
|
|
|
919364
919359
|
if (false) {
|
|
919365
919360
|
this.logger.error("CLI_VERSION is not defined");
|
|
919366
919361
|
}
|
|
919367
|
-
return "4.85.1-
|
|
919362
|
+
return "4.85.1-3-g2c9d5ab8cfd";
|
|
919368
919363
|
}
|
|
919369
919364
|
getCliName() {
|
|
919370
919365
|
if (false) {
|
package/package.json
CHANGED