From 63610b66bcef3650811a366bb8279449e9e46e4b Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 24 Jan 2022 05:11:55 +0100 Subject: [PATCH] fix(core): update --- ts/dees-comms.classes.deescomms.ts | 5 ----- ts/dees-comms.plugins.ts | 5 ----- 2 files changed, 10 deletions(-) diff --git a/ts/dees-comms.classes.deescomms.ts b/ts/dees-comms.classes.deescomms.ts index b5c9226..cc524a1 100644 --- a/ts/dees-comms.classes.deescomms.ts +++ b/ts/dees-comms.classes.deescomms.ts @@ -1,11 +1,6 @@ import { TypedRequest } from '@apiglobal/typedrequest'; import * as plugins from './dees-comms.plugins'; -let BroadcastChannel = globalThis.BroadcastChannel; -if (!BroadcastChannel) { - BroadcastChannel = plugins.BroadCastChannelPolyfill as any; -} - /** * a comm class for client side communication between workers and tabs. */ diff --git a/ts/dees-comms.plugins.ts b/ts/dees-comms.plugins.ts index 46e899e..61e9633 100644 --- a/ts/dees-comms.plugins.ts +++ b/ts/dees-comms.plugins.ts @@ -3,8 +3,3 @@ import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces'; import * as typedrequest from '@apiglobal/typedrequest'; export { typedrequestInterfaces, typedrequest }; - -// thirdparty scope -import { BroadcastChannel as BroadCastChannelPolyfill } from 'broadcast-channel'; - -export { BroadCastChannelPolyfill };