@decentnetwork/beagle 0.1.143 → 0.1.145
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/desktop/app.js +176 -15
- package/package.json +2 -2
package/dist/desktop/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
window.__DK_UI_VERSION="0.1.
|
|
1
|
+
window.__DK_UI_VERSION="0.1.145";
|
|
2
2
|
"use strict";
|
|
3
3
|
(() => {
|
|
4
4
|
// packages/beagle-ui/dist/beagle-ui.js
|
|
@@ -2146,6 +2146,148 @@ ${lines}`, { assistant: { kind: "adopt", rows: fresh } }));
|
|
|
2146
2146
|
const action = friend ? "chat" : address ? isGroup ? "join" : "add" : null;
|
|
2147
2147
|
return { userid, address, isGroup, friend, action };
|
|
2148
2148
|
}
|
|
2149
|
+
var ENS_GATEWAY = "https://ens-gateway.beaglechat.workers.dev";
|
|
2150
|
+
function cleanName(name) {
|
|
2151
|
+
return String(name == null ? "" : name).replace(/[\u0000-\u001f\u007f]+/g, "").trim();
|
|
2152
|
+
}
|
|
2153
|
+
function ensLabel(name) {
|
|
2154
|
+
return cleanName(name).toLowerCase().replace(/\.beagles\.eth$/, "");
|
|
2155
|
+
}
|
|
2156
|
+
function claimsBeaglesName(name) {
|
|
2157
|
+
return /\.beagles\.eth$/i.test(cleanName(name));
|
|
2158
|
+
}
|
|
2159
|
+
function ensVerdict(shown, record) {
|
|
2160
|
+
const label = cleanName(shown);
|
|
2161
|
+
const out = { label, mark: false, hint: null, claimed: null };
|
|
2162
|
+
if (!label || record === void 0)
|
|
2163
|
+
return out;
|
|
2164
|
+
const gw = record && typeof record.name === "string" && record.name ? record.name : null;
|
|
2165
|
+
if (gw && ensLabel(label) === ensLabel(gw))
|
|
2166
|
+
return { ...out, mark: true };
|
|
2167
|
+
if (!claimsBeaglesName(label))
|
|
2168
|
+
return out;
|
|
2169
|
+
if (gw)
|
|
2170
|
+
return { label: gw, mark: true, hint: null, claimed: label };
|
|
2171
|
+
return { ...out, hint: "self-claimed" };
|
|
2172
|
+
}
|
|
2173
|
+
function createEnsVerifier({
|
|
2174
|
+
fetchImpl = typeof fetch === "function" ? fetch.bind(globalThis) : null,
|
|
2175
|
+
gateway = ENS_GATEWAY,
|
|
2176
|
+
ttlMs = 30 * 6e4,
|
|
2177
|
+
failTtlMs = 2 * 6e4,
|
|
2178
|
+
concurrency = 4,
|
|
2179
|
+
now = () => Date.now()
|
|
2180
|
+
} = {}) {
|
|
2181
|
+
const cache = /* @__PURE__ */ new Map();
|
|
2182
|
+
const inflight = /* @__PURE__ */ new Map();
|
|
2183
|
+
const queue = [];
|
|
2184
|
+
let running = 0;
|
|
2185
|
+
const pump = () => {
|
|
2186
|
+
while (running < concurrency && queue.length) {
|
|
2187
|
+
const job = queue.shift();
|
|
2188
|
+
running++;
|
|
2189
|
+
job().finally(() => {
|
|
2190
|
+
running--;
|
|
2191
|
+
pump();
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
2194
|
+
};
|
|
2195
|
+
const fetchRecord = async (userid) => {
|
|
2196
|
+
if (!fetchImpl)
|
|
2197
|
+
return void 0;
|
|
2198
|
+
try {
|
|
2199
|
+
const r = await fetchImpl(`${gateway}/getAddress/${encodeURIComponent(userid)}`);
|
|
2200
|
+
if (r.status === 404)
|
|
2201
|
+
return null;
|
|
2202
|
+
if (!r.ok)
|
|
2203
|
+
return void 0;
|
|
2204
|
+
const j = await r.json();
|
|
2205
|
+
if (!j || typeof j.name !== "string" || !j.name)
|
|
2206
|
+
return null;
|
|
2207
|
+
const owner = j.texts && j.texts.carrierUserId;
|
|
2208
|
+
if (owner && owner !== userid)
|
|
2209
|
+
return null;
|
|
2210
|
+
return { name: j.name, displayName: j.texts && j.texts.displayName || null };
|
|
2211
|
+
} catch (e) {
|
|
2212
|
+
return void 0;
|
|
2213
|
+
}
|
|
2214
|
+
};
|
|
2215
|
+
const peek = (userid) => {
|
|
2216
|
+
const hit = userid ? cache.get(userid) : null;
|
|
2217
|
+
return hit && hit.until > now() ? hit.value : void 0;
|
|
2218
|
+
};
|
|
2219
|
+
const lookup = (userid) => {
|
|
2220
|
+
if (!userid)
|
|
2221
|
+
return Promise.resolve(void 0);
|
|
2222
|
+
const hit = cache.get(userid);
|
|
2223
|
+
if (hit && hit.until > now())
|
|
2224
|
+
return Promise.resolve(hit.value);
|
|
2225
|
+
let p = inflight.get(userid);
|
|
2226
|
+
if (p)
|
|
2227
|
+
return p;
|
|
2228
|
+
p = new Promise((resolve) => {
|
|
2229
|
+
queue.push(() => fetchRecord(userid).then((value) => {
|
|
2230
|
+
cache.set(userid, { value, until: now() + (value === void 0 ? failTtlMs : ttlMs) });
|
|
2231
|
+
inflight.delete(userid);
|
|
2232
|
+
resolve(value);
|
|
2233
|
+
}));
|
|
2234
|
+
pump();
|
|
2235
|
+
});
|
|
2236
|
+
inflight.set(userid, p);
|
|
2237
|
+
return p;
|
|
2238
|
+
};
|
|
2239
|
+
return { lookup, peek };
|
|
2240
|
+
}
|
|
2241
|
+
var verifier = createEnsVerifier();
|
|
2242
|
+
function useEnsRecord(userid) {
|
|
2243
|
+
const [rec, setRec] = React.useState(() => verifier.peek(userid));
|
|
2244
|
+
React.useEffect(() => {
|
|
2245
|
+
let live = true;
|
|
2246
|
+
setRec(verifier.peek(userid));
|
|
2247
|
+
if (userid)
|
|
2248
|
+
verifier.lookup(userid).then((r) => {
|
|
2249
|
+
if (live)
|
|
2250
|
+
setRec(r);
|
|
2251
|
+
});
|
|
2252
|
+
return () => {
|
|
2253
|
+
live = false;
|
|
2254
|
+
};
|
|
2255
|
+
}, [userid]);
|
|
2256
|
+
return rec;
|
|
2257
|
+
}
|
|
2258
|
+
function verifiedLabel(userid, name) {
|
|
2259
|
+
if (!name)
|
|
2260
|
+
return name;
|
|
2261
|
+
return ensVerdict(name, verifier.peek(userid)).label || name;
|
|
2262
|
+
}
|
|
2263
|
+
function useEnsVerdict(userid, name) {
|
|
2264
|
+
return ensVerdict(name, useEnsRecord(userid));
|
|
2265
|
+
}
|
|
2266
|
+
function DkEnsMark({ verdict, T, size = 12 }) {
|
|
2267
|
+
if (verdict.mark) {
|
|
2268
|
+
const title = verdict.claimed ? (T && T.ensVerifiedReplaced || "Registered beagles.eth name for this user. Their device shows {claimed}, which is not registered to them.").replace("{claimed}", verdict.claimed) : T && T.ensVerified || "Verified: this beagles.eth name is registered to this user.";
|
|
2269
|
+
return /* @__PURE__ */ React.createElement("span", { title, "aria-label": title, style: { display: "inline-flex", flexShrink: 0, color: "var(--accent)" } }, /* @__PURE__ */ React.createElement(Icon, { name: "check", size, stroke: 2.6, color: "var(--accent)" }));
|
|
2270
|
+
}
|
|
2271
|
+
if (verdict.hint === "self-claimed") {
|
|
2272
|
+
const title = T && T.ensSelfClaimedTip || "Shown by their device. This beagles.eth name is not registered to this user.";
|
|
2273
|
+
return /* @__PURE__ */ React.createElement("span", { title, style: {
|
|
2274
|
+
flexShrink: 0,
|
|
2275
|
+
fontFamily: "var(--ui)",
|
|
2276
|
+
fontSize: 10,
|
|
2277
|
+
color: "var(--faint)",
|
|
2278
|
+
border: "1px solid var(--line)",
|
|
2279
|
+
borderRadius: 4,
|
|
2280
|
+
padding: "0 4px",
|
|
2281
|
+
lineHeight: "14px",
|
|
2282
|
+
whiteSpace: "nowrap"
|
|
2283
|
+
} }, T && T.ensSelfClaimed || "self-claimed");
|
|
2284
|
+
}
|
|
2285
|
+
return null;
|
|
2286
|
+
}
|
|
2287
|
+
function DkVerifiedName({ userid, name, fallback, T, style, markSize }) {
|
|
2288
|
+
const v = useEnsVerdict(userid, name);
|
|
2289
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { style, title: v.claimed ? v.claimed + " \u2192 " + v.label : void 0 }, v.label || fallback), /* @__PURE__ */ React.createElement(DkEnsMark, { verdict: v, T, size: markSize }));
|
|
2290
|
+
}
|
|
2149
2291
|
var NATIVE_MEDIA_MIME = {
|
|
2150
2292
|
".jpg": "image/jpeg",
|
|
2151
2293
|
".jpeg": "image/jpeg",
|
|
@@ -2431,7 +2573,7 @@ ${lines}`, { assistant: { kind: "adopt", rows: fresh } }));
|
|
|
2431
2573
|
fontFamily: "inherit",
|
|
2432
2574
|
border: "1px solid " + (active ? "var(--line)" : "transparent"),
|
|
2433
2575
|
background: active ? "var(--panel-2)" : "transparent"
|
|
2434
|
-
} }, /* @__PURE__ */ React.createElement(DkAvatar, { peer, size: 32, radius: 7 }), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 6 } }, /* @__PURE__ */ React.createElement(
|
|
2576
|
+
} }, /* @__PURE__ */ React.createElement(DkAvatar, { peer, size: 32, radius: 7 }), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 6 } }, /* @__PURE__ */ React.createElement(DkVerifiedName, { userid: peer.app ? null : peer.userId, name: peer.alias, fallback: shortKey(peer.userId, 8, 5), T, style: {
|
|
2435
2577
|
fontFamily: peer.alias ? "var(--ui)" : "var(--mono)",
|
|
2436
2578
|
fontSize: 13.5,
|
|
2437
2579
|
fontWeight: 600,
|
|
@@ -2439,7 +2581,7 @@ ${lines}`, { assistant: { kind: "adopt", rows: fresh } }));
|
|
|
2439
2581
|
whiteSpace: "nowrap",
|
|
2440
2582
|
overflow: "hidden",
|
|
2441
2583
|
textOverflow: "ellipsis"
|
|
2442
|
-
} }
|
|
2584
|
+
} }), peer.agent && /* @__PURE__ */ React.createElement(Icon, { name: "bot", size: 13, color: "var(--faint)", stroke: 2 }), peer.app && /* @__PURE__ */ React.createElement(Tag, { tone: "accent", style: { height: 15, fontSize: 9.5, padding: "0 4px" } }, "APP"), muted && /* @__PURE__ */ React.createElement(Icon, { name: "bellOff", size: 12, color: "var(--faint)", stroke: 2, title: T && T.mutedTag || "sound muted" }), peer.wire === "64" && /* @__PURE__ */ React.createElement(Tag, { tone: "off", style: { height: 15, fontSize: 9.5, padding: "0 4px" } }, "w64")), /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 6, marginTop: 2 } }, peer.ip ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { style: { fontFamily: "var(--mono)", fontSize: 11, color: "var(--faint)" } }, peer.ip), /* @__PURE__ */ React.createElement("span", { style: { color: "var(--line)", fontSize: 11 } }, "\xB7")) : null, /* @__PURE__ */ React.createElement("span", { style: {
|
|
2443
2585
|
fontSize: 11,
|
|
2444
2586
|
color: "var(--dim)",
|
|
2445
2587
|
whiteSpace: "nowrap",
|
|
@@ -2834,7 +2976,7 @@ ${lines}`, { assistant: { kind: "adopt", rows: fresh } }));
|
|
|
2834
2976
|
title: grp.sender,
|
|
2835
2977
|
style: { display: "inline-flex", alignItems: "center", gap: 5, background: "none", border: "none", padding: 0, cursor: "pointer" }
|
|
2836
2978
|
},
|
|
2837
|
-
avatar ? /* @__PURE__ */ React.createElement(DkEnsAvatar, { userid: grp.senderId, name: grp.sender, fallbackSeed: seed, size: 24, radius: 6 }) : /* @__PURE__ */ React.createElement(
|
|
2979
|
+
avatar ? /* @__PURE__ */ React.createElement(DkEnsAvatar, { userid: grp.senderId, name: grp.sender, fallbackSeed: seed, size: 24, radius: 6 }) : /* @__PURE__ */ React.createElement(DkVerifiedName, { userid: grp.senderId, name: grp.sender, T, markSize: 10, style: { fontFamily: "var(--mono)", fontSize: 10.5, color: "var(--faint)" } })
|
|
2838
2980
|
), open && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { onClick: () => setOpen(false), style: { position: "fixed", inset: 0, zIndex: 40 } }), /* @__PURE__ */ React.createElement("span", { style: {
|
|
2839
2981
|
position: "absolute",
|
|
2840
2982
|
left: 0,
|
|
@@ -2849,7 +2991,7 @@ ${lines}`, { assistant: { kind: "adopt", rows: fresh } }));
|
|
|
2849
2991
|
display: "flex",
|
|
2850
2992
|
flexDirection: "column",
|
|
2851
2993
|
gap: 8
|
|
2852
|
-
} }, /* @__PURE__ */ React.createElement("span", { style: { display: "flex", alignItems: "center", gap: 8 } }, /* @__PURE__ */ React.createElement(DkEnsAvatar, { userid: grp.senderId, name: grp.sender, fallbackSeed: seed, size: 34, radius: 8 }), /* @__PURE__ */ React.createElement(
|
|
2994
|
+
} }, /* @__PURE__ */ React.createElement("span", { style: { display: "flex", alignItems: "center", gap: 8 } }, /* @__PURE__ */ React.createElement(DkEnsAvatar, { userid: grp.senderId, name: grp.sender, fallbackSeed: seed, size: 34, radius: 8 }), /* @__PURE__ */ React.createElement(DkVerifiedName, { userid: grp.senderId, name: grp.sender, T, style: { fontFamily: "var(--mono)", fontSize: 12.5, fontWeight: 700, color: "var(--text)", wordBreak: "break-all" } })), grp.senderId ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Mono, { size: 10.5, dim: true, copy: grp.senderId, title: grp.senderId }, shortKey(grp.senderId, 12, 8)), /* @__PURE__ */ React.createElement(
|
|
2853
2995
|
"button",
|
|
2854
2996
|
{
|
|
2855
2997
|
onClick: addFriend,
|
|
@@ -3886,7 +4028,17 @@ ${lines}`, { assistant: { kind: "adopt", rows: fresh } }));
|
|
|
3886
4028
|
style: { width: 40, height: 44, flexShrink: 0, border: "none", background: "transparent", cursor: "pointer", display: "flex", alignItems: "center", justifyContent: "center", padding: 0 }
|
|
3887
4029
|
},
|
|
3888
4030
|
/* @__PURE__ */ React.createElement(Icon, { name: "chevronLeft", size: 26, stroke: 2.2, color: "var(--accent)" })
|
|
3889
|
-
), /* @__PURE__ */ React.createElement("div", { onClick: () => setPubProfile(true), title: T && T.pubOpen || "View public profile", style: { cursor: "pointer", flexShrink: 0 } }, /* @__PURE__ */ React.createElement(DkAvatar, { peer, size: 34, radius: 8 })), /* @__PURE__ */ React.createElement("div", { style: { minWidth: 0, flex: phone ? 1 : void 0 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 8, minWidth: 0 } }, /* @__PURE__ */ React.createElement("span", { onClick: () => setPubProfile(true), style: {
|
|
4031
|
+
), /* @__PURE__ */ React.createElement("div", { onClick: () => setPubProfile(true), title: T && T.pubOpen || "View public profile", style: { cursor: "pointer", flexShrink: 0 } }, /* @__PURE__ */ React.createElement(DkAvatar, { peer, size: 34, radius: 8 })), /* @__PURE__ */ React.createElement("div", { style: { minWidth: 0, flex: phone ? 1 : void 0 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 8, minWidth: 0 } }, /* @__PURE__ */ React.createElement("span", { onClick: () => setPubProfile(true), style: { display: "inline-flex", alignItems: "center", gap: 5, minWidth: 0, cursor: "pointer" } }, /* @__PURE__ */ React.createElement(
|
|
4032
|
+
DkVerifiedName,
|
|
4033
|
+
{
|
|
4034
|
+
userid: peer.app ? null : peer.userId,
|
|
4035
|
+
name: peer.alias,
|
|
4036
|
+
fallback: shortKey(peer.userId, phone ? 6 : 10, phone ? 4 : 6),
|
|
4037
|
+
T,
|
|
4038
|
+
markSize: 14,
|
|
4039
|
+
style: { fontFamily: peer.alias ? "var(--ui)" : "var(--mono)", fontSize: 15, fontWeight: 700, color: "var(--text)", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", minWidth: 0 }
|
|
4040
|
+
}
|
|
4041
|
+
)), peer.app && !phone && /* @__PURE__ */ React.createElement(Tag, { tone: "accent" }, "APP"), peer.agent && !phone && /* @__PURE__ */ React.createElement(Tag, { tone: "accent" }, "agent"), isGroup && !phone && /* @__PURE__ */ React.createElement(Tag, null, T && T.groupTag || "group"), !phone && !peer.app && /* @__PURE__ */ React.createElement(RouteTag, { peer })), peer.app ? (
|
|
3890
4042
|
// The internal id is not an address anyone can use and not a name
|
|
3891
4043
|
// anyone chose; saying what this row IS is more use than showing it.
|
|
3892
4044
|
/* @__PURE__ */ React.createElement("div", { style: { marginTop: 2, fontFamily: "var(--mono)", fontSize: 11.5, color: "var(--faint)" } }, T && T.assistantSub || "Local \xB7 APP")
|
|
@@ -4046,7 +4198,7 @@ ${peer.address}`
|
|
|
4046
4198
|
e.preventDefault();
|
|
4047
4199
|
}
|
|
4048
4200
|
},
|
|
4049
|
-
placeholder: phone ? `${T.message}\u2026` : `${T.message} ${peer.alias || shortKey(peer.userId, 6, 4)}\u2026`,
|
|
4201
|
+
placeholder: phone ? `${T.message}\u2026` : `${T.message} ${verifiedLabel(peer.app ? null : peer.userId, peer.alias) || shortKey(peer.userId, 6, 4)}\u2026`,
|
|
4050
4202
|
style: { flex: 1, height: 38, borderRadius: 9, border: "1px solid var(--line)", background: "var(--panel-2)", color: "var(--text)", fontFamily: "var(--ui)", fontSize: 13.5, padding: "0 14px", outline: "none", minWidth: 0 }
|
|
4051
4203
|
}
|
|
4052
4204
|
), /* @__PURE__ */ React.createElement(Btn, { tone: "solid", icon: "arrowUp", title: T.send, onClick: sendDraft }))),
|
|
@@ -4097,7 +4249,7 @@ ${peer.address}`
|
|
|
4097
4249
|
style: { maxWidth: "100%", maxHeight: "100%", objectFit: "contain", borderRadius: 6 }
|
|
4098
4250
|
}
|
|
4099
4251
|
))),
|
|
4100
|
-
pubProfile && /* @__PURE__ */ React.createElement(DkPublicProfile, { T, userid: peer.userId, fallbackName: peer.alias, isFriend: true, onClose: () => setPubProfile(false) }),
|
|
4252
|
+
pubProfile && /* @__PURE__ */ React.createElement(DkPublicProfile, { T, userid: peer.userId, fallbackName: verifiedLabel(peer.userId, peer.alias), isFriend: true, onClose: () => setPubProfile(false) }),
|
|
4101
4253
|
nameCardProf && (() => {
|
|
4102
4254
|
const cardFriend2 = cardFriend(nameCardProf, peers);
|
|
4103
4255
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -4424,6 +4576,7 @@ ${peer.address}`
|
|
|
4424
4576
|
function DkPublicProfile({ T, userid, fallbackName, onClose, isFriend, isMe, onMessage, card, friend }) {
|
|
4425
4577
|
const view = card ? nameCardView(card, friend ? [friend] : []) : null;
|
|
4426
4578
|
const [st, setSt] = React.useState({ loading: true });
|
|
4579
|
+
const ensV = useEnsVerdict(userid, st.prof && st.prof.ens);
|
|
4427
4580
|
const [addState, setAddState] = React.useState(null);
|
|
4428
4581
|
const [recOpen, setRecOpen] = React.useState(false);
|
|
4429
4582
|
const [recPeers, setRecPeers] = React.useState(null);
|
|
@@ -4473,7 +4626,7 @@ ${peer.address}`
|
|
|
4473
4626
|
const links = prof ? Object.entries(prof.links || {}) : [];
|
|
4474
4627
|
const lbl = { width: 110, flexShrink: 0, fontFamily: "var(--mono)", fontSize: 11, fontWeight: 600, color: "var(--faint)", textTransform: "uppercase", letterSpacing: 0.5 };
|
|
4475
4628
|
const rowS = { display: "flex", alignItems: "center", gap: 10, padding: "10px 0", borderTop: "1px solid var(--line)" };
|
|
4476
|
-
return /* @__PURE__ */ React.createElement("div", { onClick: onClose, style: { position: "fixed", inset: 0, zIndex: 90, background: "color-mix(in oklab, #000, transparent 38%)", display: "flex", alignItems: "center", justifyContent: "center", padding: 24 } }, /* @__PURE__ */ React.createElement("div", { onClick: (e) => e.stopPropagation(), style: { width: 420, maxWidth: "94vw", background: "var(--panel)", border: "1px solid var(--line)", borderRadius: 16, padding: "20px 22px", display: "flex", flexDirection: "column", gap: 14 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 14 } }, prof && prof.avatarUrl ? /* @__PURE__ */ React.createElement(DkImgAvatar, { url: prof.avatarUrl, seed: userid, size: 56, radius: 14 }) : prof && prof.punkId != null ? /* @__PURE__ */ React.createElement(DkPunkAvatar, { id: prof.punkId, size: 56, radius: 14, fallbackSeed: userid }) : friend ? /* @__PURE__ */ React.createElement(DkAvatar, { peer: friend, size: 56, radius: 14, dot: false }) : card && card.avatar ? /* @__PURE__ */ React.createElement(DkImgAvatar, { url: card.avatar, seed: userid, size: 56, radius: 14 }) : /* @__PURE__ */ React.createElement(DkIdenticon, { seed: userid, size: 56, radius: 14 }), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 17, fontWeight: 700, color: "var(--text)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, prof && prof.displayName || fallbackName || shortKey(userid, 10, 6)), prof && prof.ens && /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--mono)", fontSize: 12, color: "var(--accent)", marginTop: 2 } }, prof.ens)), /* @__PURE__ */ React.createElement(Btn, { icon: "x", size: "sm", onClick: onClose })), st.loading ? /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--faint)" } }, T.dirLoading || "loading\u2026") : !prof && view ? /* @__PURE__ */ React.createElement(DkNameCardNoProfile, { T, view, card, onMessage, isMe }) : !prof ? /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--faint)" } }, T.pubNone || "No public profile \u2014 this user has not registered a beagles.eth name.") : /* @__PURE__ */ React.createElement("div", { style: { display: "flex", flexDirection: "column" } }, prof.description && /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--dim)", paddingBottom: 12, lineHeight: 1.5 } }, prof.description), links.length > 0 && // Label keeps its column; pills wrap inside their OWN container so
|
|
4629
|
+
return /* @__PURE__ */ React.createElement("div", { onClick: onClose, style: { position: "fixed", inset: 0, zIndex: 90, background: "color-mix(in oklab, #000, transparent 38%)", display: "flex", alignItems: "center", justifyContent: "center", padding: 24 } }, /* @__PURE__ */ React.createElement("div", { onClick: (e) => e.stopPropagation(), style: { width: 420, maxWidth: "94vw", background: "var(--panel)", border: "1px solid var(--line)", borderRadius: 16, padding: "20px 22px", display: "flex", flexDirection: "column", gap: 14 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 14 } }, prof && prof.avatarUrl ? /* @__PURE__ */ React.createElement(DkImgAvatar, { url: prof.avatarUrl, seed: userid, size: 56, radius: 14 }) : prof && prof.punkId != null ? /* @__PURE__ */ React.createElement(DkPunkAvatar, { id: prof.punkId, size: 56, radius: 14, fallbackSeed: userid }) : friend ? /* @__PURE__ */ React.createElement(DkAvatar, { peer: friend, size: 56, radius: 14, dot: false }) : card && card.avatar ? /* @__PURE__ */ React.createElement(DkImgAvatar, { url: card.avatar, seed: userid, size: 56, radius: 14 }) : /* @__PURE__ */ React.createElement(DkIdenticon, { seed: userid, size: 56, radius: 14 }), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 17, fontWeight: 700, color: "var(--text)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, prof && prof.displayName || fallbackName || shortKey(userid, 10, 6)), prof && prof.ens && /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 5, fontFamily: "var(--mono)", fontSize: 12, color: "var(--accent)", marginTop: 2 } }, prof.ens, /* @__PURE__ */ React.createElement(DkEnsMark, { verdict: ensV, T }))), /* @__PURE__ */ React.createElement(Btn, { icon: "x", size: "sm", onClick: onClose })), st.loading ? /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--faint)" } }, T.dirLoading || "loading\u2026") : !prof && view ? /* @__PURE__ */ React.createElement(DkNameCardNoProfile, { T, view, card, onMessage, isMe }) : !prof ? /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--faint)" } }, T.pubNone || "No public profile \u2014 this user has not registered a beagles.eth name.") : /* @__PURE__ */ React.createElement("div", { style: { display: "flex", flexDirection: "column" } }, prof.description && /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--dim)", paddingBottom: 12, lineHeight: 1.5 } }, prof.description), links.length > 0 && // Label keeps its column; pills wrap inside their OWN container so
|
|
4477
4630
|
// an overflowing pill lands under the first pill, never under the label.
|
|
4478
4631
|
/* @__PURE__ */ React.createElement("div", { style: { ...rowS, alignItems: "flex-start" } }, /* @__PURE__ */ React.createElement("span", { style: { ...lbl, paddingTop: 5 } }, T.linksCard || "links"), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0, display: "flex", gap: 8, flexWrap: "wrap" } }, links.map(([k, h]) => /* @__PURE__ */ React.createElement(
|
|
4479
4632
|
"a",
|
|
@@ -4522,7 +4675,7 @@ ${peer.address}`
|
|
|
4522
4675
|
style: { display: "flex", alignItems: "center", gap: 9, padding: "6px 8px", borderRadius: 9, border: "none", background: "transparent", cursor: recState[p.id] ? "default" : "pointer", textAlign: "left" }
|
|
4523
4676
|
},
|
|
4524
4677
|
/* @__PURE__ */ React.createElement(DkAvatar, { peer: p, size: 26, radius: 7, dot: false }),
|
|
4525
|
-
/* @__PURE__ */ React.createElement("span", { style: { flex: 1, minWidth: 0, fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--text)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, p.alias
|
|
4678
|
+
/* @__PURE__ */ React.createElement("span", { style: { flex: 1, minWidth: 0, fontFamily: "var(--ui)", fontSize: 12.5, color: "var(--text)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, /* @__PURE__ */ React.createElement(DkVerifiedName, { userid: p.userId, name: p.alias, fallback: shortKey(p.userId, 8, 6), T })),
|
|
4526
4679
|
recState[p.id] === "sent" ? /* @__PURE__ */ React.createElement("span", { style: { fontFamily: "var(--ui)", fontSize: 11.5, color: "var(--online)" } }, T.pubRecSent || "sent \u2713") : recState[p.id] === "busy" ? /* @__PURE__ */ React.createElement("span", { style: { fontFamily: "var(--ui)", fontSize: 11.5, color: "var(--faint)" } }, "\u2026") : recState[p.id] ? /* @__PURE__ */ React.createElement("span", { title: recState[p.id], style: { fontFamily: "var(--ui)", fontSize: 11.5, color: "var(--warn, #f59e0b)" } }, T.addFailed || "failed") : /* @__PURE__ */ React.createElement("span", { style: { fontFamily: "var(--ui)", fontSize: 11.5, color: "var(--accent)" } }, T.send || "Send")
|
|
4527
4680
|
))))));
|
|
4528
4681
|
}
|
|
@@ -6238,7 +6391,7 @@ ${peer.address}`
|
|
|
6238
6391
|
if (!inc)
|
|
6239
6392
|
return null;
|
|
6240
6393
|
const peer = (peers || []).find((p) => p.id === inc.peerId) || { id: inc.peerId };
|
|
6241
|
-
const name = peer.alias || peer.name || shortKey(inc.peerId, 10, 6);
|
|
6394
|
+
const name = verifiedLabel(inc.peerId, peer.alias) || peer.name || shortKey(inc.peerId, 10, 6);
|
|
6242
6395
|
return /* @__PURE__ */ React.createElement("div", { style: { position: "fixed", inset: 0, zIndex: 80, background: "color-mix(in oklab, var(--bg), transparent 15%)", display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React.createElement("div", { style: { width: 320, padding: 26, borderRadius: 18, background: "var(--panel)", border: "1px solid var(--line)", textAlign: "center", boxShadow: "0 20px 60px rgba(0,0,0,0.4)" } }, /* @__PURE__ */ React.createElement("div", { style: { position: "relative", display: "inline-flex", alignItems: "center", justifyContent: "center", marginBottom: 14 } }, /* @__PURE__ */ React.createElement("span", { style: { position: "absolute", width: 96, height: 96, borderRadius: 999, border: "2px solid var(--accent)", animation: "dkpulse 2s ease-out infinite" } }), /* @__PURE__ */ React.createElement(DkIdenticon, { seed: inc.peerId, size: 72, radius: 18 })), /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--mono)", fontSize: 17, fontWeight: 700, color: "var(--text)" } }, name), /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--mono)", fontSize: 12.5, color: "var(--faint)", marginTop: 4, display: "flex", gap: 6, alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React.createElement(Icon, { name: inc.video ? "video" : "phone", size: 14, stroke: 2 }), T && (inc.video ? T.incomingVideo : T.incomingAudio) || "Incoming " + (inc.video ? "video" : "audio") + " call"), /* @__PURE__ */ React.createElement("div", { style: { display: "flex", gap: 14, justifyContent: "center", marginTop: 22 } }, /* @__PURE__ */ React.createElement(CallBtn, { icon: "phone", label: T && T.decline || "Decline", danger: true, onClick: ctl.reject }), /* @__PURE__ */ React.createElement(CallBtn, { icon: inc.video ? "video" : "phone", label: T && T.accept || "Accept", active: true, onClick: ctl.accept }))));
|
|
6243
6396
|
}
|
|
6244
6397
|
function CallBtn({ icon, label, onClick, active, danger, wide }) {
|
|
@@ -6278,7 +6431,7 @@ ${peer.address}`
|
|
|
6278
6431
|
if (!call)
|
|
6279
6432
|
return null;
|
|
6280
6433
|
const peer = (peers || []).find((p) => p.id === call.peerId) || { id: call.peerId };
|
|
6281
|
-
const name = peer.alias || peer.name || shortKey(call.peerId, 10, 6);
|
|
6434
|
+
const name = verifiedLabel(call.peerId, peer.alias) || peer.name || shortKey(call.peerId, 10, 6);
|
|
6282
6435
|
const streamHasVideo = (s) => !!(s && s.getVideoTracks && s.getVideoTracks().length > 0);
|
|
6283
6436
|
const video = call.video || ctl.sharing || streamHasVideo(ctl.remoteStream) || streamHasVideo(ctl.localStream);
|
|
6284
6437
|
const mm = String(Math.floor(secs / 60)).padStart(2, "0");
|
|
@@ -6854,7 +7007,7 @@ ${peer.address}`
|
|
|
6854
7007
|
const downloadLabel = T && T.downloadFile || "Download";
|
|
6855
7008
|
return /* @__PURE__ */ React.createElement("div", { style: { position: "fixed", right: 72, bottom: 18, zIndex: 90, width: 360, maxWidth: "calc(100vw - 96px)", display: "flex", flexDirection: "column", gap: 10 } }, items.map((it) => {
|
|
6856
7009
|
const peer = (peers || []).find((p) => p.id === it.peerId || p.userId === it.peerId) || {};
|
|
6857
|
-
const who = peer.alias || peer.name || shortKey(it.peerId, 8, 5);
|
|
7010
|
+
const who = verifiedLabel(peer.userId || it.peerId, peer.alias) || peer.name || shortKey(it.peerId, 8, 5);
|
|
6858
7011
|
return /* @__PURE__ */ React.createElement("div", { key: it.id, style: { border: "1px solid var(--line)", background: "var(--panel)", borderRadius: 12, padding: 12, boxShadow: "0 14px 40px rgba(0,0,0,0.35)" } }, /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--mono)", fontSize: 12, color: "var(--faint)", marginBottom: 6 } }, T && T.receivedFile || "Received file", " \xB7 ", who), /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--ui)", fontSize: 13, fontWeight: 700, color: "var(--text)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, it.name), /* @__PURE__ */ React.createElement("div", { style: { fontFamily: "var(--mono)", fontSize: 11, color: "var(--faint)", marginTop: 3 } }, dkFileSize(it.size)), /* @__PURE__ */ React.createElement("div", { style: { display: "flex", justifyContent: "flex-end", gap: 8, marginTop: 10, paddingRight: 2 } }, /* @__PURE__ */ React.createElement("button", { onClick: () => ctl.dismissIncoming(it.id), style: { height: 30, minWidth: 58, borderRadius: 8, border: "1px solid var(--line)", background: "transparent", color: "var(--dim)", cursor: "pointer" } }, closeLabel), /* @__PURE__ */ React.createElement("a", { href: it.url, download: it.name, onClick: () => setTimeout(() => ctl.dismissIncoming(it.id), 500), style: { height: 30, minWidth: 76, textAlign: "center", borderRadius: 8, padding: "6px 10px", background: "var(--accent)", color: "#fff", textDecoration: "none", fontFamily: "var(--mono)", fontSize: 12 } }, downloadLabel)));
|
|
6859
7012
|
}));
|
|
6860
7013
|
}
|
|
@@ -6872,7 +7025,7 @@ ${peer.address}`
|
|
|
6872
7025
|
if (!peers.length)
|
|
6873
7026
|
return null;
|
|
6874
7027
|
if (phone) {
|
|
6875
|
-
return /* @__PURE__ */ React.createElement("div", { style: { borderRadius: 11, border: "1px solid var(--line)", overflow: "hidden", background: "var(--panel)" } }, peers.map((p, i) => /* @__PURE__ */ React.createElement("div", { key: p.id, onClick: () => onOpenChat(p.id), style: { display: "flex", alignItems: "center", gap: 10, padding: "10px 12px", cursor: "pointer", borderBottom: i < peers.length - 1 ? "1px solid var(--line)" : "none" } }, /* @__PURE__ */ React.createElement(DkAvatar, { peer: p, size: 30, radius: 7 }), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0, display: "flex", flexDirection: "column", gap: 3 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 } }, /* @__PURE__ */ React.createElement(
|
|
7028
|
+
return /* @__PURE__ */ React.createElement("div", { style: { borderRadius: 11, border: "1px solid var(--line)", overflow: "hidden", background: "var(--panel)" } }, peers.map((p, i) => /* @__PURE__ */ React.createElement("div", { key: p.id, onClick: () => onOpenChat(p.id), style: { display: "flex", alignItems: "center", gap: 10, padding: "10px 12px", cursor: "pointer", borderBottom: i < peers.length - 1 ? "1px solid var(--line)" : "none" } }, /* @__PURE__ */ React.createElement(DkAvatar, { peer: p, size: 30, radius: 7 }), /* @__PURE__ */ React.createElement("div", { style: { flex: 1, minWidth: 0, display: "flex", flexDirection: "column", gap: 3 } }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 } }, /* @__PURE__ */ React.createElement(DkVerifiedName, { userid: p.userId, name: p.alias, fallback: shortKey(p.userId, 8, 5), T, style: { fontFamily: p.alias ? "var(--ui)" : "var(--mono)", fontSize: 13.5, fontWeight: 600, color: "var(--text)", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", minWidth: 0 } }), p.agent && /* @__PURE__ */ React.createElement(Icon, { name: "bot", size: 12, color: "var(--faint)", stroke: 2 })), /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 } }, /* @__PURE__ */ React.createElement(RouteTag, { peer: p }), p.ip ? /* @__PURE__ */ React.createElement(Mono, { size: 11.5, dim: true, copy: p.ip }, p.ip) : null)), /* @__PURE__ */ React.createElement(Icon, { name: "chevronRight", size: 16, color: "var(--faint)", stroke: 2 }))));
|
|
6876
7029
|
}
|
|
6877
7030
|
return /* @__PURE__ */ React.createElement("div", { style: { borderRadius: 11, border: "1px solid var(--line)", overflow: "hidden", background: "var(--panel)" } }, /* @__PURE__ */ React.createElement("div", { style: { display: "grid", gridTemplateColumns: "1.4fr 1fr 1fr 0.8fr 90px", gap: 0, padding: "9px 16px", borderBottom: "1px solid var(--line)", background: "var(--panel-2)" } }, [T.colPeer, T.colVip, T.colPath, T.colWire, ""].map((h, i) => /* @__PURE__ */ React.createElement("span", { key: i, style: { fontFamily: "var(--mono)", fontSize: 10.5, fontWeight: 700, letterSpacing: 0.8, textTransform: "uppercase", color: "var(--faint)", textAlign: i === 4 ? "right" : "left" } }, h))), peers.map((p, i) => /* @__PURE__ */ React.createElement("div", { key: p.id, style: {
|
|
6878
7031
|
display: "grid",
|
|
@@ -6881,7 +7034,7 @@ ${peer.address}`
|
|
|
6881
7034
|
alignItems: "center",
|
|
6882
7035
|
padding: "11px 16px",
|
|
6883
7036
|
borderBottom: i < peers.length - 1 ? "1px solid var(--line)" : "none"
|
|
6884
|
-
} }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 } }, /* @__PURE__ */ React.createElement(DkAvatar, { peer: p, size: 26, radius: 6 }), /* @__PURE__ */ React.createElement(
|
|
7037
|
+
} }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 } }, /* @__PURE__ */ React.createElement(DkAvatar, { peer: p, size: 26, radius: 6 }), /* @__PURE__ */ React.createElement(DkVerifiedName, { userid: p.userId, name: p.alias, fallback: shortKey(p.userId, 8, 5), T, style: { fontFamily: p.alias ? "var(--ui)" : "var(--mono)", fontSize: 13, fontWeight: 600, color: "var(--text)", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" } }), p.agent && /* @__PURE__ */ React.createElement(Icon, { name: "bot", size: 12, color: "var(--faint)", stroke: 2 })), /* @__PURE__ */ React.createElement(Mono, { size: 12.5, dim: true, copy: p.ip }, p.ip), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(RouteTag, { peer: p })), /* @__PURE__ */ React.createElement("span", { style: { fontFamily: "var(--mono)", fontSize: 11.5, color: p.wire === "64" ? "var(--warn)" : "var(--dim)" } }, p.wire === "64" ? "old\xB764" : "new\xB7163"), /* @__PURE__ */ React.createElement("div", { style: { display: "flex", justifyContent: "flex-end", gap: 6 } }, /* @__PURE__ */ React.createElement(Btn, { icon: "message", size: "sm", title: T.openChat, onClick: () => onOpenChat(p.id) }), /* @__PURE__ */ React.createElement(Btn, { icon: "signal", size: "sm", title: T.ping })))));
|
|
6885
7038
|
}
|
|
6886
7039
|
function ReconnectBtn({ T, ip, onReconnect, label, icon = "refresh" }) {
|
|
6887
7040
|
const [busy, setBusy] = React.useState(false);
|
|
@@ -7562,6 +7715,10 @@ ${peer.address}`
|
|
|
7562
7715
|
joinGroup: "Join group",
|
|
7563
7716
|
cardIsFriend: "Already in your chats.",
|
|
7564
7717
|
cardNoEns: "No beagles.eth name registered.",
|
|
7718
|
+
ensVerified: "Verified: this beagles.eth name is registered to this user.",
|
|
7719
|
+
ensVerifiedReplaced: "Registered beagles.eth name for this user. Their device shows {claimed}, which is not registered to them.",
|
|
7720
|
+
ensSelfClaimed: "self-claimed",
|
|
7721
|
+
ensSelfClaimedTip: "Shown by their device. This beagles.eth name is not registered to this user.",
|
|
7565
7722
|
voiceMessage: "Voice message",
|
|
7566
7723
|
groupFileNotDelivered: "Not delivered to this device: the group sends agents only a description of files.",
|
|
7567
7724
|
shareFailed: "Screen share failed",
|
|
@@ -7792,6 +7949,10 @@ ${peer.address}`
|
|
|
7792
7949
|
joinGroup: "\u52A0\u5165\u7FA4",
|
|
7793
7950
|
cardIsFriend: "\u5DF2\u5728\u4F60\u7684\u4F1A\u8BDD\u91CC\u3002",
|
|
7794
7951
|
cardNoEns: "\u5BF9\u65B9\u8FD8\u6CA1\u6709\u6CE8\u518C beagles.eth \u540D\u5B57\u3002",
|
|
7952
|
+
ensVerified: "\u5DF2\u9A8C\u8BC1:\u8FD9\u4E2A beagles.eth \u540D\u5B57\u6CE8\u518C\u5728\u6B64\u7528\u6237\u540D\u4E0B\u3002",
|
|
7953
|
+
ensVerifiedReplaced: "\u6B64\u7528\u6237\u6CE8\u518C\u7684 beagles.eth \u540D\u5B57\u3002\u5BF9\u65B9\u8BBE\u5907\u663E\u793A\u7684\u662F {claimed},\u5B83\u5E76\u6CA1\u6709\u6CE8\u518C\u5728\u5BF9\u65B9\u540D\u4E0B\u3002",
|
|
7954
|
+
ensSelfClaimed: "\u81EA\u79F0",
|
|
7955
|
+
ensSelfClaimedTip: "\u8FD9\u662F\u5BF9\u65B9\u8BBE\u5907\u81EA\u5DF1\u586B\u5199\u7684\u540D\u5B57,\u8FD9\u4E2A beagles.eth \u540D\u5B57\u5E76\u6CA1\u6709\u6CE8\u518C\u5728\u6B64\u7528\u6237\u540D\u4E0B\u3002",
|
|
7795
7956
|
voiceMessage: "\u8BED\u97F3\u6D88\u606F",
|
|
7796
7957
|
groupFileNotDelivered: "\u672A\u9001\u8FBE\u672C\u8BBE\u5907\uFF1A\u7FA4\u7EC4\u53EA\u5411\u4EE3\u7406\u53D1\u9001\u6587\u4EF6\u8BF4\u660E\uFF0C\u4E0D\u542B\u6587\u4EF6\u5185\u5BB9\u3002",
|
|
7797
7958
|
shareFailed: "\u5C4F\u5E55\u5171\u4EAB\u5931\u8D25",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decentnetwork/beagle",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.145",
|
|
4
4
|
"description": "Beagle — P2P chat, file transfer and calls for regular users, on the Decent Network. No admin privilege required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"start": "node dist/cli.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@decentnetwork/beagle-ui": "^0.2.
|
|
29
|
+
"@decentnetwork/beagle-ui": "^0.2.47",
|
|
30
30
|
"@decentnetwork/chat-components": "^0.1.3",
|
|
31
31
|
"@decentnetwork/lan": "^0.1.316",
|
|
32
32
|
"@decentnetwork/peer": "^0.1.178",
|