@fern-api/fern-api-dev 5.38.1 → 5.38.2
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 +14 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -582549,6 +582549,13 @@ function getDocumentLevelResumable(document4) {
|
|
|
582549
582549
|
}
|
|
582550
582550
|
return typeof docStreaming.resumable === "boolean" ? docStreaming.resumable : void 0;
|
|
582551
582551
|
}
|
|
582552
|
+
function getOperationLevelResumable(operation) {
|
|
582553
|
+
const streaming = getExtension(operation, FernOpenAPIExtension.STREAMING);
|
|
582554
|
+
if (streaming == null || typeof streaming === "boolean") {
|
|
582555
|
+
return void 0;
|
|
582556
|
+
}
|
|
582557
|
+
return typeof streaming.resumable === "boolean" ? streaming.resumable : void 0;
|
|
582558
|
+
}
|
|
582552
582559
|
function maybeTrimRequestPrefix(streamCondition) {
|
|
582553
582560
|
if (streamCondition.startsWith(REQUEST_PREFIX)) {
|
|
582554
582561
|
return streamCondition.slice(REQUEST_PREFIX.length);
|
|
@@ -585099,7 +585106,7 @@ function convertOperation({ context: context3, pathItemContext, operation, conve
|
|
|
585099
585106
|
type: "stream",
|
|
585100
585107
|
format: "sse",
|
|
585101
585108
|
terminator: void 0,
|
|
585102
|
-
resumable: getDocumentLevelResumable(context3.document) ?? false
|
|
585109
|
+
resumable: getOperationLevelResumable(operation) ?? getDocumentLevelResumable(context3.document) ?? false
|
|
585103
585110
|
};
|
|
585104
585111
|
}
|
|
585105
585112
|
}
|
|
@@ -669322,7 +669329,7 @@ var AccessTokenPosthogManager = class {
|
|
|
669322
669329
|
properties: {
|
|
669323
669330
|
...event,
|
|
669324
669331
|
...event.properties,
|
|
669325
|
-
version: "5.38.
|
|
669332
|
+
version: "5.38.2",
|
|
669326
669333
|
usingAccessToken: true,
|
|
669327
669334
|
...getRunIdProperties()
|
|
669328
669335
|
}
|
|
@@ -669386,7 +669393,7 @@ var UserPosthogManager = class {
|
|
|
669386
669393
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
669387
669394
|
event: "CLI",
|
|
669388
669395
|
properties: {
|
|
669389
|
-
version: "5.38.
|
|
669396
|
+
version: "5.38.2",
|
|
669390
669397
|
...event,
|
|
669391
669398
|
...event.properties,
|
|
669392
669399
|
usingAccessToken: false,
|
|
@@ -860299,7 +860306,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
860299
860306
|
var LOGS_FOLDER_NAME = "logs";
|
|
860300
860307
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
860301
860308
|
function getCliSource() {
|
|
860302
|
-
const version7 = "5.38.
|
|
860309
|
+
const version7 = "5.38.2";
|
|
860303
860310
|
return `cli@${version7}`;
|
|
860304
860311
|
}
|
|
860305
860312
|
var DebugLogger = class {
|
|
@@ -880900,7 +880907,7 @@ var LegacyDocsPublisher = class {
|
|
|
880900
880907
|
previewId,
|
|
880901
880908
|
disableTemplates: void 0,
|
|
880902
880909
|
skipUpload,
|
|
880903
|
-
cliVersion: "5.38.
|
|
880910
|
+
cliVersion: "5.38.2",
|
|
880904
880911
|
loginCommand: "fern auth login"
|
|
880905
880912
|
});
|
|
880906
880913
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -955820,7 +955827,7 @@ function getAutomationContextFromEnv() {
|
|
|
955820
955827
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
955821
955828
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
955822
955829
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
955823
|
-
cli_version: "5.38.
|
|
955830
|
+
cli_version: "5.38.2"
|
|
955824
955831
|
};
|
|
955825
955832
|
}
|
|
955826
955833
|
function isAutomationMode() {
|
|
@@ -956646,7 +956653,7 @@ var CliContext = class _CliContext {
|
|
|
956646
956653
|
if (false) {
|
|
956647
956654
|
this.logger.error("CLI_VERSION is not defined");
|
|
956648
956655
|
}
|
|
956649
|
-
return "5.38.
|
|
956656
|
+
return "5.38.2";
|
|
956650
956657
|
}
|
|
956651
956658
|
getCliName() {
|
|
956652
956659
|
if (false) {
|
package/package.json
CHANGED