@fern-api/fern-api-dev 3.54.0-4-ge4b04cb71ef → 3.54.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 +15 -4
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1632570,6 +1632570,17 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
1632570
1632570
  context: this.taskContext,
1632571
1632571
  sourceResolver: new SourceResolverImpl(this.taskContext, workspace)
1632572
1632572
  });
1632573
+ } else if (Object.keys(snippetsConfig).length > 0) {
1632574
+ try {
1632575
+ workspace = await this.getFernWorkspaceForApiSection(item).toFernWorkspace({ context: this.taskContext }, {
1632576
+ enableUniqueErrorsPerEndpoint: true,
1632577
+ detectGlobalHeaders: false,
1632578
+ objectQueryParameters: true,
1632579
+ preserveSchemaIds: true
1632580
+ });
1632581
+ } catch (error49) {
1632582
+ this.taskContext.logger.debug(`Could not load workspace for dynamic snippets: ${error49}. Dynamic snippets may not be available.`);
1632583
+ }
1632573
1632584
  }
1632574
1632585
  if (this.docsWorkspace.config.settings?.substituteEnvVars) {
1632575
1632586
  ir14 = replaceEnvVariables(ir14, {
@@ -1652572,7 +1652583,7 @@ var AccessTokenPosthogManager = class {
1652572
1652583
  properties: {
1652573
1652584
  ...event,
1652574
1652585
  ...event.properties,
1652575
- version: "3.54.0-4-ge4b04cb71ef",
1652586
+ version: "3.54.1",
1652576
1652587
  usingAccessToken: true
1652577
1652588
  }
1652578
1652589
  });
@@ -1652622,7 +1652633,7 @@ var UserPosthogManager = class {
1652622
1652633
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1652623
1652634
  event: "CLI",
1652624
1652635
  properties: {
1652625
- version: "3.54.0-4-ge4b04cb71ef",
1652636
+ version: "3.54.1",
1652626
1652637
  ...event,
1652627
1652638
  ...event.properties,
1652628
1652639
  usingAccessToken: false,
@@ -1685764,7 +1685775,7 @@ var CliContext = class {
1685764
1685775
  if (false) {
1685765
1685776
  this.logger.error("CLI_VERSION is not defined");
1685766
1685777
  }
1685767
- return "3.54.0-4-ge4b04cb71ef";
1685778
+ return "3.54.1";
1685768
1685779
  }
1685769
1685780
  getCliName() {
1685770
1685781
  if (false) {
@@ -1688877,7 +1688888,7 @@ var import_path54 = __toESM(require("path"), 1);
1688877
1688888
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1688878
1688889
  var LOGS_FOLDER_NAME = "logs";
1688879
1688890
  function getCliSource() {
1688880
- const version7 = "3.54.0-4-ge4b04cb71ef";
1688891
+ const version7 = "3.54.1";
1688881
1688892
  return `cli@${version7}`;
1688882
1688893
  }
1688883
1688894
  var DebugLogger = class {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.54.0-4-ge4b04cb71ef",
2
+ "version": "3.54.1",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",