3x-ui/frontend/src/lib
Artem K 721de5adde
Fix fragment exports for older Xray clients (#6702)
* Fix fragment exports for older Xray clients

* fix(link): tolerate a finalmask without tcp in panel share links

withLegacyFragmentRanges called finalmask.tcp.map unguarded, but stored
rows reach the link generator unparsed and dropEmptyFinalMask deletes an
empty tcp list on save. Any VMess/VLESS/Trojan/SS inbound with only UDP
masks or quicParams threw a TypeError in the QR, info and export-links
views. The Go counterpart already skipped a missing tcp.

Also trims the Go helper's comment to the two-line cap and drops a
[]string branch no JSON-decoded finalmask can reach.

---------

Co-authored-by: Artem K <a.kush@vkteam.ru>
Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2026-10-02 17:38:44 +02:00
..
clients feat(clients): show short HWID fingerprint in admin device list (#6464) 2026-09-12 11:13:22 +02:00
hosts fix(hosts): advertise Hosts in every WireGuard, AmneziaWG and TUIC config 2026-09-30 15:03:16 +02:00
inbounds fix(hosts): advertise Hosts in every WireGuard, AmneziaWG and TUIC config 2026-09-30 15:03:16 +02:00
remark Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
traffic feat(ui): client-realtime-speed (#5687) 2026-07-05 01:57:03 +03:00
xray Fix fragment exports for older Xray clients (#6702) 2026-10-02 17:38:44 +02:00
panel-version.ts fix(nodes): stop flagging a node on the other update channel as outdated 2026-09-15 21:21:36 +02:00
sponsors.ts feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00