Naming chnage; fix release size

Signed-off-by: Fabio Torchetti <fabbari@amazon.com>
This commit is contained in:
Fabio Torchetti
2022-06-27 10:07:59 -05:00
parent f2cf79d62e
commit 61edb85704
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ export interface RouterOptions {
config: Config;
discovery: PluginEndpointDiscovery;
tokenManager: TokenManager;
tokenKeyAlgorithm?: string;
tokenFactoryAlgorithm?: string;
providerFactories?: ProviderFactories;
}
@@ -57,7 +57,7 @@ export async function createRouter(
discovery,
database,
tokenManager,
tokenKeyAlgorithm,
tokenFactoryAlgorithm,
providerFactories,
} = options;
const router = Router();
@@ -73,7 +73,7 @@ export async function createRouter(
keyStore,
keyDurationSeconds,
logger: logger.child({ component: 'token-factory' }),
algorithm: tokenKeyAlgorithm,
algorithm: tokenFactoryAlgorithm,
});
const catalogApi = new CatalogClient({ discoveryApi: discovery });