Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e500c8a7f6 | |||
| 243d1f17a3 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@designestate/dees-comms",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@designestate/dees-comms",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"private": false,
|
||||
"description": "a comms module for communicating within the DOM",
|
||||
"main": "dist_ts/index.js",
|
||||
|
||||
@@ -5,6 +5,7 @@ let deesCommsTest: deesComms.DeesComms;
|
||||
|
||||
tap.test('first test', async () => {
|
||||
deesCommsTest = new deesComms.DeesComms();
|
||||
deesCommsTest;
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
||||
12
ts/index.ts
12
ts/index.ts
@@ -1,11 +1 @@
|
||||
import * as plugins from './dees-comms.plugins';
|
||||
|
||||
/**
|
||||
* a comm class for client side communication between workers and tabs.
|
||||
*/
|
||||
export class DeesComms {
|
||||
public postChannel = new BroadcastChannel('dees-comms');
|
||||
public subscriptionChannel = new BroadcastChannel('dees-comms');
|
||||
|
||||
public async postMessage() {}
|
||||
}
|
||||
export * from './dees-comms.classes.deescomms';
|
||||
Reference in New Issue
Block a user