@webqit/webflo 0.11.4 → 0.11.5

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.
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.11.4",
15
+ "version": "0.11.5",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -157,8 +157,8 @@ export default class Runtime {
157
157
 
158
158
  // -----------------------
159
159
  // Service Worker && COMM
160
- if (this.cx.service_worker_support) {
161
- let workport = new Workport(this.cx.worker_filename, { scope: this.cx.worker_scope, startMessages: true });
160
+ if (this.cx.params.service_worker_support) {
161
+ let workport = new Workport(this.cx.params.worker_filename, { scope: this.cx.params.worker_scope, startMessages: true });
162
162
  Observer.set(this, 'workport', workport);
163
163
  workport.messaging.listen(async evt => {
164
164
  let responsePort = evt.ports[0];