From 81607e3dfdd3955812c36bfa6556d42453bf40f0 Mon Sep 17 00:00:00 2001 From: Emily Zhang Date: Thu, 4 May 2023 16:09:43 -0400 Subject: [PATCH] Actually remove provideEdpoints function Change-Id: I4e06b9d501586735c3e67b6d5ee753132a5ed71a --- src/provideEndpoints.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/provideEndpoints.ts b/src/provideEndpoints.ts index b8dc77e0..7ebc894a 100644 --- a/src/provideEndpoints.ts +++ b/src/provideEndpoints.ts @@ -48,17 +48,3 @@ export class EndpointsFactory { export const SandboxEndpoints: Required = new EndpointsFactory({ environment: Environment.SANDBOX, cloudRegion: CloudRegion.US }) .getEndpoints(); - -/** - * Provides all endpoints based on environment and cloud region. - * - * @remarks - * Returns an {@link Endpoints} instance. - * - * @param config - serving config to use for the domain, defaults to Prod and US if not provided. - * - * @public - */ -export function provideEndpoints(config?: ServingConfig): Required { - return new EndpointsFactory(config).getEndpoints(); -}