diff --git a/apps/browser/src/listeners/onCommandListener.ts b/apps/browser/src/listeners/onCommandListener.ts index 3abcd69e80..2a33e91e57 100644 --- a/apps/browser/src/listeners/onCommandListener.ts +++ b/apps/browser/src/listeners/onCommandListener.ts @@ -5,7 +5,7 @@ import { AuthService } from "@bitwarden/common/services/auth.service"; import { CipherService } from "@bitwarden/common/services/cipher.service"; import { ConsoleLogService } from "@bitwarden/common/services/consoleLog.service"; import { EncryptService } from "@bitwarden/common/services/encrypt.service"; -import NoOpEventService from "@bitwarden/common/services/noOpEvent.service"; +import { NoopEventService } from "@bitwarden/common/services/noopEvent.service"; import { SearchService } from "@bitwarden/common/services/search.service"; import { SettingsService } from "@bitwarden/common/services/settings.service"; import { StateMigrationService } from "@bitwarden/common/services/stateMigration.service"; @@ -102,7 +102,7 @@ const doAutoFillLogin = async (tab: chrome.tabs.Tab): Promise => { searchService = new SearchService(cipherService, logService, i18nService); // TODO: Remove this before we encourage anyone to start using this - const eventService = new NoOpEventService(); + const eventService = new NoopEventService(); const autofillService = new AutofillService( cipherService, diff --git a/libs/common/src/services/noopEvent.service.ts b/libs/common/src/services/noopEvent.service.ts index 63d045524e..4504ceb29f 100644 --- a/libs/common/src/services/noopEvent.service.ts +++ b/libs/common/src/services/noopEvent.service.ts @@ -5,7 +5,7 @@ import { EventType } from "@bitwarden/common/enums/eventType"; * If you want to use this, don't. * If you think you should use that after the warning, don't. */ -export default class NoOpEventService implements EventService { +export class NoopEventService implements EventService { constructor() { if (chrome.runtime.getManifest().manifest_version !== 3) { throw new Error("You are not allowed to use this when not in manifest_version 3");