jointhis.proxy 0.2.8 → 0.2.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Joran Hennion
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -21,16 +21,17 @@ Usage
21
21
  $ jointhis.proxy
22
22
 
23
23
  Options
24
- --port Internal port to assign.
25
- --key Authentication key.
26
- --subdomain Jointhis.party subdomain to assign.
27
- --service Service to host, for example: minecraft -> mc
24
+ --tcp Internal TCP port.
25
+ --udp Internal UDP port.
26
+ --key Authentication key.
27
+ --subdomain Jointhis.party subdomain to assign.
28
+ --service Service to host, for example: minecraft -> mc
28
29
 
29
30
  Examples
30
- $ jointhis.proxy --key "3002348970847937423423" --subdomain "mycoolserver" --service "mc"
31
+ $ jointhis.proxy --key=3002348970847937423423 --subdomain=mycoolserver --tcp=25565 --udp=19132
31
32
 
32
- For interactive setup, just ru:
33
- $ jointhis.proxy
33
+ For interactive setup, just run:
34
+ $ jointhis.proxy
34
35
  ```
35
36
 
36
37
  Note to self, don't forget to `npm publish`
package/dist/cli.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- export declare const version = "0.2.8";
2
+ export declare const version = "0.2.10";
3
3
  export declare var rtun: any;
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import UI from './ui.js';
7
7
  import fs from 'node:fs';
8
8
  import { Spawn } from 'ink-spawn';
9
9
  import { exec } from 'node:child_process';
10
- export const version = `0.2.8`;
10
+ export const version = `0.2.10`;
11
11
  export var rtun;
12
12
  // Get backend executable
13
13
  if (process.platform == 'linux') {
@@ -27,7 +27,7 @@ else if (process.platform == 'win32') {
27
27
  exec('curl.exe -L -O https://github.com/snsinfu/reverse-tunnel/releases/download/v1.3.2/rtun-windows-amd64.exe');
28
28
  }
29
29
  });
30
- rtun = './rtun-windows-amd64.exe';
30
+ rtun = 'rtun-windows-amd64.exe';
31
31
  }
32
32
  else if (process.platform == 'darwin') {
33
33
  console.log('Mac support is not yet implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jointhis.proxy",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "license": "MIT",
5
5
  "bin": "dist/cli.js",
6
6
  "type": "module",