mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-02 04:48:57 +02:00
[PS-1569] Fix spelling of totpServiceFactory (#3746)
This commit is contained in:
parent
fd5bd3744d
commit
e290492d14
@ -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> {
|
||||||
|
Loading…
Reference in New Issue
Block a user