@fern-api/fern-api-dev 5.33.5 → 5.33.6
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 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -609347,8 +609347,8 @@ var ReadmeEndpointCache = class {
|
|
|
609347
609347
|
const endpoint3 = this.getEndpointForReadme(readmeEndpoint);
|
|
609348
609348
|
if (endpoint3 == null) {
|
|
609349
609349
|
throw new CliError({
|
|
609350
|
-
message: `Endpoint not found for ${
|
|
609351
|
-
code: CliError.Code.
|
|
609350
|
+
message: `Endpoint not found in generators.yml readme config for ${formatReadmeEndpoint(readmeEndpoint)}`,
|
|
609351
|
+
code: CliError.Code.ConfigError
|
|
609352
609352
|
});
|
|
609353
609353
|
}
|
|
609354
609354
|
return endpoint3;
|
|
@@ -609406,6 +609406,12 @@ function getReadmeEndpointObject({ endpoint: endpoint3 }) {
|
|
|
609406
609406
|
}
|
|
609407
609407
|
return endpoint3;
|
|
609408
609408
|
}
|
|
609409
|
+
function formatReadmeEndpoint(readmeEndpoint) {
|
|
609410
|
+
if (typeof readmeEndpoint === "string") {
|
|
609411
|
+
return readmeEndpoint;
|
|
609412
|
+
}
|
|
609413
|
+
return JSON.stringify(readmeEndpoint);
|
|
609414
|
+
}
|
|
609409
609415
|
|
|
609410
609416
|
// ../generation/ir-generator/lib/converters/convertWebhookGroup.js
|
|
609411
609417
|
init_lib4();
|
|
@@ -668478,7 +668484,7 @@ var AccessTokenPosthogManager = class {
|
|
|
668478
668484
|
properties: {
|
|
668479
668485
|
...event,
|
|
668480
668486
|
...event.properties,
|
|
668481
|
-
version: "5.33.
|
|
668487
|
+
version: "5.33.6",
|
|
668482
668488
|
usingAccessToken: true,
|
|
668483
668489
|
...getRunIdProperties()
|
|
668484
668490
|
}
|
|
@@ -668542,7 +668548,7 @@ var UserPosthogManager = class {
|
|
|
668542
668548
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
668543
668549
|
event: "CLI",
|
|
668544
668550
|
properties: {
|
|
668545
|
-
version: "5.33.
|
|
668551
|
+
version: "5.33.6",
|
|
668546
668552
|
...event,
|
|
668547
668553
|
...event.properties,
|
|
668548
668554
|
usingAccessToken: false,
|
|
@@ -860339,7 +860345,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
860339
860345
|
var LOGS_FOLDER_NAME = "logs";
|
|
860340
860346
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
860341
860347
|
function getCliSource() {
|
|
860342
|
-
const version7 = "5.33.
|
|
860348
|
+
const version7 = "5.33.6";
|
|
860343
860349
|
return `cli@${version7}`;
|
|
860344
860350
|
}
|
|
860345
860351
|
var DebugLogger = class {
|
|
@@ -879185,7 +879191,7 @@ var LegacyDocsPublisher = class {
|
|
|
879185
879191
|
previewId,
|
|
879186
879192
|
disableTemplates: void 0,
|
|
879187
879193
|
skipUpload,
|
|
879188
|
-
cliVersion: "5.33.
|
|
879194
|
+
cliVersion: "5.33.6",
|
|
879189
879195
|
loginCommand: "fern auth login"
|
|
879190
879196
|
});
|
|
879191
879197
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -953885,7 +953891,7 @@ function getAutomationContextFromEnv() {
|
|
|
953885
953891
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
953886
953892
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
953887
953893
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
953888
|
-
cli_version: "5.33.
|
|
953894
|
+
cli_version: "5.33.6"
|
|
953889
953895
|
};
|
|
953890
953896
|
}
|
|
953891
953897
|
function isAutomationMode() {
|
|
@@ -954711,7 +954717,7 @@ var CliContext = class _CliContext {
|
|
|
954711
954717
|
if (false) {
|
|
954712
954718
|
this.logger.error("CLI_VERSION is not defined");
|
|
954713
954719
|
}
|
|
954714
|
-
return "5.33.
|
|
954720
|
+
return "5.33.6";
|
|
954715
954721
|
}
|
|
954716
954722
|
getCliName() {
|
|
954717
954723
|
if (false) {
|
package/package.json
CHANGED