@fern-api/fern-api-dev 4.82.0-3-gc1f31446d2e → 4.82.0-4-g64ed170439e
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 -10
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -469477,8 +469477,7 @@ var CliError = class _CliError extends Error {
|
|
|
469477
469477
|
NetworkError: "NETWORK_ERROR",
|
|
469478
469478
|
AuthError: "AUTH_ERROR",
|
|
469479
469479
|
ConfigError: "CONFIG_ERROR",
|
|
469480
|
-
UserError: "USER_ERROR"
|
|
469481
|
-
Unclassified: "UNCLASSIFIED"
|
|
469480
|
+
UserError: "USER_ERROR"
|
|
469482
469481
|
};
|
|
469483
469482
|
})(CliError || (CliError = {}));
|
|
469484
469483
|
var SENTRY_REPORTABLE = {
|
|
@@ -469494,8 +469493,7 @@ var SENTRY_REPORTABLE = {
|
|
|
469494
469493
|
[CliError.Code.NetworkError]: false,
|
|
469495
469494
|
[CliError.Code.AuthError]: false,
|
|
469496
469495
|
[CliError.Code.ConfigError]: false,
|
|
469497
|
-
[CliError.Code.UserError]: false
|
|
469498
|
-
[CliError.Code.Unclassified]: false
|
|
469496
|
+
[CliError.Code.UserError]: false
|
|
469499
469497
|
};
|
|
469500
469498
|
function shouldReportToSentry(code5) {
|
|
469501
469499
|
return SENTRY_REPORTABLE[code5];
|
|
@@ -469519,7 +469517,7 @@ function resolveErrorCode(error50, explicitCode) {
|
|
|
469519
469517
|
if (isNodeVersionError(error50)) {
|
|
469520
469518
|
return CliError.Code.EnvironmentError;
|
|
469521
469519
|
}
|
|
469522
|
-
return CliError.Code.
|
|
469520
|
+
return CliError.Code.InternalError;
|
|
469523
469521
|
}
|
|
469524
469522
|
|
|
469525
469523
|
// ../logger/lib/LogLevel.js
|
|
@@ -614768,7 +614766,7 @@ var AccessTokenPosthogManager = class {
|
|
|
614768
614766
|
properties: {
|
|
614769
614767
|
...event,
|
|
614770
614768
|
...event.properties,
|
|
614771
|
-
version: "4.82.0-
|
|
614769
|
+
version: "4.82.0-4-g64ed170439e",
|
|
614772
614770
|
usingAccessToken: true
|
|
614773
614771
|
}
|
|
614774
614772
|
});
|
|
@@ -614822,7 +614820,7 @@ var UserPosthogManager = class {
|
|
|
614822
614820
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
614823
614821
|
event: "CLI",
|
|
614824
614822
|
properties: {
|
|
614825
|
-
version: "4.82.0-
|
|
614823
|
+
version: "4.82.0-4-g64ed170439e",
|
|
614826
614824
|
...event,
|
|
614827
614825
|
...event.properties,
|
|
614828
614826
|
usingAccessToken: false,
|
|
@@ -832314,7 +832312,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
832314
832312
|
var LOGS_FOLDER_NAME = "logs";
|
|
832315
832313
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
832316
832314
|
function getCliSource() {
|
|
832317
|
-
const version7 = "4.82.0-
|
|
832315
|
+
const version7 = "4.82.0-4-g64ed170439e";
|
|
832318
832316
|
return `cli@${version7}`;
|
|
832319
832317
|
}
|
|
832320
832318
|
var DebugLogger = class {
|
|
@@ -843946,7 +843944,7 @@ var LegacyDocsPublisher = class {
|
|
|
843946
843944
|
previewId,
|
|
843947
843945
|
disableTemplates: void 0,
|
|
843948
843946
|
skipUpload,
|
|
843949
|
-
cliVersion: "4.82.0-
|
|
843947
|
+
cliVersion: "4.82.0-4-g64ed170439e"
|
|
843950
843948
|
});
|
|
843951
843949
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
843952
843950
|
return { success: false };
|
|
@@ -919222,7 +919220,7 @@ var CliContext = class _CliContext {
|
|
|
919222
919220
|
if (false) {
|
|
919223
919221
|
this.logger.error("CLI_VERSION is not defined");
|
|
919224
919222
|
}
|
|
919225
|
-
return "4.82.0-
|
|
919223
|
+
return "4.82.0-4-g64ed170439e";
|
|
919226
919224
|
}
|
|
919227
919225
|
getCliName() {
|
|
919228
919226
|
if (false) {
|
package/package.json
CHANGED