@fern-api/fern-api-dev 4.64.0-1-g47b314b2623 → 4.64.0-2-gadfe04172bc

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 +9 -5
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -603773,7 +603773,7 @@ var AccessTokenPosthogManager = class {
603773
603773
  properties: {
603774
603774
  ...event,
603775
603775
  ...event.properties,
603776
- version: "4.64.0-1-g47b314b2623",
603776
+ version: "4.64.0-2-gadfe04172bc",
603777
603777
  usingAccessToken: true
603778
603778
  }
603779
603779
  });
@@ -603824,7 +603824,7 @@ var UserPosthogManager = class {
603824
603824
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
603825
603825
  event: "CLI",
603826
603826
  properties: {
603827
- version: "4.64.0-1-g47b314b2623",
603827
+ version: "4.64.0-2-gadfe04172bc",
603828
603828
  ...event,
603829
603829
  ...event.properties,
603830
603830
  usingAccessToken: false,
@@ -840791,7 +840791,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
840791
840791
  var LOGS_FOLDER_NAME = "logs";
840792
840792
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
840793
840793
  function getCliSource() {
840794
- const version7 = "4.64.0-1-g47b314b2623";
840794
+ const version7 = "4.64.0-2-gadfe04172bc";
840795
840795
  return `cli@${version7}`;
840796
840796
  }
840797
840797
  var DebugLogger = class {
@@ -851989,7 +851989,7 @@ var LegacyDocsPublisher = class {
851989
851989
  previewId,
851990
851990
  disableTemplates: void 0,
851991
851991
  skipUpload,
851992
- cliVersion: "4.64.0-1-g47b314b2623"
851992
+ cliVersion: "4.64.0-2-gadfe04172bc"
851993
851993
  });
851994
851994
  if (taskContext.getResult() === TaskResult.Failure) {
851995
851995
  return { success: false };
@@ -886519,6 +886519,10 @@ var DynamicSnippetsGeneratorContext5 = class _DynamicSnippetsGeneratorContext ex
886519
886519
  if (this.customConfig.use_api_name_in_package) {
886520
886520
  return [cleanOrganizationName, this.getApiName()];
886521
886521
  }
886522
+ if (this.customConfig.package_path != null) {
886523
+ const pathSegments = this.customConfig.package_path.replace(/\//g, ".").split(".");
886524
+ return [cleanOrganizationName, ...pathSegments];
886525
+ }
886522
886526
  return [cleanOrganizationName];
886523
886527
  }
886524
886528
  getCoreModulePath() {
@@ -925402,7 +925406,7 @@ var CliContext = class {
925402
925406
  if (false) {
925403
925407
  this.logger.error("CLI_VERSION is not defined");
925404
925408
  }
925405
- return "4.64.0-1-g47b314b2623";
925409
+ return "4.64.0-2-gadfe04172bc";
925406
925410
  }
925407
925411
  getCliName() {
925408
925412
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.64.0-1-g47b314b2623",
2
+ "version": "4.64.0-2-gadfe04172bc",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",