fix(core): update
This commit is contained in:
parent
d8d382b2fb
commit
63610b66bc
@ -1,11 +1,6 @@
|
|||||||
import { TypedRequest } from '@apiglobal/typedrequest';
|
import { TypedRequest } from '@apiglobal/typedrequest';
|
||||||
import * as plugins from './dees-comms.plugins';
|
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.
|
* a comm class for client side communication between workers and tabs.
|
||||||
*/
|
*/
|
||||||
|
@ -3,8 +3,3 @@ import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces';
|
|||||||
import * as typedrequest from '@apiglobal/typedrequest';
|
import * as typedrequest from '@apiglobal/typedrequest';
|
||||||
|
|
||||||
export { typedrequestInterfaces, typedrequest };
|
export { typedrequestInterfaces, typedrequest };
|
||||||
|
|
||||||
// thirdparty scope
|
|
||||||
import { BroadcastChannel as BroadCastChannelPolyfill } from 'broadcast-channel';
|
|
||||||
|
|
||||||
export { BroadCastChannelPolyfill };
|
|
||||||
|
Loading…
Reference in New Issue
Block a user