diff --git a/libs/angular/src/services/jslib-services.module.ts b/libs/angular/src/services/jslib-services.module.ts index a26ec42121d..717ff54b1ca 100644 --- a/libs/angular/src/services/jslib-services.module.ts +++ b/libs/angular/src/services/jslib-services.module.ts @@ -211,7 +211,7 @@ import { ServerNotificationsService } from "@bitwarden/common/platform/notificat // eslint-disable-next-line no-restricted-imports -- Needed for service creation import { DefaultServerNotificationsService, - NoopNotificationsService, + UnsupportedServerNotificationsService, SignalRConnectionService, UnsupportedWebPushConnectionService, WebPushConnectionService, @@ -954,7 +954,7 @@ const safeProviders: SafeProvider[] = [ safeProvider({ provide: ServerNotificationsService, useClass: devFlagEnabled("noopNotifications") - ? NoopNotificationsService + ? UnsupportedServerNotificationsService : DefaultServerNotificationsService, deps: [ LogService, diff --git a/libs/common/src/platform/notifications/internal/index.ts b/libs/common/src/platform/notifications/internal/index.ts index f55709f0f37..c6ffd8162b8 100644 --- a/libs/common/src/platform/notifications/internal/index.ts +++ b/libs/common/src/platform/notifications/internal/index.ts @@ -1,7 +1,7 @@ export * from "./worker-webpush-connection.service"; export * from "./signalr-connection.service"; export * from "./default-server-notifications.service"; -export * from "./noop-notifications.service"; +export * from "./unsupported-server-notifications.service"; export * from "./unsupported-webpush-connection.service"; export * from "./webpush-connection.service"; export * from "./websocket-webpush-connection.service"; diff --git a/libs/common/src/platform/notifications/internal/noop-notifications.service.ts b/libs/common/src/platform/notifications/internal/unsupported-server-notifications.service.ts similarity index 91% rename from libs/common/src/platform/notifications/internal/noop-notifications.service.ts rename to libs/common/src/platform/notifications/internal/unsupported-server-notifications.service.ts index 513adf918bf..34cd9e9db4c 100644 --- a/libs/common/src/platform/notifications/internal/noop-notifications.service.ts +++ b/libs/common/src/platform/notifications/internal/unsupported-server-notifications.service.ts @@ -6,7 +6,7 @@ import { UserId } from "@bitwarden/common/types/guid"; import { LogService } from "../../abstractions/log.service"; import { ServerNotificationsService } from "../server-notifications-service"; -export class NoopNotificationsService implements ServerNotificationsService { +export class UnsupportedServerNotificationsService implements ServerNotificationsService { notifications$: Observable = new Subject(); constructor(private logService: LogService) {}