@fern-api/fern-api-dev 5.13.0 → 5.13.1

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.
Files changed (2) hide show
  1. package/cli.cjs +10 -10
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -623368,7 +623368,7 @@ var AccessTokenPosthogManager = class {
623368
623368
  properties: {
623369
623369
  ...event,
623370
623370
  ...event.properties,
623371
- version: "5.13.0",
623371
+ version: "5.13.1",
623372
623372
  usingAccessToken: true
623373
623373
  }
623374
623374
  });
@@ -623422,7 +623422,7 @@ var UserPosthogManager = class {
623422
623422
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
623423
623423
  event: "CLI",
623424
623424
  properties: {
623425
- version: "5.13.0",
623425
+ version: "5.13.1",
623426
623426
  ...event,
623427
623427
  ...event.properties,
623428
623428
  usingAccessToken: false,
@@ -848373,7 +848373,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
848373
848373
  var LOGS_FOLDER_NAME = "logs";
848374
848374
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
848375
848375
  function getCliSource() {
848376
- const version7 = "5.13.0";
848376
+ const version7 = "5.13.1";
848377
848377
  return `cli@${version7}`;
848378
848378
  }
848379
848379
  var DebugLogger = class {
@@ -859564,11 +859564,11 @@ async function uploadDynamicIRForSdkGeneration({ fdr, organization, version: ver
859564
859564
  try {
859565
859565
  uploadUrlsResponse = await fdr.api.register.getSdkDynamicIrUploadUrls({
859566
859566
  orgId: FdrAPI_exports.OrgId(organization),
859567
- apiId: "",
859568
- irVersions: []
859567
+ apiId: getOriginalName(ir11.apiName),
859568
+ irVersions: [language]
859569
859569
  });
859570
859570
  } catch (error50) {
859571
- context3.logger.warn(`Failed to get dynamic IR upload URLs: ${error50}`);
859571
+ context3.logger.warn(`Failed to get dynamic IR upload URLs (non-fatal, dynamic snippets may be stale): ${error50}`);
859572
859572
  return;
859573
859573
  }
859574
859574
  const uploadUrl = uploadUrlsResponse.uploadUrls[language]?.uploadUrl;
@@ -860541,8 +860541,8 @@ async function checkAndDownloadExistingSdkDynamicIRs({ fdr, workspace, organizat
860541
860541
  try {
860542
860542
  const response = await fdr.api.register.checkSdkDynamicIrExists({
860543
860543
  orgId: FdrAPI_exports.OrgId(organization),
860544
- apiId: "",
860545
- irVersions: []
860544
+ apiId: workspace.definition.rootApiFile.contents.name,
860545
+ irVersions: Object.keys(snippetConfigWithVersions)
860546
860546
  });
860547
860547
  const existingDynamicIrs = response.existingDynamicIrs ?? {};
860548
860548
  if (Object.keys(existingDynamicIrs).length === 0) {
@@ -861037,7 +861037,7 @@ var LegacyDocsPublisher = class {
861037
861037
  previewId,
861038
861038
  disableTemplates: void 0,
861039
861039
  skipUpload,
861040
- cliVersion: "5.13.0",
861040
+ cliVersion: "5.13.1",
861041
861041
  loginCommand: "fern auth login"
861042
861042
  });
861043
861043
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -935638,7 +935638,7 @@ var CliContext = class _CliContext {
935638
935638
  if (false) {
935639
935639
  this.logger.error("CLI_VERSION is not defined");
935640
935640
  }
935641
- return "5.13.0";
935641
+ return "5.13.1";
935642
935642
  }
935643
935643
  getCliName() {
935644
935644
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.13.0",
2
+ "version": "5.13.1",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",