npm package diff
Package: @forge/cli-shared
Versions: 8.0.0 - 8.0.1-next.0
File: package/out/graphql/minimal-graphql-runner.d.ts
Index: package/out/graphql/minimal-graphql-runner.d.ts
===================================================================
--- package/out/graphql/minimal-graphql-runner.d.ts
+++ package/out/graphql/minimal-graphql-runner.d.ts
@@ -1,11 +1,15 @@
import { GraphQLClient } from 'graphql-request';
import { GraphQLError } from 'graphql';
import { Headers as NodeFetchHeaders } from 'node-fetch';
import { Authenticator, AuthorizationHeader } from '../auth';
-import { CLIDetails } from '../index';
+import { CLIDetails, EnvironmentOptions } from '../index';
import { BaseError, UserError } from '../shared';
import { GraphQLRunner, Variables } from './graphql-client';
+export declare const SERVICE_NAME = "forge-cli";
+export declare const PROD_BUSINESS_UNIT = "Ecosystem - COGS";
+export declare const NON_PROD_BUSINESS_UNIT = "Ecosystem Engineering";
+export declare const BUSINESS_UNITS: EnvironmentOptions;
export declare class GraphQLAuthenticationError extends UserError {
}
export declare class OutdatedClientVersionError extends UserError {
constructor();
@@ -37,8 +41,9 @@
protected getAuthenticatedClient(endpoint: string, authorizationHeader: AuthorizationHeader): GraphQLClient;
getHeaders(authorizationHeader: AuthorizationHeader): {
[key: string]: string;
};
+ private getAttribution;
private getClientName;
private getClientVersion;
private rawRequestWithoutClientError;
private getRequestId;