@remnawave/node-contract 0.3.4 → 0.4.0

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 (33) hide show
  1. package/build/api/controllers/index.d.ts +1 -0
  2. package/build/api/controllers/index.d.ts.map +1 -1
  3. package/build/api/controllers/index.js +1 -0
  4. package/build/api/controllers/vision.d.ts +6 -0
  5. package/build/api/controllers/vision.d.ts.map +1 -0
  6. package/build/api/controllers/vision.js +8 -0
  7. package/build/api/controllers/xray.d.ts +1 -0
  8. package/build/api/controllers/xray.d.ts.map +1 -1
  9. package/build/api/controllers/xray.js +1 -0
  10. package/build/api/routes.d.ts +5 -0
  11. package/build/api/routes.d.ts.map +1 -1
  12. package/build/api/routes.js +5 -0
  13. package/build/commands/index.d.ts +1 -0
  14. package/build/commands/index.d.ts.map +1 -1
  15. package/build/commands/index.js +1 -0
  16. package/build/commands/vision/block-ip.command.d.ts +39 -0
  17. package/build/commands/vision/block-ip.command.d.ts.map +1 -0
  18. package/build/commands/vision/block-ip.command.js +19 -0
  19. package/build/commands/vision/index.d.ts +3 -0
  20. package/build/commands/vision/index.d.ts.map +1 -0
  21. package/build/commands/vision/index.js +18 -0
  22. package/build/commands/vision/unblock-ip.command.d.ts +39 -0
  23. package/build/commands/vision/unblock-ip.command.d.ts.map +1 -0
  24. package/build/commands/vision/unblock-ip.command.js +19 -0
  25. package/build/commands/xray/get-node-health-check.command.d.ts +33 -0
  26. package/build/commands/xray/get-node-health-check.command.d.ts.map +1 -0
  27. package/build/commands/xray/get-node-health-check.command.js +16 -0
  28. package/build/commands/xray/index.d.ts +1 -0
  29. package/build/commands/xray/index.d.ts.map +1 -1
  30. package/build/commands/xray/index.js +1 -0
  31. package/build/constants/xray/stats.d.ts +1 -1
  32. package/build/constants/xray/stats.js +1 -1
  33. package/package.json +3 -3
@@ -1,4 +1,5 @@
1
1
  export * from './handler';
2
2
  export * from './stats';
3
+ export * from './vision';
3
4
  export * from './xray';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./handler"), exports);
18
18
  __exportStar(require("./stats"), exports);
19
+ __exportStar(require("./vision"), exports);
19
20
  __exportStar(require("./xray"), exports);
@@ -0,0 +1,6 @@
1
+ export declare const VISION_CONTROLLER: "vision";
2
+ export declare const VISION_ROUTES: {
3
+ readonly BLOCK_IP: "block-ip";
4
+ readonly UNBLOCK_IP: "unblock-ip";
5
+ };
6
+ //# sourceMappingURL=vision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vision.d.ts","sourceRoot":"","sources":["../../../api/controllers/vision.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAG,QAAiB,CAAC;AAEnD,eAAO,MAAM,aAAa;;;CAGhB,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VISION_ROUTES = exports.VISION_CONTROLLER = void 0;
4
+ exports.VISION_CONTROLLER = 'vision';
5
+ exports.VISION_ROUTES = {
6
+ BLOCK_IP: 'block-ip',
7
+ UNBLOCK_IP: 'unblock-ip',
8
+ };
@@ -3,5 +3,6 @@ export declare const XRAY_ROUTES: {
3
3
  readonly START: "start";
4
4
  readonly STOP: "stop";
5
5
  readonly STATUS: "status";
6
+ readonly NODE_HEALTH_CHECK: "healthcheck";
6
7
  };
7
8
  //# sourceMappingURL=xray.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xray.d.ts","sourceRoot":"","sources":["../../../api/controllers/xray.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;;;CAId,CAAC"}
1
+ {"version":3,"file":"xray.d.ts","sourceRoot":"","sources":["../../../api/controllers/xray.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;;;;CAKd,CAAC"}
@@ -6,4 +6,5 @@ exports.XRAY_ROUTES = {
6
6
  START: 'start',
7
7
  STOP: 'stop',
8
8
  STATUS: 'status',
9
+ NODE_HEALTH_CHECK: 'healthcheck',
9
10
  };
@@ -4,6 +4,7 @@ export declare const REST_API: {
4
4
  readonly START: "/node/xray/start";
5
5
  readonly STOP: "/node/xray/stop";
6
6
  readonly STATUS: "/node/xray/status";
7
+ readonly NODE_HEALTH_CHECK: "/node/xray/healthcheck";
7
8
  };
8
9
  readonly STATS: {
9
10
  readonly GET_USER_ONLINE_STATUS: "/node/stats/get-user-online-status";
@@ -20,5 +21,9 @@ export declare const REST_API: {
20
21
  readonly GET_INBOUND_USERS_COUNT: "/node/handler/get-inbound-users-count";
21
22
  readonly GET_INBOUND_USERS: "/node/handler/get-inbound-users";
22
23
  };
24
+ readonly VISION: {
25
+ readonly UNBLOCK_IP: "vision/unblock-ip";
26
+ readonly BLOCK_IP: "vision/block-ip";
27
+ };
23
28
  };
24
29
  //# sourceMappingURL=routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,OAAgB,CAAC;AAErC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAqBX,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,OAAgB,CAAC;AAErC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BX,CAAC"}
@@ -41,6 +41,7 @@ exports.REST_API = {
41
41
  START: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.START}`,
42
42
  STOP: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.STOP}`,
43
43
  STATUS: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.STATUS}`,
44
+ NODE_HEALTH_CHECK: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.NODE_HEALTH_CHECK}`,
44
45
  },
45
46
  STATS: {
46
47
  GET_USER_ONLINE_STATUS: `${exports.ROOT}/${CONTROLLERS.STATS_CONTROLLER}/${CONTROLLERS.STATS_ROUTES.GET_USER_ONLINE_STATUS}`,
@@ -57,4 +58,8 @@ exports.REST_API = {
57
58
  GET_INBOUND_USERS_COUNT: `${exports.ROOT}/${CONTROLLERS.HANDLER_CONTROLLER}/${CONTROLLERS.HANDLER_ROUTES.GET_INBOUND_USERS_COUNT}`,
58
59
  GET_INBOUND_USERS: `${exports.ROOT}/${CONTROLLERS.HANDLER_CONTROLLER}/${CONTROLLERS.HANDLER_ROUTES.GET_INBOUND_USERS}`,
59
60
  },
61
+ VISION: {
62
+ UNBLOCK_IP: `${CONTROLLERS.VISION_CONTROLLER}/${CONTROLLERS.VISION_ROUTES.UNBLOCK_IP}`,
63
+ BLOCK_IP: `${CONTROLLERS.VISION_CONTROLLER}/${CONTROLLERS.VISION_ROUTES.BLOCK_IP}`,
64
+ },
60
65
  };
@@ -1,4 +1,5 @@
1
1
  export * from './handler';
2
2
  export * from './stats';
3
+ export * from './vision';
3
4
  export * from './xray';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./handler"), exports);
18
18
  __exportStar(require("./stats"), exports);
19
+ __exportStar(require("./vision"), exports);
19
20
  __exportStar(require("./xray"), exports);
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare namespace BlockIpCommand {
3
+ const url: "vision/block-ip";
4
+ const RequestSchema: z.ZodObject<{
5
+ ip: z.ZodString;
6
+ username: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ username: string;
9
+ ip: string;
10
+ }, {
11
+ username: string;
12
+ ip: string;
13
+ }>;
14
+ type Request = z.infer<typeof RequestSchema>;
15
+ const ResponseSchema: z.ZodObject<{
16
+ response: z.ZodObject<{
17
+ success: z.ZodBoolean;
18
+ error: z.ZodNullable<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ success: boolean;
21
+ error: string | null;
22
+ }, {
23
+ success: boolean;
24
+ error: string | null;
25
+ }>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ response: {
28
+ success: boolean;
29
+ error: string | null;
30
+ };
31
+ }, {
32
+ response: {
33
+ success: boolean;
34
+ error: string | null;
35
+ };
36
+ }>;
37
+ type Response = z.infer<typeof ResponseSchema>;
38
+ }
39
+ //# sourceMappingURL=block-ip.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-ip.command.d.ts","sourceRoot":"","sources":["../../../commands/vision/block-ip.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,cAAc,CAAC;IACrB,MAAM,GAAG,mBAA2B,CAAC;IAErC,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlockIpCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../api");
6
+ var BlockIpCommand;
7
+ (function (BlockIpCommand) {
8
+ BlockIpCommand.url = api_1.REST_API.VISION.BLOCK_IP;
9
+ BlockIpCommand.RequestSchema = zod_1.z.object({
10
+ ip: zod_1.z.string(),
11
+ username: zod_1.z.string(),
12
+ });
13
+ BlockIpCommand.ResponseSchema = zod_1.z.object({
14
+ response: zod_1.z.object({
15
+ success: zod_1.z.boolean(),
16
+ error: zod_1.z.string().nullable(),
17
+ }),
18
+ });
19
+ })(BlockIpCommand || (exports.BlockIpCommand = BlockIpCommand = {}));
@@ -0,0 +1,3 @@
1
+ export * from './block-ip.command';
2
+ export * from './unblock-ip.command';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/vision/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./block-ip.command"), exports);
18
+ __exportStar(require("./unblock-ip.command"), exports);
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare namespace UnblockIpCommand {
3
+ const url: "vision/unblock-ip";
4
+ const RequestSchema: z.ZodObject<{
5
+ ip: z.ZodString;
6
+ username: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ username: string;
9
+ ip: string;
10
+ }, {
11
+ username: string;
12
+ ip: string;
13
+ }>;
14
+ type Request = z.infer<typeof RequestSchema>;
15
+ const ResponseSchema: z.ZodObject<{
16
+ response: z.ZodObject<{
17
+ success: z.ZodBoolean;
18
+ error: z.ZodNullable<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ success: boolean;
21
+ error: string | null;
22
+ }, {
23
+ success: boolean;
24
+ error: string | null;
25
+ }>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ response: {
28
+ success: boolean;
29
+ error: string | null;
30
+ };
31
+ }, {
32
+ response: {
33
+ success: boolean;
34
+ error: string | null;
35
+ };
36
+ }>;
37
+ type Response = z.infer<typeof ResponseSchema>;
38
+ }
39
+ //# sourceMappingURL=unblock-ip.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unblock-ip.command.d.ts","sourceRoot":"","sources":["../../../commands/vision/unblock-ip.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,gBAAgB,CAAC;IACvB,MAAM,GAAG,qBAA6B,CAAC;IAEvC,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnblockIpCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../api");
6
+ var UnblockIpCommand;
7
+ (function (UnblockIpCommand) {
8
+ UnblockIpCommand.url = api_1.REST_API.VISION.UNBLOCK_IP;
9
+ UnblockIpCommand.RequestSchema = zod_1.z.object({
10
+ ip: zod_1.z.string(),
11
+ username: zod_1.z.string(),
12
+ });
13
+ UnblockIpCommand.ResponseSchema = zod_1.z.object({
14
+ response: zod_1.z.object({
15
+ success: zod_1.z.boolean(),
16
+ error: zod_1.z.string().nullable(),
17
+ }),
18
+ });
19
+ })(UnblockIpCommand || (exports.UnblockIpCommand = UnblockIpCommand = {}));
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ export declare namespace GetNodeHealthCheckCommand {
3
+ const url: "/node/xray/healthcheck";
4
+ const ResponseSchema: z.ZodObject<{
5
+ response: z.ZodObject<{
6
+ isAlive: z.ZodBoolean;
7
+ xrayInternalStatusCached: z.ZodBoolean;
8
+ xrayVersion: z.ZodNullable<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ isAlive: boolean;
11
+ xrayInternalStatusCached: boolean;
12
+ xrayVersion: string | null;
13
+ }, {
14
+ isAlive: boolean;
15
+ xrayInternalStatusCached: boolean;
16
+ xrayVersion: string | null;
17
+ }>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ response: {
20
+ isAlive: boolean;
21
+ xrayInternalStatusCached: boolean;
22
+ xrayVersion: string | null;
23
+ };
24
+ }, {
25
+ response: {
26
+ isAlive: boolean;
27
+ xrayInternalStatusCached: boolean;
28
+ xrayVersion: string | null;
29
+ };
30
+ }>;
31
+ type Response = z.infer<typeof ResponseSchema>;
32
+ }
33
+ //# sourceMappingURL=get-node-health-check.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-node-health-check.command.d.ts","sourceRoot":"","sources":["../../../commands/xray/get-node-health-check.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,0BAAkC,CAAC;IAE5C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAMzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetNodeHealthCheckCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const api_1 = require("../../api");
6
+ var GetNodeHealthCheckCommand;
7
+ (function (GetNodeHealthCheckCommand) {
8
+ GetNodeHealthCheckCommand.url = api_1.REST_API.XRAY.NODE_HEALTH_CHECK;
9
+ GetNodeHealthCheckCommand.ResponseSchema = zod_1.z.object({
10
+ response: zod_1.z.object({
11
+ isAlive: zod_1.z.boolean(),
12
+ xrayInternalStatusCached: zod_1.z.boolean(),
13
+ xrayVersion: zod_1.z.string().nullable(),
14
+ }),
15
+ });
16
+ })(GetNodeHealthCheckCommand || (exports.GetNodeHealthCheckCommand = GetNodeHealthCheckCommand = {}));
@@ -1,3 +1,4 @@
1
+ export * from './get-node-health-check.command';
1
2
  export * from './get-status-and-version.command';
2
3
  export * from './start.command';
3
4
  export * from './stop.command';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/xray/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/xray/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-node-health-check.command"), exports);
17
18
  __exportStar(require("./get-status-and-version.command"), exports);
18
19
  __exportStar(require("./start.command"), exports);
19
20
  __exportStar(require("./stop.command"), exports);
@@ -19,7 +19,7 @@ export declare const XRAY_DEFAULT_STATS_MODEL: {
19
19
  };
20
20
  export declare const XRAY_DEFAULT_API_MODEL: {
21
21
  readonly api: {
22
- readonly services: readonly ["HandlerService", "StatsService", "LoggerService"];
22
+ readonly services: readonly ["HandlerService", "StatsService", "RoutingService"];
23
23
  readonly tag: "api";
24
24
  };
25
25
  };
@@ -22,7 +22,7 @@ exports.XRAY_DEFAULT_STATS_MODEL = {
22
22
  };
23
23
  exports.XRAY_DEFAULT_API_MODEL = {
24
24
  api: {
25
- services: ['HandlerService', 'StatsService', 'LoggerService'],
25
+ services: ['HandlerService', 'StatsService', 'RoutingService'],
26
26
  tag: 'api',
27
27
  },
28
28
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/node-contract",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "description": "A node-contract library for Remnawave Panel",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "build": "tsc"
13
13
  },
14
14
  "keywords": [],
15
- "author": "REMNAWAVE",
15
+ "author": "Remnawave",
16
16
  "homepage": "https://github.com/remnawave",
17
17
  "repository": {
18
18
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "bugs": {
22
22
  "url": "https://github.com/remnawave/node/issues"
23
23
  },
24
- "license": "MIT",
24
+ "license": "AGPL-3.0-only",
25
25
  "dependencies": {
26
26
  "zod": "^3.22.4"
27
27
  }