npm package diff
Package: @forge/cli-shared
Versions: 6.0.2-next.2 - 6.1.0-next.3
Modified:package/out/service/statsig-service.js
Index: package/out/service/statsig-service.js
===================================================================
--- package/out/service/statsig-service.js
+++ package/out/service/statsig-service.js
@@ -8,8 +8,11 @@
}
async getForgeCliTestDynamicConfig() {
return (await this.getDynamicConfig('forge-cli-test-dynamic-configs')) ?? { value: [] };
}
+ async isLogsV2ApiEnabled() {
+ return (await this.checkGate('is-logs-v-2-api-enabled')) ?? true;
+ }
}
exports.StatsigReader = StatsigReader;
var STATSIG_API_KEYS;
(function (STATSIG_API_KEYS) {
Modified: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);
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/cli-shared",
- "version": "6.0.2-next.2",
+ "version": "6.1.0-next.3",
"description": "Common functionality for Forge CLI",
"author": "Atlassian",
"license": "UNLICENSED",
"main": "out/index.js",
Modified:package/out/graphql/graphql-types.d.ts.map
too-big
Modified:package/out/service/statsig-service.d.ts.map
Index: package/out/service/statsig-service.d.ts.map
===================================================================
--- package/out/service/statsig-service.d.ts.map
+++ package/out/service/statsig-service.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"statsig-service.d.ts","sourceRoot":"","sources":["../../src/service/statsig-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EAEpB,MAAM,EACP,MAAM,UAAU,CAAC;AAElB,oBAAY,WAAW,GAAG,qBAAqB,CAAC;AAEhD,oBAAY,aAAa,GAAG;IAC1B,gCAAgC,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,oBAAY,gBAAgB,GAAG,MAAM,aAAa,CAAC;AAEnD,8BAAsB,aAAa;IACjC,QAAQ,CAAC,SAAS,CAAC,CAAC,SAAS,WAAW,EACtC,IAAI,EAAE,CAAC,EACP,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACxC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAE1B,QAAQ,CAAC,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAClD,IAAI,EAAE,CAAC,EACP,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAE7B,oBAAoB,IAAI,OAAO,CAAC,OAAO,CAAC;IAIxC,4BAA4B,IAAI,OAAO,CAAC,GAAG,CAAC;CAGnD;AAkBD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EACrC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,GAC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,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAJhB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,SAAS,EACnD,eAAe,EAAE,gBAAgB,EACjC,eAAe,EAAE,mBAAmB,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,EACpD,gBAAgB,GAAE,OAAO,oBAA2C;IAKvF,OAAO,CAAC,KAAK,CAOV;IAEH,OAAO,CAAC,OAAO,CAkBb;IAEF,OAAO,CAAC,UAAU,CA6BhB;IAEF,OAAO,CAAC,mBAAmB,CA6BzB;IAEF,OAAO,CAAC,WAAW,CAGhB;IAEH,OAAO,CAAC,mBAAmB,CAGxB;IAEG,SAAS,CAAC,CAAC,SAAS,WAAW,EACnC,IAAI,EAAE,CAAC,EACP,gBAAgB,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAC5C,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAcpB,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAC/C,aAAa,EAAE,CAAC,EAChB,QAAQ,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACpC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAapC"}
\ No newline at end of file
Modified:package/out/app-logs/view-logs.d.ts.map
Index: package/out/app-logs/view-logs.d.ts.map
===================================================================
--- package/out/app-logs/view-logs.d.ts.map
+++ package/out/app-logs/view-logs.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"view-logs.d.ts","sourceRoot":"","sources":["../../src/app-logs/view-logs.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAmB,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,oBAA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OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IA2BvD,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;CAI1E"}
\ No newline at end of file
Modified:package/CHANGELOG.md
too-big
Modified:package/out/graphql/graphql-types.d.ts
too-big
Modified: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;
Modified:package/out/app-logs/view-logs.d.ts
Index: package/out/app-logs/view-logs.d.ts
===================================================================
--- package/out/app-logs/view-logs.d.ts
+++ package/out/app-logs/view-logs.d.ts
@@ -3,9 +3,9 @@
import { URL } from 'url';
import { AppConfigProvider } from '../apps';
import { AppEnvironmentClient, DateSearchInput } from '../graphql';
import { GlobalEdgeClient } from '../http-client';
-import { FeatureFlagService } from '../service';
+import { StatsigService } from '../service';
export interface Context {
site: URL;
product: string;
}
@@ -61,10 +61,10 @@
private readonly getAppConfig;
private readonly appEnvironmentClient;
private readonly globalEdgeClient;
private readonly logsClient;
- private readonly featureFlagService;
- constructor(getAppConfig: AppConfigProvider, appEnvironmentClient: AppEnvironmentClient, globalEdgeClient: GlobalEdgeClient, logsClient: ViewAppLogsClient, featureFlagService: FeatureFlagService);
+ private readonly statsigService;
+ constructor(getAppConfig: AppConfigProvider, appEnvironmentClient: AppEnvironmentClient, globalEdgeClient: GlobalEdgeClient, logsClient: ViewAppLogsClient, statsigService: StatsigService);
getAll({ environmentKey, limit, context, startTime }: QueryDetails): Promise<Invocation[]>;
getLogs(details: AppLogsDetails): Promise<Invocation[]>;
getOne(details: InvocationQueryDetails): Promise<Invocation>;
}