@remnawave/backend-contract 2.8.9 → 2.8.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/build/backend/commands/hosts/create.command.d.ts +3 -13
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +3 -13
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +1 -1
- package/build/backend/constants/hosts/fingerprints.d.ts +1 -13
- package/build/backend/constants/hosts/fingerprints.d.ts.map +1 -1
- package/build/backend/constants/hosts/fingerprints.js +13 -13
- package/build/frontend/commands/hosts/create.command.js +1 -1
- package/build/frontend/commands/hosts/update.command.js +1 -1
- package/build/frontend/constants/hosts/fingerprints.js +13 -13
- package/package.json +1 -1
|
@@ -28,17 +28,7 @@ export declare namespace CreateHostCommand {
|
|
|
28
28
|
readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
|
|
29
29
|
readonly H3_H2_COMBINED: "h3,h2";
|
|
30
30
|
}>>>;
|
|
31
|
-
fingerprint: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
-
readonly CHROME: "chrome";
|
|
33
|
-
readonly FIREFOX: "firefox";
|
|
34
|
-
readonly SAFARI: "safari";
|
|
35
|
-
readonly IOS: "ios";
|
|
36
|
-
readonly ANDROID: "android";
|
|
37
|
-
readonly EDGE: "edge";
|
|
38
|
-
readonly QQ: "qq";
|
|
39
|
-
readonly RANDOM: "random";
|
|
40
|
-
readonly RANDOMIZED: "randomized";
|
|
41
|
-
}>>>;
|
|
31
|
+
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
32
|
isDisabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
43
33
|
securityLayer: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<{
|
|
44
34
|
readonly DEFAULT: "DEFAULT";
|
|
@@ -91,7 +81,7 @@ export declare namespace CreateHostCommand {
|
|
|
91
81
|
sni?: string | undefined;
|
|
92
82
|
host?: string | undefined;
|
|
93
83
|
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
|
94
|
-
fingerprint?:
|
|
84
|
+
fingerprint?: string | null | undefined;
|
|
95
85
|
isDisabled?: boolean | undefined;
|
|
96
86
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
97
87
|
xHttpExtraParams?: unknown;
|
|
@@ -125,7 +115,7 @@ export declare namespace CreateHostCommand {
|
|
|
125
115
|
sni?: string | undefined;
|
|
126
116
|
host?: string | undefined;
|
|
127
117
|
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
|
128
|
-
fingerprint?:
|
|
118
|
+
fingerprint?: string | null | undefined;
|
|
129
119
|
isDisabled?: boolean | undefined;
|
|
130
120
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
131
121
|
xHttpExtraParams?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -37,7 +37,7 @@ var CreateHostCommand;
|
|
|
37
37
|
sni: zod_1.z.string().optional(),
|
|
38
38
|
host: zod_1.z.string().optional(),
|
|
39
39
|
alpn: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.ALPN).nullable()),
|
|
40
|
-
fingerprint: zod_1.z.optional(zod_1.z.
|
|
40
|
+
fingerprint: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
41
41
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
42
42
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS).default(constants_1.SECURITY_LAYERS.DEFAULT)),
|
|
43
43
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
|
@@ -87,17 +87,7 @@ export declare namespace UpdateHostCommand {
|
|
|
87
87
|
readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
|
|
88
88
|
readonly H3_H2_COMBINED: "h3,h2";
|
|
89
89
|
}>>>;
|
|
90
|
-
fingerprint: z.ZodOptional<z.ZodNullable<z.
|
|
91
|
-
readonly CHROME: "chrome";
|
|
92
|
-
readonly FIREFOX: "firefox";
|
|
93
|
-
readonly SAFARI: "safari";
|
|
94
|
-
readonly IOS: "ios";
|
|
95
|
-
readonly ANDROID: "android";
|
|
96
|
-
readonly EDGE: "edge";
|
|
97
|
-
readonly QQ: "qq";
|
|
98
|
-
readonly RANDOM: "random";
|
|
99
|
-
readonly RANDOMIZED: "randomized";
|
|
100
|
-
}>>>;
|
|
90
|
+
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
91
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
102
92
|
securityLayer: z.ZodOptional<z.ZodNativeEnum<{
|
|
103
93
|
readonly DEFAULT: "DEFAULT";
|
|
@@ -147,7 +137,7 @@ export declare namespace UpdateHostCommand {
|
|
|
147
137
|
sni?: string | undefined;
|
|
148
138
|
host?: string | undefined;
|
|
149
139
|
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
|
150
|
-
fingerprint?:
|
|
140
|
+
fingerprint?: string | null | undefined;
|
|
151
141
|
isDisabled?: boolean | undefined;
|
|
152
142
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
153
143
|
xHttpExtraParams?: unknown;
|
|
@@ -182,7 +172,7 @@ export declare namespace UpdateHostCommand {
|
|
|
182
172
|
sni?: string | undefined;
|
|
183
173
|
host?: string | undefined;
|
|
184
174
|
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
|
185
|
-
fingerprint?:
|
|
175
|
+
fingerprint?: string | null | undefined;
|
|
186
176
|
isDisabled?: boolean | undefined;
|
|
187
177
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
188
178
|
xHttpExtraParams?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6ExB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -42,7 +42,7 @@ var UpdateHostCommand;
|
|
|
42
42
|
sni: zod_1.z.optional(zod_1.z.string()),
|
|
43
43
|
host: zod_1.z.optional(zod_1.z.string()),
|
|
44
44
|
alpn: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.ALPN).nullable()),
|
|
45
|
-
fingerprint: zod_1.z.optional(zod_1.z.
|
|
45
|
+
fingerprint: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
46
46
|
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
|
47
47
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS)),
|
|
48
48
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
export declare const FINGERPRINTS:
|
|
2
|
-
readonly CHROME: "chrome";
|
|
3
|
-
readonly FIREFOX: "firefox";
|
|
4
|
-
readonly SAFARI: "safari";
|
|
5
|
-
readonly IOS: "ios";
|
|
6
|
-
readonly ANDROID: "android";
|
|
7
|
-
readonly EDGE: "edge";
|
|
8
|
-
readonly QQ: "qq";
|
|
9
|
-
readonly RANDOM: "random";
|
|
10
|
-
readonly RANDOMIZED: "randomized";
|
|
11
|
-
};
|
|
12
|
-
export type TFingerprints = [keyof typeof FINGERPRINTS][number];
|
|
13
|
-
export declare const FINGERPRINTS_VALUES: ("chrome" | "firefox" | "safari" | "ios" | "android" | "edge" | "qq" | "random" | "randomized")[];
|
|
1
|
+
export declare const FINGERPRINTS: readonly ["randomized", "android", "firefox", "chrome", "safari", "edge", "ios", "qq", "360", "random"];
|
|
14
2
|
//# sourceMappingURL=fingerprints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprints.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/fingerprints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"fingerprints.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/fingerprints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,yGAWf,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.FINGERPRINTS =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
exports.FINGERPRINTS = void 0;
|
|
4
|
+
exports.FINGERPRINTS = [
|
|
5
|
+
'randomized',
|
|
6
|
+
'android',
|
|
7
|
+
'firefox',
|
|
8
|
+
'chrome',
|
|
9
|
+
'safari',
|
|
10
|
+
'edge',
|
|
11
|
+
'ios',
|
|
12
|
+
'qq',
|
|
13
|
+
'360',
|
|
14
|
+
'random',
|
|
15
|
+
];
|
|
@@ -37,7 +37,7 @@ var CreateHostCommand;
|
|
|
37
37
|
sni: zod_1.z.string().optional(),
|
|
38
38
|
host: zod_1.z.string().optional(),
|
|
39
39
|
alpn: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.ALPN).nullable()),
|
|
40
|
-
fingerprint: zod_1.z.optional(zod_1.z.
|
|
40
|
+
fingerprint: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
41
41
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
42
42
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS).default(constants_1.SECURITY_LAYERS.DEFAULT)),
|
|
43
43
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
|
@@ -42,7 +42,7 @@ var UpdateHostCommand;
|
|
|
42
42
|
sni: zod_1.z.optional(zod_1.z.string()),
|
|
43
43
|
host: zod_1.z.optional(zod_1.z.string()),
|
|
44
44
|
alpn: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.ALPN).nullable()),
|
|
45
|
-
fingerprint: zod_1.z.optional(zod_1.z.
|
|
45
|
+
fingerprint: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
46
46
|
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
|
47
47
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS)),
|
|
48
48
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.FINGERPRINTS =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
exports.FINGERPRINTS = void 0;
|
|
4
|
+
exports.FINGERPRINTS = [
|
|
5
|
+
'randomized',
|
|
6
|
+
'android',
|
|
7
|
+
'firefox',
|
|
8
|
+
'chrome',
|
|
9
|
+
'safari',
|
|
10
|
+
'edge',
|
|
11
|
+
'ios',
|
|
12
|
+
'qq',
|
|
13
|
+
'360',
|
|
14
|
+
'random',
|
|
15
|
+
];
|