@webqit/webflo 1.0.26 → 1.0.27

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": "1.0.26",
15
+ "version": "1.0.27",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -102,7 +102,6 @@ export class WebfloServer extends WebfloRuntime {
102
102
  }));
103
103
  }
104
104
  // ---------------
105
- await this.setupCapabilities();
106
105
  this.control();
107
106
  if (this.#cx.logger) {
108
107
  if (this.#servers.size) {
@@ -229,6 +228,7 @@ export class WebfloServer extends WebfloRuntime {
229
228
 
230
229
  #globalMessagingRegistry = new Map;
231
230
  async handleNodeWsRequest(wss, nodeRequest, socket, head) {
231
+ await this.setupCapabilities();
232
232
  const proto = this.getRequestProto(nodeRequest).replace('http', 'ws');
233
233
  const [fullUrl, requestInit] = this.parseNodeRequest(proto, nodeRequest, false);
234
234
  const scope = {};
@@ -295,6 +295,7 @@ export class WebfloServer extends WebfloRuntime {
295
295
  }
296
296
 
297
297
  async handleNodeHttpRequest(nodeRequest, nodeResponse) {
298
+ await this.setupCapabilities();
298
299
  const proto = this.getRequestProto(nodeRequest);
299
300
  const [fullUrl, requestInit] = this.parseNodeRequest(proto, nodeRequest);
300
301
  const scope = {};