npm package diff
Package: @forge/cli
Versions: 10.9.0 - 10.10.0-next.8
File: package/out/command-line/controller/install-controller.js
Index: package/out/command-line/controller/install-controller.js
===================================================================
--- package/out/command-line/controller/install-controller.js
+++ package/out/command-line/controller/install-controller.js
@@ -15,17 +15,17 @@
ui;
installAppSiteCommand;
installationService;
installView;
- featureFlags;
- constructor(appConfigProvider, configFile, ui, installAppSiteCommand, installationService, installView, featureFlags) {
+ statsigService;
+ constructor(appConfigProvider, configFile, ui, installAppSiteCommand, installationService, installView, statsigService) {
this.appConfigProvider = appConfigProvider;
this.configFile = configFile;
this.ui = ui;
this.installAppSiteCommand = installAppSiteCommand;
this.installationService = installationService;
this.installView = installView;
- this.featureFlags = featureFlags;
+ this.statsigService = statsigService;
}
async securityPrompt(site) {
this.ui.info(cli_shared_1.Text.install.security.banner(site.host));
let isTrustedApp = true;
@@ -69,9 +69,9 @@
});
}
async promptForProduct() {
this.ui.info(cli_shared_1.Text.installationContext.overviewProduct);
- const enableAtlas = await this.featureFlags.isAtlasProductSupported();
+ const enableAtlas = await this.statsigService.isAtlasProductSupported();
return await this.ui.promptForList(cli_shared_1.Text.installationContext.promptProduct, (0, cli_shared_1.getSupportedProducts)({ enableAtlas }));
}
async promptForSite(product) {
const isWorkspaceBased = product && (0, cli_shared_1.isWorkspaceProduct)(product);