@fern-api/fern-api-dev 4.62.1 → 4.62.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 +11 -5
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -529879,6 +529879,12 @@ function multipartOrJsonOrNone({ json: json3, multipart, document: document4, vi
|
|
|
529879
529879
|
const [, jsonMediaTypeObject] = json3 ?? [void 0, void 0];
|
|
529880
529880
|
const [, multipartMediaTypeObject] = multipart ?? [void 0, void 0];
|
|
529881
529881
|
if (!jsonMediaTypeObject?.schema && !multipartMediaTypeObject?.schema) {
|
|
529882
|
+
if (json3) {
|
|
529883
|
+
const hasExamples = jsonMediaTypeObject?.example != null || jsonMediaTypeObject?.examples != null && Object.keys(jsonMediaTypeObject.examples).length > 0;
|
|
529884
|
+
if (hasExamples) {
|
|
529885
|
+
return visitor.json(json3);
|
|
529886
|
+
}
|
|
529887
|
+
}
|
|
529882
529888
|
return visitor.neither();
|
|
529883
529889
|
}
|
|
529884
529890
|
if (jsonMediaTypeObject?.schema && multipartMediaTypeObject?.schema) {
|
|
@@ -602748,7 +602754,7 @@ var AccessTokenPosthogManager = class {
|
|
|
602748
602754
|
properties: {
|
|
602749
602755
|
...event,
|
|
602750
602756
|
...event.properties,
|
|
602751
|
-
version: "4.62.
|
|
602757
|
+
version: "4.62.2",
|
|
602752
602758
|
usingAccessToken: true
|
|
602753
602759
|
}
|
|
602754
602760
|
});
|
|
@@ -602799,7 +602805,7 @@ var UserPosthogManager = class {
|
|
|
602799
602805
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
602800
602806
|
event: "CLI",
|
|
602801
602807
|
properties: {
|
|
602802
|
-
version: "4.62.
|
|
602808
|
+
version: "4.62.2",
|
|
602803
602809
|
...event,
|
|
602804
602810
|
...event.properties,
|
|
602805
602811
|
usingAccessToken: false,
|
|
@@ -840087,7 +840093,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
840087
840093
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
840088
840094
|
var LOGS_FOLDER_NAME = "logs";
|
|
840089
840095
|
function getCliSource() {
|
|
840090
|
-
const version7 = "4.62.
|
|
840096
|
+
const version7 = "4.62.2";
|
|
840091
840097
|
return `cli@${version7}`;
|
|
840092
840098
|
}
|
|
840093
840099
|
var DebugLogger = class {
|
|
@@ -851195,7 +851201,7 @@ var LegacyDocsPublisher = class {
|
|
|
851195
851201
|
previewId: void 0,
|
|
851196
851202
|
disableTemplates: void 0,
|
|
851197
851203
|
skipUpload,
|
|
851198
|
-
cliVersion: "4.62.
|
|
851204
|
+
cliVersion: "4.62.2"
|
|
851199
851205
|
});
|
|
851200
851206
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
851201
851207
|
return { success: false };
|
|
@@ -924478,7 +924484,7 @@ var CliContext = class {
|
|
|
924478
924484
|
if (false) {
|
|
924479
924485
|
this.logger.error("CLI_VERSION is not defined");
|
|
924480
924486
|
}
|
|
924481
|
-
return "4.62.
|
|
924487
|
+
return "4.62.2";
|
|
924482
924488
|
}
|
|
924483
924489
|
getCliName() {
|
|
924484
924490
|
if (false) {
|
package/package.json
CHANGED