@fern-api/fern-api-dev 4.78.0-11-g41f4e9e6031 → 4.78.0-15-ga4fb130a876
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 +20 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -468855,7 +468855,7 @@ function getClientOptions(options2, getDefaultIntegrationsImpl) {
|
|
|
468855
468855
|
const tracesSampleRate = getTracesSampleRate(options2.tracesSampleRate);
|
|
468856
468856
|
const mergedOptions = {
|
|
468857
468857
|
...options2,
|
|
468858
|
-
dsn: options2.dsn ?? "",
|
|
468858
|
+
dsn: options2.dsn ?? "https://84f58b5e457f06999d92f11ce4b79158@o4509504076185600.ingest.us.sentry.io/4511021546602496",
|
|
468859
468859
|
environment: options2.environment ?? "development",
|
|
468860
468860
|
sendClientReports: options2.sendClientReports ?? true,
|
|
468861
468861
|
transport: options2.transport ?? makeNodeTransport,
|
|
@@ -509660,6 +509660,7 @@ var DocsSettingsConfig2 = schemas_exports6.object({
|
|
|
509660
509660
|
hide404Page: schemas_exports6.property("hide-404-page", schemas_exports6.boolean().optional()),
|
|
509661
509661
|
useJavascriptAsTypescript: schemas_exports6.property("use-javascript-as-typescript", schemas_exports6.boolean().optional()),
|
|
509662
509662
|
disableExplorerProxy: schemas_exports6.property("disable-explorer-proxy", schemas_exports6.boolean().optional()),
|
|
509663
|
+
disableEnvironmentEditing: schemas_exports6.property("disable-environment-editing", schemas_exports6.boolean().optional()),
|
|
509663
509664
|
disableAnalytics: schemas_exports6.property("disable-analytics", schemas_exports6.boolean().optional()),
|
|
509664
509665
|
language: Language3.optional(),
|
|
509665
509666
|
folderTitleSource: schemas_exports6.property("folder-title-source", TitleSource3.optional()),
|
|
@@ -544507,6 +544508,7 @@ function convertSettingsConfig(settings) {
|
|
|
544507
544508
|
searchText: settings.searchText ?? void 0,
|
|
544508
544509
|
useJavascriptAsTypescript: settings.useJavascriptAsTypescript ?? false,
|
|
544509
544510
|
disableExplorerProxy: settings.disableExplorerProxy ?? false,
|
|
544511
|
+
disableEnvironmentEditing: settings.disableEnvironmentEditing ?? false,
|
|
544510
544512
|
disableAnalytics: settings.disableAnalytics ?? false
|
|
544511
544513
|
};
|
|
544512
544514
|
}
|
|
@@ -622189,7 +622191,7 @@ var AccessTokenPosthogManager = class {
|
|
|
622189
622191
|
properties: {
|
|
622190
622192
|
...event,
|
|
622191
622193
|
...event.properties,
|
|
622192
|
-
version: "4.78.0-
|
|
622194
|
+
version: "4.78.0-15-ga4fb130a876",
|
|
622193
622195
|
usingAccessToken: true
|
|
622194
622196
|
}
|
|
622195
622197
|
});
|
|
@@ -622243,7 +622245,7 @@ var UserPosthogManager = class {
|
|
|
622243
622245
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
622244
622246
|
event: "CLI",
|
|
622245
622247
|
properties: {
|
|
622246
|
-
version: "4.78.0-
|
|
622248
|
+
version: "4.78.0-15-ga4fb130a876",
|
|
622247
622249
|
...event,
|
|
622248
622250
|
...event.properties,
|
|
622249
622251
|
usingAccessToken: false,
|
|
@@ -625705,7 +625707,7 @@ var TelemetryClient = class _TelemetryClient {
|
|
|
625705
625707
|
usingAccessToken: process.env.FERN_TOKEN != null
|
|
625706
625708
|
};
|
|
625707
625709
|
this.posthog = apiKey != null && apiKey.length > 0 && isTelemetryEnabled ? new PostHog(apiKey) : void 0;
|
|
625708
|
-
const sentryDsn = "";
|
|
625710
|
+
const sentryDsn = "https://84f58b5e457f06999d92f11ce4b79158@o4509504076185600.ingest.us.sentry.io/4511021546602496";
|
|
625709
625711
|
if (sentryDsn != null && sentryDsn.length > 0 && isTelemetryEnabled) {
|
|
625710
625712
|
const sentryEnvironment = "development";
|
|
625711
625713
|
if (sentryEnvironment == null || sentryEnvironment.length === 0) {
|
|
@@ -839470,7 +839472,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
839470
839472
|
var LOGS_FOLDER_NAME = "logs";
|
|
839471
839473
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
839472
839474
|
function getCliSource() {
|
|
839473
|
-
const version7 = "4.78.0-
|
|
839475
|
+
const version7 = "4.78.0-15-ga4fb130a876";
|
|
839474
839476
|
return `cli@${version7}`;
|
|
839475
839477
|
}
|
|
839476
839478
|
var DebugLogger = class {
|
|
@@ -848164,6 +848166,16 @@ var definitions6 = {
|
|
|
848164
848166
|
}
|
|
848165
848167
|
]
|
|
848166
848168
|
},
|
|
848169
|
+
"disable-environment-editing": {
|
|
848170
|
+
oneOf: [
|
|
848171
|
+
{
|
|
848172
|
+
type: "boolean"
|
|
848173
|
+
},
|
|
848174
|
+
{
|
|
848175
|
+
type: "null"
|
|
848176
|
+
}
|
|
848177
|
+
]
|
|
848178
|
+
},
|
|
848167
848179
|
"disable-analytics": {
|
|
848168
848180
|
oneOf: [
|
|
848169
848181
|
{
|
|
@@ -850789,7 +850801,7 @@ var LegacyDocsPublisher = class {
|
|
|
850789
850801
|
previewId,
|
|
850790
850802
|
disableTemplates: void 0,
|
|
850791
850803
|
skipUpload,
|
|
850792
|
-
cliVersion: "4.78.0-
|
|
850804
|
+
cliVersion: "4.78.0-15-ga4fb130a876"
|
|
850793
850805
|
});
|
|
850794
850806
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
850795
850807
|
return { success: false };
|
|
@@ -925267,7 +925279,7 @@ var SentryClient = class {
|
|
|
925267
925279
|
sentry;
|
|
925268
925280
|
constructor({ release: release2 }) {
|
|
925269
925281
|
const isTelemetryEnabled = process.env.FERN_DISABLE_TELEMETRY !== "true";
|
|
925270
|
-
const sentryDsn = "";
|
|
925282
|
+
const sentryDsn = "https://84f58b5e457f06999d92f11ce4b79158@o4509504076185600.ingest.us.sentry.io/4511021546602496";
|
|
925271
925283
|
if (isTelemetryEnabled && sentryDsn != null && sentryDsn.length > 0) {
|
|
925272
925284
|
const sentryEnvironment = "development";
|
|
925273
925285
|
if (sentryEnvironment == null || sentryEnvironment.length === 0) {
|
|
@@ -925862,7 +925874,7 @@ var CliContext = class _CliContext {
|
|
|
925862
925874
|
if (false) {
|
|
925863
925875
|
this.logger.error("CLI_VERSION is not defined");
|
|
925864
925876
|
}
|
|
925865
|
-
return "4.78.0-
|
|
925877
|
+
return "4.78.0-15-ga4fb130a876";
|
|
925866
925878
|
}
|
|
925867
925879
|
getCliName() {
|
|
925868
925880
|
if (false) {
|
package/package.json
CHANGED