ci(release): publish latest release

parent 3e099ccb
IPFS hash of the deployment:
- CIDv0: `QmUj5V9H1syj86KL9kWgvvrwnXSTAaVQ2ofHobz2QzRMqi`
- CIDv1: `bafybeic64tvawllez263e3osp27qz3ozcdh4zeh4avoex4wsbiumnpn2je`
- CIDv0: `QmZhoBxu3NSUWqBfrYJS6VMdehd3Bppjn1MvDwqkig2nX7`
- CIDv1: `bafybeifi3nlynboyldsbh3j4u4jyyedhotevlnfldvujyfibecj6yq4ldy`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
......@@ -10,14 +10,9 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybeic64tvawllez263e3osp27qz3ozcdh4zeh4avoex4wsbiumnpn2je.ipfs.dweb.link/
- [ipfs://QmUj5V9H1syj86KL9kWgvvrwnXSTAaVQ2ofHobz2QzRMqi/](ipfs://QmUj5V9H1syj86KL9kWgvvrwnXSTAaVQ2ofHobz2QzRMqi/)
- https://bafybeifi3nlynboyldsbh3j4u4jyyedhotevlnfldvujyfibecj6yq4ldy.ipfs.dweb.link/
- [ipfs://QmZhoBxu3NSUWqBfrYJS6VMdehd3Bppjn1MvDwqkig2nX7/](ipfs://QmZhoBxu3NSUWqBfrYJS6VMdehd3Bppjn1MvDwqkig2nX7/)
### 5.83.3 (2025-05-07)
### Bug Fixes
* **web:** fix key open search modal (#19370) 7ad6115
### 5.83.4 (2025-05-07)
web/5.83.3
\ No newline at end of file
web/5.83.4
\ No newline at end of file
......@@ -11,7 +11,6 @@ import {
useShadowGasStrategies,
} from 'uniswap/src/features/gas/hooks'
import { GasFeeResult, areEqualGasStrategies } from 'uniswap/src/features/gas/types'
import { useIsSmartWalletFlow } from 'uniswap/src/features/transactions/swap/review/services/swapTxAndGasInfoService/hooks'
import { ApprovalAction, TokenApprovalInfo } from 'uniswap/src/features/transactions/swap/types/trade'
import { isUniswapX } from 'uniswap/src/features/transactions/swap/utils/routing'
import {
......@@ -38,11 +37,12 @@ export type ApprovalTxInfo = {
revokeGasFeeResult: GasFeeResult
}
function useApprovalWillBeBatchedWithSwap(chainId: UniverseChainId): boolean {
const isSmartWalletFlow = useIsSmartWalletFlow()
function useApprovalWillBeBatchedWithSwap(chainId: UniverseChainId, routing: Routing | undefined): boolean {
const canBatchTransactions = useUniswapContextSelector((ctx) => ctx.getCanBatchTransactions?.(chainId))
return Boolean(isSmartWalletFlow || canBatchTransactions)
const isBatchableFlow = Boolean(routing && !isUniswapX({ routing }))
return Boolean(canBatchTransactions) && isBatchableFlow
}
export function useTokenApprovalInfo(params: TokenApprovalInfoParams): ApprovalTxInfo {
......@@ -100,7 +100,7 @@ export function useTokenApprovalInfo(params: TokenApprovalInfoParams): ApprovalT
shadowGasStrategies,
])
const approvalWillBeBatchedWithSwap = useApprovalWillBeBatchedWithSwap(chainId)
const approvalWillBeBatchedWithSwap = useApprovalWillBeBatchedWithSwap(chainId, routing)
const shouldSkip = !approvalRequestArgs || isWrap || !address || approvalWillBeBatchedWithSwap
const { data, isLoading, error } = useCheckApprovalQuery({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment