2021-03-06 01:23:58 +01:00
|
|
|
import Debug from '../../conf/Debug';
|
|
|
|
|
import BrowserDetect from '../../conf/BrowserDetect';
|
|
|
|
|
|
|
|
|
|
if (process.env.CHANNEL !== 'stable'){
|
|
|
|
|
console.info("Loading Comms");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Comms {
|
|
|
|
|
static async sendMessage(message){
|
2024-06-03 00:15:23 +02:00
|
|
|
chrome.runtime.sendMessage(message);
|
2021-03-06 01:23:58 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (process.env.CHANNEL !== 'stable'){
|
|
|
|
|
console.info("Comms loaded");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default Comms;
|