@fern-api/fern-api-dev 5.113.0 → 5.113.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 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -147847,7 +147847,7 @@ function sanitizeEndpointId(operationId) {
147847
147847
  }
147848
147848
  function getUnresolvedEndpointLocation(endpoint3) {
147849
147849
  const namespace = endpoint3.namespace;
147850
- const tag2 = endpoint3.tags.filter((tag3) => tag3 !== namespace)[0];
147850
+ const tag2 = endpoint3.tags.filter((tag3) => !isNamespaceTag(tag3, namespace))[0];
147851
147851
  const operationId = endpoint3.operationId;
147852
147852
  if (operationId == null) {
147853
147853
  if (tag2 != null) {
@@ -147916,6 +147916,9 @@ function getUnresolvedEndpointLocation(endpoint3) {
147916
147916
  tag: tag2
147917
147917
  };
147918
147918
  }
147919
+ function isNamespaceTag(tag2, namespace) {
147920
+ return namespace != null && tag2.toLowerCase() === namespace.toLowerCase();
147921
+ }
147919
147922
  function getEndpointLocation(endpoint3) {
147920
147923
  const tag2 = endpoint3.tags[0];
147921
147924
  if (endpoint3.sdkName != null) {
@@ -705530,7 +705533,7 @@ var AccessTokenPosthogManager = class {
705530
705533
  properties: {
705531
705534
  ...event,
705532
705535
  ...event.properties,
705533
- version: "5.113.0",
705536
+ version: "5.113.1",
705534
705537
  usingAccessToken: true,
705535
705538
  ...getRunIdProperties()
705536
705539
  }
@@ -705596,7 +705599,7 @@ var UserPosthogManager = class {
705596
705599
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
705597
705600
  event: "CLI",
705598
705601
  properties: {
705599
- version: "5.113.0",
705602
+ version: "5.113.1",
705600
705603
  ...event,
705601
705604
  ...event.properties,
705602
705605
  usingAccessToken: false,
@@ -887272,7 +887275,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
887272
887275
  var LOGS_FOLDER_NAME = "logs";
887273
887276
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
887274
887277
  function getCliSource() {
887275
- const version7 = "5.113.0";
887278
+ const version7 = "5.113.1";
887276
887279
  return `cli@${version7}`;
887277
887280
  }
887278
887281
  var DebugLogger = class {
@@ -914585,7 +914588,7 @@ var LegacyDocsPublisher = class {
914585
914588
  previewId,
914586
914589
  disableTemplates: void 0,
914587
914590
  skipUpload,
914588
- cliVersion: "5.113.0",
914591
+ cliVersion: "5.113.1",
914589
914592
  loginCommand: "fern auth login"
914590
914593
  });
914591
914594
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -981841,7 +981844,7 @@ function getAutomationContextFromEnv() {
981841
981844
  config_branch: process.env.FERN_CONFIG_BRANCH,
981842
981845
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
981843
981846
  trigger: process.env.GITHUB_EVENT_NAME,
981844
- cli_version: "5.113.0"
981847
+ cli_version: "5.113.1"
981845
981848
  };
981846
981849
  }
981847
981850
  function isAutomationMode() {
@@ -982673,7 +982676,7 @@ var CliContext = class _CliContext {
982673
982676
  if (false) {
982674
982677
  this.logger.error("CLI_VERSION is not defined");
982675
982678
  }
982676
- return "5.113.0";
982679
+ return "5.113.1";
982677
982680
  }
982678
982681
  getCliName() {
982679
982682
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.113.0",
2
+ "version": "5.113.1",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",