4 Commits

Author SHA1 Message Date
4ab1b917a9 1.0.15 2022-01-28 17:40:12 +01:00
f299cff4c9 fix(core): update 2022-01-28 17:40:12 +01:00
a6e262bbae 1.0.14 2022-01-24 05:13:21 +01:00
8a8200ca8a fix(core): update 2022-01-24 05:13:19 +01:00
4 changed files with 21 additions and 9 deletions

16
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@designestate/dees-comms",
"version": "1.0.13",
"version": "1.0.15",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@designestate/dees-comms",
"version": "1.0.13",
"version": "1.0.15",
"license": "MIT",
"dependencies": {
"@apiglobal/typedrequest": "^1.0.65",
@@ -4276,9 +4276,9 @@
}
},
"node_modules/big-integer": {
"version": "1.6.48",
"resolved": "https://verdaccio.lossless.one/big-integer/-/big-integer-1.6.48.tgz",
"integrity": "sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w==",
"version": "1.6.51",
"resolved": "https://verdaccio.lossless.one/big-integer/-/big-integer-1.6.51.tgz",
"integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==",
"license": "Unlicense",
"engines": {
"node": ">=0.6"
@@ -18787,9 +18787,9 @@
}
},
"big-integer": {
"version": "1.6.48",
"resolved": "https://verdaccio.lossless.one/big-integer/-/big-integer-1.6.48.tgz",
"integrity": "sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w=="
"version": "1.6.51",
"resolved": "https://verdaccio.lossless.one/big-integer/-/big-integer-1.6.51.tgz",
"integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg=="
},
"binary-extensions": {
"version": "1.13.1",

View File

@@ -1,6 +1,6 @@
{
"name": "@designestate/dees-comms",
"version": "1.0.13",
"version": "1.0.15",
"private": false,
"description": "a comms module for communicating within the DOM",
"main": "dist_ts/index.js",

View File

@@ -1,6 +1,11 @@
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.
*/

View File

@@ -3,3 +3,10 @@ import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces';
import * as typedrequest from '@apiglobal/typedrequest';
export { typedrequestInterfaces, typedrequest };
// third party scope
import { BroadcastChannel as BroadCastChannelPolyfill } from 'broadcast-channel';
export {
BroadCastChannelPolyfill
}