@decentnetwork/lan 0.1.272 → 0.1.273

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.
@@ -914,7 +914,13 @@ export class DaemonServer {
914
914
  }));
915
915
  return {
916
916
  identity: this.peerManager?.getIdentity(),
917
- node: { name: this.config.node.name, statusMessage: this.config.node.statusMessage ?? "" },
917
+ node: {
918
+ name: this.config.node.name,
919
+ statusMessage: this.config.node.statusMessage ?? "",
920
+ // Beagle's Profile tab renders the auto-accept toggle only when
921
+ // the backend reports the current state.
922
+ autoAccept: this.config.friends?.autoAccept ?? true,
923
+ },
918
924
  tun: this.tunDevice?.getConfig(),
919
925
  // When Dora is unavailable, config.network.ip can still be the
920
926
  // init placeholder (10.86.1.10). The TUN holds the deterministic
@@ -1,4 +1,4 @@
1
- window.__DK_UI_VERSION="0.1.272";
1
+ window.__DK_UI_VERSION="0.1.273";
2
2
  const ICON_PATHS = {
3
3
  // ---- tab bar (the four must feel like one set) ----
4
4
  users: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/lan",
3
- "version": "0.1.272",
3
+ "version": "0.1.273",
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",