@decentnetwork/lan 0.1.79 → 0.1.81

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
@@ -26,6 +26,10 @@ export class PeerManager extends EventEmitter {
26
26
  bootstrapNodes: opts.bootstrapNodes,
27
27
  expressNodes: opts.expressNodes,
28
28
  expressControlPlaneOnly: opts.expressControlPlaneOnly,
29
+ // Register our IP channel (163) as the SDK's bulk-data stream so it
30
+ // rides a single transport instead of fanning out over UDP + relay +
31
+ // TCP relay (which delivered 3-4 duplicates of every IP packet).
32
+ bulkDataPacketId: PACKET_ID_DL_IP,
29
33
  });
30
34
  this.setupEventHandlers();
31
35
  this.logger.info("Peer instance created (not yet started)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/lan",
3
- "version": "0.1.79",
3
+ "version": "0.1.81",
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",
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@decentnetwork/dora": "^0.1.6",
80
- "@decentnetwork/peer": "^0.1.33",
80
+ "@decentnetwork/peer": "^0.1.35",
81
81
  "js-yaml": "^4.1.0",
82
82
  "yargs": "^17.7.2"
83
83
  },