connectbase-client 3.7.0 → 3.7.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/dist/cli.js +2 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1954,6 +1954,8 @@ ${colors.cyan}ConnectBase Tunnel${colors.reset}`);
1954
1954
  if (k.toLowerCase() !== "host") localHeaders[k] = v;
1955
1955
  }
1956
1956
  localHeaders["host"] = `localhost:${localPort}`;
1957
+ localHeaders["connection"] = "Upgrade";
1958
+ localHeaders["upgrade"] = "websocket";
1957
1959
  let cancelled = false;
1958
1960
  let upstream = null;
1959
1961
  const req = http.request({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectbase-client",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "Connect Base JavaScript/TypeScript SDK for browser and Node.js",
5
5
  "repository": {
6
6
  "type": "git",