@fern-api/fern-api-dev 4.96.0-39-g2d037eff353 → 4.96.0-41-gbb1a410b3fb
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 +17 -11
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -618191,7 +618191,7 @@ var AccessTokenPosthogManager = class {
|
|
|
618191
618191
|
properties: {
|
|
618192
618192
|
...event,
|
|
618193
618193
|
...event.properties,
|
|
618194
|
-
version: "4.96.0-
|
|
618194
|
+
version: "4.96.0-41-gbb1a410b3fb",
|
|
618195
618195
|
usingAccessToken: true
|
|
618196
618196
|
}
|
|
618197
618197
|
});
|
|
@@ -618245,7 +618245,7 @@ var UserPosthogManager = class {
|
|
|
618245
618245
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
618246
618246
|
event: "CLI",
|
|
618247
618247
|
properties: {
|
|
618248
|
-
version: "4.96.0-
|
|
618248
|
+
version: "4.96.0-41-gbb1a410b3fb",
|
|
618249
618249
|
...event,
|
|
618250
618250
|
...event.properties,
|
|
618251
618251
|
usingAccessToken: false,
|
|
@@ -829369,7 +829369,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
829369
829369
|
var LOGS_FOLDER_NAME = "logs";
|
|
829370
829370
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
829371
829371
|
function getCliSource() {
|
|
829372
|
-
const version7 = "4.96.0-
|
|
829372
|
+
const version7 = "4.96.0-41-gbb1a410b3fb";
|
|
829373
829373
|
return `cli@${version7}`;
|
|
829374
829374
|
}
|
|
829375
829375
|
var DebugLogger = class {
|
|
@@ -841332,7 +841332,7 @@ var LegacyDocsPublisher = class {
|
|
|
841332
841332
|
previewId,
|
|
841333
841333
|
disableTemplates: void 0,
|
|
841334
841334
|
skipUpload,
|
|
841335
|
-
cliVersion: "4.96.0-
|
|
841335
|
+
cliVersion: "4.96.0-41-gbb1a410b3fb",
|
|
841336
841336
|
loginCommand: "fern auth login"
|
|
841337
841337
|
});
|
|
841338
841338
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -877026,16 +877026,22 @@ var EndpointSnippetGenerator6 = class {
|
|
|
877026
877026
|
this.context.errors.add({ severity: Severity.Warning, message });
|
|
877027
877027
|
}
|
|
877028
877028
|
getConstructorBasicAuthArg({ auth: auth8, values: values2 }) {
|
|
877029
|
-
|
|
877030
|
-
|
|
877029
|
+
const usernameOmitted = "usernameOmit" in auth8 && auth8.usernameOmit === true;
|
|
877030
|
+
const passwordOmitted = "passwordOmit" in auth8 && auth8.passwordOmit === true;
|
|
877031
|
+
const args = [];
|
|
877032
|
+
if (!usernameOmitted) {
|
|
877033
|
+
args.push({
|
|
877031
877034
|
name: this.context.getPropertyName(auth8.username),
|
|
877032
877035
|
value: python_exports.TypeInstantiation.str(values2.username)
|
|
877033
|
-
}
|
|
877034
|
-
|
|
877036
|
+
});
|
|
877037
|
+
}
|
|
877038
|
+
if (!passwordOmitted) {
|
|
877039
|
+
args.push({
|
|
877035
877040
|
name: this.context.getPropertyName(auth8.password),
|
|
877036
877041
|
value: python_exports.TypeInstantiation.str(values2.password)
|
|
877037
|
-
}
|
|
877038
|
-
|
|
877042
|
+
});
|
|
877043
|
+
}
|
|
877044
|
+
return args;
|
|
877039
877045
|
}
|
|
877040
877046
|
getConstructorBearerAuthArgs({ auth: auth8, values: values2 }) {
|
|
877041
877047
|
return [
|
|
@@ -915874,7 +915880,7 @@ var CliContext = class _CliContext {
|
|
|
915874
915880
|
if (false) {
|
|
915875
915881
|
this.logger.error("CLI_VERSION is not defined");
|
|
915876
915882
|
}
|
|
915877
|
-
return "4.96.0-
|
|
915883
|
+
return "4.96.0-41-gbb1a410b3fb";
|
|
915878
915884
|
}
|
|
915879
915885
|
getCliName() {
|
|
915880
915886
|
if (false) {
|
package/package.json
CHANGED