@fern-api/fern-api-dev 5.23.3-1285-g2e36f3b090f → 5.23.3-1292-gc839d96d0f4
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 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -689087,7 +689087,7 @@ var AccessTokenPosthogManager = class {
|
|
|
689087
689087
|
properties: {
|
|
689088
689088
|
...event,
|
|
689089
689089
|
...event.properties,
|
|
689090
|
-
version: "5.23.3-
|
|
689090
|
+
version: "5.23.3-1292-gc839d96d0f4",
|
|
689091
689091
|
usingAccessToken: true,
|
|
689092
689092
|
...getRunIdProperties()
|
|
689093
689093
|
}
|
|
@@ -689153,7 +689153,7 @@ var UserPosthogManager = class {
|
|
|
689153
689153
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
689154
689154
|
event: "CLI",
|
|
689155
689155
|
properties: {
|
|
689156
|
-
version: "5.23.3-
|
|
689156
|
+
version: "5.23.3-1292-gc839d96d0f4",
|
|
689157
689157
|
...event,
|
|
689158
689158
|
...event.properties,
|
|
689159
689159
|
usingAccessToken: false,
|
|
@@ -870254,7 +870254,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
870254
870254
|
var LOGS_FOLDER_NAME = "logs";
|
|
870255
870255
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
870256
870256
|
function getCliSource() {
|
|
870257
|
-
const version7 = "5.23.3-
|
|
870257
|
+
const version7 = "5.23.3-1292-gc839d96d0f4";
|
|
870258
870258
|
return `cli@${version7}`;
|
|
870259
870259
|
}
|
|
870260
870260
|
var DebugLogger = class {
|
|
@@ -902813,7 +902813,7 @@ var LegacyDocsPublisher = class {
|
|
|
902813
902813
|
previewId,
|
|
902814
902814
|
disableTemplates: void 0,
|
|
902815
902815
|
skipUpload,
|
|
902816
|
-
cliVersion: "5.23.3-
|
|
902816
|
+
cliVersion: "5.23.3-1292-gc839d96d0f4",
|
|
902817
902817
|
loginCommand: "fern auth login"
|
|
902818
902818
|
});
|
|
902819
902819
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -922377,6 +922377,8 @@ var Generation = class {
|
|
|
922377
922377
|
extraDependencies: () => this.customConfig["extra-dependencies"] ?? {},
|
|
922378
922378
|
/** When true, omits Fern platform headers (X-Fern-Language, SDK name/version, User-Agent) from generated SDK requests. Default: false. */
|
|
922379
922379
|
omitFernHeaders: () => this.customConfig["omit-fern-headers"] ?? false,
|
|
922380
|
+
/** When true, emits the platform observability headers (X-Fern-Runtime, X-Fern-Runtime-Version, X-Fern-Platform). Default: false. Still subject to omitFernHeaders. */
|
|
922381
|
+
includePlatformHeaders: () => this.customConfig["include-platform-headers"] ?? false,
|
|
922380
922382
|
/** When true, falls back to `<NuGetPackageId>/<version>` for the `User-Agent` header when the IR doesn't supply one. Default: false. */
|
|
922381
922383
|
userAgentNameFromPackage: () => this.customConfig["user-agent-name-from-package"] ?? false,
|
|
922382
922384
|
/** When true, moves auth params and IR headers into ClientOptions so the constructor takes only named arguments. Default: false. */
|
|
@@ -952792,6 +952794,7 @@ var TypescriptCustomConfigSchema = external_exports2.strictObject({
|
|
|
952792
952794
|
fetchSupport: external_exports2.optional(external_exports2.enum(["node-fetch", "native"])),
|
|
952793
952795
|
packagePath: external_exports2.optional(external_exports2.string()),
|
|
952794
952796
|
omitFernHeaders: external_exports2.optional(external_exports2.boolean()),
|
|
952797
|
+
includePlatformHeaders: external_exports2.optional(external_exports2.boolean()),
|
|
952795
952798
|
useDefaultRequestParameterValues: external_exports2.optional(external_exports2.boolean()),
|
|
952796
952799
|
packageManager: external_exports2.optional(external_exports2.enum(["pnpm", "yarn"])),
|
|
952797
952800
|
flattenRequestParameters: external_exports2.optional(external_exports2.boolean()),
|
|
@@ -969153,7 +969156,7 @@ function getAutomationContextFromEnv() {
|
|
|
969153
969156
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
969154
969157
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
969155
969158
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
969156
|
-
cli_version: "5.23.3-
|
|
969159
|
+
cli_version: "5.23.3-1292-gc839d96d0f4"
|
|
969157
969160
|
};
|
|
969158
969161
|
}
|
|
969159
969162
|
function isAutomationMode() {
|
|
@@ -969985,7 +969988,7 @@ var CliContext = class _CliContext {
|
|
|
969985
969988
|
if (false) {
|
|
969986
969989
|
this.logger.error("CLI_VERSION is not defined");
|
|
969987
969990
|
}
|
|
969988
|
-
return "5.23.3-
|
|
969991
|
+
return "5.23.3-1292-gc839d96d0f4";
|
|
969989
969992
|
}
|
|
969990
969993
|
getCliName() {
|
|
969991
969994
|
if (false) {
|
package/package.json
CHANGED