@remnawave/xtls-sdk 0.6.3 → 0.8.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 (100) hide show
  1. package/build/index.d.ts +1 -1
  2. package/build/index.d.ts.map +1 -1
  3. package/build/index.js +1 -1
  4. package/build/src/common/utils/decode-user/constants/account-types.d.ts +2 -2
  5. package/build/src/common/utils/decode-user/constants/account-types.d.ts.map +1 -1
  6. package/build/src/common/utils/decode-user/constants/account-types.js +9 -7
  7. package/build/src/common/utils/decode-user/decode-user.d.ts.map +1 -1
  8. package/build/src/common/utils/decode-user/decode-user.js +1 -2
  9. package/build/src/handler/handler.service.d.ts +2 -3
  10. package/build/src/handler/handler.service.d.ts.map +1 -1
  11. package/build/src/handler/handler.service.js +17 -18
  12. package/build/src/handler/models/get-inbound-users/get-inbound-users.response.model.d.ts.map +1 -1
  13. package/build/src/router/models/index.d.ts +1 -0
  14. package/build/src/router/models/index.d.ts.map +1 -1
  15. package/build/src/router/models/index.js +1 -0
  16. package/build/src/router/router.service.d.ts +2 -3
  17. package/build/src/router/router.service.d.ts.map +1 -1
  18. package/build/src/router/router.service.js +3 -4
  19. package/build/src/stats/stats.service.d.ts +1 -1
  20. package/build/src/stats/stats.service.d.ts.map +1 -1
  21. package/build/src/stats/stats.service.js +1 -1
  22. package/build/src/xray-protos/app/commander/config.js +3 -3
  23. package/build/src/xray-protos/app/dispatcher/config.js +3 -3
  24. package/build/src/xray-protos/app/log/command/config.d.ts +1 -1
  25. package/build/src/xray-protos/app/log/command/config.d.ts.map +1 -1
  26. package/build/src/xray-protos/app/log/command/config.js +4 -4
  27. package/build/src/xray-protos/app/log/config.js +2 -2
  28. package/build/src/xray-protos/app/metrics/config.js +2 -2
  29. package/build/src/xray-protos/app/policy/config.js +10 -10
  30. package/build/src/xray-protos/app/proxyman/command/command.d.ts +1 -1
  31. package/build/src/xray-protos/app/proxyman/command/command.d.ts.map +1 -1
  32. package/build/src/xray-protos/app/proxyman/command/command.js +23 -23
  33. package/build/src/xray-protos/app/proxyman/config.d.ts +0 -37
  34. package/build/src/xray-protos/app/proxyman/config.d.ts.map +1 -1
  35. package/build/src/xray-protos/app/proxyman/config.js +16 -284
  36. package/build/src/xray-protos/app/reverse/config.js +5 -5
  37. package/build/src/xray-protos/app/router/command/command.d.ts +1 -1
  38. package/build/src/xray-protos/app/router/command/command.d.ts.map +1 -1
  39. package/build/src/xray-protos/app/router/command/command.js +17 -17
  40. package/build/src/xray-protos/app/router/config.d.ts +0 -2
  41. package/build/src/xray-protos/app/router/config.d.ts.map +1 -1
  42. package/build/src/xray-protos/app/router/config.js +14 -21
  43. package/build/src/xray-protos/app/stats/command/command.d.ts +1 -1
  44. package/build/src/xray-protos/app/stats/command/command.d.ts.map +1 -1
  45. package/build/src/xray-protos/app/stats/command/command.js +11 -11
  46. package/build/src/xray-protos/app/stats/config.js +3 -3
  47. package/build/src/xray-protos/app/version/config.js +2 -2
  48. package/build/src/xray-protos/common/log/log.js +1 -1
  49. package/build/src/xray-protos/common/net/address.js +2 -2
  50. package/build/src/xray-protos/common/net/destination.js +2 -2
  51. package/build/src/xray-protos/common/net/network.js +2 -2
  52. package/build/src/xray-protos/common/net/port.js +3 -3
  53. package/build/src/xray-protos/common/protocol/headers.js +2 -2
  54. package/build/src/xray-protos/common/protocol/server_spec.d.ts +1 -1
  55. package/build/src/xray-protos/common/protocol/server_spec.d.ts.map +1 -1
  56. package/build/src/xray-protos/common/protocol/server_spec.js +10 -10
  57. package/build/src/xray-protos/common/protocol/user.js +2 -2
  58. package/build/src/xray-protos/common/serial/typed_message.js +2 -2
  59. package/build/src/xray-protos/core/config.js +4 -4
  60. package/build/src/xray-protos/proxy/blackhole/config.js +4 -4
  61. package/build/src/xray-protos/proxy/dns/config.js +2 -2
  62. package/build/src/xray-protos/proxy/dokodemo/config.js +3 -3
  63. package/build/src/xray-protos/proxy/freedom/config.js +5 -5
  64. package/build/src/xray-protos/proxy/http/config.d.ts +1 -1
  65. package/build/src/xray-protos/proxy/http/config.d.ts.map +1 -1
  66. package/build/src/xray-protos/proxy/http/config.js +16 -14
  67. package/build/src/xray-protos/proxy/loopback/config.js +2 -2
  68. package/build/src/xray-protos/proxy/shadowsocks/config.d.ts +1 -1
  69. package/build/src/xray-protos/proxy/shadowsocks/config.d.ts.map +1 -1
  70. package/build/src/xray-protos/proxy/shadowsocks/config.js +14 -12
  71. package/build/src/xray-protos/proxy/shadowsocks_2022/config.js +7 -7
  72. package/build/src/xray-protos/proxy/socks/config.d.ts +1 -1
  73. package/build/src/xray-protos/proxy/socks/config.d.ts.map +1 -1
  74. package/build/src/xray-protos/proxy/socks/config.js +15 -13
  75. package/build/src/xray-protos/proxy/trojan/config.d.ts +1 -1
  76. package/build/src/xray-protos/proxy/trojan/config.d.ts.map +1 -1
  77. package/build/src/xray-protos/proxy/trojan/config.js +15 -13
  78. package/build/src/xray-protos/proxy/vless/account.d.ts +2 -0
  79. package/build/src/xray-protos/proxy/vless/account.d.ts.map +1 -1
  80. package/build/src/xray-protos/proxy/vless/account.js +44 -3
  81. package/build/src/xray-protos/proxy/vless/encoding/addons.js +2 -2
  82. package/build/src/xray-protos/proxy/vless/inbound/config.js +3 -3
  83. package/build/src/xray-protos/proxy/vless/outbound/config.d.ts +1 -1
  84. package/build/src/xray-protos/proxy/vless/outbound/config.d.ts.map +1 -1
  85. package/build/src/xray-protos/proxy/vless/outbound/config.js +15 -13
  86. package/build/src/xray-protos/proxy/vmess/account.js +2 -2
  87. package/build/src/xray-protos/proxy/vmess/inbound/config.d.ts +0 -2
  88. package/build/src/xray-protos/proxy/vmess/inbound/config.d.ts.map +1 -1
  89. package/build/src/xray-protos/proxy/vmess/inbound/config.js +5 -22
  90. package/build/src/xray-protos/proxy/vmess/outbound/config.d.ts +1 -1
  91. package/build/src/xray-protos/proxy/vmess/outbound/config.d.ts.map +1 -1
  92. package/build/src/xray-protos/proxy/vmess/outbound/config.js +15 -12
  93. package/build/src/xray-protos/proxy/wireguard/config.js +3 -3
  94. package/build/src/xray-protos/transport/internet/config.d.ts +1 -0
  95. package/build/src/xray-protos/transport/internet/config.d.ts.map +1 -1
  96. package/build/src/xray-protos/transport/internet/config.js +25 -7
  97. package/build/src/xray-protos/typeRegistry.d.ts +1 -1
  98. package/build/src/xray-protos/typeRegistry.d.ts.map +1 -1
  99. package/build/src/xray-protos/typeRegistry.js +1 -1
  100. package/package.json +22 -14
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/app/router/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,EAAkC,MAAM,0BAA0B,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAGjE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD,mCAAmC;AACnC,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,wBAAwB,CAAC;IAChC,4BAA4B;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B;AAED,4BAA4B;AAC5B,oBAAY,WAAW;IACrB,uCAAuC;IACvC,KAAK,IAAI;IACT,yDAAyD;IACzD,KAAK,IAAI;IACT,2CAA2C;IAC3C,MAAM,IAAI;IACV,oCAAoC;IACpC,IAAI,IAAI;IACR,YAAY,KAAK;CAClB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,GAAG,WAAW,CAmB5D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAc7D;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,kCAAkC,CAAC;IAC1C,GAAG,E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ict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: app/router/config.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -69,8 +69,6 @@ var Config_DomainStrategy;
69
69
  (function (Config_DomainStrategy) {
70
70
  /** AsIs - Use domain as is. */
71
71
  Config_DomainStrategy[Config_DomainStrategy["AsIs"] = 0] = "AsIs";
72
- /** UseIp - Always resolve IP for domains. */
73
- Config_DomainStrategy[Config_DomainStrategy["UseIp"] = 1] = "UseIp";
74
72
  /** IpIfNonMatch - Resolve to IP if the domain doesn't match any rules. */
75
73
  Config_DomainStrategy[Config_DomainStrategy["IpIfNonMatch"] = 2] = "IpIfNonMatch";
76
74
  /** IpOnDemand - Resolve to IP if any rule requires IP matching. */
@@ -82,9 +80,6 @@ function config_DomainStrategyFromJSON(object) {
82
80
  case 0:
83
81
  case "AsIs":
84
82
  return Config_DomainStrategy.AsIs;
85
- case 1:
86
- case "UseIp":
87
- return Config_DomainStrategy.UseIp;
88
83
  case 2:
89
84
  case "IpIfNonMatch":
90
85
  return Config_DomainStrategy.IpIfNonMatch;
@@ -101,8 +96,6 @@ function config_DomainStrategyToJSON(object) {
101
96
  switch (object) {
102
97
  case Config_DomainStrategy.AsIs:
103
98
  return "AsIs";
104
- case Config_DomainStrategy.UseIp:
105
- return "UseIp";
106
99
  case Config_DomainStrategy.IpIfNonMatch:
107
100
  return "IpIfNonMatch";
108
101
  case Config_DomainStrategy.IpOnDemand:
@@ -131,7 +124,7 @@ exports.Domain = {
131
124
  },
132
125
  decode(input, length) {
133
126
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
134
- let end = length === undefined ? reader.len : reader.pos + length;
127
+ const end = length === undefined ? reader.len : reader.pos + length;
135
128
  const message = createBaseDomain();
136
129
  while (reader.pos < end) {
137
130
  const tag = reader.uint32();
@@ -219,7 +212,7 @@ exports.Domain_Attribute = {
219
212
  },
220
213
  decode(input, length) {
221
214
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
222
- let end = length === undefined ? reader.len : reader.pos + length;
215
+ const end = length === undefined ? reader.len : reader.pos + length;
223
216
  const message = createBaseDomain_Attribute();
224
217
  while (reader.pos < end) {
225
218
  const tag = reader.uint32();
@@ -302,7 +295,7 @@ exports.CIDR = {
302
295
  },
303
296
  decode(input, length) {
304
297
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
305
- let end = length === undefined ? reader.len : reader.pos + length;
298
+ const end = length === undefined ? reader.len : reader.pos + length;
306
299
  const message = createBaseCIDR();
307
300
  while (reader.pos < end) {
308
301
  const tag = reader.uint32();
@@ -376,7 +369,7 @@ exports.GeoIP = {
376
369
  },
377
370
  decode(input, length) {
378
371
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
379
- let end = length === undefined ? reader.len : reader.pos + length;
372
+ const end = length === undefined ? reader.len : reader.pos + length;
380
373
  const message = createBaseGeoIP();
381
374
  while (reader.pos < end) {
382
375
  const tag = reader.uint32();
@@ -456,7 +449,7 @@ exports.GeoIPList = {
456
449
  },
457
450
  decode(input, length) {
458
451
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
459
- let end = length === undefined ? reader.len : reader.pos + length;
452
+ const end = length === undefined ? reader.len : reader.pos + length;
460
453
  const message = createBaseGeoIPList();
461
454
  while (reader.pos < end) {
462
455
  const tag = reader.uint32();
@@ -515,7 +508,7 @@ exports.GeoSite = {
515
508
  },
516
509
  decode(input, length) {
517
510
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
518
- let end = length === undefined ? reader.len : reader.pos + length;
511
+ const end = length === undefined ? reader.len : reader.pos + length;
519
512
  const message = createBaseGeoSite();
520
513
  while (reader.pos < end) {
521
514
  const tag = reader.uint32();
@@ -583,7 +576,7 @@ exports.GeoSiteList = {
583
576
  },
584
577
  decode(input, length) {
585
578
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
586
- let end = length === undefined ? reader.len : reader.pos + length;
579
+ const end = length === undefined ? reader.len : reader.pos + length;
587
580
  const message = createBaseGeoSiteList();
588
581
  while (reader.pos < end) {
589
582
  const tag = reader.uint32();
@@ -708,7 +701,7 @@ exports.RoutingRule = {
708
701
  },
709
702
  decode(input, length) {
710
703
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
711
- let end = length === undefined ? reader.len : reader.pos + length;
704
+ const end = length === undefined ? reader.len : reader.pos + length;
712
705
  const message = createBaseRoutingRule();
713
706
  while (reader.pos < end) {
714
707
  const tag = reader.uint32();
@@ -989,7 +982,7 @@ exports.RoutingRule_AttributesEntry = {
989
982
  },
990
983
  decode(input, length) {
991
984
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
992
- let end = length === undefined ? reader.len : reader.pos + length;
985
+ const end = length === undefined ? reader.len : reader.pos + length;
993
986
  const message = createBaseRoutingRule_AttributesEntry();
994
987
  while (reader.pos < end) {
995
988
  const tag = reader.uint32();
@@ -1076,7 +1069,7 @@ exports.BalancingRule = {
1076
1069
  },
1077
1070
  decode(input, length) {
1078
1071
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1079
- let end = length === undefined ? reader.len : reader.pos + length;
1072
+ const end = length === undefined ? reader.len : reader.pos + length;
1080
1073
  const message = createBaseBalancingRule();
1081
1074
  while (reader.pos < end) {
1082
1075
  const tag = reader.uint32();
@@ -1190,7 +1183,7 @@ exports.StrategyWeight = {
1190
1183
  },
1191
1184
  decode(input, length) {
1192
1185
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1193
- let end = length === undefined ? reader.len : reader.pos + length;
1186
+ const end = length === undefined ? reader.len : reader.pos + length;
1194
1187
  const message = createBaseStrategyWeight();
1195
1188
  while (reader.pos < end) {
1196
1189
  const tag = reader.uint32();
@@ -1291,7 +1284,7 @@ exports.StrategyLeastLoadConfig = {
1291
1284
  },
1292
1285
  decode(input, length) {
1293
1286
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1294
- let end = length === undefined ? reader.len : reader.pos + length;
1287
+ const end = length === undefined ? reader.len : reader.pos + length;
1295
1288
  const message = createBaseStrategyLeastLoadConfig();
1296
1289
  while (reader.pos < end) {
1297
1290
  const tag = reader.uint32();
@@ -1410,7 +1403,7 @@ exports.Config = {
1410
1403
  },
1411
1404
  decode(input, length) {
1412
1405
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1413
- let end = length === undefined ? reader.len : reader.pos + length;
1406
+ const end = length === undefined ? reader.len : reader.pos + length;
1414
1407
  const message = createBaseConfig();
1415
1408
  while (reader.pos < end) {
1416
1409
  const tag = reader.uint32();
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- import { type CallContext, type CallOptions } from "nice-grpc-common";
2
+ import type { CallContext, CallOptions } from "nice-grpc-common";
3
3
  export declare const protobufPackage = "xray.app.stats.command";
4
4
  export interface GetStatsRequest {
5
5
  $type: "xray.app.stats.command.GetStatsRequest";
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../src/xray-protos/app/stats/command/command.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGtE,eAAO,MAAM,eAAe,2BAA2B,CAAC;AAExD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,wCAAwC,CAAC;IAChD,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,KAAK,EAAE,OAAO,CAAC;C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CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: app/stats/command/command.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,7 +26,7 @@ exports.GetStatsRequest = {
26
26
  },
27
27
  decode(input, length) {
28
28
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
29
- let end = length === undefined ? reader.len : reader.pos + length;
29
+ const end = length === undefined ? reader.len : reader.pos + length;
30
30
  const message = createBaseGetStatsRequest();
31
31
  while (reader.pos < end) {
32
32
  const tag = reader.uint32();
@@ -97,7 +97,7 @@ exports.Stat = {
97
97
  },
98
98
  decode(input, length) {
99
99
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
100
- let end = length === undefined ? reader.len : reader.pos + length;
100
+ const end = length === undefined ? reader.len : reader.pos + length;
101
101
  const message = createBaseStat();
102
102
  while (reader.pos < end) {
103
103
  const tag = reader.uint32();
@@ -165,7 +165,7 @@ exports.GetStatsResponse = {
165
165
  },
166
166
  decode(input, length) {
167
167
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
168
- let end = length === undefined ? reader.len : reader.pos + length;
168
+ const end = length === undefined ? reader.len : reader.pos + length;
169
169
  const message = createBaseGetStatsResponse();
170
170
  while (reader.pos < end) {
171
171
  const tag = reader.uint32();
@@ -221,7 +221,7 @@ exports.QueryStatsRequest = {
221
221
  },
222
222
  decode(input, length) {
223
223
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
224
- let end = length === undefined ? reader.len : reader.pos + length;
224
+ const end = length === undefined ? reader.len : reader.pos + length;
225
225
  const message = createBaseQueryStatsRequest();
226
226
  while (reader.pos < end) {
227
227
  const tag = reader.uint32();
@@ -289,7 +289,7 @@ exports.QueryStatsResponse = {
289
289
  },
290
290
  decode(input, length) {
291
291
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
292
- let end = length === undefined ? reader.len : reader.pos + length;
292
+ const end = length === undefined ? reader.len : reader.pos + length;
293
293
  const message = createBaseQueryStatsResponse();
294
294
  while (reader.pos < end) {
295
295
  const tag = reader.uint32();
@@ -342,7 +342,7 @@ exports.SysStatsRequest = {
342
342
  },
343
343
  decode(input, length) {
344
344
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
345
- let end = length === undefined ? reader.len : reader.pos + length;
345
+ const end = length === undefined ? reader.len : reader.pos + length;
346
346
  const message = createBaseSysStatsRequest();
347
347
  while (reader.pos < end) {
348
348
  const tag = reader.uint32();
@@ -423,7 +423,7 @@ exports.SysStatsResponse = {
423
423
  },
424
424
  decode(input, length) {
425
425
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
426
- let end = length === undefined ? reader.len : reader.pos + length;
426
+ const end = length === undefined ? reader.len : reader.pos + length;
427
427
  const message = createBaseSysStatsResponse();
428
428
  while (reader.pos < end) {
429
429
  const tag = reader.uint32();
@@ -594,7 +594,7 @@ exports.GetStatsOnlineIpListResponse = {
594
594
  },
595
595
  decode(input, length) {
596
596
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
597
- let end = length === undefined ? reader.len : reader.pos + length;
597
+ const end = length === undefined ? reader.len : reader.pos + length;
598
598
  const message = createBaseGetStatsOnlineIpListResponse();
599
599
  while (reader.pos < end) {
600
600
  const tag = reader.uint32();
@@ -684,7 +684,7 @@ exports.GetStatsOnlineIpListResponse_IpsEntry = {
684
684
  },
685
685
  decode(input, length) {
686
686
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
687
- let end = length === undefined ? reader.len : reader.pos + length;
687
+ const end = length === undefined ? reader.len : reader.pos + length;
688
688
  const message = createBaseGetStatsOnlineIpListResponse_IpsEntry();
689
689
  while (reader.pos < end) {
690
690
  const tag = reader.uint32();
@@ -749,7 +749,7 @@ exports.Config = {
749
749
  },
750
750
  decode(input, length) {
751
751
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
752
- let end = length === undefined ? reader.len : reader.pos + length;
752
+ const end = length === undefined ? reader.len : reader.pos + length;
753
753
  const message = createBaseConfig();
754
754
  while (reader.pos < end) {
755
755
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: app/stats/config.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20,7 +20,7 @@ exports.Config = {
20
20
  },
21
21
  decode(input, length) {
22
22
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
23
- let end = length === undefined ? reader.len : reader.pos + length;
23
+ const end = length === undefined ? reader.len : reader.pos + length;
24
24
  const message = createBaseConfig();
25
25
  while (reader.pos < end) {
26
26
  const tag = reader.uint32();
@@ -68,7 +68,7 @@ exports.ChannelConfig = {
68
68
  },
69
69
  decode(input, length) {
70
70
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
71
- let end = length === undefined ? reader.len : reader.pos + length;
71
+ const end = length === undefined ? reader.len : reader.pos + length;
72
72
  const message = createBaseChannelConfig();
73
73
  while (reader.pos < end) {
74
74
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: app/version/config.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -29,7 +29,7 @@ exports.Config = {
29
29
  },
30
30
  decode(input, length) {
31
31
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
32
- let end = length === undefined ? reader.len : reader.pos + length;
32
+ const end = length === undefined ? reader.len : reader.pos + length;
33
33
  const message = createBaseConfig();
34
34
  while (reader.pos < end) {
35
35
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/log/log.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/net/address.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,7 +26,7 @@ exports.IPOrDomain = {
26
26
  },
27
27
  decode(input, length) {
28
28
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
29
- let end = length === undefined ? reader.len : reader.pos + length;
29
+ const end = length === undefined ? reader.len : reader.pos + length;
30
30
  const message = createBaseIPOrDomain();
31
31
  while (reader.pos < end) {
32
32
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/net/destination.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -31,7 +31,7 @@ exports.Endpoint = {
31
31
  },
32
32
  decode(input, length) {
33
33
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
34
- let end = length === undefined ? reader.len : reader.pos + length;
34
+ const end = length === undefined ? reader.len : reader.pos + length;
35
35
  const message = createBaseEndpoint();
36
36
  while (reader.pos < end) {
37
37
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/net/network.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -70,7 +70,7 @@ exports.NetworkList = {
70
70
  },
71
71
  decode(input, length) {
72
72
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
73
- let end = length === undefined ? reader.len : reader.pos + length;
73
+ const end = length === undefined ? reader.len : reader.pos + length;
74
74
  const message = createBaseNetworkList();
75
75
  while (reader.pos < end) {
76
76
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/net/port.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,7 +26,7 @@ exports.PortRange = {
26
26
  },
27
27
  decode(input, length) {
28
28
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
29
- let end = length === undefined ? reader.len : reader.pos + length;
29
+ const end = length === undefined ? reader.len : reader.pos + length;
30
30
  const message = createBasePortRange();
31
31
  while (reader.pos < end) {
32
32
  const tag = reader.uint32();
@@ -94,7 +94,7 @@ exports.PortList = {
94
94
  },
95
95
  decode(input, length) {
96
96
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
97
- let end = length === undefined ? reader.len : reader.pos + length;
97
+ const end = length === undefined ? reader.len : reader.pos + length;
98
98
  const message = createBasePortList();
99
99
  while (reader.pos < end) {
100
100
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/protocol/headers.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -81,7 +81,7 @@ exports.SecurityConfig = {
81
81
  },
82
82
  decode(input, length) {
83
83
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
84
- let end = length === undefined ? reader.len : reader.pos + length;
84
+ const end = length === undefined ? reader.len : reader.pos + length;
85
85
  const message = createBaseSecurityConfig();
86
86
  while (reader.pos < end) {
87
87
  const tag = reader.uint32();
@@ -6,7 +6,7 @@ export interface ServerEndpoint {
6
6
  $type: "xray.common.protocol.ServerEndpoint";
7
7
  address: IPOrDomain | undefined;
8
8
  port: number;
9
- user: User[];
9
+ user: User | undefined;
10
10
  }
11
11
  export declare const ServerEndpoint: MessageFns<ServerEndpoint, "xray.common.protocol.ServerEndpoint">;
12
12
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"server_spec.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/common/protocol/server_spec.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,eAAe,yBAAyB,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,qCAAqC,CAAC;IAC7C,O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AAC,CAAC;AAMf,MAAM,WAAW,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM;IAC7C,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/protocol/server_spec.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,7 +13,7 @@ const address_1 = require("../net/address");
13
13
  const user_1 = require("./user");
14
14
  exports.protobufPackage = "xray.common.protocol";
15
15
  function createBaseServerEndpoint() {
16
- return { $type: "xray.common.protocol.ServerEndpoint", address: undefined, port: 0, user: [] };
16
+ return { $type: "xray.common.protocol.ServerEndpoint", address: undefined, port: 0, user: undefined };
17
17
  }
18
18
  exports.ServerEndpoint = {
19
19
  $type: "xray.common.protocol.ServerEndpoint",
@@ -24,14 +24,14 @@ exports.ServerEndpoint = {
24
24
  if (message.port !== 0) {
25
25
  writer.uint32(16).uint32(message.port);
26
26
  }
27
- for (const v of message.user) {
28
- user_1.User.encode(v, writer.uint32(26).fork()).join();
27
+ if (message.user !== undefined) {
28
+ user_1.User.encode(message.user, writer.uint32(26).fork()).join();
29
29
  }
30
30
  return writer;
31
31
  },
32
32
  decode(input, length) {
33
33
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
34
- let end = length === undefined ? reader.len : reader.pos + length;
34
+ const end = length === undefined ? reader.len : reader.pos + length;
35
35
  const message = createBaseServerEndpoint();
36
36
  while (reader.pos < end) {
37
37
  const tag = reader.uint32();
@@ -54,7 +54,7 @@ exports.ServerEndpoint = {
54
54
  if (tag !== 26) {
55
55
  break;
56
56
  }
57
- message.user.push(user_1.User.decode(reader, reader.uint32()));
57
+ message.user = user_1.User.decode(reader, reader.uint32());
58
58
  continue;
59
59
  }
60
60
  }
@@ -70,7 +70,7 @@ exports.ServerEndpoint = {
70
70
  $type: exports.ServerEndpoint.$type,
71
71
  address: isSet(object.address) ? address_1.IPOrDomain.fromJSON(object.address) : undefined,
72
72
  port: isSet(object.port) ? globalThis.Number(object.port) : 0,
73
- user: globalThis.Array.isArray(object?.user) ? object.user.map((e) => user_1.User.fromJSON(e)) : [],
73
+ user: isSet(object.user) ? user_1.User.fromJSON(object.user) : undefined,
74
74
  };
75
75
  },
76
76
  toJSON(message) {
@@ -81,8 +81,8 @@ exports.ServerEndpoint = {
81
81
  if (message.port !== 0) {
82
82
  obj.port = Math.round(message.port);
83
83
  }
84
- if (message.user?.length) {
85
- obj.user = message.user.map((e) => user_1.User.toJSON(e));
84
+ if (message.user !== undefined) {
85
+ obj.user = user_1.User.toJSON(message.user);
86
86
  }
87
87
  return obj;
88
88
  },
@@ -95,7 +95,7 @@ exports.ServerEndpoint = {
95
95
  ? address_1.IPOrDomain.fromPartial(object.address)
96
96
  : undefined;
97
97
  message.port = object.port ?? 0;
98
- message.user = object.user?.map((e) => user_1.User.fromPartial(e)) || [];
98
+ message.user = (object.user !== undefined && object.user !== null) ? user_1.User.fromPartial(object.user) : undefined;
99
99
  return message;
100
100
  },
101
101
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/protocol/user.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -30,7 +30,7 @@ exports.User = {
30
30
  },
31
31
  decode(input, length) {
32
32
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
33
- let end = length === undefined ? reader.len : reader.pos + length;
33
+ const end = length === undefined ? reader.len : reader.pos + length;
34
34
  const message = createBaseUser();
35
35
  while (reader.pos < end) {
36
36
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: common/serial/typed_message.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,7 +26,7 @@ exports.TypedMessage = {
26
26
  },
27
27
  decode(input, length) {
28
28
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
29
- let end = length === undefined ? reader.len : reader.pos + length;
29
+ const end = length === undefined ? reader.len : reader.pos + length;
30
30
  const message = createBaseTypedMessage();
31
31
  while (reader.pos < end) {
32
32
  const tag = reader.uint32();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.2.7
4
+ // protoc-gen-ts_proto v2.8.3
5
5
  // protoc v5.29.3
6
6
  // source: core/config.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -33,7 +33,7 @@ exports.Config = {
33
33
  },
34
34
  decode(input, length) {
35
35
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
36
- let end = length === undefined ? reader.len : reader.pos + length;
36
+ const end = length === undefined ? reader.len : reader.pos + length;
37
37
  const message = createBaseConfig();
38
38
  while (reader.pos < end) {
39
39
  const tag = reader.uint32();
@@ -137,7 +137,7 @@ exports.InboundHandlerConfig = {
137
137
  },
138
138
  decode(input, length) {
139
139
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
140
- let end = length === undefined ? reader.len : reader.pos + length;
140
+ const end = length === undefined ? reader.len : reader.pos + length;
141
141
  const message = createBaseInboundHandlerConfig();
142
142
  while (reader.pos < end) {
143
143
  const tag = reader.uint32();
@@ -240,7 +240,7 @@ exports.OutboundHandlerConfig = {
240
240
  },
241
241
  decode(input, length) {
242
242
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
243
- let end = length === undefined ? reader.len : reader.pos + length;
243
+ const end = length === undefined ? reader.len : reader.pos + length;
244
244
  const message = createBaseOutboundHandlerConfig();
245
245
  while (reader.pos < end) {
246
246
  const tag = reader.uint32();