npm package diff

Package: @forge/cli-shared

Versions: 5.3.1-next.0-experimental-10722bc - 5.5.0-next.13

File: package/out/graphql/gateway.js

Index: package/out/graphql/gateway.js
===================================================================
--- package/out/graphql/gateway.js
+++ package/out/graphql/gateway.js
@@ -1,7 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.isFedrampEnv = exports.getEnvironment = exports.CDNEnvironments = exports.getGraphqlGateway = exports.DEFAULT_GRAPHQL_GATEWAY = void 0;
+exports.isFedrampEnv = exports.getEnvironmentConfig = exports.CDNEnvironments = exports.Environments = exports.getGraphqlGateway = exports.DEFAULT_GRAPHQL_GATEWAY = void 0;
 exports.DEFAULT_GRAPHQL_GATEWAY = 'https://api.atlassian.com/graphql';
 const getGraphqlGateway = () => {
     return process.env.FORGE_GRAPHQL_GATEWAY || exports.DEFAULT_GRAPHQL_GATEWAY;
 };
@@ -12,18 +12,18 @@
     Environments["STG"] = "staging";
     Environments["PROD"] = "prod";
     Environments["FEDRAMP_MODERATE_STAGING"] = "fedm_staging";
     Environments["FEDRAMP_MODERATE_PROD"] = "fedm_prod";
-})(Environments || (Environments = {}));
+})(Environments = exports.Environments || (exports.Environments = {}));
 var CDNEnvironments;
 (function (CDNEnvironments) {
     CDNEnvironments["DEV"] = "dev";
     CDNEnvironments["STG"] = "stg";
     CDNEnvironments["PROD"] = "prod";
     CDNEnvironments["FEDRAMP_MODERATE_STAGING"] = "fedm_staging";
     CDNEnvironments["FEDRAMP_MODERATE_PROD"] = "fedm_prod";
 })(CDNEnvironments = exports.CDNEnvironments || (exports.CDNEnvironments = {}));
-const getEnvironment = (envOptions = Environments) => {
+const getEnvironmentConfig = (envOptions = Environments) => {
     const graphqlGateway = (0, exports.getGraphqlGateway)();
     if (graphqlGateway.includes('.dev.')) {
         return envOptions.DEV;
     }
@@ -37,11 +37,11 @@
         return envOptions.FEDRAMP_MODERATE_PROD;
     }
     return envOptions.PROD;
 };
-exports.getEnvironment = getEnvironment;
+exports.getEnvironmentConfig = getEnvironmentConfig;
 const isFedrampEnv = () => {
-    const currentEnvironment = (0, exports.getEnvironment)();
+    const currentEnvironment = (0, exports.getEnvironmentConfig)();
     return (currentEnvironment === Environments.FEDRAMP_MODERATE_STAGING ||
         currentEnvironment === Environments.FEDRAMP_MODERATE_PROD);
 };
 exports.isFedrampEnv = isFedrampEnv;