@getmikan/sdk 0.5.201-rc.11 → 0.5.201-rc.12

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 (2) hide show
  1. package/dist/schema.d.ts +16 -1
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -5009,6 +5009,8 @@ export interface components {
5009
5009
  sni443: boolean;
5010
5010
  /** @description Можно ли поставить за SNI-роутер: VLESS, Trojan или AnyTLS по TCP с TLS или REALITY */
5011
5011
  sni443_possible: boolean;
5012
+ /** @description То же имя за общим 443 у других подключений ноды, и роутер их не различает: подключения дойдут только до одного из них */
5013
+ sni_clash?: components["schemas"]["SNIClashView"];
5012
5014
  /** @enum {string} */
5013
5015
  status: "ok" | "error" | "unknown";
5014
5016
  /** @description Имя, которое увидит клиент */
@@ -5607,6 +5609,8 @@ export interface components {
5607
5609
  router_error?: string;
5608
5610
  /** @description IP или имя сервера, как его задали: по нему панель ходит в API ноды; пусто у своей ноды */
5609
5611
  server_host: string;
5612
+ /** @description Протоколы REALITY за общим 443 могут маскироваться под одно имя: нода узнаёт клиента каждого по его ключу */
5613
+ sni_by_key: boolean;
5610
5614
  /** @description Порт 443 ноды делят подключения по имени TLS (SNI-роутер) */
5611
5615
  sni_router: boolean;
5612
5616
  /** @enum {string} */
@@ -6145,6 +6149,8 @@ export interface components {
6145
6149
  own_ports?: number[];
6146
6150
  /** @description Публичное имя ноды; пустое — не публиковать её в канале */
6147
6151
  public_name?: string;
6152
+ /** @description Протоколы REALITY за общим 443 могут делить одно имя: нода узнаёт клиента каждого по его ключу */
6153
+ sni_by_key?: boolean;
6148
6154
  /** @description SNI-роутер на 443: подключения с отметкой «через общий 443» слушают на loopback за ним */
6149
6155
  sni_router?: boolean;
6150
6156
  /** @description Метки ноды целиком; пустой список снимает все */
@@ -6501,7 +6507,7 @@ export interface components {
6501
6507
  * @description Что меняется; у строки manual: что остаётся сделать самому
6502
6508
  * @enum {string}
6503
6509
  */
6504
- code: "panel_page" | "front_page" | "site" | "port" | "through_443" | "direct" | "router_on" | "router_off" | "api_lockdown" | "auto_off" | "disable" | "port_443_busy" | "port_443_panel" | "same_name" | "no_site" | "stranger_site" | "no_port" | "udp_ports" | "ssh_open";
6510
+ code: "panel_page" | "front_page" | "site" | "port" | "through_443" | "direct" | "router_on" | "router_by_key" | "router_off" | "api_lockdown" | "auto_off" | "disable" | "port_443_busy" | "port_443_panel" | "same_name" | "no_site" | "stranger_site" | "no_port" | "udp_ports" | "ssh_open";
6505
6511
  /** @description После применения: почему не получилось */
6506
6512
  error?: string;
6507
6513
  inbound?: string;
@@ -7064,6 +7070,15 @@ export interface components {
7064
7070
  /** @enum {string} */
7065
7071
  verdict: "ok" | "partial" | "blocked" | "down";
7066
7072
  };
7073
+ SNIClashView: {
7074
+ /**
7075
+ * @description Что поможет: by_key — включить у ноды «Одно имя для протоколов REALITY», update — обновить ноду (она старше этой настройки), name — дать подключению другое имя
7076
+ * @enum {string}
7077
+ */
7078
+ fix: "by_key" | "update" | "name";
7079
+ /** @description Подключения ноды, которые спрашивают то же имя за общим 443 */
7080
+ with: string[];
7081
+ };
7067
7082
  ScanTargetsOutputBody: {
7068
7083
  /** @description Адрес сервера, вокруг которого искали */
7069
7084
  ip: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getmikan/sdk",
3
- "version": "0.5.201-rc.11",
3
+ "version": "0.5.201-rc.12",
4
4
  "description": "Typed TypeScript client for the mikan panel API",
5
5
  "license": "GPL-3.0-only",
6
6
  "homepage": "https://miroshka000.github.io/mikan/api/sdk/",