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 };