@fern-api/fern-api-dev 3.47.8 → 3.47.9-1-g4c0fe9fdca
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 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1429260,7 +1429260,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1429260
1429260
|
properties: {
|
|
1429261
1429261
|
...event,
|
|
1429262
1429262
|
...event.properties,
|
|
1429263
|
-
version: "3.47.
|
|
1429263
|
+
version: "3.47.9-1-g4c0fe9fdca",
|
|
1429264
1429264
|
usingAccessToken: true
|
|
1429265
1429265
|
}
|
|
1429266
1429266
|
});
|
|
@@ -1429359,7 +1429359,7 @@ var UserPosthogManager = class {
|
|
|
1429359
1429359
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1429360
1429360
|
event: "CLI",
|
|
1429361
1429361
|
properties: {
|
|
1429362
|
-
version: "3.47.
|
|
1429362
|
+
version: "3.47.9-1-g4c0fe9fdca",
|
|
1429363
1429363
|
...event,
|
|
1429364
1429364
|
...event.properties,
|
|
1429365
1429365
|
usingAccessToken: false,
|
|
@@ -1508785,7 +1508785,7 @@ var CliContext = class {
|
|
|
1508785
1508785
|
if (false) {
|
|
1508786
1508786
|
this.logger.error("CLI_VERSION is not defined");
|
|
1508787
1508787
|
}
|
|
1508788
|
-
return "3.47.
|
|
1508788
|
+
return "3.47.9-1-g4c0fe9fdca";
|
|
1508789
1508789
|
}
|
|
1508790
1508790
|
getCliName() {
|
|
1508791
1508791
|
if (false) {
|
|
@@ -1609941,7 +1609941,7 @@ var import_path40 = __toESM(require("path"), 1);
|
|
|
1609941
1609941
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1609942
1609942
|
var LOGS_FOLDER_NAME = "logs";
|
|
1609943
1609943
|
function getCliSource() {
|
|
1609944
|
-
const version7 = "3.47.
|
|
1609944
|
+
const version7 = "3.47.9-1-g4c0fe9fdca";
|
|
1609945
1609945
|
return `cli@${version7}`;
|
|
1609946
1609946
|
}
|
|
1609947
1609947
|
var DebugLogger = class {
|
|
@@ -1645496,6 +1645496,9 @@ async function checkAndDownloadExistingSdkDynamicIRs({ fdr, workspace, organizat
|
|
|
1645496
1645496
|
return void 0;
|
|
1645497
1645497
|
}
|
|
1645498
1645498
|
}
|
|
1645499
|
+
function normalizeGoPackageForLookup(repository) {
|
|
1645500
|
+
return repository.replace(/^https:\/\//, "");
|
|
1645501
|
+
}
|
|
1645499
1645502
|
async function buildSnippetConfigurationWithVersions({ fdr, workspace, snippetsConfig, context: context2 }) {
|
|
1645500
1645503
|
const result = {};
|
|
1645501
1645504
|
const snippetConfigs = [
|
|
@@ -1645516,7 +1645519,8 @@ async function buildSnippetConfigurationWithVersions({ fdr, workspace, snippetsC
|
|
|
1645516
1645519
|
},
|
|
1645517
1645520
|
{
|
|
1645518
1645521
|
language: "go",
|
|
1645519
|
-
|
|
1645522
|
+
// Normalize to match S3 upload key format (github.com/owner/repo vs https://github.com/owner/repo)
|
|
1645523
|
+
snippetName: snippetsConfig.goSdk?.githubRepo && normalizeGoPackageForLookup(snippetsConfig.goSdk?.githubRepo),
|
|
1645520
1645524
|
explicitVersion: snippetsConfig.goSdk?.version
|
|
1645521
1645525
|
},
|
|
1645522
1645526
|
{
|
|
@@ -1645650,7 +1645654,8 @@ async function generateLanguageSpecificDynamicIRs({ workspace, organization, con
|
|
|
1645650
1645654
|
typescript: snippetsConfig.typescriptSdk?.package,
|
|
1645651
1645655
|
python: snippetsConfig.pythonSdk?.package,
|
|
1645652
1645656
|
java: snippetsConfig.javaSdk?.coordinate,
|
|
1645653
|
-
|
|
1645657
|
+
// normalize Go package name to match generator package format for comparison logic
|
|
1645658
|
+
go: snippetsConfig.goSdk?.githubRepo && normalizeGoPackageForLookup(snippetsConfig.goSdk?.githubRepo),
|
|
1645654
1645659
|
csharp: snippetsConfig.csharpSdk?.package,
|
|
1645655
1645660
|
ruby: snippetsConfig.rubySdk?.gem,
|
|
1645656
1645661
|
php: snippetsConfig.phpSdk?.package,
|
package/package.json
CHANGED