@xyo-network/xl1-react-client-sdk 4.4.6 → 4.4.7
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/browser/index.mjs
CHANGED
|
@@ -410,14 +410,15 @@ var renderCaveatValue = (caveat) => {
|
|
|
410
410
|
if (caveat.value.length === 0) {
|
|
411
411
|
return /* @__PURE__ */ jsx3(Typography3, { variant: "caption", sx: { color: "text.secondary" }, children: "(no address restriction \u2014 every selected account is returned)" });
|
|
412
412
|
}
|
|
413
|
-
|
|
413
|
+
const addresses = caveat.value.filter((value) => typeof value === "string");
|
|
414
|
+
return /* @__PURE__ */ jsx3(Stack3, { direction: "row", sx: { flexWrap: "wrap", gap: 0.5 }, children: addresses.map((address) => /* @__PURE__ */ jsx3(
|
|
414
415
|
Chip,
|
|
415
416
|
{
|
|
416
|
-
label:
|
|
417
|
+
label: address,
|
|
417
418
|
size: "small",
|
|
418
419
|
sx: { fontFamily: "monospace" }
|
|
419
420
|
},
|
|
420
|
-
|
|
421
|
+
address
|
|
421
422
|
)) });
|
|
422
423
|
}
|
|
423
424
|
if (caveat.type === "dataLakeAccess" && typeof caveat.value === "object" && caveat.value !== null) {
|