1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[PS-1569] Fix spelling of totpServiceFactory (#3746)

This commit is contained in:
Justin Baur
2022-10-11 15:39:20 -04:00
committed by GitHub
parent fd5bd3744d
commit e290492d14
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import { EventServiceInitOptions, eventServiceFactory } from "./event-service.fa
import { CachedServices, factory, FactoryOptions } from "./factory-options"; import { CachedServices, factory, FactoryOptions } from "./factory-options";
import { logServiceFactory, LogServiceInitOptions } from "./log-service.factory"; import { logServiceFactory, LogServiceInitOptions } from "./log-service.factory";
import { stateServiceFactory, StateServiceInitOptions } from "./state-service.factory"; import { stateServiceFactory, StateServiceInitOptions } from "./state-service.factory";
import { totpServiceFacotry, TotpServiceInitOptions } from "./totp-service.factory"; import { totpServiceFactory, TotpServiceInitOptions } from "./totp-service.factory";
type AutoFillServiceOptions = FactoryOptions; type AutoFillServiceOptions = FactoryOptions;
@@ -29,7 +29,7 @@ export function autofillServiceFactory(
new AutofillService( new AutofillService(
await cipherServiceFactory(cache, opts), await cipherServiceFactory(cache, opts),
await stateServiceFactory(cache, opts), await stateServiceFactory(cache, opts),
await totpServiceFacotry(cache, opts), await totpServiceFactory(cache, opts),
await eventServiceFactory(cache, opts), await eventServiceFactory(cache, opts),
await logServiceFactory(cache, opts) await logServiceFactory(cache, opts)
) )

View File

@@ -14,7 +14,7 @@ export type TotpServiceInitOptions = TotpServiceOptions &
CryptoFunctionServiceInitOptions & CryptoFunctionServiceInitOptions &
LogServiceInitOptions; LogServiceInitOptions;
export function totpServiceFacotry( export function totpServiceFactory(
cache: { totpService?: AbstractTotpService } & CachedServices, cache: { totpService?: AbstractTotpService } & CachedServices,
opts: TotpServiceInitOptions opts: TotpServiceInitOptions
): Promise<AbstractTotpService> { ): Promise<AbstractTotpService> {