@aptos-labs/wallet-adapter-mui-design 5.2.0 → 5.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @aptos-labs/wallet-adapter-mui-design
2
2
 
3
+ ## 5.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 19e7e2a: Deprecate aptos connect functions and constants in favor of petra web
8
+ - Updated dependencies [19e7e2a]
9
+ - @aptos-labs/wallet-adapter-react@7.2.1
10
+
11
+ ## 5.3.0
12
+
13
+ ### Minor Changes
14
+
15
+ - d2d308c: Bump @aptos-connect/wallet-adapter-plugin to 2.7.0
16
+ - b3474b3: Update AC dns to web.petra.app
17
+ - 499e03e: Rename aptos connect to petra web
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [d2d308c]
22
+ - Updated dependencies [b3474b3]
23
+ - Updated dependencies [499e03e]
24
+ - @aptos-labs/wallet-adapter-react@7.2.0
25
+
3
26
  ## 5.2.0
4
27
 
5
28
  ### Minor Changes
package/dist/index.js CHANGED
@@ -365,7 +365,7 @@ function WalletsModal(_a) {
365
365
  },
366
366
  children: hasAptosConnectWallets ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
367
367
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "Log in or sign up" }),
368
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "with Social + Aptos Connect" })
368
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "with Social + Petra Web" })
369
369
  ] }) : "Connect Wallet"
370
370
  }
371
371
  ),
@@ -449,7 +449,7 @@ function WalletsModal(_a) {
449
449
  appearance: "none"
450
450
  },
451
451
  children: [
452
- "Aptos Connect ",
452
+ "Petra Web ",
453
453
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons_material2.ArrowForward, { sx: { height: 16, width: 16 } })
454
454
  ]
455
455
  }
@@ -599,7 +599,7 @@ function renderEducationScreen(screen) {
599
599
  },
600
600
  children: [
601
601
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.IconButton, { onClick: screen.cancel, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons_material2.ArrowBack, {}) }),
602
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Typography, { variant: "body1", component: "h2", width: "100%", align: "center", children: "About Aptos Connect" })
602
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Typography, { variant: "body1", component: "h2", width: "100%", align: "center", children: "About Petra Web" })
603
603
  ]
604
604
  }
605
605
  ),
package/dist/index.mjs CHANGED
@@ -376,7 +376,7 @@ function WalletsModal(_a) {
376
376
  },
377
377
  children: hasAptosConnectWallets ? /* @__PURE__ */ jsxs3(Fragment2, { children: [
378
378
  /* @__PURE__ */ jsx3("span", { children: "Log in or sign up" }),
379
- /* @__PURE__ */ jsx3("span", { children: "with Social + Aptos Connect" })
379
+ /* @__PURE__ */ jsx3("span", { children: "with Social + Petra Web" })
380
380
  ] }) : "Connect Wallet"
381
381
  }
382
382
  ),
@@ -460,7 +460,7 @@ function WalletsModal(_a) {
460
460
  appearance: "none"
461
461
  },
462
462
  children: [
463
- "Aptos Connect ",
463
+ "Petra Web ",
464
464
  /* @__PURE__ */ jsx3(ArrowForward, { sx: { height: 16, width: 16 } })
465
465
  ]
466
466
  }
@@ -610,7 +610,7 @@ function renderEducationScreen(screen) {
610
610
  },
611
611
  children: [
612
612
  /* @__PURE__ */ jsx3(IconButton, { onClick: screen.cancel, children: /* @__PURE__ */ jsx3(ArrowBack, {}) }),
613
- /* @__PURE__ */ jsx3(Typography2, { variant: "body1", component: "h2", width: "100%", align: "center", children: "About Aptos Connect" })
613
+ /* @__PURE__ */ jsx3(Typography2, { variant: "body1", component: "h2", width: "100%", align: "center", children: "About Petra Web" })
614
614
  ]
615
615
  }
616
616
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-labs/wallet-adapter-mui-design",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "Aptos Wallet Adapter mui design",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -41,7 +41,7 @@
41
41
  "@emotion/styled": "^11.10.5",
42
42
  "@mui/icons-material": "^5.11.0",
43
43
  "@mui/material": "^5.11.6",
44
- "@aptos-labs/wallet-adapter-react": "7.1.3"
44
+ "@aptos-labs/wallet-adapter-react": "7.2.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "^18.0.0 || ^19.0.0",
@@ -70,7 +70,7 @@ export default function WalletsModal({
70
70
  const { aptosConnectWallets, availableWallets, installableWallets } =
71
71
  groupAndSortWallets(
72
72
  [...wallets, ...notDetectedWallets],
73
- walletSortingOptions
73
+ walletSortingOptions,
74
74
  );
75
75
 
76
76
  const hasAptosConnectWallets = !!aptosConnectWallets.length;
@@ -96,7 +96,7 @@ export default function WalletsModal({
96
96
  }
97
97
  return acc;
98
98
  },
99
- { evmWallets: [], solanaWallets: [], aptosWallets: [] }
99
+ { evmWallets: [], solanaWallets: [], aptosWallets: [] },
100
100
  )
101
101
  : { evmWallets: [], solanaWallets: [], aptosWallets: availableWallets };
102
102
 
@@ -124,7 +124,7 @@ export default function WalletsModal({
124
124
  evmInstallableWallets: [],
125
125
  solanaInstallableWallets: [],
126
126
  aptosInstallableWallets: [],
127
- }
127
+ },
128
128
  )
129
129
  : {
130
130
  evmInstallableWallets: [],
@@ -147,7 +147,7 @@ export default function WalletsModal({
147
147
  // Render wallet list for a specific chain
148
148
  const renderWalletList = (
149
149
  wallets: AdapterWallet[],
150
- installableWallets: AdapterNotDetectedWallet[]
150
+ installableWallets: AdapterNotDetectedWallet[],
151
151
  ) => (
152
152
  <>
153
153
  {wallets.map((wallet) => (
@@ -224,7 +224,7 @@ export default function WalletsModal({
224
224
  {hasAptosConnectWallets ? (
225
225
  <>
226
226
  <span>Log in or sign up</span>
227
- <span>with Social + Aptos Connect</span>
227
+ <span>with Social + Petra Web</span>
228
228
  </>
229
229
  ) : (
230
230
  "Connect Wallet"
@@ -297,7 +297,7 @@ export default function WalletsModal({
297
297
  appearance: "none",
298
298
  }}
299
299
  >
300
- Aptos Connect <ArrowForward sx={{ height: 16, width: 16 }} />
300
+ Petra Web <ArrowForward sx={{ height: 16, width: 16 }} />
301
301
  </Box>
302
302
  </Typography>
303
303
 
@@ -465,7 +465,7 @@ function renderEducationScreen(screen: AboutAptosConnectEducationScreen) {
465
465
  <ArrowBack />
466
466
  </IconButton>
467
467
  <Typography variant="body1" component="h2" width="100%" align="center">
468
- About Aptos Connect
468
+ About Petra Web
469
469
  </Typography>
470
470
  </Box>
471
471