@fern-api/fern-api-dev 4.71.1-2-g6dfd6a7a9b0 → 4.71.1-3-gbff9e503a56
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 +19 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -621062,7 +621062,7 @@ var AccessTokenPosthogManager = class {
|
|
|
621062
621062
|
properties: {
|
|
621063
621063
|
...event,
|
|
621064
621064
|
...event.properties,
|
|
621065
|
-
version: "4.71.1-
|
|
621065
|
+
version: "4.71.1-3-gbff9e503a56",
|
|
621066
621066
|
usingAccessToken: true
|
|
621067
621067
|
}
|
|
621068
621068
|
});
|
|
@@ -621116,7 +621116,7 @@ var UserPosthogManager = class {
|
|
|
621116
621116
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
621117
621117
|
event: "CLI",
|
|
621118
621118
|
properties: {
|
|
621119
|
-
version: "4.71.1-
|
|
621119
|
+
version: "4.71.1-3-gbff9e503a56",
|
|
621120
621120
|
...event,
|
|
621121
621121
|
...event.properties,
|
|
621122
621122
|
usingAccessToken: false,
|
|
@@ -838215,7 +838215,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
838215
838215
|
var LOGS_FOLDER_NAME = "logs";
|
|
838216
838216
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
838217
838217
|
function getCliSource() {
|
|
838218
|
-
const version7 = "4.71.1-
|
|
838218
|
+
const version7 = "4.71.1-3-gbff9e503a56";
|
|
838219
838219
|
return `cli@${version7}`;
|
|
838220
838220
|
}
|
|
838221
838221
|
var DebugLogger = class {
|
|
@@ -849462,7 +849462,7 @@ var LegacyDocsPublisher = class {
|
|
|
849462
849462
|
previewId,
|
|
849463
849463
|
disableTemplates: void 0,
|
|
849464
849464
|
skipUpload,
|
|
849465
|
-
cliVersion: "4.71.1-
|
|
849465
|
+
cliVersion: "4.71.1-3-gbff9e503a56"
|
|
849466
849466
|
});
|
|
849467
849467
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
849468
849468
|
return { success: false };
|
|
@@ -853595,6 +853595,18 @@ var NopFormatter = class extends AbstractFormatter {
|
|
|
853595
853595
|
}
|
|
853596
853596
|
};
|
|
853597
853597
|
|
|
853598
|
+
// ../../../generators/browser-compatible-base/lib/utils/getSdkVersion.js
|
|
853599
|
+
function getSdkVersion(config5) {
|
|
853600
|
+
return config5.output.mode._visit({
|
|
853601
|
+
publish: (gpc) => gpc.version,
|
|
853602
|
+
downloadFiles: () => void 0,
|
|
853603
|
+
github: (gom) => gom.version,
|
|
853604
|
+
_other: () => {
|
|
853605
|
+
throw new Error("Unrecognized output mode.");
|
|
853606
|
+
}
|
|
853607
|
+
});
|
|
853608
|
+
}
|
|
853609
|
+
|
|
853598
853610
|
// ../../../generators/browser-compatible-base/lib/ast/CodeBlock.js
|
|
853599
853611
|
var CodeBlock2 = class extends AbstractAstNode {
|
|
853600
853612
|
value;
|
|
@@ -874591,6 +874603,7 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
|
|
|
874591
874603
|
if (publishInfo.type !== "go") {
|
|
874592
874604
|
return config5;
|
|
874593
874605
|
}
|
|
874606
|
+
const originalVersion = getSdkVersion(config5);
|
|
874594
874607
|
return {
|
|
874595
874608
|
...config5,
|
|
874596
874609
|
customConfig: generatorConfig.customConfig ?? config5.customConfig,
|
|
@@ -874598,7 +874611,7 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
|
|
|
874598
874611
|
...config5.output,
|
|
874599
874612
|
mode: {
|
|
874600
874613
|
type: "github",
|
|
874601
|
-
version: publishInfo.version,
|
|
874614
|
+
version: originalVersion ?? publishInfo.version,
|
|
874602
874615
|
repoUrl: publishInfo.repoUrl
|
|
874603
874616
|
}
|
|
874604
874617
|
}
|
|
@@ -923798,7 +923811,7 @@ var CliContext = class _CliContext {
|
|
|
923798
923811
|
if (false) {
|
|
923799
923812
|
this.logger.error("CLI_VERSION is not defined");
|
|
923800
923813
|
}
|
|
923801
|
-
return "4.71.1-
|
|
923814
|
+
return "4.71.1-3-gbff9e503a56";
|
|
923802
923815
|
}
|
|
923803
923816
|
getCliName() {
|
|
923804
923817
|
if (false) {
|
package/package.json
CHANGED