Repository navigation
Conversation
…ary option Native deposits for fun.xyz-supported assets no longer go through the funkit checkout. Supply buttons always open the native Aave supply modal; for allowlisted Core mainnet assets the modal shows an "or use a card, exchanges or swaps to deposit" link that opens the funkit checkout. Inside funkit, same-chain same-token deposits are blocked via disabledSourceTokens, and the SDK's Aave-only "Native" source row and direct native-supply path are disabled via the existing pnpm patch (no config option exists for this, up to @funkit/connect 12.20.0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
📦 Next.js Bundle Analysis for aave-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
1.34 MB (🟡 +304 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Ten Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
| Page | Size (compressed) | First Load |
|---|---|---|
/ |
93.09 KB (🟢 -425 B) |
1.43 MB |
/dashboard |
81.6 KB (🟢 -584 B) |
1.42 MB |
/governance |
43.24 KB (🟡 +59 B) |
1.38 MB |
/governance/ipfs-preview |
97.64 KB (🟢 -87 B) |
1.44 MB |
/governance/v3/proposal |
84.56 KB (🟡 +71 B) |
1.42 MB |
/markets |
54.86 KB (🟡 +198 B) |
1.39 MB |
/reserve-overview |
38.2 KB (🟢 -753 B) |
1.38 MB |
/safety-module |
55.72 KB (🟡 +40 B) |
1.39 MB |
/sgho |
92.82 KB (🟡 +40 B) |
1.43 MB |
/v3-migration |
49.12 KB (🟡 +40 B) |
1.39 MB |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.
…let balance PRD F-5/F-6: for fun.xyz-supported assets the Supply button stays enabled with an empty wallet, and with a zero balance it opens the funkit checkout straight away (native deposits are excluded there). With any balance it opens the native Aave supply modal, which links to the same checkout. Applied to the dashboard (desktop/mobile) and the reserve overview page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fun.xyz is disabling the native supply option for our API key on their side, so the local SDK patch is no longer needed. The patch file is back to main (ENS normalize fix only). disabledSourceTokens stays in the checkout config as a client-side guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
📦 Next.js Bundle Analysis for aave-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
1.34 MB (🟡 +302 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Ten Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
| Page | Size (compressed) | First Load |
|---|---|---|
/ |
93.85 KB (🟡 +359 B) |
1.43 MB |
/dashboard |
82.37 KB (🟡 +201 B) |
1.42 MB |
/governance |
43.24 KB (🟡 +59 B) |
1.38 MB |
/governance/ipfs-preview |
97.64 KB (🟢 -87 B) |
1.44 MB |
/governance/v3/proposal |
84.56 KB (🟡 +71 B) |
1.42 MB |
/markets |
54.86 KB (🟡 +198 B) |
1.39 MB |
/reserve-overview |
39.13 KB (🟡 +199 B) |
1.38 MB |
/safety-module |
55.72 KB (🟡 +40 B) |
1.39 MB |
/sgho |
92.82 KB (🟡 +40 B) |
1.43 MB |
/v3-migration |
49.12 KB (🟡 +40 B) |
1.39 MB |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.
General Changes
Native deposits for fun.xyz-supported assets (USDC, USDT, WBTC, cbBTC on Core mainnet) now go through the Aave contracts only. fun.xyz remains available as a secondary option for swaps, cross-chain, card and exchange deposits.
useSupplyButtonAction;FunSupplyButtonis rebuilt around a wallet-balance check (see below).FunDepositOptionsLinkunder the amount input: "or use a card, exchanges or swaps to deposit ›". Only rendered for allowlisted assets; disabled while a supply tx is in flight.useOpenFunSupply). If the funkit island hasn't mounted yet, the native modal stays open.disabledSourceTokensblocks the supplied token on the same chain as a source (swaps, cross-chain, card, exchange stay available).Developer Notes
disabledSourceTokenstyping: the SDK'sTokenInfotype declarespickedChainId, but its runtime check (useAllowedAssets) matchestokenChainId. We set both, with a cast.src/utils/__tests__fail onmainas on this branch (not related).Tested locally
Reviewer Checklist
Please ensure you, as the reviewer(s), have gone through this checklist to ensure that the code changes are ready to ship safely and to help mitigate any downstream issues that may occur.
.env.examplefile as well as the pertinant.github/actions/*files🤖 Generated with Claude Code