mineflayer-viaproxy 0.7.8 → 0.7.9

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/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "mineflayer-viaproxy",
3
- "version": "0.7.8",
4
- "description": "ViaProxy support for mineflayer.",
5
- "main": "dist/index.js",
6
- "author": "GenerelSchwerz",
7
- "license": "MIT",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/GenerelSchwerz/mineflayer-viaproxy.git"
11
- },
12
- "devDependencies": {
13
- "@types/js-yaml": "^4.0.9",
14
- "mineflayer-viaproxy": "file:./",
15
- "typescript": "^5.8.3"
16
- },
17
- "dependencies": {
18
- "@types/jsonwebtoken": "^9.0.10",
19
- "bedrock-protocol": "^3.45.0",
20
- "debug": "^4.4.1",
21
- "js-yaml": "^4.1.0",
22
- "jsonwebtoken": "^9.0.3",
23
- "minecraft-data": "^3.89.0",
24
- "minecraft-protocol": "^1.57.0",
25
- "mineflayer": "^4.29.0",
26
- "uuid": "^13.0.0"
27
- },
28
- "scripts": {
29
- "build": "tsc",
30
- "prepublish": "npm run build"
31
- }
32
- }
1
+ {
2
+ "name": "mineflayer-viaproxy",
3
+ "version": "0.7.9",
4
+ "description": "ViaProxy support for mineflayer.",
5
+ "main": "dist/index.js",
6
+ "author": "GenerelSchwerz",
7
+ "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/GenerelSchwerz/mineflayer-viaproxy.git"
11
+ },
12
+ "devDependencies": {
13
+ "@types/js-yaml": "^4.0.9",
14
+ "mineflayer-viaproxy": "file:./",
15
+ "typescript": "^5.8.3"
16
+ },
17
+ "dependencies": {
18
+ "@types/jsonwebtoken": "^9.0.10",
19
+ "bedrock-protocol": "^3.45.0",
20
+ "debug": "^4.4.1",
21
+ "js-yaml": "^4.1.0",
22
+ "jsonwebtoken": "^9.0.3",
23
+ "minecraft-data": "^3.89.0",
24
+ "minecraft-protocol": "^1.57.0",
25
+ "mineflayer": "^4.29.0",
26
+ "uuid": "^13.0.0"
27
+ },
28
+ "scripts": {
29
+ "build": "tsc",
30
+ "prepublish": "npm run build"
31
+ }
32
+ }
package/dist/types.d.ts DELETED
@@ -1,21 +0,0 @@
1
- export declare enum AuthType {
2
- NONE = "NONE",
3
- OPENAUTHMOD = "OPENAUTHMOD",
4
- ACCOUNT = "ACCOUNT"
5
- }
6
- export interface ViaProxyOpts {
7
- forceViaProxy?: boolean;
8
- javaPath?: string;
9
- localPort?: number;
10
- localAuth?: AuthType;
11
- viaProxyLocation?: string;
12
- viaProxyWorkingDir?: string;
13
- autoUpdate?: boolean;
14
- viaProxyConfig?: Partial<ViaProxyConfig>;
15
- viaProxyStdoutCb?: (data: any) => void;
16
- viaProxyStderrCb?: (data: any) => void;
17
- }
18
- export interface ViaProxyConfig {
19
- backendProxyUrl: string;
20
- [key: string]: string | number | boolean;
21
- }
package/dist/types.js DELETED
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthType = void 0;
4
- var AuthType;
5
- (function (AuthType) {
6
- AuthType["NONE"] = "NONE";
7
- AuthType["OPENAUTHMOD"] = "OPENAUTHMOD";
8
- AuthType["ACCOUNT"] = "ACCOUNT";
9
- })(AuthType || (exports.AuthType = AuthType = {}));
10
- //# sourceMappingURL=types.js.map
package/dist/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAChB,yBAAa,CAAA;IACb,uCAA2B,CAAA;IAC3B,+BAAmB,CAAA;AACvB,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB"}
package/eclcc.log DELETED
@@ -1 +0,0 @@
1
- 00000000 OPR 2024-09-19 20:50:39.478 6429 6434 "WARNING: UDP Initial InError total: 31"