npm package diff
Package: @forge/cli-shared
Versions: 6.0.2-next.2 - 6.1.0-next.3
File: package/out/service/statsig-service.d.ts
Index: package/out/service/statsig-service.d.ts
===================================================================
--- package/out/service/statsig-service.d.ts
+++ package/out/service/statsig-service.d.ts
@@ -1,6 +1,6 @@
import { CLIDetails, ConfigSectionReader, CredentialGetter, getEnvironmentConfig, Logger } from '../index';
-export declare type FeatureGate = 'forge-cli-test-gate';
+export declare type FeatureGate = 'forge-cli-test-gate' | 'is-logs-v-2-api-enabled';
export declare type DynamicConfig = {
'forge-cli-test-dynamic-configs': {
value: string[];
};
@@ -10,8 +10,9 @@
abstract checkGate<F extends FeatureGate>(flag: F, customAttributes?: Record<string, string>): Promise<boolean | null>;
abstract getDynamicConfig<F extends DynamicConfigKey>(flag: F, metadata?: Record<string, string>): Promise<DynamicConfig[F] | null>;
testForgeCliTestGate(): Promise<boolean>;
getForgeCliTestDynamicConfig(): Promise<any>;
+ isLogsV2ApiEnabled(): Promise<boolean>;
}
export declare function cacheStatsigResult<C, T>(getter: (this: C, ...args: any[]) => Promise<T>): (this: C, ...args: any[]) => Promise<T>;
export declare class StatsigService extends StatsigReader {
private readonly logger;