connectbase-client 0.10.13 → 0.10.14

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 +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1195,7 +1195,7 @@ async function startTunnel(port, config, tunnelOpts) {
1195
1195
  const tunnelServerUrl = getTunnelServerUrl(config.baseUrl);
1196
1196
  const parsedUrl = new URL(tunnelServerUrl);
1197
1197
  const isHttps = parsedUrl.protocol === "https:";
1198
- let wsPath = `/v1/tunnel/connect?app_id=${encodeURIComponent(appId)}`;
1198
+ let wsPath = `/v1/tunnel/connect?app_id=${encodeURIComponent(appId)}&local_port=${port}`;
1199
1199
  if (tunnelOpts?.timeout) {
1200
1200
  wsPath += `&timeout=${tunnelOpts.timeout}`;
1201
1201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectbase-client",
3
- "version": "0.10.13",
3
+ "version": "0.10.14",
4
4
  "description": "Connect Base JavaScript/TypeScript SDK for browser and Node.js",
5
5
  "repository": {
6
6
  "type": "git",