@fern-api/fern-api-dev 4.68.3-1-g429be56b56f → 4.68.3-2-g063113b6335
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 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -485222,7 +485222,8 @@ var CliError = class _CliError extends Error {
|
|
|
485222
485222
|
ValidationError: "VALIDATION_ERROR",
|
|
485223
485223
|
NetworkError: "NETWORK_ERROR",
|
|
485224
485224
|
AuthError: "AUTH_ERROR",
|
|
485225
|
-
ConfigError: "CONFIG_ERROR"
|
|
485225
|
+
ConfigError: "CONFIG_ERROR",
|
|
485226
|
+
Unclassified: "UNCLASSIFIED"
|
|
485226
485227
|
};
|
|
485227
485228
|
})(CliError || (CliError = {}));
|
|
485228
485229
|
var SENTRY_REPORTABLE = {
|
|
@@ -485237,7 +485238,8 @@ var SENTRY_REPORTABLE = {
|
|
|
485237
485238
|
[CliError.Code.ValidationError]: false,
|
|
485238
485239
|
[CliError.Code.NetworkError]: false,
|
|
485239
485240
|
[CliError.Code.AuthError]: false,
|
|
485240
|
-
[CliError.Code.ConfigError]: false
|
|
485241
|
+
[CliError.Code.ConfigError]: false,
|
|
485242
|
+
[CliError.Code.Unclassified]: false
|
|
485241
485243
|
};
|
|
485242
485244
|
function shouldReportToSentry(code5) {
|
|
485243
485245
|
return SENTRY_REPORTABLE[code5];
|
|
@@ -485261,7 +485263,7 @@ function resolveErrorCode(error50, explicitCode) {
|
|
|
485261
485263
|
if (isNodeVersionError(error50)) {
|
|
485262
485264
|
return CliError.Code.EnvironmentError;
|
|
485263
485265
|
}
|
|
485264
|
-
return CliError.Code.
|
|
485266
|
+
return CliError.Code.Unclassified;
|
|
485265
485267
|
}
|
|
485266
485268
|
|
|
485267
485269
|
// ../logger/lib/LogLevel.js
|
|
@@ -627003,7 +627005,7 @@ var AccessTokenPosthogManager = class {
|
|
|
627003
627005
|
properties: {
|
|
627004
627006
|
...event,
|
|
627005
627007
|
...event.properties,
|
|
627006
|
-
version: "4.68.3-
|
|
627008
|
+
version: "4.68.3-2-g063113b6335",
|
|
627007
627009
|
usingAccessToken: true
|
|
627008
627010
|
}
|
|
627009
627011
|
});
|
|
@@ -627057,7 +627059,7 @@ var UserPosthogManager = class {
|
|
|
627057
627059
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
627058
627060
|
event: "CLI",
|
|
627059
627061
|
properties: {
|
|
627060
|
-
version: "4.68.3-
|
|
627062
|
+
version: "4.68.3-2-g063113b6335",
|
|
627061
627063
|
...event,
|
|
627062
627064
|
...event.properties,
|
|
627063
627065
|
usingAccessToken: false,
|
|
@@ -844109,7 +844111,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
844109
844111
|
var LOGS_FOLDER_NAME = "logs";
|
|
844110
844112
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
844111
844113
|
function getCliSource() {
|
|
844112
|
-
const version7 = "4.68.3-
|
|
844114
|
+
const version7 = "4.68.3-2-g063113b6335";
|
|
844113
844115
|
return `cli@${version7}`;
|
|
844114
844116
|
}
|
|
844115
844117
|
var DebugLogger = class {
|
|
@@ -855359,7 +855361,7 @@ var LegacyDocsPublisher = class {
|
|
|
855359
855361
|
previewId,
|
|
855360
855362
|
disableTemplates: void 0,
|
|
855361
855363
|
skipUpload,
|
|
855362
|
-
cliVersion: "4.68.3-
|
|
855364
|
+
cliVersion: "4.68.3-2-g063113b6335"
|
|
855363
855365
|
});
|
|
855364
855366
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
855365
855367
|
return { success: false };
|
|
@@ -929180,7 +929182,7 @@ var CliContext = class _CliContext {
|
|
|
929180
929182
|
if (false) {
|
|
929181
929183
|
this.logger.error("CLI_VERSION is not defined");
|
|
929182
929184
|
}
|
|
929183
|
-
return "4.68.3-
|
|
929185
|
+
return "4.68.3-2-g063113b6335";
|
|
929184
929186
|
}
|
|
929185
929187
|
getCliName() {
|
|
929186
929188
|
if (false) {
|
package/package.json
CHANGED