Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #291

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
36 changes: 18 additions & 18 deletions apis/path-finder/api/v0/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,25 @@ export default async (request: VercelRequest, response: VercelResponse) => {
routeParams: to
? V2_CHAINS.includes(chainId)
? Router.routeProcessorParams2(
dataFetcher,
bestRoute,
fromToken,
toToken,
to,
getRouteProcessor2AddressForChainId(chainId),
getFeeSettlementAddressForChainId(chainId),
priceImpact,
)
dataFetcher,
bestRoute,
fromToken,
toToken,
to,
getRouteProcessor2AddressForChainId(chainId),
getFeeSettlementAddressForChainId(chainId),
priceImpact,
)
: Router.routeProcessorParams(
dataFetcher,
bestRoute,
fromToken,
toToken,
to,
getRouteProcessorAddressForChainId(chainId),
getFeeSettlementAddressForChainId(chainId),
priceImpact,
)
dataFetcher,
bestRoute,
fromToken,
toToken,
to,
getRouteProcessorAddressForChainId(chainId),
getFeeSettlementAddressForChainId(chainId),
priceImpact,
)
: undefined,
})
}
18 changes: 9 additions & 9 deletions apis/path-finder/api/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ export default async (request: VercelRequest, response: VercelResponse) => {
executorAddress: getAggregationExecutorAddressForChainId(chainId),
routeParams: to
? Router.aggregationRouterParams(
dataFetcher,
bestRoute,
fromToken,
toToken,
to,
getAggregationExecutorAddressForChainId(chainId),
getFeeSettlementAddressForChainId(chainId),
priceImpact,
)
dataFetcher,
bestRoute,
fromToken,
toToken,
to,
getAggregationExecutorAddressForChainId(chainId),
getFeeSettlementAddressForChainId(chainId),
priceImpact,
)
: undefined,
})
}
10 changes: 5 additions & 5 deletions apis/path-finder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
"ioredis": "^5.4.1",
"viem": "2.21.25",
"zod": "^3.23.8"
"viem": "2.21.55",
"zod": "^3.24.1"
},
"devDependencies": {
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"dotenv": "^16.4.5",
"eslint": "^9.12.0",
"dotenv": "^16.4.7",
"eslint": "^9.17.0",
"ts-node": "^10.9.2",
"typescript": "5.6.3"
"typescript": "5.7.2"
}
}
4 changes: 2 additions & 2 deletions apis/token-price/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"eslint": "^9.12.0",
"typescript": "5.6.3"
"eslint": "^9.17.0",
"typescript": "5.7.2"
}
}
6 changes: 3 additions & 3 deletions apis/zenlink-stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"@zenlink-interface/smart-router": "workspace:*",
"@zenlink-interface/token-lists": "workspace:*",
"@zenlink-interface/wagmi-config": "workspace:*",
"axios": "^1.7.7",
"axios": "^1.7.9",
"date-fns": "^4.1.0",
"esno": "^4.8.0",
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
"ioredis": "^5.4.1",
"viem": "2.21.25"
"viem": "2.21.55"
},
"devDependencies": {
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"eslint": "^9.12.0"
"eslint": "^9.17.0"
}
}
2 changes: 1 addition & 1 deletion apps/analytics/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
42 changes: 21 additions & 21 deletions apps/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"@ethersproject/providers": "^5.7.2",
"@ethersproject/solidity": "^5.7.0",
"@headlessui/react": "2.2.0",
"@heroicons/react": "2.1.5",
"@lingui/core": "5.0.0",
"@lingui/macro": "5.0.0",
"@lingui/react": "5.0.0",
"@heroicons/react": "2.2.0",
"@lingui/core": "5.1.1",
"@lingui/macro": "5.1.1",
"@lingui/react": "5.1.1",
"@reduxjs/toolkit": "^1.9.7",
"@tanstack/react-query": "^5.59.13",
"@tanstack/react-table": "8.20.5",
"@vercel/analytics": "^1.3.1",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-table": "8.20.6",
"@vercel/analytics": "^1.4.1",
"@zenlink-interface/amm": "workspace:*",
"@zenlink-interface/chain": "workspace:*",
"@zenlink-interface/compat": "workspace:*",
Expand All @@ -49,34 +49,34 @@
"echarts-for-react": "^3.0.2",
"ethers": "^5.7.2",
"fast-json-stable-stringify": "^2.1.0",
"next": "15.0.1",
"next": "15.1.0",
"next-pwa": "^5.6.0",
"next-seo": "^6.6.0",
"next-sitemap": "^4.2.3",
"next-themes": "^0.3.0",
"next-themes": "^0.4.4",
"numeral": "^2.0.6",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-redux": "^9.1.2",
"viem": "2.21.25",
"wagmi": "2.12.17",
"zod": "^3.23.8"
"react-redux": "^9.2.0",
"viem": "2.21.55",
"wagmi": "2.14.3",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/node": "^22.8.4",
"@types/node": "^22.10.2",
"@types/numeral": "^2.0.5",
"@types/react": "19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react": "19.0.1",
"@types/react-dom": "^19.0.2",
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/nextjs-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"autoprefixer": "^10.4.20",
"eslint": "^9.12.0",
"graphql": "16.9.0",
"postcss": "^8.4.47",
"eslint": "^9.17.0",
"graphql": "16.10.0",
"postcss": "^8.4.49",
"swr": "^2.2.5",
"tailwindcss": "^3.4.13",
"typescript": "5.6.3"
"tailwindcss": "^3.4.16",
"typescript": "5.7.2"
},
"nextBundleAnalysis": {
"budget": 460800,
Expand Down
2 changes: 1 addition & 1 deletion apps/app/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
18 changes: 9 additions & 9 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@heroicons/react": "2.1.5",
"@vercel/analytics": "^1.3.1",
"@heroicons/react": "2.2.0",
"@vercel/analytics": "^1.4.1",
"@zenlink-interface/ui": "workspace:*",
"next": "15.0.1",
"next": "15.1.0",
"next-seo": "^6.6.0",
"react": "19.0.0",
"react-dom": "19.0.0"
},
"devDependencies": {
"@types/node": "^22.8.4",
"@types/react": "19.0.0",
"@types/node": "^22.10.2",
"@types/react": "19.0.1",
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/nextjs-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"autoprefixer": "^10.4.20",
"eslint": "^9.12.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13",
"typescript": "5.6.3"
"eslint": "^9.17.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.16",
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion apps/gauge/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
42 changes: 21 additions & 21 deletions apps/gauge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"dependencies": {
"@headlessui/react": "2.2.0",
"@heroicons/react": "2.1.5",
"@lingui/core": "5.0.0",
"@lingui/macro": "5.0.0",
"@lingui/react": "5.0.0",
"@heroicons/react": "2.2.0",
"@lingui/core": "5.1.1",
"@lingui/macro": "5.1.1",
"@lingui/react": "5.1.1",
"@reduxjs/toolkit": "^1.9.7",
"@tanstack/react-query": "^5.59.13",
"@tanstack/react-table": "8.20.5",
"@vercel/analytics": "^1.3.1",
"@tanstack/react-query": "^5.62.7",
"@tanstack/react-table": "8.20.6",
"@vercel/analytics": "^1.4.1",
"@zenlink-interface/amm": "workspace:*",
"@zenlink-interface/chain": "workspace:*",
"@zenlink-interface/compat": "workspace:*",
Expand All @@ -39,34 +39,34 @@
"echarts": "^5.5.1",
"echarts-for-react": "^3.0.2",
"fast-json-stable-stringify": "^2.1.0",
"next": "15.0.1",
"next": "15.1.0",
"next-pwa": "^5.6.0",
"next-seo": "^6.6.0",
"next-sitemap": "^4.2.3",
"next-themes": "^0.3.0",
"next-themes": "^0.4.4",
"numeral": "^2.0.6",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-redux": "^9.1.2",
"viem": "2.21.25",
"wagmi": "2.12.17",
"zod": "^3.23.8"
"react-redux": "^9.2.0",
"viem": "2.21.55",
"wagmi": "2.14.3",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/node": "^22.8.4",
"@types/node": "^22.10.2",
"@types/numeral": "^2.0.5",
"@types/react": "19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react": "19.0.1",
"@types/react-dom": "^19.0.2",
"@zenlink-interface/eslint-config": "workspace:*",
"@zenlink-interface/nextjs-config": "workspace:*",
"@zenlink-interface/typescript-config": "workspace:*",
"autoprefixer": "^10.4.20",
"eslint": "^9.12.0",
"graphql": "16.9.0",
"postcss": "^8.4.47",
"eslint": "^9.17.0",
"graphql": "16.10.0",
"postcss": "^8.4.49",
"swr": "^2.2.5",
"tailwindcss": "^3.4.13",
"typescript": "5.6.3"
"tailwindcss": "^3.4.16",
"typescript": "5.7.2"
},
"nextBundleAnalysis": {
"budget": 460800,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export const MarketAddManual: FC<MarketAddManualProps> = ({ market }) => {
tokenInput: value,
ptInput: parsedAmount
? market
.priceOf(market.SY)
.quote(market.SY.previewDeposit(market.SY.yieldToken, parsedAmount))
.multiply(new Percent(1).add(allSyUsedSlippageTolerance))
.toExact()
.priceOf(market.SY)
.quote(market.SY.previewDeposit(market.SY.yieldToken, parsedAmount))
.multiply(new Percent(1).add(allSyUsedSlippageTolerance))
.toExact()
: '',
})
}
Expand All @@ -61,9 +61,9 @@ export const MarketAddManual: FC<MarketAddManualProps> = ({ market }) => {
ptInput: value,
tokenInput: parsedAmount
? market.SY.previewRedeem(
market.SY.yieldToken,
Amount.fromRawAmount(market.SY, market.priceOf(market.PT).quote(parsedAmount).quotient),
).multiply(new Percent(1).subtract(allSyUsedSlippageTolerance)).toExact()
market.SY.yieldToken,
Amount.fromRawAmount(market.SY, market.priceOf(market.PT).quote(parsedAmount).quotient),
).multiply(new Percent(1).subtract(allSyUsedSlippageTolerance)).toExact()
: '',
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ export const MarketLPRewards: FC<MarketLPRewardsProps> = ({
</div>
{rewards.length
? rewards.map(reward => (
<div className="flex items-center justify-between" key={reward.currency.wrapped.address}>
<div className="flex items-center gap-2">
<Currency.Icon currency={reward.currency} height={20} width={20} />
<Typography className="text-slate-700 dark:text-slate-300" variant="sm" weight={600}>
{reward?.toSignificant(6)} {reward.currency.symbol}
</Typography>
<div className="flex items-center justify-between" key={reward.currency.wrapped.address}>
<div className="flex items-center gap-2">
<Currency.Icon currency={reward.currency} height={20} width={20} />
<Typography className="text-slate-700 dark:text-slate-300" variant="sm" weight={600}>
{reward?.toSignificant(6)} {reward.currency.symbol}
</Typography>
</div>
</div>
</div>
))
))
: (
<div className="flex items-center gap-2">
<Currency.Icon currency={ZLK[ParachainId.MOONBEAM]} height={20} width={20} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ export const YtInterestAndRewards: FC<YtInterestAndRewardsProps> = ({ data, isLo
</div>
{rewards.length
? rewards.map(reward => (
<div className="flex items-center justify-between" key={reward.currency.wrapped.address}>
<div className="flex items-center gap-2">
<Currency.Icon currency={reward.currency} height={20} width={20} />
<Typography className="text-slate-700 dark:text-slate-300" variant="sm" weight={600}>
{reward?.toSignificant(6)} {reward.currency.symbol}
</Typography>
<div className="flex items-center justify-between" key={reward.currency.wrapped.address}>
<div className="flex items-center gap-2">
<Currency.Icon currency={reward.currency} height={20} width={20} />
<Typography className="text-slate-700 dark:text-slate-300" variant="sm" weight={600}>
{reward?.toSignificant(6)} {reward.currency.symbol}
</Typography>
</div>
</div>
</div>
))
))
: (
<div className="flex items-center gap-2">
<Currency.Icon currency={market.SY} height={20} width={20} />
Expand Down
2 changes: 1 addition & 1 deletion apps/market/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
Loading
Loading