@fern-api/fern-api-dev 5.20.1-2-gf9ca0af106a → 5.20.1-6-g9754329ac3b
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 +9 -5
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -661157,7 +661157,7 @@ var AccessTokenPosthogManager = class {
|
|
|
661157
661157
|
properties: {
|
|
661158
661158
|
...event,
|
|
661159
661159
|
...event.properties,
|
|
661160
|
-
version: "5.20.1-
|
|
661160
|
+
version: "5.20.1-6-g9754329ac3b",
|
|
661161
661161
|
usingAccessToken: true,
|
|
661162
661162
|
...getRunIdProperties()
|
|
661163
661163
|
}
|
|
@@ -661212,7 +661212,7 @@ var UserPosthogManager = class {
|
|
|
661212
661212
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
661213
661213
|
event: "CLI",
|
|
661214
661214
|
properties: {
|
|
661215
|
-
version: "5.20.1-
|
|
661215
|
+
version: "5.20.1-6-g9754329ac3b",
|
|
661216
661216
|
...event,
|
|
661217
661217
|
...event.properties,
|
|
661218
661218
|
usingAccessToken: false,
|
|
@@ -852485,7 +852485,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
852485
852485
|
var LOGS_FOLDER_NAME = "logs";
|
|
852486
852486
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
852487
852487
|
function getCliSource() {
|
|
852488
|
-
const version7 = "5.20.1-
|
|
852488
|
+
const version7 = "5.20.1-6-g9754329ac3b";
|
|
852489
852489
|
return `cli@${version7}`;
|
|
852490
852490
|
}
|
|
852491
852491
|
var DebugLogger = class {
|
|
@@ -865294,7 +865294,7 @@ var LegacyDocsPublisher = class {
|
|
|
865294
865294
|
previewId,
|
|
865295
865295
|
disableTemplates: void 0,
|
|
865296
865296
|
skipUpload,
|
|
865297
|
-
cliVersion: "5.20.1-
|
|
865297
|
+
cliVersion: "5.20.1-6-g9754329ac3b",
|
|
865298
865298
|
loginCommand: "fern auth login"
|
|
865299
865299
|
});
|
|
865300
865300
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -884773,6 +884773,8 @@ var Generation = class {
|
|
|
884773
884773
|
extraDependencies: () => this.customConfig["extra-dependencies"] ?? {},
|
|
884774
884774
|
/** When true, omits Fern platform headers (X-Fern-Language, SDK name/version, User-Agent) from generated SDK requests. Default: false. */
|
|
884775
884775
|
omitFernHeaders: () => this.customConfig["omit-fern-headers"] ?? false,
|
|
884776
|
+
/** When true, falls back to `<NuGetPackageId>/<version>` for the `User-Agent` header when the IR doesn't supply one. Default: false. */
|
|
884777
|
+
userAgentNameFromPackage: () => this.customConfig["user-agent-name-from-package"] ?? false,
|
|
884776
884778
|
/** When true, moves auth params and IR headers into ClientOptions so the constructor takes only named arguments. Default: false. */
|
|
884777
884779
|
unifiedClientOptions: () => this.customConfig["unified-client-options"] ?? false,
|
|
884778
884780
|
/** When true, uses PascalCase for environment names (e.g., "Production" instead of "production"). Default: true. */
|
|
@@ -884785,6 +884787,8 @@ var Generation = class {
|
|
|
884785
884787
|
maxRetries: () => this.customConfig.maxRetries,
|
|
884786
884788
|
/** Controls which HTTP status codes trigger automatic retries. Default: "legacy". */
|
|
884787
884789
|
retryStatusCodes: () => this.customConfig.retryStatusCodes ?? "legacy",
|
|
884790
|
+
/** Override the default request timeout (in seconds) for the generated SDK client. `"infinity"` disables the default timeout. Default: 30. */
|
|
884791
|
+
defaultTimeoutInSeconds: () => this.customConfig["default-timeout-in-seconds"],
|
|
884788
884792
|
/**
|
|
884789
884793
|
* Output path configuration for generated files.
|
|
884790
884794
|
* Returns normalized paths for library, test, solution, and other files.
|
|
@@ -939918,7 +939922,7 @@ var CliContext = class _CliContext {
|
|
|
939918
939922
|
if (false) {
|
|
939919
939923
|
this.logger.error("CLI_VERSION is not defined");
|
|
939920
939924
|
}
|
|
939921
|
-
return "5.20.1-
|
|
939925
|
+
return "5.20.1-6-g9754329ac3b";
|
|
939922
939926
|
}
|
|
939923
939927
|
getCliName() {
|
|
939924
939928
|
if (false) {
|
package/package.json
CHANGED