@remnawave/backend-contract 0.3.47 → 0.3.49
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 +6 -3
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +6 -3
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/constants/hosts/alpn.d.ts +5 -2
- package/build/backend/constants/hosts/alpn.d.ts.map +1 -1
- package/build/backend/constants/hosts/alpn.js +4 -1
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/constants/hosts/alpn.js +4 -1
- package/package.json +1 -1
@@ -11,9 +11,12 @@ export declare namespace CreateHostCommand {
|
|
11
11
|
sni: z.ZodOptional<z.ZodString>;
|
12
12
|
host: z.ZodOptional<z.ZodString>;
|
13
13
|
alpn: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<{
|
14
|
-
readonly
|
14
|
+
readonly H3: "h3";
|
15
15
|
readonly H2: "h2";
|
16
|
+
readonly HTTP_1_1: "http/1.1";
|
16
17
|
readonly H_COMBINED: "h2,http/1.1";
|
18
|
+
readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
|
19
|
+
readonly H3_H2_COMBINED: "h3,h2";
|
17
20
|
}>>>;
|
18
21
|
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<{
|
19
22
|
readonly CHROME: "chrome";
|
@@ -41,7 +44,7 @@ export declare namespace CreateHostCommand {
|
|
41
44
|
path?: string | undefined;
|
42
45
|
sni?: string | undefined;
|
43
46
|
host?: string | undefined;
|
44
|
-
alpn?: "http/1.1" | "h2" | "h2,http/1.1" | null | undefined;
|
47
|
+
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
45
48
|
fingerprint?: "chrome" | "firefox" | "safari" | "ios" | "android" | "edge" | "qq" | "random" | "randomized" | null | undefined;
|
46
49
|
allowInsecure?: boolean | undefined;
|
47
50
|
isDisabled?: boolean | undefined;
|
@@ -54,7 +57,7 @@ export declare namespace CreateHostCommand {
|
|
54
57
|
path?: string | undefined;
|
55
58
|
sni?: string | undefined;
|
56
59
|
host?: string | undefined;
|
57
|
-
alpn?: "http/1.1" | "h2" | "h2,http/1.1" | null | undefined;
|
60
|
+
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
58
61
|
fingerprint?: "chrome" | "firefox" | "safari" | "ios" | "android" | "edge" | "qq" | "random" | "randomized" | null | undefined;
|
59
62
|
allowInsecure?: boolean | undefined;
|
60
63
|
isDisabled?: boolean | undefined;
|
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6BxB,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"}
|
@@ -30,9 +30,12 @@ export declare namespace UpdateHostCommand {
|
|
30
30
|
sni: z.ZodOptional<z.ZodString>;
|
31
31
|
host: z.ZodOptional<z.ZodString>;
|
32
32
|
alpn: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<{
|
33
|
-
readonly
|
33
|
+
readonly H3: "h3";
|
34
34
|
readonly H2: "h2";
|
35
|
+
readonly HTTP_1_1: "http/1.1";
|
35
36
|
readonly H_COMBINED: "h2,http/1.1";
|
37
|
+
readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
|
38
|
+
readonly H3_H2_COMBINED: "h3,h2";
|
36
39
|
}>>>;
|
37
40
|
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<{
|
38
41
|
readonly CHROME: "chrome";
|
@@ -61,7 +64,7 @@ export declare namespace UpdateHostCommand {
|
|
61
64
|
address?: string | undefined;
|
62
65
|
sni?: string | undefined;
|
63
66
|
host?: string | undefined;
|
64
|
-
alpn?: "http/1.1" | "h2" | "h2,http/1.1" | null | undefined;
|
67
|
+
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
65
68
|
fingerprint?: "chrome" | "firefox" | "safari" | "ios" | "android" | "edge" | "qq" | "random" | "randomized" | null | undefined;
|
66
69
|
allowInsecure?: boolean | undefined;
|
67
70
|
isDisabled?: boolean | undefined;
|
@@ -75,7 +78,7 @@ export declare namespace UpdateHostCommand {
|
|
75
78
|
address?: string | undefined;
|
76
79
|
sni?: string | undefined;
|
77
80
|
host?: string | undefined;
|
78
|
-
alpn?: "http/1.1" | "h2" | "h2,http/1.1" | null | undefined;
|
81
|
+
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
79
82
|
fingerprint?: "chrome" | "firefox" | "safari" | "ios" | "android" | "edge" | "qq" | "random" | "randomized" | null | undefined;
|
80
83
|
allowInsecure?: boolean | undefined;
|
81
84
|
isDisabled?: boolean | undefined;
|
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,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"}
|
@@ -474,5 +474,10 @@ export declare const ERRORS: {
|
|
474
474
|
readonly message: "LIMITED and EXPIRED statuses are not allowed to be set manually.";
|
475
475
|
readonly httpCode: 400;
|
476
476
|
};
|
477
|
+
readonly KEYPAIR_CREATION_ERROR: {
|
478
|
+
readonly code: "A090";
|
479
|
+
readonly message: "Keypair creation error";
|
480
|
+
readonly httpCode: 500;
|
481
|
+
};
|
477
482
|
};
|
478
483
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoJ3B,CAAC"}
|
@@ -1,8 +1,11 @@
|
|
1
1
|
export declare const ALPN: {
|
2
|
-
readonly
|
2
|
+
readonly H3: "h3";
|
3
3
|
readonly H2: "h2";
|
4
|
+
readonly HTTP_1_1: "http/1.1";
|
4
5
|
readonly H_COMBINED: "h2,http/1.1";
|
6
|
+
readonly H3_H2_H1_COMBINED: "h3,h2,http/1.1";
|
7
|
+
readonly H3_H2_COMBINED: "h3,h2";
|
5
8
|
};
|
6
9
|
export type TAlpn = [keyof typeof ALPN][number];
|
7
|
-
export declare const ALPN_VALUES: ("http/1.1" | "h2" | "h2,http/1.1")[];
|
10
|
+
export declare const ALPN_VALUES: ("h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2")[];
|
8
11
|
//# sourceMappingURL=alpn.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"alpn.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/alpn.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"alpn.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/alpn.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;CAOP,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AAChD,eAAO,MAAM,WAAW,2EAAsB,CAAC"}
|
@@ -2,8 +2,11 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ALPN_VALUES = exports.ALPN = void 0;
|
4
4
|
exports.ALPN = {
|
5
|
-
|
5
|
+
H3: 'h3',
|
6
6
|
H2: 'h2',
|
7
|
+
HTTP_1_1: 'http/1.1',
|
7
8
|
H_COMBINED: 'h2,http/1.1',
|
9
|
+
H3_H2_H1_COMBINED: 'h3,h2,http/1.1',
|
10
|
+
H3_H2_COMBINED: 'h3,h2',
|
8
11
|
};
|
9
12
|
exports.ALPN_VALUES = Object.values(exports.ALPN);
|
@@ -2,8 +2,11 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ALPN_VALUES = exports.ALPN = void 0;
|
4
4
|
exports.ALPN = {
|
5
|
-
|
5
|
+
H3: 'h3',
|
6
6
|
H2: 'h2',
|
7
|
+
HTTP_1_1: 'http/1.1',
|
7
8
|
H_COMBINED: 'h2,http/1.1',
|
9
|
+
H3_H2_H1_COMBINED: 'h3,h2,http/1.1',
|
10
|
+
H3_H2_COMBINED: 'h3,h2',
|
8
11
|
};
|
9
12
|
exports.ALPN_VALUES = Object.values(exports.ALPN);
|