@decentnetwork/lan 0.1.202 → 0.1.203

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.
@@ -1515,14 +1515,12 @@ function CopyBtn({ value, copiedText = "Copied", copyFailedText = "Copy failed",
1515
1515
  return /* @__PURE__ */ React.createElement("span", { "aria-live": "polite", style: { display: "inline-flex", flexShrink: 0 } }, /* @__PURE__ */ React.createElement(
1516
1516
  Btn,
1517
1517
  {
1518
- icon: status === "copied" ? "check" : "copy",
1518
+ icon: status === "copied" ? "check" : status === "failed" ? "x" : "copy",
1519
1519
  tone: status === "copied" ? "ok" : status === "failed" ? "danger" : "ghost",
1520
1520
  size: "sm",
1521
1521
  title: status ? message : copyTitle,
1522
- onClick: onCopy,
1523
- style: { minWidth: 82 }
1524
- },
1525
- status ? message : copyTitle
1522
+ onClick: onCopy
1523
+ }
1526
1524
  ));
1527
1525
  }
1528
1526
  function FieldRow({ T, label, value, mono = true, copy, qr, onQr, last }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/lan",
3
- "version": "0.1.202",
3
+ "version": "0.1.203",
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",
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@decentnetwork/dora": "^0.1.13",
87
- "@decentnetwork/peer": "^0.1.94",
87
+ "@decentnetwork/peer": "^0.1.95",
88
88
  "@decentnetwork/peer-webrtc": "^0.2.10",
89
89
  "ink": "^5.2.1",
90
90
  "js-yaml": "^4.1.0",