@vanillaspa/event-bus 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const name = "eventbus";
2
- const worker = new SharedWorker(new URL('.eventbusWorker.js', import.meta.url), { type: 'module' });
2
+ const worker = new SharedWorker(new URL('./eventbusWorker.js', import.meta.url), { type: 'module' });
3
3
  worker.port.start();
4
4
 
5
5
  const contextListeners = new WeakMap(); // WeakMap to store listeners per object. Keep it private unless you know what you do.
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "url": "git+https://github.com/vanillaspa/event-bus.git"
24
24
  },
25
25
  "type": "module",
26
- "version": "1.1.0"
26
+ "version": "1.1.1"
27
27
  }