@decentnetwork/lan 0.1.61 → 0.1.63
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/dist/config/loader.js +7 -6
- package/package.json +2 -2
package/dist/config/loader.js
CHANGED
|
@@ -37,13 +37,14 @@ const DEFAULT_BOOTSTRAP_NODES = [
|
|
|
37
37
|
{ host: "52.83.191.228", port: 33445, pk: "3khtxZo89SBScAMaHhTvD68pPHiKxgZT6hTCSZZVgNEm" },
|
|
38
38
|
];
|
|
39
39
|
const DEFAULT_EXPRESS_NODES = [
|
|
40
|
-
//
|
|
41
|
-
//
|
|
42
|
-
// lens
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
|
|
40
|
+
// lens stays PRIMARY for backward-compat: older clients (peer < 0.1.25)
|
|
41
|
+
// only know lens and pull from the first relay, so replies must land on
|
|
42
|
+
// lens for them to see them. tokyo is the dedicated decentlan/dora relay
|
|
43
|
+
// (outside the GFW) kept as a hot standby + redundancy; peer >= 0.1.25
|
|
44
|
+
// pulls from BOTH, so nothing is missed. Flood protection comes from the
|
|
45
|
+
// express server's per-user M-cap, not from isolating onto tokyo.
|
|
46
46
|
{ host: "lens.beagle.chat", port: 443, pk: "ECbs4GxwGzxGerNkmqDJFibEmevu8jAXqAZtikccvD95" },
|
|
47
|
+
{ host: "tokyo.fi.chat", port: 8443, pk: "EzpBtoUkjeMQfuLGWwTUbvzCn9rK4J648Ziy21EKxefo" },
|
|
47
48
|
];
|
|
48
49
|
const DEFAULT_DORAS_FALLBACK = [
|
|
49
50
|
{ name: "dora-mac", userid: "98rsHv17h8G6AP9RagyrBiT1kmw4cn8MFPEembS6ZVjv", address: "Jt7w1pKkyLT5GVue9h6ZPkjg1EeuuTbD6JVSLycXLsdm6nvBGSUd" }, // 10.86.1.10–63.254
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decentnetwork/lan",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
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",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@decentnetwork/dora": "^0.1.6",
|
|
78
|
-
"@decentnetwork/peer": "^0.1.
|
|
78
|
+
"@decentnetwork/peer": "^0.1.26",
|
|
79
79
|
"js-yaml": "^4.1.0",
|
|
80
80
|
"yargs": "^17.7.2"
|
|
81
81
|
},
|