@dpkrn/nodetunnel 1.0.5 → 1.0.6

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.
@@ -181,7 +181,7 @@ class Tunnel {
181
181
  });
182
182
 
183
183
  const { line, remainder } = await readPublicUrlLine(socket);
184
- this.publicUrl = `http://${line}`;
184
+ this.publicUrl = `${line}`;
185
185
 
186
186
  const session = new Session(true, defaultMuxConfig, (stream) => {
187
187
  handleStream(stream, this.localPort);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpkrn/nodetunnel",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Expose a local HTTP server through a devtunnel/gotunnel-compatible server (yamux + JSON). Node.js 18+.",
5
5
  "keywords": [
6
6
  "tunnel",
@@ -19,7 +19,8 @@
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "git+https://github.com/DpkRn/nodetunnel.git"
22
+ "url": "git+https://github.com/DpkRn/nodetunnel.git",
23
+ "directory": "nodetunnel"
23
24
  },
24
25
  "license": "MIT",
25
26
  "author": "DpkRn (https://github.com/DpkRn)",
@@ -48,6 +49,7 @@
48
49
  "prepublishOnly": "node -e \"import('./pkg/tunnel/tunnel.js').then(() => console.log('pack ok')).catch(e => { console.error(e); process.exit(1); })\""
49
50
  },
50
51
  "dependencies": {
52
+ "@dpkrn/nodetunnel": "^1.0.2",
51
53
  "yamux-js": "^0.2.0"
52
54
  },
53
55
  "devDependencies": {