npm package diff
Package: @forge/cli-shared
Versions: 6.1.0-next.7 - 6.1.0-next.8
Modified:package/out/graphql/graphql-types.js
too-big
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
@@ -11,8 +11,11 @@
}
async isLogsV2ApiEnabled() {
return (await this.checkGate('is-logs-v-2-api-enabled')) ?? true;
}
+ async isAtlasProductSupported() {
+ return (await this.checkGate('forge-cli-enable-atlas-product-support')) ?? true;
+ }
}
exports.StatsigReader = StatsigReader;
var STATSIG_API_KEYS;
(function (STATSIG_API_KEYS) {
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/cli-shared",
- "version": "6.1.0-next.7",
+ "version": "6.1.0-next.8",
"description": "Common functionality for Forge CLI",
"author": "Atlassian",
"license": "UNLICENSED",
"main": "out/index.js",
@@ -11,9 +11,9 @@
"compile": "tsc -b -v",
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
},
"dependencies": {
- "@forge/manifest": "7.10.0-next.6",
+ "@forge/manifest": "7.10.0-next.7",
"@forge/util": "1.4.4",
"@forge/i18n": "0.0.1",
"@sentry/node": "7.100.1",
"adm-zip": "^0.5.10",
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,GAAG,yBAAyB,CAAC;AAE5E,oBAAY,aAAa,GAAG;IAC1B,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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
+{"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,GAAG,yBAAyB,GAAG,wCAAwC,CAAC;AAEvH,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,MA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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/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' | 'is-logs-v-2-api-enabled';
+export declare type FeatureGate = 'forge-cli-test-gate' | 'is-logs-v-2-api-enabled' | 'forge-cli-enable-atlas-product-support';
export declare type DynamicConfig = {
'forge-cli-test-dynamic-configs': {
value: string[];
};
@@ -11,8 +11,9 @@
abstract getDynamicConfig<F extends DynamicConfigKey>(flag: F, metadata?: Record<string, string>): Promise<DynamicConfig[F] | null>;
testForgeCliTestGate(): Promise<boolean>;
getForgeCliTestDynamicConfig(): Promise<any>;
isLogsV2ApiEnabled(): Promise<boolean>;
+ isAtlasProductSupported(): 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;