npm package diff
Package: @forge/cli
Versions: 10.9.0 - 10.10.0-next.8
File: package/out/command-line/dependency-injection.js
Index: package/out/command-line/dependency-injection.js
===================================================================
--- package/out/command-line/dependency-injection.js
+++ package/out/command-line/dependency-injection.js
@@ -88,8 +88,9 @@
const appConfigWriter = (0, cli_shared_1.configFileWriterForSection)(cli_shared_1.appConfigKey, cli_shared_1.appConfigShape, configFile);
const userRepository = new cli_shared_1.UserRepositoryImpl(createGraphQLClient, ui);
const credentialStore = (0, cli_shared_1.getCredentialStore)(ui, userRepository);
const featureFlagService = new cli_shared_1.FeatureFlagService(ui, cliDetails, credentialStore, appConfigReader);
+ const statsigService = new cli_shared_1.StatsigService(ui, cliDetails, credentialStore, appConfigReader);
const settingsView = new settings_view_1.SettingsView(ui);
const settingsController = new settings_controller_1.SettingsController(settingsView, cachedConfigService, assertiveAppConfigReader);
const liteLintView = new lite_lint_view_1.LiteLintView(ui);
const liteLintService = new lite_lint_service_1.LiteLintService();
@@ -128,9 +129,9 @@
const appEnvironmentClient = new cli_shared_1.AppEnvironmentsGraphqlClient(graphQLClient);
const globalEdgeFetchClient = { fetch: node_fetch_1.default };
const globalEdgeClient = new cli_shared_1.GlobalEdgeHttpClient(globalEdgeFetchClient);
const logsClient = new cli_shared_1.LogsGraphQLClient(graphQLClient);
- const viewAppLogsCommand = new cli_shared_1.ViewAppLogsCommand(assertiveAppConfigReader, appEnvironmentClient, globalEdgeClient, logsClient, featureFlagService);
+ const viewAppLogsCommand = new cli_shared_1.ViewAppLogsCommand(assertiveAppConfigReader, appEnvironmentClient, globalEdgeClient, logsClient, statsigService);
const appOauthClientGraphql = new cli_shared_1.AppOauthClientGraphqlClient(graphQLClient);
const entitiesClient = new graphql_client_4.EntitiesGraphqlClient(graphQLClient);
const customEntitiesService = new custom_entities_service_1.CustomEntitiesService(assertiveAppConfigReader, appOauthClientGraphql, entitiesClient);
const listEntitiesIndexesCommand = new list_indexes_1.ListEntitiesIndexesCommand(customEntitiesService);
@@ -156,9 +157,9 @@
const getWebTriggerURLCommand = new get_webtrigger_url_1.GetWebTriggerURLCommand(assertiveAppConfigReader, installationsClient, appEnvironmentClient, webTriggerGraphqlClient);
const autocompleteController = new autocomplete_controller_1.AutocompleteController(ui);
const installationsService = new installation_service_1.InstallationService(assertiveAppConfigReader, installationsClient, installationsClient);
const installView = new install_view_1.InstallView(ui);
- const installController = new install_controller_1.InstallController(assertiveAppConfigReader, configFile, ui, installAppSiteCommand, installationsService, installView, featureFlagService);
+ const installController = new install_controller_1.InstallController(assertiveAppConfigReader, configFile, ui, installAppSiteCommand, installationsService, installView, statsigService);
const feedbackController = new feedback_controller_1.FeedbackController(credentialStore, feedbackPostClient);
const lintService = new lint_service_1.LintService(configFile, fileReader);
const lintView = new lint_view_1.LintView(ui);
const lintController = new lint_controller_1.LintController(lintService, lintView);