Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ccb4c89
fix: upgrade protobufjs to 6.11.6
lochie May 18, 2026
3fdecfc
fix: types
lochie May 18, 2026
27f32f6
fix: pin types
lochie May 18, 2026
f1fea86
fix: build errors
lochie May 18, 2026
427c665
Revert "fix: build errors"
lochie May 18, 2026
03b224f
Revert "fix: pin types"
lochie May 18, 2026
db13058
Revert "fix: types"
lochie May 18, 2026
2b5e225
chore: bump node version
sammdec May 18, 2026
cc4863f
chore: bump node version
sammdec May 18, 2026
4fcb343
chore: bump protobuf dep
sammdec May 18, 2026
4d28181
chore: bump dep
sammdec May 18, 2026
3265753
chore: yarn install
sammdec May 18, 2026
0549544
chore: fix react types
sammdec May 18, 2026
8b21c08
fix: update deps and fix TS errors
sammdec May 18, 2026
2a9acdd
chore: bump to use nextjs 14
sammdec May 19, 2026
379733d
chore: update lockfile
sammdec May 19, 2026
6e49f14
chore: drop back to v13
sammdec May 22, 2026
eb25489
chore: remove type resolutions
sammdec May 22, 2026
db7cd66
chore: drop node version
sammdec May 22, 2026
2468c88
chore: bump to node v20
sammdec May 22, 2026
ee8245a
chore: bump connectkit
sammdec May 22, 2026
868a69b
chore: miss aave account not connected error for e2e
sammdec May 22, 2026
c72f098
chore: change connectkit version
sammdec May 22, 2026
6602710
chore: add back in task
sammdec May 22, 2026
36f7c0e
chore: yarn install
sammdec May 22, 2026
1817acb
chore: bump dep
sammdec May 22, 2026
e4ff4ba
fix: use legacy behaviour for Link
sammdec Jun 1, 2026
aa4f4a6
fix: bump tmp package resolution
sammdec Jun 2, 2026
a0f4a70
chore: bump next
sammdec Jun 2, 2026
2a96385
chore: update next.env.d.ts
sammdec Jun 2, 2026
c4a9e32
chore: bump next.js
sammdec Jun 2, 2026
bb1ab23
chore: update auto generated file
sammdec Jun 2, 2026
5b746c8
chore: resolve to fixed version of postcss
sammdec Jun 2, 2026
98b0e9b
chore: use correct export method for next.js v15
sammdec Jun 2, 2026
2ed8d73
chore: test removing unused resolution
sammdec Jun 2, 2026
287215b
chore: add back in patched protobufjs version
sammdec Jun 2, 2026
54362b4
chore: install
sammdec Jun 2, 2026
e10be94
chore: add postcss resolution
sammdec Jun 2, 2026
dd0bcfa
chore: add qs
sammdec Jun 2, 2026
e8ca6e2
chore: fix viem version
sammdec Jun 2, 2026
ec23f35
chore: bump react version
sammdec Jun 2, 2026
8255b34
chore: regen lockfile
sammdec Jun 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20.19
6 changes: 6 additions & 0 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
import './commands';

Cypress.on('uncaught:exception', (err) => {
if (err.message.includes('Account is not connected')) {
return false;
}
});
3 changes: 2 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ module.exports = withSentryConfig(
},
reactStrictMode: true,
// assetPrefix: "./",
// Next.js 15 static export: `next build` emits the `out/` directory.
// Gated behind STATIC_EXPORT so the default build remains a regular build.
...(process.env.STATIC_EXPORT === 'true' ? { output: 'export' } : {}),
trailingSlash: true,
pageExtensions,
// NOTE: Needed for SAFE testing locally
Expand Down
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@
"private": true,
"license": "BSD-3-Clause",
"resolutions": {
"h3": "^1.15.5",
"minimatch": ">=5.1.7"
"postcss": "^8.5.10",
"protobufjs": "^7.5.5",
"qs": "^6.14.1",
"@types/react": "^18.3.30",
"@types/react-dom": "^18.3.7"
},
"scripts": {
"dev": "next dev",
"dev:special": "NODE_OPTIONS='--inspect --max_old_space_size=8000' next dev",
"build": "next build",
"build:analyze": "ANALYZE=true yarn build",
"build:static": "next build && next export",
"build:static": "STATIC_EXPORT=true next build",
"build:optimize-svgs": "find public -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 npx svgo --final-newline",
"serve:static": "npx serve out",
"export": "next export",
"start": "next start",
"lint:code": "next lint --dir src --dir pages",
"lint:code:fix": "next lint --dir src --dir pages --fix",
Expand Down Expand Up @@ -73,7 +75,7 @@
"@visx/tooltip": "^2.16.0",
"@wagmi/core": "^2.17.1",
"blo": "^1.1.1",
"connectkit": "1.9.0",
"connectkit": "1.9.2",
"d3-array": "^3.2.0",
"d3-time-format": "^4.1.0",
"dayjs": "^1.11.5",
Expand All @@ -85,10 +87,10 @@
"immer": "^9.0.15",
"json-stringify-deterministic": "^1.0.12",
"micro-memoize": "^4.1.2",
"next": "12.3.7",
"react": "^18.0.0",
"next": "15.5.19",
"react": "^18.3.1",
"react-cookie-consent": "^8.0.1",
"react-dom": "^18.0.0",
"react-dom": "^18.3.1",
"react-infinite-scroller": "^1.2.6",
"react-lazy-load": "^4.0.1",
"react-markdown": "^8.0.7",
Expand All @@ -97,7 +99,7 @@
"remark-gfm": "^3.0.1",
"sonner": "^2.0.3",
"tiny-invariant": "^1.3.1",
"viem": "^2.45.1",
"viem": "2.45.1",
"wagmi": "^2.15.2",
"zustand": "^5.0.2"
},
Expand All @@ -119,7 +121,8 @@
"@types/d3-array": "^3.0.3",
"@types/d3-time-format": "^4.0.0",
"@types/lodash": "^4.14.189",
"@types/react": "latest",
"@types/react": "^18.3.30",
"@types/react-dom": "^18.3.7",
"@types/react-infinite-scroller": "^1.2.3",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"babel-plugin-macros": "^3.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/primitives/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const NextLinkComposed = React.forwardRef<HTMLAnchorElement, NextLinkComp
shallow={shallow}
passHref
locale={locale}
legacyBehavior
>
<Anchor ref={ref} {...other} />
</NextLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CancelAdapterOrderActions = ({
);
}

queryClient.invalidateQueries({ queryKey: 'transactionHistory' });
queryClient.invalidateQueries({ queryKey: ['transactionHistory'] });
setMainTxState({
...mainTxState,
loading: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const CancelCowOrderActions = ({ cowOrder, blocked }: CancelCowOrderActio
updateCowOrderStatus(cowOrder.chainId, account, cowOrder.id, OrderStatus.CANCELLED);
}

queryClient.invalidateQueries({ queryKey: 'transactionHistory' });
queryClient.invalidateQueries({ queryKey: ['transactionHistory'] });
setTimeout(() => {
setMainTxState({
...mainTxState,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { BigNumberValue, valueToBigNumber } from '@aave/math-utils';
import { ExclamationIcon, RefreshIcon } from '@heroicons/react/outline';
import { Box, Button, CircularProgress, InputBase, SvgIcon, Typography } from '@mui/material';
import { BigNumber } from 'bignumber.js';
import React, { useEffect, useRef, useState } from 'react';
import NumberFormat, { NumberFormatProps } from 'react-number-format';
import { FormattedNumber } from 'src/components/primitives/FormattedNumber';
Expand Down
1 change: 0 additions & 1 deletion src/components/transactions/Withdraw/WithdrawError.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { valueToBigNumber } from '@aave/math-utils';
import { Trans } from '@lingui/macro';
import { BigNumber } from 'bignumber.js';
import {
ComputedReserveData,
ExtendedFormattedUser,
Expand Down
6 changes: 2 additions & 4 deletions src/hooks/governance/useGovernanceTokensAndPowers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QueryObserverResult, RefetchOptions, RefetchQueryFilters } from '@tanstack/react-query';
import { QueryObserverResult, RefetchOptions } from '@tanstack/react-query';
import { ethers } from 'ethers';
import { BigNumber } from 'ethers/lib/ethers';
import { Powers } from 'src/services/GovernanceService';
Expand All @@ -11,9 +11,7 @@ interface GovernanceTokensAndPowers extends Powers, GovernanceTokensBalance {
isAaveTokenWithDelegatedPower: boolean;
isStkAaveTokenWithDelegatedPower: boolean;
isAAaveTokenWithDelegatedPower: boolean;
refetchPowers: <TPageData>(
options?: (RefetchOptions & RefetchQueryFilters<TPageData>) | undefined
) => Promise<QueryObserverResult<Powers, unknown>>;
refetchPowers: (options?: RefetchOptions) => Promise<QueryObserverResult<Powers, unknown>>;
}

export const useGovernanceTokensAndPowers = (
Expand Down
Loading
Loading