@webqit/fetch-plus 0.1.9 → 0.1.10

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/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -318,7 +318,7 @@ app.ws('/', function(ws, req) {
318
318
  return;
319
319
  }
320
320
  const portId = url.searchParams.get('port_id');
321
- const wsPort = new WebSocketPort(ws);
321
+ const wsPort = new WebSocketPort(ws, { autoStart: true, naturalOpen: false });
322
322
  // All connecting clients over portId go into the same star port
323
323
  portRegistry.get(portId).addPort(wsPort);
324
324
  });
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "homepage": "https://fetch-plus.netlify.app/",
13
13
  "icon": "https://webqit.io/icon.svg",
14
- "version": "0.1.9",
14
+ "version": "0.1.10",
15
15
  "license": "MIT",
16
16
  "repository": {
17
17
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@webqit/observer": "^3.8.17",
37
- "@webqit/port-plus": "^0.1.13",
37
+ "@webqit/port-plus": "^0.1.14",
38
38
  "@webqit/url-plus": "^0.1.3"
39
39
  },
40
40
  "devDependencies": {