@decentnetwork/lan 0.1.158 → 0.1.159

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.
Binary file
Binary file
Binary file
Binary file
@@ -1061,7 +1061,7 @@ export function startMultiExitRouter(opts) {
1061
1061
  // Only enabled with hlsAccel + a configDir for the CA. We MITM a host only
1062
1062
  // when it's routed to a region (China) AND its name looks like a video CDN —
1063
1063
  // never generic HTTPS (banking, mail, APIs), which stays an opaque tunnel.
1064
- const VIDEO_HOST_RE = /(cctv|cntv|live|vod|hls|video|stream|liveplay|bdydns|myalicdn|volcfcdn|myqcloud|gslb|byteimg|volcfcdn|bilivideo|hdslb|ivideo|tvyun)/;
1064
+ const VIDEO_HOST_RE = /(cctv|cntv|live|vod|hls|video|stream|liveplay|bdydns|wscdns|kcdnvip|ks-cdn|ksyuncdn|myalicdn|volcfcdn|myqcloud|gslb|byteimg|volcfcdn|bilivideo|hdslb|ivideo|tvyun|piccpnd)/;
1065
1065
  let mitm = null;
1066
1066
  if (opts.hlsAccel && opts.configDir) {
1067
1067
  mitm = new MitmGateway({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/lan",
3
- "version": "0.1.158",
3
+ "version": "0.1.159",
4
4
  "description": "Private virtual LAN for self-hosted services and AI agents, built on Elastos Carrier. NAT-traversal, name service, ACL, all over a peer-to-peer mesh — no public IP required.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",