bitwarden-estensione-browser/apps/browser/src/platform/services/browser-messaging.service.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
326 B
TypeScript
Raw Normal View History

import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service";
2018-01-04 22:06:00 +01:00
import { BrowserApi } from "../browser/browser-api";
2018-01-09 20:26:20 +01:00
export default class BrowserMessagingService implements MessagingService {
2018-01-04 22:06:00 +01:00
send(subscriber: string, arg: any = {}) {
return BrowserApi.sendMessage(subscriber, arg);
2018-01-04 22:06:00 +01:00
}
}