Skip to content

Commit dbe9f50

Browse files
authored
Merge branch 'main' into firekeeper/epic
2 parents 9d71fa5 + ad68969 commit dbe9f50

File tree

47 files changed

+708
-494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+708
-494
lines changed

.changeset/rotten-apes-sing.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/salty-squids-repair.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@thirdweb-dev/engine": minor
3+
---
4+
5+
Reworked Solana Sign Transaction API that accepts more flexible inputs
6+

apps/dashboard/framer-rewrites.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = [
1010
"/wallets",
1111
"/account-abstraction",
1212
"/payments",
13-
"/payments/x402",
13+
"/x402",
1414
"/nexus",
1515
"/auth",
1616
"/in-app-wallets",

apps/dashboard/redirects.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,11 @@ async function redirects() {
479479
destination: "/tokens",
480480
permanent: false,
481481
},
482+
{
483+
source: "/payments/x402",
484+
destination: "/x402",
485+
permanent: false,
486+
},
482487
];
483488
}
484489

apps/dashboard/src/@/utils/faucet.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ const customClaimAmounts: Record<number, number> = {
77
531050104: 5,
88
// Arc testnet
99
5042002: 1,
10+
// Injective testnet
11+
1439: 1,
1012
};
1113

1214
const defaultClaimAmount = 0.01;

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/overview/highlights-card.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type AggregatedMetrics = {
1414

1515
export function ProjectHighlightsCard(props: {
1616
selectedChart: string | undefined;
17+
aggregatedUserStats: InAppWalletStats[];
1718
userStats: InAppWalletStats[];
1819
volumeStats: UniversalBridgeStats[];
1920
teamSlug: string;
@@ -22,6 +23,7 @@ export function ProjectHighlightsCard(props: {
2223
}) {
2324
const {
2425
selectedChart,
26+
aggregatedUserStats,
2527
userStats,
2628
volumeStats,
2729
teamSlug,
@@ -70,6 +72,12 @@ export function ProjectHighlightsCard(props: {
7072
: "activeUsers"
7173
}
7274
aggregateFn={(_data, key) => {
75+
if (key === "activeUsers") {
76+
return aggregatedUserStats.reduce(
77+
(acc, curr) => acc + curr.uniqueWalletsConnected,
78+
0,
79+
);
80+
}
7381
return timeSeriesData.reduce((acc, curr) => acc + curr[key], 0);
7482
}}
7583
chartConfig={chartConfig}

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/page.tsx

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,18 @@ async function AsyncAppHighlightsCard(props: {
378378
params: PageParams;
379379
authToken: string;
380380
}) {
381-
const [walletUserStatsTimeSeries, universalBridgeUsage] =
381+
const [aggregatedUserStats, walletUserStatsTimeSeries, universalBridgeUsage] =
382382
await Promise.allSettled([
383+
getInAppWalletUsage(
384+
{
385+
from: props.range.from,
386+
period: "all",
387+
projectId: props.project.id,
388+
teamId: props.project.teamId,
389+
to: props.range.to,
390+
},
391+
props.authToken,
392+
),
383393
getInAppWalletUsage(
384394
{
385395
from: props.range.from,
@@ -408,6 +418,11 @@ async function AsyncAppHighlightsCard(props: {
408418
) {
409419
return (
410420
<ProjectHighlightsCard
421+
aggregatedUserStats={
422+
aggregatedUserStats.status === "fulfilled"
423+
? aggregatedUserStats.value
424+
: []
425+
}
411426
selectedChart={props.selectedChart}
412427
selectedChartQueryParam={props.selectedChartQueryParam}
413428
teamSlug={props.params.team_slug}

apps/playground-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"@abstract-foundation/agw-react": "^1.6.4",
3+
"@abstract-foundation/agw-react": "^1.10.0",
44
"@ai-sdk/react": "^2.0.25",
55
"@hookform/resolvers": "^3.9.1",
66
"@radix-ui/react-avatar": "^1.1.10",

apps/portal/src/app/vault/faqs/page.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ The admin key is temporarily stored in dashboard when performing actions that re
4444
Please note, you should never share your admin key with third parties.
4545
</Details>
4646

47+
<Details summary="Is Vault open source?">
48+
Vault is not yet open source, but we plan to release it soon.
49+
</Details>
50+

apps/portal/src/app/vault/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function Layout(props: { children: React.ReactNode }) {
1212

1313
export const metadata = createMetadata({
1414
description:
15-
"Vault is an open-source non-custodial key management service, secured with TEE architecture (AWS Nitro Enclaves) and designed for blockchain applications.",
15+
"Vault is a non-custodial key management service secured with TEE architecture (AWS Nitro Enclaves), designed for blockchain applications.",
1616
title: "Vault",
1717
image: {
1818
icon: "vault",

0 commit comments

Comments
 (0)