@moveindustries/wallet-adapter-mui-design 5.3.3 → 5.4.0

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/index.js CHANGED
@@ -182,7 +182,7 @@ function WalletButton({
182
182
  sx: { width: 24, height: 24 }
183
183
  }
184
184
  ),
185
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { noWrap: true, ml: 2, children: (account == null ? void 0 : account.ansName) || (0, import_wallet_adapter_react2.truncateAddress)((_a = account == null ? void 0 : account.address) == null ? void 0 : _a.toString()) || "Unknown" })
185
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { noWrap: true, ml: 2, children: (account == null ? void 0 : account.mnsName) || (0, import_wallet_adapter_react2.truncateAddress)((_a = account == null ? void 0 : account.address) == null ? void 0 : _a.toString()) || "Unknown" })
186
186
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
187
187
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons_material.AccountBalanceWalletOutlined, { sx: { marginRight: 1 } }),
188
188
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { noWrap: true, children: "Connect Wallet" })
package/dist/index.mjs CHANGED
@@ -166,7 +166,7 @@ function WalletButton({
166
166
  sx: { width: 24, height: 24 }
167
167
  }
168
168
  ),
169
- /* @__PURE__ */ jsx2(Typography, { noWrap: true, ml: 2, children: (account == null ? void 0 : account.ansName) || truncateAddress((_a = account == null ? void 0 : account.address) == null ? void 0 : _a.toString()) || "Unknown" })
169
+ /* @__PURE__ */ jsx2(Typography, { noWrap: true, ml: 2, children: (account == null ? void 0 : account.mnsName) || truncateAddress((_a = account == null ? void 0 : account.address) == null ? void 0 : _a.toString()) || "Unknown" })
170
170
  ] }) : /* @__PURE__ */ jsxs2(Fragment, { children: [
171
171
  /* @__PURE__ */ jsx2(AccountBalanceWalletOutlinedIcon, { sx: { marginRight: 1 } }),
172
172
  /* @__PURE__ */ jsx2(Typography, { noWrap: true, children: "Connect Wallet" })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moveindustries/wallet-adapter-mui-design",
3
- "version": "5.3.3",
3
+ "version": "5.4.0",
4
4
  "description": "Movement Wallet Adapter mui design",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -44,7 +44,7 @@
44
44
  "@emotion/styled": "^11.10.5",
45
45
  "@mui/icons-material": "^5.11.0",
46
46
  "@mui/material": "^5.11.6",
47
- "@moveindustries/wallet-adapter-react": "7.2.2"
47
+ "@moveindustries/wallet-adapter-react": "7.3.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": "^18.0.0 || ^19.0.0",