surgio 3.6.4 → 3.6.5
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/generator/artifact.js +12 -2
- package/build/generator/artifact.js.map +1 -1
- package/build/validators/common.d.ts +6 -6
- package/build/validators/common.js +3 -3
- package/build/validators/common.js.map +1 -1
- package/build/validators/http.d.ts +12 -12
- package/build/validators/hysteria2.d.ts +6 -6
- package/build/validators/provider.d.ts +6 -0
- package/build/validators/provider.js +4 -0
- package/build/validators/provider.js.map +1 -1
- package/build/validators/shadowsocks.d.ts +6 -6
- package/build/validators/shadowsocksr.d.ts +6 -6
- package/build/validators/snell.d.ts +6 -6
- package/build/validators/socks5.d.ts +6 -6
- package/build/validators/trojan.d.ts +6 -6
- package/build/validators/tuic.d.ts +24 -24
- package/build/validators/vless.d.ts +6 -6
- package/build/validators/vmess.d.ts +6 -6
- package/build/validators/wireguard.d.ts +6 -6
- package/hygen-template/provider/new/template.ejs.t +0 -2
- package/package.json +1 -1
|
@@ -285,13 +285,23 @@ class Artifact extends events_1.EventEmitter {
|
|
|
285
285
|
nodeConfig.nodeName = (0, flag_1.removeFlag)(nodeConfig.nodeName);
|
|
286
286
|
}
|
|
287
287
|
// TCP Fast Open
|
|
288
|
-
if (provider.config.tfo) {
|
|
288
|
+
if (typeof nodeConfig.tfo === 'undefined' && provider.config.tfo) {
|
|
289
289
|
nodeConfig.tfo = provider.config.tfo;
|
|
290
290
|
}
|
|
291
291
|
// MPTCP
|
|
292
|
-
if (
|
|
292
|
+
if (typeof nodeConfig.mptcp === 'undefined' &&
|
|
293
|
+
provider.config.mptcp) {
|
|
293
294
|
nodeConfig.mptcp = provider.config.mptcp;
|
|
294
295
|
}
|
|
296
|
+
// ECN
|
|
297
|
+
if (typeof nodeConfig.ecn === 'undefined' && provider.config.ecn) {
|
|
298
|
+
nodeConfig.ecn = provider.config.ecn;
|
|
299
|
+
}
|
|
300
|
+
// Block QUIC
|
|
301
|
+
if (typeof nodeConfig.blockQuic === 'undefined' &&
|
|
302
|
+
provider.config.blockQuic) {
|
|
303
|
+
nodeConfig.blockQuic = provider.config.blockQuic;
|
|
304
|
+
}
|
|
295
305
|
// Underlying Proxy
|
|
296
306
|
if (!nodeConfig.underlyingProxy && provider.config.underlyingProxy) {
|
|
297
307
|
nodeConfig.underlyingProxy = provider.config.underlyingProxy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact.js","sourceRoot":"","sources":["../../src/generator/artifact.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAuC;AACvC,wDAA+B;AAC/B,mCAAqC;AACrC,wDAAyB;AACzB,oDAAsB;AAEtB,gDAAuB;AAEvB,0CAKoB;AACpB,oCAQiB;AACjB,oCA0BiB;AACjB,sCAA4C;AAC5C,wCAA4D;AAC5D,wCAAuD;AACvD,yCAA6C;AAS7C,MAAa,QAAS,SAAQ,qBAAY;IAiB/B;IACA;IACC;IAlBH,YAAY,GAAG,CAAC,CAAA;IAEhB,gBAAgB,CAAuB;IACvC,iBAAiB,GACtB,IAAI,GAAG,EAAE,CAAA;IACJ,WAAW,GAAsC,IAAI,GAAG,EAAE,CAAA;IAC1D,QAAQ,GAA6B,EAAE,CAAA;IAEtC,aAAa,GAAiD,EAAE,CAAA;IAChE,aAAa,GACnB,yBAAe,CAAC,aAAa,CAAA;IACvB,oBAAoB,GAExB,yBAAe,CAAC,oBAAoB,CAAA;IAExC,YACS,YAA2B,EAC3B,QAAwB,EACvB,UAA2B,EAAE;QAErC,KAAK,EAAE,CAAA;QAJA,iBAAY,GAAZ,YAAY,CAAe;QAC3B,aAAQ,GAAR,QAAQ,CAAgB;QACvB,YAAO,GAAP,OAAO,CAAsB;QAIrC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,QAAQ,CAAA;QAC1C,MAAM,gBAAgB,GAAG,QAAQ,CAAC,gBAAgB,IAAI,EAAE,CAAA;QAExD,IAAI,CAAC,gBAAgB,GAAG,CAAC,gBAAgB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B,CAAC,IAAA,YAAI,EAAC,UAAU,CAAC,QAAQ,CAAC;oBAC1B,CAAC,oBAAY,CAAC,KAAK,EAAE,oBAAY,CAAC,YAAY,CAAC,CAAC,QAAQ,CACtD,UAAU,CAAC,IAAI,CAChB,EACD,CAAC;oBACD,IAAI,CAAC;wBACH,UAAU,CAAC,UAAU,GAAG,MAAM,IAAA,mBAAa,EAAC,UAAU,CAAC,QAAQ,CAAC,CAAA;oBAClE,CAAC;oBAAC,OAAO,GAAG,EAAE,0BAA0B,CAAC,CAAC;wBACxC,eAAM,CAAC,IAAI,CACT,GAAG,UAAU,CAAC,QAAQ,mBAAmB,CAC1C,CAAA;oBACH,CAAC;gBACH,CAAC;gBAED,OAAO,UAAU,CAAA;YACnB,CAAC;YAED,OAAO,SAAS,CAAA;QAClB,CAAC,CAAC,CACH,CAAC,MAAM,CAAC,CAAC,IAAI,EAAkC,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC,CAAA;QAEtE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAA;QACxD,IAAI,CAAC,YAAY,EAAE,CAAA;QAEnB,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC5B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY;YACZ,QAAQ;SACT,CAAC,CAAA;IACJ,CAAC;CACF;AA9aD,4BA8aC"}
|
|
@@ -182,10 +182,11 @@ export declare const TlsNodeConfigValidator: z.ZodObject<{
|
|
|
182
182
|
}>>;
|
|
183
183
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
184
184
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
185
187
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
186
188
|
nodeName: z.ZodString;
|
|
187
189
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
189
190
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
190
191
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
191
192
|
password: z.ZodString;
|
|
@@ -199,7 +200,6 @@ export declare const TlsNodeConfigValidator: z.ZodObject<{
|
|
|
199
200
|
sni: string;
|
|
200
201
|
version?: string | number | undefined;
|
|
201
202
|
}>>;
|
|
202
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
203
203
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
204
204
|
hostname: z.ZodString;
|
|
205
205
|
port: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>;
|
|
@@ -233,15 +233,15 @@ export declare const TlsNodeConfigValidator: z.ZodObject<{
|
|
|
233
233
|
} | undefined;
|
|
234
234
|
mptcp?: boolean | undefined;
|
|
235
235
|
tfo?: boolean | undefined;
|
|
236
|
+
ecn?: boolean | undefined;
|
|
237
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
236
238
|
underlyingProxy?: string | undefined;
|
|
237
239
|
enable?: boolean | undefined;
|
|
238
|
-
ecn?: boolean | undefined;
|
|
239
240
|
shadowTls?: {
|
|
240
241
|
password: string;
|
|
241
242
|
sni: string;
|
|
242
243
|
version?: string | number | undefined;
|
|
243
244
|
} | undefined;
|
|
244
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
245
245
|
testUrl?: string | undefined;
|
|
246
246
|
tls13?: boolean | undefined;
|
|
247
247
|
skipCertVerify?: boolean | undefined;
|
|
@@ -273,15 +273,15 @@ export declare const TlsNodeConfigValidator: z.ZodObject<{
|
|
|
273
273
|
} | undefined;
|
|
274
274
|
mptcp?: boolean | undefined;
|
|
275
275
|
tfo?: boolean | undefined;
|
|
276
|
+
ecn?: boolean | undefined;
|
|
277
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
276
278
|
underlyingProxy?: string | undefined;
|
|
277
279
|
enable?: boolean | undefined;
|
|
278
|
-
ecn?: boolean | undefined;
|
|
279
280
|
shadowTls?: {
|
|
280
281
|
password: string;
|
|
281
282
|
sni: string;
|
|
282
283
|
version?: string | number | undefined;
|
|
283
284
|
} | undefined;
|
|
284
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
285
285
|
testUrl?: string | undefined;
|
|
286
286
|
tls13?: boolean | undefined;
|
|
287
287
|
skipCertVerify?: boolean | undefined;
|
|
@@ -42,9 +42,9 @@ exports.SimpleNodeConfigValidator = zod_1.z.object({
|
|
|
42
42
|
nodeName: zod_1.z.string(),
|
|
43
43
|
enable: zod_1.z.boolean().optional(),
|
|
44
44
|
// TCP features
|
|
45
|
-
tfo: zod_1.z.
|
|
46
|
-
mptcp: zod_1.z.
|
|
47
|
-
ecn: zod_1.z.
|
|
45
|
+
tfo: zod_1.z.oboolean(),
|
|
46
|
+
mptcp: zod_1.z.oboolean(),
|
|
47
|
+
ecn: zod_1.z.oboolean(),
|
|
48
48
|
shadowTls: zod_1.z
|
|
49
49
|
.object({
|
|
50
50
|
version: exports.IntegersVersionValidator.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/validators/common.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,oCAAuC;AACvC,mDAKwB;AAEjB,MAAM,mCAAmC,GAAG,CACjD,SAAiC,EACjC,OAAe,EACf,EAAE,CACF,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,GAAG,EAAmB,EAAE;IACtE,MAAM,GAA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,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,2BAA2B,EAAE,OAAC,CAAC,OAAO,EAAE;IACxC,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE;CAC/B,CAAC,CAAA"}
|
|
@@ -46,10 +46,11 @@ export declare const HttpNodeConfigValidator: z.ZodObject<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
49
51
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
50
52
|
nodeName: z.ZodString;
|
|
51
53
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
54
55
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
55
56
|
password: z.ZodString;
|
|
@@ -63,7 +64,6 @@ export declare const HttpNodeConfigValidator: z.ZodObject<{
|
|
|
63
64
|
sni: string;
|
|
64
65
|
version?: string | number | undefined;
|
|
65
66
|
}>>;
|
|
66
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
67
67
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
68
68
|
type: z.ZodLiteral<NodeTypeEnum.HTTP>;
|
|
69
69
|
hostname: z.ZodString;
|
|
@@ -96,15 +96,15 @@ export declare const HttpNodeConfigValidator: z.ZodObject<{
|
|
|
96
96
|
} | undefined;
|
|
97
97
|
mptcp?: boolean | undefined;
|
|
98
98
|
tfo?: boolean | undefined;
|
|
99
|
+
ecn?: boolean | undefined;
|
|
100
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
99
101
|
underlyingProxy?: string | undefined;
|
|
100
102
|
enable?: boolean | undefined;
|
|
101
|
-
ecn?: boolean | undefined;
|
|
102
103
|
shadowTls?: {
|
|
103
104
|
password: string;
|
|
104
105
|
sni: string;
|
|
105
106
|
version?: string | number | undefined;
|
|
106
107
|
} | undefined;
|
|
107
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
108
108
|
testUrl?: string | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
port: string | number;
|
|
@@ -132,15 +132,15 @@ export declare const HttpNodeConfigValidator: z.ZodObject<{
|
|
|
132
132
|
} | undefined;
|
|
133
133
|
mptcp?: boolean | undefined;
|
|
134
134
|
tfo?: boolean | undefined;
|
|
135
|
+
ecn?: boolean | undefined;
|
|
136
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
135
137
|
underlyingProxy?: string | undefined;
|
|
136
138
|
enable?: boolean | undefined;
|
|
137
|
-
ecn?: boolean | undefined;
|
|
138
139
|
shadowTls?: {
|
|
139
140
|
password: string;
|
|
140
141
|
sni: string;
|
|
141
142
|
version?: string | number | undefined;
|
|
142
143
|
} | undefined;
|
|
143
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
144
144
|
testUrl?: string | undefined;
|
|
145
145
|
}>;
|
|
146
146
|
export declare const HttpsNodeConfigValidator: z.ZodObject<{
|
|
@@ -190,11 +190,12 @@ export declare const HttpsNodeConfigValidator: z.ZodObject<{
|
|
|
190
190
|
}>>;
|
|
191
191
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
192
192
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
193
195
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
194
196
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
195
197
|
nodeName: z.ZodString;
|
|
196
198
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
198
199
|
sni: z.ZodOptional<z.ZodString>;
|
|
199
200
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
200
201
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -209,7 +210,6 @@ export declare const HttpsNodeConfigValidator: z.ZodObject<{
|
|
|
209
210
|
sni: string;
|
|
210
211
|
version?: string | number | undefined;
|
|
211
212
|
}>>;
|
|
212
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
213
213
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
214
214
|
hostname: z.ZodString;
|
|
215
215
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -245,17 +245,17 @@ export declare const HttpsNodeConfigValidator: z.ZodObject<{
|
|
|
245
245
|
} | undefined;
|
|
246
246
|
mptcp?: boolean | undefined;
|
|
247
247
|
tfo?: boolean | undefined;
|
|
248
|
+
ecn?: boolean | undefined;
|
|
249
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
248
250
|
underlyingProxy?: string | undefined;
|
|
249
251
|
tls13?: boolean | undefined;
|
|
250
252
|
enable?: boolean | undefined;
|
|
251
|
-
ecn?: boolean | undefined;
|
|
252
253
|
sni?: string | undefined;
|
|
253
254
|
shadowTls?: {
|
|
254
255
|
password: string;
|
|
255
256
|
sni: string;
|
|
256
257
|
version?: string | number | undefined;
|
|
257
258
|
} | undefined;
|
|
258
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
259
259
|
testUrl?: string | undefined;
|
|
260
260
|
skipCertVerify?: boolean | undefined;
|
|
261
261
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -287,17 +287,17 @@ export declare const HttpsNodeConfigValidator: z.ZodObject<{
|
|
|
287
287
|
} | undefined;
|
|
288
288
|
mptcp?: boolean | undefined;
|
|
289
289
|
tfo?: boolean | undefined;
|
|
290
|
+
ecn?: boolean | undefined;
|
|
291
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
290
292
|
underlyingProxy?: string | undefined;
|
|
291
293
|
tls13?: boolean | undefined;
|
|
292
294
|
enable?: boolean | undefined;
|
|
293
|
-
ecn?: boolean | undefined;
|
|
294
295
|
sni?: string | undefined;
|
|
295
296
|
shadowTls?: {
|
|
296
297
|
password: string;
|
|
297
298
|
sni: string;
|
|
298
299
|
version?: string | number | undefined;
|
|
299
300
|
} | undefined;
|
|
300
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
301
301
|
testUrl?: string | undefined;
|
|
302
302
|
skipCertVerify?: boolean | undefined;
|
|
303
303
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -47,11 +47,12 @@ export declare const Hysteria2NodeConfigValidator: z.ZodObject<{
|
|
|
47
47
|
}>>;
|
|
48
48
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
50
52
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
51
53
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
52
54
|
nodeName: z.ZodString;
|
|
53
55
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
55
56
|
sni: z.ZodOptional<z.ZodString>;
|
|
56
57
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
57
58
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -66,7 +67,6 @@ export declare const Hysteria2NodeConfigValidator: z.ZodObject<{
|
|
|
66
67
|
sni: string;
|
|
67
68
|
version?: string | number | undefined;
|
|
68
69
|
}>>;
|
|
69
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
70
70
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
71
71
|
hostname: z.ZodString;
|
|
72
72
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -104,17 +104,17 @@ export declare const Hysteria2NodeConfigValidator: z.ZodObject<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
mptcp?: boolean | undefined;
|
|
106
106
|
tfo?: boolean | undefined;
|
|
107
|
+
ecn?: boolean | undefined;
|
|
108
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
107
109
|
underlyingProxy?: string | undefined;
|
|
108
110
|
tls13?: boolean | undefined;
|
|
109
111
|
enable?: boolean | undefined;
|
|
110
|
-
ecn?: boolean | undefined;
|
|
111
112
|
sni?: string | undefined;
|
|
112
113
|
shadowTls?: {
|
|
113
114
|
password: string;
|
|
114
115
|
sni: string;
|
|
115
116
|
version?: string | number | undefined;
|
|
116
117
|
} | undefined;
|
|
117
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
118
118
|
testUrl?: string | undefined;
|
|
119
119
|
skipCertVerify?: boolean | undefined;
|
|
120
120
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -149,17 +149,17 @@ export declare const Hysteria2NodeConfigValidator: z.ZodObject<{
|
|
|
149
149
|
} | undefined;
|
|
150
150
|
mptcp?: boolean | undefined;
|
|
151
151
|
tfo?: boolean | undefined;
|
|
152
|
+
ecn?: boolean | undefined;
|
|
153
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
152
154
|
underlyingProxy?: string | undefined;
|
|
153
155
|
tls13?: boolean | undefined;
|
|
154
156
|
enable?: boolean | undefined;
|
|
155
|
-
ecn?: boolean | undefined;
|
|
156
157
|
sni?: string | undefined;
|
|
157
158
|
shadowTls?: {
|
|
158
159
|
password: string;
|
|
159
160
|
sni: string;
|
|
160
161
|
version?: string | number | undefined;
|
|
161
162
|
} | undefined;
|
|
162
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
163
163
|
testUrl?: string | undefined;
|
|
164
164
|
skipCertVerify?: boolean | undefined;
|
|
165
165
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -6,6 +6,8 @@ export declare const ProviderValidator: z.ZodObject<{
|
|
|
6
6
|
removeExistingFlag: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
9
11
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
10
12
|
startPort: z.ZodOptional<z.ZodNumber>;
|
|
11
13
|
relayUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -55,6 +57,8 @@ export declare const ProviderValidator: z.ZodObject<{
|
|
|
55
57
|
removeExistingFlag?: boolean | undefined;
|
|
56
58
|
mptcp?: boolean | undefined;
|
|
57
59
|
tfo?: boolean | undefined;
|
|
60
|
+
ecn?: boolean | undefined;
|
|
61
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
58
62
|
underlyingProxy?: string | undefined;
|
|
59
63
|
startPort?: number | undefined;
|
|
60
64
|
relayUrl?: string | undefined;
|
|
@@ -86,6 +90,8 @@ export declare const ProviderValidator: z.ZodObject<{
|
|
|
86
90
|
removeExistingFlag?: boolean | undefined;
|
|
87
91
|
mptcp?: boolean | undefined;
|
|
88
92
|
tfo?: boolean | undefined;
|
|
93
|
+
ecn?: boolean | undefined;
|
|
94
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
89
95
|
underlyingProxy?: string | undefined;
|
|
90
96
|
startPort?: number | undefined;
|
|
91
97
|
relayUrl?: string | undefined;
|
|
@@ -11,6 +11,10 @@ exports.ProviderValidator = zod_1.z.object({
|
|
|
11
11
|
removeExistingFlag: zod_1.z.oboolean(),
|
|
12
12
|
mptcp: zod_1.z.oboolean(),
|
|
13
13
|
tfo: zod_1.z.oboolean(),
|
|
14
|
+
ecn: zod_1.z.oboolean(),
|
|
15
|
+
blockQuic: zod_1.z
|
|
16
|
+
.union([zod_1.z.literal('auto'), zod_1.z.literal('on'), zod_1.z.literal('off')])
|
|
17
|
+
.optional(),
|
|
14
18
|
underlyingProxy: zod_1.z.ostring(),
|
|
15
19
|
startPort: zod_1.z.number().min(1024).max(65535).optional(),
|
|
16
20
|
relayUrl: zod_1.z.string().url().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/validators/provider.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,oCAA8C;AAC9C,qCAGiB;AACjB,mCAGgB;AAEH,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC;IACvC,OAAO,EAAE,OAAC,CAAC,QAAQ,EAAE;IACrB,kBAAkB,EAAE,OAAC,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,OAAC,CAAC,QAAQ,EAAE;IACnB,GAAG,EAAE,OAAC,CAAC,QAAQ,EAAE;IACjB,eAAe,EAAE,OAAC,CAAC,OAAO,EAAE;IAC5B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAA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EAAE,sCAA6B,CAAC,CAAC;SAC/D,QAAQ,EAAE;IACb,aAAa,EAAE,OAAC;SACb,KAAK,CAAC,CAAC,gCAAuB,EAAE,sCAA6B,CAAC,CAAC;SAC/D,QAAQ,EAAE;IACb,oBAAoB,EAAE,OAAC;SACpB,KAAK,CAAC,CAAC,gCAAuB,EAAE,sCAA6B,CAAC,CAAC;SAC/D,QAAQ,EAAE;IACb,KAAK,EAAE,OAAC;SACL,MAAM,CAAC;QACN,qBAAqB,EAAE,0CAAkC,CAAC,QAAQ,EAAE;QACpE,OAAO,EAAE,4BAAoB,CAAC,QAAQ,EAAE;KACzC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
|
|
@@ -46,10 +46,11 @@ export declare const ShadowsocksNodeConfigValidator: z.ZodObject<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
49
51
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
50
52
|
nodeName: z.ZodString;
|
|
51
53
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
54
55
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
55
56
|
password: z.ZodString;
|
|
@@ -63,7 +64,6 @@ export declare const ShadowsocksNodeConfigValidator: z.ZodObject<{
|
|
|
63
64
|
sni: string;
|
|
64
65
|
version?: string | number | undefined;
|
|
65
66
|
}>>;
|
|
66
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
67
67
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
68
68
|
type: z.ZodLiteral<NodeTypeEnum.Shadowsocks>;
|
|
69
69
|
hostname: z.ZodString;
|
|
@@ -104,15 +104,15 @@ export declare const ShadowsocksNodeConfigValidator: z.ZodObject<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
mptcp?: boolean | undefined;
|
|
106
106
|
tfo?: boolean | undefined;
|
|
107
|
+
ecn?: boolean | undefined;
|
|
108
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
107
109
|
underlyingProxy?: string | undefined;
|
|
108
110
|
enable?: boolean | undefined;
|
|
109
|
-
ecn?: boolean | undefined;
|
|
110
111
|
shadowTls?: {
|
|
111
112
|
password: string;
|
|
112
113
|
sni: string;
|
|
113
114
|
version?: string | number | undefined;
|
|
114
115
|
} | undefined;
|
|
115
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
116
116
|
testUrl?: string | undefined;
|
|
117
117
|
udpRelay?: boolean | undefined;
|
|
118
118
|
obfs?: "http" | "ws" | "tls" | "wss" | undefined;
|
|
@@ -148,15 +148,15 @@ export declare const ShadowsocksNodeConfigValidator: z.ZodObject<{
|
|
|
148
148
|
} | undefined;
|
|
149
149
|
mptcp?: boolean | undefined;
|
|
150
150
|
tfo?: boolean | undefined;
|
|
151
|
+
ecn?: boolean | undefined;
|
|
152
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
151
153
|
underlyingProxy?: string | undefined;
|
|
152
154
|
enable?: boolean | undefined;
|
|
153
|
-
ecn?: boolean | undefined;
|
|
154
155
|
shadowTls?: {
|
|
155
156
|
password: string;
|
|
156
157
|
sni: string;
|
|
157
158
|
version?: string | number | undefined;
|
|
158
159
|
} | undefined;
|
|
159
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
160
160
|
testUrl?: string | undefined;
|
|
161
161
|
udpRelay?: boolean | undefined;
|
|
162
162
|
obfs?: "http" | "ws" | "tls" | "wss" | undefined;
|
|
@@ -46,10 +46,11 @@ export declare const ShadowsocksrNodeConfigValidator: z.ZodObject<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
49
51
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
50
52
|
nodeName: z.ZodString;
|
|
51
53
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
54
55
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
55
56
|
password: z.ZodString;
|
|
@@ -63,7 +64,6 @@ export declare const ShadowsocksrNodeConfigValidator: z.ZodObject<{
|
|
|
63
64
|
sni: string;
|
|
64
65
|
version?: string | number | undefined;
|
|
65
66
|
}>>;
|
|
66
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
67
67
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
68
68
|
type: z.ZodLiteral<NodeTypeEnum.Shadowsocksr>;
|
|
69
69
|
hostname: z.ZodString;
|
|
@@ -105,15 +105,15 @@ export declare const ShadowsocksrNodeConfigValidator: z.ZodObject<{
|
|
|
105
105
|
} | undefined;
|
|
106
106
|
mptcp?: boolean | undefined;
|
|
107
107
|
tfo?: boolean | undefined;
|
|
108
|
+
ecn?: boolean | undefined;
|
|
109
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
108
110
|
underlyingProxy?: string | undefined;
|
|
109
111
|
enable?: boolean | undefined;
|
|
110
|
-
ecn?: boolean | undefined;
|
|
111
112
|
shadowTls?: {
|
|
112
113
|
password: string;
|
|
113
114
|
sni: string;
|
|
114
115
|
version?: string | number | undefined;
|
|
115
116
|
} | undefined;
|
|
116
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
117
117
|
testUrl?: string | undefined;
|
|
118
118
|
udpRelay?: boolean | undefined;
|
|
119
119
|
}, {
|
|
@@ -146,15 +146,15 @@ export declare const ShadowsocksrNodeConfigValidator: z.ZodObject<{
|
|
|
146
146
|
} | undefined;
|
|
147
147
|
mptcp?: boolean | undefined;
|
|
148
148
|
tfo?: boolean | undefined;
|
|
149
|
+
ecn?: boolean | undefined;
|
|
150
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
149
151
|
underlyingProxy?: string | undefined;
|
|
150
152
|
enable?: boolean | undefined;
|
|
151
|
-
ecn?: boolean | undefined;
|
|
152
153
|
shadowTls?: {
|
|
153
154
|
password: string;
|
|
154
155
|
sni: string;
|
|
155
156
|
version?: string | number | undefined;
|
|
156
157
|
} | undefined;
|
|
157
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
158
158
|
testUrl?: string | undefined;
|
|
159
159
|
udpRelay?: boolean | undefined;
|
|
160
160
|
}>;
|
|
@@ -46,10 +46,11 @@ export declare const SnellNodeConfigValidator: z.ZodObject<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
49
51
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
50
52
|
nodeName: z.ZodString;
|
|
51
53
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
54
55
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
55
56
|
password: z.ZodString;
|
|
@@ -63,7 +64,6 @@ export declare const SnellNodeConfigValidator: z.ZodObject<{
|
|
|
63
64
|
sni: string;
|
|
64
65
|
version?: string | number | undefined;
|
|
65
66
|
}>>;
|
|
66
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
67
67
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
68
68
|
type: z.ZodLiteral<NodeTypeEnum.Snell>;
|
|
69
69
|
hostname: z.ZodString;
|
|
@@ -98,15 +98,15 @@ export declare const SnellNodeConfigValidator: z.ZodObject<{
|
|
|
98
98
|
} | undefined;
|
|
99
99
|
mptcp?: boolean | undefined;
|
|
100
100
|
tfo?: boolean | undefined;
|
|
101
|
+
ecn?: boolean | undefined;
|
|
102
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
101
103
|
underlyingProxy?: string | undefined;
|
|
102
104
|
enable?: boolean | undefined;
|
|
103
|
-
ecn?: boolean | undefined;
|
|
104
105
|
shadowTls?: {
|
|
105
106
|
password: string;
|
|
106
107
|
sni: string;
|
|
107
108
|
version?: string | number | undefined;
|
|
108
109
|
} | undefined;
|
|
109
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
110
110
|
testUrl?: string | undefined;
|
|
111
111
|
obfs?: "http" | "tls" | undefined;
|
|
112
112
|
obfsHost?: string | undefined;
|
|
@@ -137,15 +137,15 @@ export declare const SnellNodeConfigValidator: z.ZodObject<{
|
|
|
137
137
|
} | undefined;
|
|
138
138
|
mptcp?: boolean | undefined;
|
|
139
139
|
tfo?: boolean | undefined;
|
|
140
|
+
ecn?: boolean | undefined;
|
|
141
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
140
142
|
underlyingProxy?: string | undefined;
|
|
141
143
|
enable?: boolean | undefined;
|
|
142
|
-
ecn?: boolean | undefined;
|
|
143
144
|
shadowTls?: {
|
|
144
145
|
password: string;
|
|
145
146
|
sni: string;
|
|
146
147
|
version?: string | number | undefined;
|
|
147
148
|
} | undefined;
|
|
148
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
149
149
|
testUrl?: string | undefined;
|
|
150
150
|
obfs?: "http" | "tls" | undefined;
|
|
151
151
|
obfsHost?: string | undefined;
|
|
@@ -46,10 +46,11 @@ export declare const Socks5NodeConfigValidator: z.ZodObject<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
49
51
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
50
52
|
nodeName: z.ZodString;
|
|
51
53
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
54
55
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
55
56
|
password: z.ZodString;
|
|
@@ -63,7 +64,6 @@ export declare const Socks5NodeConfigValidator: z.ZodObject<{
|
|
|
63
64
|
sni: string;
|
|
64
65
|
version?: string | number | undefined;
|
|
65
66
|
}>>;
|
|
66
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
67
67
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
68
68
|
type: z.ZodLiteral<NodeTypeEnum.Socks5>;
|
|
69
69
|
hostname: z.ZodString;
|
|
@@ -99,15 +99,15 @@ export declare const Socks5NodeConfigValidator: z.ZodObject<{
|
|
|
99
99
|
} | undefined;
|
|
100
100
|
mptcp?: boolean | undefined;
|
|
101
101
|
tfo?: boolean | undefined;
|
|
102
|
+
ecn?: boolean | undefined;
|
|
103
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
102
104
|
underlyingProxy?: string | undefined;
|
|
103
105
|
enable?: boolean | undefined;
|
|
104
|
-
ecn?: boolean | undefined;
|
|
105
106
|
shadowTls?: {
|
|
106
107
|
password: string;
|
|
107
108
|
sni: string;
|
|
108
109
|
version?: string | number | undefined;
|
|
109
110
|
} | undefined;
|
|
110
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
111
111
|
testUrl?: string | undefined;
|
|
112
112
|
username?: string | undefined;
|
|
113
113
|
password?: string | undefined;
|
|
@@ -140,15 +140,15 @@ export declare const Socks5NodeConfigValidator: z.ZodObject<{
|
|
|
140
140
|
} | undefined;
|
|
141
141
|
mptcp?: boolean | undefined;
|
|
142
142
|
tfo?: boolean | undefined;
|
|
143
|
+
ecn?: boolean | undefined;
|
|
144
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
143
145
|
underlyingProxy?: string | undefined;
|
|
144
146
|
enable?: boolean | undefined;
|
|
145
|
-
ecn?: boolean | undefined;
|
|
146
147
|
shadowTls?: {
|
|
147
148
|
password: string;
|
|
148
149
|
sni: string;
|
|
149
150
|
version?: string | number | undefined;
|
|
150
151
|
} | undefined;
|
|
151
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
152
152
|
testUrl?: string | undefined;
|
|
153
153
|
username?: string | undefined;
|
|
154
154
|
password?: string | undefined;
|
|
@@ -47,11 +47,12 @@ export declare const TrojanNodeConfigValidator: z.ZodObject<{
|
|
|
47
47
|
}>>;
|
|
48
48
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
50
52
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
51
53
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
52
54
|
nodeName: z.ZodString;
|
|
53
55
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
55
56
|
sni: z.ZodOptional<z.ZodString>;
|
|
56
57
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
57
58
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -66,7 +67,6 @@ export declare const TrojanNodeConfigValidator: z.ZodObject<{
|
|
|
66
67
|
sni: string;
|
|
67
68
|
version?: string | number | undefined;
|
|
68
69
|
}>>;
|
|
69
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
70
70
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
71
71
|
hostname: z.ZodString;
|
|
72
72
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -104,17 +104,17 @@ export declare const TrojanNodeConfigValidator: z.ZodObject<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
mptcp?: boolean | undefined;
|
|
106
106
|
tfo?: boolean | undefined;
|
|
107
|
+
ecn?: boolean | undefined;
|
|
108
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
107
109
|
underlyingProxy?: string | undefined;
|
|
108
110
|
tls13?: boolean | undefined;
|
|
109
111
|
enable?: boolean | undefined;
|
|
110
|
-
ecn?: boolean | undefined;
|
|
111
112
|
sni?: string | undefined;
|
|
112
113
|
shadowTls?: {
|
|
113
114
|
password: string;
|
|
114
115
|
sni: string;
|
|
115
116
|
version?: string | number | undefined;
|
|
116
117
|
} | undefined;
|
|
117
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
118
118
|
testUrl?: string | undefined;
|
|
119
119
|
skipCertVerify?: boolean | undefined;
|
|
120
120
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -149,17 +149,17 @@ export declare const TrojanNodeConfigValidator: z.ZodObject<{
|
|
|
149
149
|
} | undefined;
|
|
150
150
|
mptcp?: boolean | undefined;
|
|
151
151
|
tfo?: boolean | undefined;
|
|
152
|
+
ecn?: boolean | undefined;
|
|
153
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
152
154
|
underlyingProxy?: string | undefined;
|
|
153
155
|
tls13?: boolean | undefined;
|
|
154
156
|
enable?: boolean | undefined;
|
|
155
|
-
ecn?: boolean | undefined;
|
|
156
157
|
sni?: string | undefined;
|
|
157
158
|
shadowTls?: {
|
|
158
159
|
password: string;
|
|
159
160
|
sni: string;
|
|
160
161
|
version?: string | number | undefined;
|
|
161
162
|
} | undefined;
|
|
162
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
163
163
|
testUrl?: string | undefined;
|
|
164
164
|
skipCertVerify?: boolean | undefined;
|
|
165
165
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -47,11 +47,12 @@ export declare const TuicNodeV5ConfigValidator: z.ZodObject<{
|
|
|
47
47
|
}>>;
|
|
48
48
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
50
52
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
51
53
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
52
54
|
nodeName: z.ZodString;
|
|
53
55
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
55
56
|
sni: z.ZodOptional<z.ZodString>;
|
|
56
57
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
57
58
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -66,7 +67,6 @@ export declare const TuicNodeV5ConfigValidator: z.ZodObject<{
|
|
|
66
67
|
sni: string;
|
|
67
68
|
version?: string | number | undefined;
|
|
68
69
|
}>>;
|
|
69
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
70
70
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
71
71
|
hostname: z.ZodString;
|
|
72
72
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -104,17 +104,17 @@ export declare const TuicNodeV5ConfigValidator: z.ZodObject<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
mptcp?: boolean | undefined;
|
|
106
106
|
tfo?: boolean | undefined;
|
|
107
|
+
ecn?: boolean | undefined;
|
|
108
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
107
109
|
underlyingProxy?: string | undefined;
|
|
108
110
|
tls13?: boolean | undefined;
|
|
109
111
|
enable?: boolean | undefined;
|
|
110
|
-
ecn?: boolean | undefined;
|
|
111
112
|
sni?: string | undefined;
|
|
112
113
|
shadowTls?: {
|
|
113
114
|
password: string;
|
|
114
115
|
sni: string;
|
|
115
116
|
version?: string | number | undefined;
|
|
116
117
|
} | undefined;
|
|
117
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
118
118
|
testUrl?: string | undefined;
|
|
119
119
|
skipCertVerify?: boolean | undefined;
|
|
120
120
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -147,17 +147,17 @@ export declare const TuicNodeV5ConfigValidator: z.ZodObject<{
|
|
|
147
147
|
} | undefined;
|
|
148
148
|
mptcp?: boolean | undefined;
|
|
149
149
|
tfo?: boolean | undefined;
|
|
150
|
+
ecn?: boolean | undefined;
|
|
151
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
150
152
|
underlyingProxy?: string | undefined;
|
|
151
153
|
tls13?: boolean | undefined;
|
|
152
154
|
enable?: boolean | undefined;
|
|
153
|
-
ecn?: boolean | undefined;
|
|
154
155
|
sni?: string | undefined;
|
|
155
156
|
shadowTls?: {
|
|
156
157
|
password: string;
|
|
157
158
|
sni: string;
|
|
158
159
|
version?: string | number | undefined;
|
|
159
160
|
} | undefined;
|
|
160
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
161
161
|
testUrl?: string | undefined;
|
|
162
162
|
skipCertVerify?: boolean | undefined;
|
|
163
163
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -211,11 +211,12 @@ export declare const TuicNodeV4ConfigValidator: z.ZodObject<{
|
|
|
211
211
|
}>>;
|
|
212
212
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
213
213
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
214
216
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
215
217
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
216
218
|
nodeName: z.ZodString;
|
|
217
219
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
219
220
|
sni: z.ZodOptional<z.ZodString>;
|
|
220
221
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
221
222
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -230,7 +231,6 @@ export declare const TuicNodeV4ConfigValidator: z.ZodObject<{
|
|
|
230
231
|
sni: string;
|
|
231
232
|
version?: string | number | undefined;
|
|
232
233
|
}>>;
|
|
233
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
234
234
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
235
235
|
hostname: z.ZodString;
|
|
236
236
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -264,17 +264,17 @@ export declare const TuicNodeV4ConfigValidator: z.ZodObject<{
|
|
|
264
264
|
} | undefined;
|
|
265
265
|
mptcp?: boolean | undefined;
|
|
266
266
|
tfo?: boolean | undefined;
|
|
267
|
+
ecn?: boolean | undefined;
|
|
268
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
267
269
|
underlyingProxy?: string | undefined;
|
|
268
270
|
tls13?: boolean | undefined;
|
|
269
271
|
enable?: boolean | undefined;
|
|
270
|
-
ecn?: boolean | undefined;
|
|
271
272
|
sni?: string | undefined;
|
|
272
273
|
shadowTls?: {
|
|
273
274
|
password: string;
|
|
274
275
|
sni: string;
|
|
275
276
|
version?: string | number | undefined;
|
|
276
277
|
} | undefined;
|
|
277
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
278
278
|
testUrl?: string | undefined;
|
|
279
279
|
skipCertVerify?: boolean | undefined;
|
|
280
280
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -305,17 +305,17 @@ export declare const TuicNodeV4ConfigValidator: z.ZodObject<{
|
|
|
305
305
|
} | undefined;
|
|
306
306
|
mptcp?: boolean | undefined;
|
|
307
307
|
tfo?: boolean | undefined;
|
|
308
|
+
ecn?: boolean | undefined;
|
|
309
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
308
310
|
underlyingProxy?: string | undefined;
|
|
309
311
|
tls13?: boolean | undefined;
|
|
310
312
|
enable?: boolean | undefined;
|
|
311
|
-
ecn?: boolean | undefined;
|
|
312
313
|
sni?: string | undefined;
|
|
313
314
|
shadowTls?: {
|
|
314
315
|
password: string;
|
|
315
316
|
sni: string;
|
|
316
317
|
version?: string | number | undefined;
|
|
317
318
|
} | undefined;
|
|
318
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
319
319
|
testUrl?: string | undefined;
|
|
320
320
|
skipCertVerify?: boolean | undefined;
|
|
321
321
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -369,11 +369,12 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
369
369
|
}>>;
|
|
370
370
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
371
371
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
372
374
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
373
375
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
374
376
|
nodeName: z.ZodString;
|
|
375
377
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
376
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
377
378
|
sni: z.ZodOptional<z.ZodString>;
|
|
378
379
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
379
380
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -388,7 +389,6 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
388
389
|
sni: string;
|
|
389
390
|
version?: string | number | undefined;
|
|
390
391
|
}>>;
|
|
391
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
392
392
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
393
393
|
hostname: z.ZodString;
|
|
394
394
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -422,17 +422,17 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
422
422
|
} | undefined;
|
|
423
423
|
mptcp?: boolean | undefined;
|
|
424
424
|
tfo?: boolean | undefined;
|
|
425
|
+
ecn?: boolean | undefined;
|
|
426
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
425
427
|
underlyingProxy?: string | undefined;
|
|
426
428
|
tls13?: boolean | undefined;
|
|
427
429
|
enable?: boolean | undefined;
|
|
428
|
-
ecn?: boolean | undefined;
|
|
429
430
|
sni?: string | undefined;
|
|
430
431
|
shadowTls?: {
|
|
431
432
|
password: string;
|
|
432
433
|
sni: string;
|
|
433
434
|
version?: string | number | undefined;
|
|
434
435
|
} | undefined;
|
|
435
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
436
436
|
testUrl?: string | undefined;
|
|
437
437
|
skipCertVerify?: boolean | undefined;
|
|
438
438
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -463,17 +463,17 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
463
463
|
} | undefined;
|
|
464
464
|
mptcp?: boolean | undefined;
|
|
465
465
|
tfo?: boolean | undefined;
|
|
466
|
+
ecn?: boolean | undefined;
|
|
467
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
466
468
|
underlyingProxy?: string | undefined;
|
|
467
469
|
tls13?: boolean | undefined;
|
|
468
470
|
enable?: boolean | undefined;
|
|
469
|
-
ecn?: boolean | undefined;
|
|
470
471
|
sni?: string | undefined;
|
|
471
472
|
shadowTls?: {
|
|
472
473
|
password: string;
|
|
473
474
|
sni: string;
|
|
474
475
|
version?: string | number | undefined;
|
|
475
476
|
} | undefined;
|
|
476
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
477
477
|
testUrl?: string | undefined;
|
|
478
478
|
skipCertVerify?: boolean | undefined;
|
|
479
479
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -526,11 +526,12 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
526
526
|
}>>;
|
|
527
527
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
528
528
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
530
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
529
531
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
530
532
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
531
533
|
nodeName: z.ZodString;
|
|
532
534
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
534
535
|
sni: z.ZodOptional<z.ZodString>;
|
|
535
536
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
536
537
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -545,7 +546,6 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
545
546
|
sni: string;
|
|
546
547
|
version?: string | number | undefined;
|
|
547
548
|
}>>;
|
|
548
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
549
549
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
550
550
|
hostname: z.ZodString;
|
|
551
551
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -583,17 +583,17 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
583
583
|
} | undefined;
|
|
584
584
|
mptcp?: boolean | undefined;
|
|
585
585
|
tfo?: boolean | undefined;
|
|
586
|
+
ecn?: boolean | undefined;
|
|
587
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
586
588
|
underlyingProxy?: string | undefined;
|
|
587
589
|
tls13?: boolean | undefined;
|
|
588
590
|
enable?: boolean | undefined;
|
|
589
|
-
ecn?: boolean | undefined;
|
|
590
591
|
sni?: string | undefined;
|
|
591
592
|
shadowTls?: {
|
|
592
593
|
password: string;
|
|
593
594
|
sni: string;
|
|
594
595
|
version?: string | number | undefined;
|
|
595
596
|
} | undefined;
|
|
596
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
597
597
|
testUrl?: string | undefined;
|
|
598
598
|
skipCertVerify?: boolean | undefined;
|
|
599
599
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -626,17 +626,17 @@ export declare const TuicNodeConfigValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
626
626
|
} | undefined;
|
|
627
627
|
mptcp?: boolean | undefined;
|
|
628
628
|
tfo?: boolean | undefined;
|
|
629
|
+
ecn?: boolean | undefined;
|
|
630
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
629
631
|
underlyingProxy?: string | undefined;
|
|
630
632
|
tls13?: boolean | undefined;
|
|
631
633
|
enable?: boolean | undefined;
|
|
632
|
-
ecn?: boolean | undefined;
|
|
633
634
|
sni?: string | undefined;
|
|
634
635
|
shadowTls?: {
|
|
635
636
|
password: string;
|
|
636
637
|
sni: string;
|
|
637
638
|
version?: string | number | undefined;
|
|
638
639
|
} | undefined;
|
|
639
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
640
640
|
testUrl?: string | undefined;
|
|
641
641
|
skipCertVerify?: boolean | undefined;
|
|
642
642
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -59,11 +59,12 @@ export declare const VlessNodeConfigValidator: z.ZodObject<{
|
|
|
59
59
|
}>>;
|
|
60
60
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
61
61
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
62
64
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
63
65
|
tls13: z.ZodOptional<z.ZodBoolean>;
|
|
64
66
|
nodeName: z.ZodString;
|
|
65
67
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
67
68
|
sni: z.ZodOptional<z.ZodString>;
|
|
68
69
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
69
70
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
@@ -78,7 +79,6 @@ export declare const VlessNodeConfigValidator: z.ZodObject<{
|
|
|
78
79
|
sni: string;
|
|
79
80
|
version?: string | number | undefined;
|
|
80
81
|
}>>;
|
|
81
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
82
82
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
83
83
|
skipCertVerify: z.ZodOptional<z.ZodBoolean>;
|
|
84
84
|
alpn: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
@@ -172,17 +172,17 @@ export declare const VlessNodeConfigValidator: z.ZodObject<{
|
|
|
172
172
|
} | undefined;
|
|
173
173
|
mptcp?: boolean | undefined;
|
|
174
174
|
tfo?: boolean | undefined;
|
|
175
|
+
ecn?: boolean | undefined;
|
|
176
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
175
177
|
underlyingProxy?: string | undefined;
|
|
176
178
|
tls13?: boolean | undefined;
|
|
177
179
|
enable?: boolean | undefined;
|
|
178
|
-
ecn?: boolean | undefined;
|
|
179
180
|
sni?: string | undefined;
|
|
180
181
|
shadowTls?: {
|
|
181
182
|
password: string;
|
|
182
183
|
sni: string;
|
|
183
184
|
version?: string | number | undefined;
|
|
184
185
|
} | undefined;
|
|
185
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
186
186
|
testUrl?: string | undefined;
|
|
187
187
|
skipCertVerify?: boolean | undefined;
|
|
188
188
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -237,17 +237,17 @@ export declare const VlessNodeConfigValidator: z.ZodObject<{
|
|
|
237
237
|
} | undefined;
|
|
238
238
|
mptcp?: boolean | undefined;
|
|
239
239
|
tfo?: boolean | undefined;
|
|
240
|
+
ecn?: boolean | undefined;
|
|
241
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
240
242
|
underlyingProxy?: string | undefined;
|
|
241
243
|
tls13?: boolean | undefined;
|
|
242
244
|
enable?: boolean | undefined;
|
|
243
|
-
ecn?: boolean | undefined;
|
|
244
245
|
sni?: string | undefined;
|
|
245
246
|
shadowTls?: {
|
|
246
247
|
password: string;
|
|
247
248
|
sni: string;
|
|
248
249
|
version?: string | number | undefined;
|
|
249
250
|
} | undefined;
|
|
250
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
251
251
|
testUrl?: string | undefined;
|
|
252
252
|
skipCertVerify?: boolean | undefined;
|
|
253
253
|
alpn?: [string, ...string[]] | undefined;
|
|
@@ -92,10 +92,11 @@ export declare const VmessNodeConfigValidator: z.ZodObject<{
|
|
|
92
92
|
}>>;
|
|
93
93
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
94
94
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
95
97
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
96
98
|
nodeName: z.ZodString;
|
|
97
99
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
99
100
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
100
101
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
101
102
|
password: z.ZodString;
|
|
@@ -109,7 +110,6 @@ export declare const VmessNodeConfigValidator: z.ZodObject<{
|
|
|
109
110
|
sni: string;
|
|
110
111
|
version?: string | number | undefined;
|
|
111
112
|
}>>;
|
|
112
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
113
113
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
114
114
|
type: z.ZodLiteral<NodeTypeEnum.Vmess>;
|
|
115
115
|
hostname: z.ZodString;
|
|
@@ -196,15 +196,15 @@ export declare const VmessNodeConfigValidator: z.ZodObject<{
|
|
|
196
196
|
} | undefined;
|
|
197
197
|
mptcp?: boolean | undefined;
|
|
198
198
|
tfo?: boolean | undefined;
|
|
199
|
+
ecn?: boolean | undefined;
|
|
200
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
199
201
|
underlyingProxy?: string | undefined;
|
|
200
202
|
enable?: boolean | undefined;
|
|
201
|
-
ecn?: boolean | undefined;
|
|
202
203
|
shadowTls?: {
|
|
203
204
|
password: string;
|
|
204
205
|
sni: string;
|
|
205
206
|
version?: string | number | undefined;
|
|
206
207
|
} | undefined;
|
|
207
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
208
208
|
testUrl?: string | undefined;
|
|
209
209
|
alterId?: string | number | undefined;
|
|
210
210
|
udpRelay?: boolean | undefined;
|
|
@@ -260,15 +260,15 @@ export declare const VmessNodeConfigValidator: z.ZodObject<{
|
|
|
260
260
|
} | undefined;
|
|
261
261
|
mptcp?: boolean | undefined;
|
|
262
262
|
tfo?: boolean | undefined;
|
|
263
|
+
ecn?: boolean | undefined;
|
|
264
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
263
265
|
underlyingProxy?: string | undefined;
|
|
264
266
|
enable?: boolean | undefined;
|
|
265
|
-
ecn?: boolean | undefined;
|
|
266
267
|
shadowTls?: {
|
|
267
268
|
password: string;
|
|
268
269
|
sni: string;
|
|
269
270
|
version?: string | number | undefined;
|
|
270
271
|
} | undefined;
|
|
271
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
272
272
|
testUrl?: string | undefined;
|
|
273
273
|
alterId?: string | number | undefined;
|
|
274
274
|
network?: "tcp" | "http" | "ws" | "h2" | "grpc" | undefined;
|
|
@@ -46,10 +46,11 @@ export declare const WireguardNodeConfigValidator: z.ZodObject<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
mptcp: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
tfo: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
49
51
|
underlyingProxy: z.ZodOptional<z.ZodString>;
|
|
50
52
|
nodeName: z.ZodString;
|
|
51
53
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
ecn: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
shadowTls: z.ZodOptional<z.ZodObject<{
|
|
54
55
|
version: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, string | number>>;
|
|
55
56
|
password: z.ZodString;
|
|
@@ -63,7 +64,6 @@ export declare const WireguardNodeConfigValidator: z.ZodObject<{
|
|
|
63
64
|
sni: string;
|
|
64
65
|
version?: string | number | undefined;
|
|
65
66
|
}>>;
|
|
66
|
-
blockQuic: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"on">, z.ZodLiteral<"off">]>>;
|
|
67
67
|
testUrl: z.ZodOptional<z.ZodString>;
|
|
68
68
|
type: z.ZodLiteral<NodeTypeEnum.Wireguard>;
|
|
69
69
|
selfIp: z.ZodString;
|
|
@@ -134,15 +134,15 @@ export declare const WireguardNodeConfigValidator: z.ZodObject<{
|
|
|
134
134
|
} | undefined;
|
|
135
135
|
mptcp?: boolean | undefined;
|
|
136
136
|
tfo?: boolean | undefined;
|
|
137
|
+
ecn?: boolean | undefined;
|
|
138
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
137
139
|
underlyingProxy?: string | undefined;
|
|
138
140
|
enable?: boolean | undefined;
|
|
139
|
-
ecn?: boolean | undefined;
|
|
140
141
|
shadowTls?: {
|
|
141
142
|
password: string;
|
|
142
143
|
sni: string;
|
|
143
144
|
version?: string | number | undefined;
|
|
144
145
|
} | undefined;
|
|
145
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
146
146
|
testUrl?: string | undefined;
|
|
147
147
|
selfIpV6?: string | undefined;
|
|
148
148
|
preferIpv6?: boolean | undefined;
|
|
@@ -188,15 +188,15 @@ export declare const WireguardNodeConfigValidator: z.ZodObject<{
|
|
|
188
188
|
} | undefined;
|
|
189
189
|
mptcp?: boolean | undefined;
|
|
190
190
|
tfo?: boolean | undefined;
|
|
191
|
+
ecn?: boolean | undefined;
|
|
192
|
+
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
191
193
|
underlyingProxy?: string | undefined;
|
|
192
194
|
enable?: boolean | undefined;
|
|
193
|
-
ecn?: boolean | undefined;
|
|
194
195
|
shadowTls?: {
|
|
195
196
|
password: string;
|
|
196
197
|
sni: string;
|
|
197
198
|
version?: string | number | undefined;
|
|
198
199
|
} | undefined;
|
|
199
|
-
blockQuic?: "auto" | "on" | "off" | undefined;
|
|
200
200
|
testUrl?: string | undefined;
|
|
201
201
|
selfIpV6?: string | undefined;
|
|
202
202
|
preferIpv6?: boolean | undefined;
|