npm package diff

Package: @forge/cli-shared

Versions: 6.0.2-next.2 - 6.1.0-next.3

File: package/out/app-logs/view-logs.js

Index: package/out/app-logs/view-logs.js
===================================================================
--- package/out/app-logs/view-logs.js
+++ package/out/app-logs/view-logs.js
@@ -7,15 +7,15 @@
     getAppConfig;
     appEnvironmentClient;
     globalEdgeClient;
     logsClient;
-    featureFlagService;
-    constructor(getAppConfig, appEnvironmentClient, globalEdgeClient, logsClient, featureFlagService) {
+    statsigService;
+    constructor(getAppConfig, appEnvironmentClient, globalEdgeClient, logsClient, statsigService) {
         this.getAppConfig = getAppConfig;
         this.appEnvironmentClient = appEnvironmentClient;
         this.globalEdgeClient = globalEdgeClient;
         this.logsClient = logsClient;
-        this.featureFlagService = featureFlagService;
+        this.statsigService = statsigService;
     }
     async getAll({ environmentKey, limit, context, startTime = null }) {
         const { id: appId } = await this.getAppConfig();
         const [environmentId, cloudId] = await Promise.all([
@@ -29,9 +29,9 @@
             limit,
             startTime,
             contextAri: contextAri ? [contextAri] : undefined
         };
-        const isV2ApiEnabled = await this.featureFlagService.isLogsV2ApiEnabled();
+        const isV2ApiEnabled = await this.statsigService.isLogsV2ApiEnabled();
         if (isV2ApiEnabled) {
             return this.getLogs(details);
         }
         return this.logsClient.viewAppLogs(details);