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:
@@ -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)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user