@remnawave/node-contract
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -0,4 +1,4 @@ | ||
export * from './handler'; | ||
export * from './stats'; | ||
export * from './xray'; | ||
export * from './handler'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./handler"), exports); | ||
__exportStar(require("./stats"), exports); | ||
__exportStar(require("./xray"), exports); | ||
__exportStar(require("./handler"), exports); |
@@ -0,3 +1,3 @@ | ||
export * from './controllers'; | ||
export * from './routes'; | ||
export * from './controllers'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./controllers"), exports); | ||
__exportStar(require("./routes"), exports); | ||
__exportStar(require("./controllers"), exports); |
import { z } from 'zod'; | ||
export declare enum CipherType { | ||
UNKNOWN = 0, | ||
AES_128_GCM = 5, | ||
AES_256_GCM = 6, | ||
CHACHA20_POLY1305 = 7, | ||
XCHACHA20_POLY1305 = 8, | ||
NONE = 9, | ||
UNRECOGNIZED = -1 | ||
UNKNOWN = 0, | ||
UNRECOGNIZED = -1, | ||
XCHACHA20_POLY1305 = 8 | ||
} | ||
@@ -231,17 +231,17 @@ export declare namespace AddUserCommand { | ||
}, "strip", z.ZodTypeAny, { | ||
success: boolean; | ||
error: string | null; | ||
}, { | ||
success: boolean; | ||
}, { | ||
error: string | null; | ||
success: boolean; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
response: { | ||
success: boolean; | ||
error: string | null; | ||
success: boolean; | ||
}; | ||
}, { | ||
response: { | ||
success: boolean; | ||
error: string | null; | ||
success: boolean; | ||
}; | ||
@@ -248,0 +248,0 @@ }>; |
@@ -8,9 +8,9 @@ "use strict"; | ||
(function (CipherType) { | ||
CipherType[CipherType["UNKNOWN"] = 0] = "UNKNOWN"; | ||
CipherType[CipherType["AES_128_GCM"] = 5] = "AES_128_GCM"; | ||
CipherType[CipherType["AES_256_GCM"] = 6] = "AES_256_GCM"; | ||
CipherType[CipherType["CHACHA20_POLY1305"] = 7] = "CHACHA20_POLY1305"; | ||
CipherType[CipherType["XCHACHA20_POLY1305"] = 8] = "XCHACHA20_POLY1305"; | ||
CipherType[CipherType["NONE"] = 9] = "NONE"; | ||
CipherType[CipherType["UNKNOWN"] = 0] = "UNKNOWN"; | ||
CipherType[CipherType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; | ||
CipherType[CipherType["XCHACHA20_POLY1305"] = 8] = "XCHACHA20_POLY1305"; | ||
})(CipherType || (exports.CipherType = CipherType = {})); | ||
@@ -17,0 +17,0 @@ var AddUserCommand; |
export * from './add-user.command'; | ||
export * from './get-inbound-users-count.command'; | ||
export * from './get-inbound-users.command'; | ||
export * from './get-inbound-users-count.command'; | ||
export * from './remove-user.command'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,4 +18,4 @@ "use strict"; | ||
__exportStar(require("./add-user.command"), exports); | ||
__exportStar(require("./get-inbound-users-count.command"), exports); | ||
__exportStar(require("./get-inbound-users.command"), exports); | ||
__exportStar(require("./get-inbound-users-count.command"), exports); | ||
__exportStar(require("./remove-user.command"), exports); |
@@ -20,17 +20,17 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
success: boolean; | ||
error: string | null; | ||
}, { | ||
success: boolean; | ||
}, { | ||
error: string | null; | ||
success: boolean; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
response: { | ||
success: boolean; | ||
error: string | null; | ||
success: boolean; | ||
}; | ||
}, { | ||
response: { | ||
success: boolean; | ||
error: string | null; | ||
success: boolean; | ||
}; | ||
@@ -37,0 +37,0 @@ }>; |
@@ -0,4 +1,4 @@ | ||
export * from './handler'; | ||
export * from './stats'; | ||
export * from './xray'; | ||
export * from './stats'; | ||
export * from './handler'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./handler"), exports); | ||
__exportStar(require("./stats"), exports); | ||
__exportStar(require("./xray"), exports); | ||
__exportStar(require("./stats"), exports); | ||
__exportStar(require("./handler"), exports); |
@@ -8,7 +8,7 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
tag: string; | ||
reset: boolean; | ||
}, { | ||
tag: string; | ||
}, { | ||
reset: boolean; | ||
tag: string; | ||
}>; | ||
@@ -15,0 +15,0 @@ type Request = z.infer<typeof RequestSchema>; |
@@ -8,7 +8,7 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
tag: string; | ||
reset: boolean; | ||
}, { | ||
tag: string; | ||
}, { | ||
reset: boolean; | ||
tag: string; | ||
}>; | ||
@@ -15,0 +15,0 @@ type Request = z.infer<typeof RequestSchema>; |
@@ -19,21 +19,21 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
username: string; | ||
downlink: number; | ||
uplink: number; | ||
}, { | ||
username: string; | ||
}, { | ||
downlink: number; | ||
uplink: number; | ||
username: string; | ||
}>, "many">; | ||
}, "strip", z.ZodTypeAny, { | ||
users: { | ||
username: string; | ||
downlink: number; | ||
uplink: number; | ||
username: string; | ||
}[]; | ||
}, { | ||
users: { | ||
username: string; | ||
downlink: number; | ||
uplink: number; | ||
username: string; | ||
}[]; | ||
@@ -44,5 +44,5 @@ }>; | ||
users: { | ||
username: string; | ||
downlink: number; | ||
uplink: number; | ||
username: string; | ||
}[]; | ||
@@ -53,5 +53,5 @@ }; | ||
users: { | ||
username: string; | ||
downlink: number; | ||
uplink: number; | ||
username: string; | ||
}[]; | ||
@@ -58,0 +58,0 @@ }; |
@@ -9,17 +9,17 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
isRunning: boolean; | ||
version: string | null; | ||
}, { | ||
isRunning: boolean; | ||
}, { | ||
version: string | null; | ||
isRunning: boolean; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
response: { | ||
isRunning: boolean; | ||
version: string | null; | ||
isRunning: boolean; | ||
}; | ||
}, { | ||
response: { | ||
isRunning: boolean; | ||
version: string | null; | ||
isRunning: boolean; | ||
}; | ||
@@ -26,0 +26,0 @@ }>; |
@@ -0,4 +1,4 @@ | ||
export * from './get-status-and-version.command'; | ||
export * from './start.command'; | ||
export * from './stop.command'; | ||
export * from './get-status-and-version.command'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./get-status-and-version.command"), exports); | ||
__exportStar(require("./start.command"), exports); | ||
__exportStar(require("./stop.command"), exports); | ||
__exportStar(require("./get-status-and-version.command"), exports); |
@@ -25,5 +25,5 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
error: string | null; | ||
version: string | null; | ||
isStarted: boolean; | ||
version: string | null; | ||
error: string | null; | ||
systemInformation: { | ||
@@ -35,5 +35,5 @@ cpuCores: number; | ||
}, { | ||
error: string | null; | ||
version: string | null; | ||
isStarted: boolean; | ||
version: string | null; | ||
error: string | null; | ||
systemInformation: { | ||
@@ -47,5 +47,5 @@ cpuCores: number; | ||
response: { | ||
error: string | null; | ||
version: string | null; | ||
isStarted: boolean; | ||
version: string | null; | ||
error: string | null; | ||
systemInformation: { | ||
@@ -59,5 +59,5 @@ cpuCores: number; | ||
response: { | ||
error: string | null; | ||
version: string | null; | ||
isStarted: boolean; | ||
version: string | null; | ||
error: string | null; | ||
systemInformation: { | ||
@@ -64,0 +64,0 @@ cpuCores: number; |
export * from './errors'; | ||
export * from './internal'; | ||
export * from './roles'; | ||
export * from './xray'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,3 +18,4 @@ "use strict"; | ||
__exportStar(require("./errors"), exports); | ||
__exportStar(require("./internal"), exports); | ||
__exportStar(require("./roles"), exports); | ||
__exportStar(require("./xray"), exports); |
@@ -38,3 +38,3 @@ export declare const XRAY_DEFAULT_POLICY_MODEL: { | ||
readonly listen: "127.0.0.1"; | ||
readonly port: 61001; | ||
readonly port: 61002; | ||
readonly protocol: "dokodemo-door"; | ||
@@ -41,0 +41,0 @@ readonly settings: { |
@@ -41,3 +41,3 @@ "use strict"; | ||
listen: '127.0.0.1', | ||
port: 61001, | ||
port: 61002, | ||
protocol: 'dokodemo-door', | ||
@@ -44,0 +44,0 @@ settings: { |
@@ -0,5 +1,5 @@ | ||
export * from './api'; | ||
export * from './commands'; | ||
export * from './constants'; | ||
export * from './commands'; | ||
export * from './api'; | ||
export * from './models'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,5 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./api"), exports); | ||
__exportStar(require("./commands"), exports); | ||
__exportStar(require("./constants"), exports); | ||
__exportStar(require("./commands"), exports); | ||
__exportStar(require("./api"), exports); | ||
__exportStar(require("./models"), exports); |
{ | ||
"name": "@remnawave/node-contract", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "A node-contract library for Remnawave Panel", | ||
@@ -16,2 +16,10 @@ "main": "build/index.js", | ||
"author": "REMNAWAVE", | ||
"homepage": "https://github.com/remnawave", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/remnawave/node" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/remnawave/node/issues" | ||
}, | ||
"license": "MIT", | ||
@@ -18,0 +26,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
78336
109
1850
0
1
0