diff --git a/src/auth/baseexternalclient.ts b/src/auth/baseexternalclient.ts index 6496b143..b74eae2e 100644 --- a/src/auth/baseexternalclient.ts +++ b/src/auth/baseexternalclient.ts @@ -63,11 +63,6 @@ const WORKFORCE_AUDIENCE_PATTERN = // eslint-disable-next-line @typescript-eslint/no-var-requires const pkg = require('../../../package.json'); -/** - * For backwards compatibility. - */ -export {DEFAULT_UNIVERSE} from './authclient'; - export interface SharedExternalAccountClientOptions extends AuthClientOptions { audience: string; token_url: string; diff --git a/test/test.baseexternalclient.ts b/test/test.baseexternalclient.ts index 96ea57ce..26990bd6 100644 --- a/test/test.baseexternalclient.ts +++ b/test/test.baseexternalclient.ts @@ -23,7 +23,6 @@ import { EXPIRATION_TIME_OFFSET, BaseExternalAccountClient, BaseExternalAccountClientOptions, - DEFAULT_UNIVERSE, } from '../src/auth/baseexternalclient'; import { OAuthErrorResponse, @@ -40,7 +39,7 @@ import { mockStsTokenExchange, getExpectedExternalAccountMetricsHeaderValue, } from './externalclienthelper'; -import {AuthClientOptions} from '../src/auth/authclient'; +import {AuthClientOptions, DEFAULT_UNIVERSE} from '../src/auth/authclient'; nock.disableNetConnect(); diff --git a/test/test.externalaccountauthorizeduserclient.ts b/test/test.externalaccountauthorizeduserclient.ts index c97e4b03..584463dd 100644 --- a/test/test.externalaccountauthorizeduserclient.ts +++ b/test/test.externalaccountauthorizeduserclient.ts @@ -23,15 +23,13 @@ import { ExternalAccountAuthorizedUserClient, ExternalAccountAuthorizedUserClientOptions, } from '../src/auth/externalAccountAuthorizedUserClient'; -import { - DEFAULT_UNIVERSE, - EXPIRATION_TIME_OFFSET, -} from '../src/auth/baseexternalclient'; +import {EXPIRATION_TIME_OFFSET} from '../src/auth/baseexternalclient'; import {GaxiosError, GaxiosResponse} from 'gaxios'; import { getErrorFromOAuthErrorResponse, OAuthErrorResponse, } from '../src/auth/oauth2common'; +import {DEFAULT_UNIVERSE} from '../src/auth/authclient'; nock.disableNetConnect();