jointhis.proxy 0.3.2 → 0.3.3

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/dist/cli.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- export declare const version = "0.3.2";
2
+ export declare const version = "0.3.3";
3
3
  export declare var rtun: any;
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import fs from 'node:fs';
8
8
  import { Spawn } from 'ink-spawn';
9
9
  import { exec } from 'node:child_process';
10
10
  import { clear } from 'node:console';
11
- export const version = `0.3.2`;
11
+ export const version = `0.3.3`;
12
12
  export var rtun;
13
13
  const cli = meow(`
14
14
  Usage
package/dist/main.js CHANGED
@@ -47,6 +47,9 @@ export default function Main({ view }) {
47
47
  : 'Please wait until everything is set up.')),
48
48
  React.createElement(Step, { name: "last" },
49
49
  React.createElement(Spawn, { maxOutputLines: 4, runningText: "", command: rtun, args: ['-f ./rtun.yml'], shell: true }),
50
+ service === '1' ? (React.createElement(React.Fragment, null,
51
+ React.createElement(Text, null, "Java IP: proxy.jointhis.party:[tcp remote port]"),
52
+ React.createElement(Text, null, "Bedrock IP: proxy.jointhis.party:[udp remote port]"))) : (React.createElement(Text, null, "Website: 82.38.134.1:[tcp remote port]")),
50
53
  React.createElement(Box, { marginTop: 1 },
51
54
  React.createElement(Text, { dimColor: true }, "Press enter to quit")))));
52
55
  }
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
1
  {
2
- "name": "jointhis.proxy",
3
- "version": "0.3.2",
4
- "license": "MIT",
5
- "bin": {
6
- "jointhis.proxy": "dist/cli.js",
7
- "jointhis-proxy": "dist/cli.js"
8
- },
9
- "type": "module",
10
- "engines": {
11
- "node": ">=16"
12
- },
13
- "scripts": {
14
- "build": "tsc",
15
- "dev": "tsc --watch",
16
- "test": "prettier --check . && xo && ava"
17
- },
18
- "files": [
19
- "dist"
20
- ],
21
- "dependencies": {
22
- "fs": "0.0.1-security",
23
- "ink": "^6.8.0",
24
- "ink-select-input": "^6.2.0",
25
- "ink-spawn": "^0.1.4",
26
- "ink-stepper": "^0.2.1",
27
- "ink-text-input": "^6.0.0",
28
- "meow": "^11.0.0",
29
- "react": "^19.2.4"
30
- },
31
- "devDependencies": {
32
- "@sindresorhus/tsconfig": "^3.0.1",
33
- "@types/react": "^19.2.14",
34
- "@vdemedes/prettier-config": "^2.0.1",
35
- "ava": "^5.3.1",
36
- "chalk": "^5.6.2",
37
- "eslint-config-xo-react": "^0.27.0",
38
- "eslint-plugin-react": "^7.37.5",
39
- "eslint-plugin-react-hooks": "^4.6.2",
40
- "ink-testing-library": "^3.0.0",
41
- "prettier": "^2.8.8",
42
- "ts-node": "^10.9.2",
43
- "typescript": "^5.9.3",
44
- "xo": "^0.53.1"
45
- },
46
- "ava": {
47
- "extensions": {
48
- "ts": "module",
49
- "tsx": "module"
50
- },
51
- "nodeArguments": [
52
- "--loader=ts-node/esm"
53
- ]
54
- },
55
- "xo": {
56
- "extends": "xo-react",
57
- "prettier": true,
58
- "rules": {
59
- "react/prop-types": "off"
60
- }
61
- },
62
- "prettier": "@vdemedes/prettier-config"
63
- }
2
+ "name": "jointhis.proxy",
3
+ "version": "0.3.3",
4
+ "license": "MIT",
5
+ "bin": {
6
+ "jointhis.proxy": "dist/cli.js",
7
+ "jointhis-proxy": "dist/cli.js"
8
+ },
9
+ "type": "module",
10
+ "engines": {
11
+ "node": ">=16"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "dependencies": {
17
+ "fs": "0.0.1-security",
18
+ "ink": "^6.8.0",
19
+ "ink-select-input": "^6.2.0",
20
+ "ink-spawn": "^0.1.4",
21
+ "ink-stepper": "^0.2.1",
22
+ "ink-text-input": "^6.0.0",
23
+ "meow": "^11.0.0",
24
+ "react": "^19.2.4"
25
+ },
26
+ "devDependencies": {
27
+ "@sindresorhus/tsconfig": "^3.0.1",
28
+ "@types/react": "^19.2.14",
29
+ "@vdemedes/prettier-config": "^2.0.1",
30
+ "ava": "^5.3.1",
31
+ "chalk": "^5.6.2",
32
+ "eslint-config-xo-react": "^0.27.0",
33
+ "eslint-plugin-react": "^7.37.5",
34
+ "eslint-plugin-react-hooks": "^4.6.2",
35
+ "ink-testing-library": "^3.0.0",
36
+ "prettier": "^2.8.8",
37
+ "ts-node": "^10.9.2",
38
+ "typescript": "^5.9.3",
39
+ "xo": "^0.53.1"
40
+ },
41
+ "ava": {
42
+ "extensions": {
43
+ "ts": "module",
44
+ "tsx": "module"
45
+ },
46
+ "nodeArguments": [
47
+ "--loader=ts-node/esm"
48
+ ]
49
+ },
50
+ "xo": {
51
+ "extends": "xo-react",
52
+ "prettier": true,
53
+ "rules": {
54
+ "react/prop-types": "off"
55
+ }
56
+ },
57
+ "prettier": "@vdemedes/prettier-config",
58
+ "scripts": {
59
+ "build": "tsc",
60
+ "dev": "tsc --watch",
61
+ "test": "prettier --check . && xo && ava"
62
+ }
63
+ }