ci(release): publish latest release

parent c6692f14
IPFS hash of the deployment:
- CIDv0: `QmdF4tv3Pdw3BT8hSnBZ2XZrE4QDwnsjJDaey4PF7H8wFR`
- CIDv1: `bafybeig5oevksar6sqpspbdxlqc7rdnyg7mf7jrqrazwkcfoal7r3xgagq`
- CIDv0: `QmP3HJDhveJzTkfDPfPhq1XHGUv3unqqTvgYSHwrsSaM2R`
- CIDv1: `bafybeiakncneysroeo4fn4a5djrsantokobvtjz4d7cukzcbkoqobmlnli`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
......@@ -10,10 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybeig5oevksar6sqpspbdxlqc7rdnyg7mf7jrqrazwkcfoal7r3xgagq.ipfs.dweb.link/
- https://bafybeig5oevksar6sqpspbdxlqc7rdnyg7mf7jrqrazwkcfoal7r3xgagq.ipfs.cf-ipfs.com/
- [ipfs://QmdF4tv3Pdw3BT8hSnBZ2XZrE4QDwnsjJDaey4PF7H8wFR/](ipfs://QmdF4tv3Pdw3BT8hSnBZ2XZrE4QDwnsjJDaey4PF7H8wFR/)
- https://bafybeiakncneysroeo4fn4a5djrsantokobvtjz4d7cukzcbkoqobmlnli.ipfs.dweb.link/
- https://bafybeiakncneysroeo4fn4a5djrsantokobvtjz4d7cukzcbkoqobmlnli.ipfs.cf-ipfs.com/
- [ipfs://QmP3HJDhveJzTkfDPfPhq1XHGUv3unqqTvgYSHwrsSaM2R/](ipfs://QmP3HJDhveJzTkfDPfPhq1XHGUv3unqqTvgYSHwrsSaM2R/)
### 5.53.4 (2024-10-16)
### 5.53.5 (2024-10-16)
web/5.53.4
\ No newline at end of file
web/5.53.5
\ No newline at end of file
......@@ -19,9 +19,9 @@ import {
import { AssetType, CurrencyAsset } from 'uniswap/src/entities/assets'
import { toSupportedChainId } from 'uniswap/src/features/chains/utils'
import { usePortfolioBalances, useTokenBalancesGroupedByVisibility } from 'uniswap/src/features/dataApi/balances'
import { ALL_GQL_CHAINS } from 'uniswap/src/features/dataApi/searchTokens'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { useEnabledChains } from 'uniswap/src/features/settings/hooks'
import { ModalName } from 'uniswap/src/features/telemetry/constants'
import { UniverseChainId } from 'uniswap/src/types/chains'
import { CurrencyField } from 'uniswap/src/types/currency'
......@@ -137,6 +137,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
})
const activeAddress = useActiveAccountAddress() || undefined
const { gqlChains } = useEnabledChains()
const signerAccount = useSignerAccounts()[0]
// We sync backup state across all accounts under the same mnemonic, so can check status with any account.
......@@ -210,7 +211,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
const { text, chain } = args
const { data } = await apollo.query({
query: SearchTokensDocument,
variables: { searchQuery: text, chains: chain ? [chain] : ALL_GQL_CHAINS },
variables: { searchQuery: text, chains: chain ? [chain] : gqlChains },
})
return { data }
},
......@@ -311,6 +312,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
shownTokens,
signerAccount?.address,
swapSwarning,
gqlChains,
])
const processMessages = useCallback(async () => {
......
import { useCallback, useMemo } from 'react'
import { Chain, useSearchTokensQuery } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks'
import { useSearchTokensQuery } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks'
import { GqlResult } from 'uniswap/src/data/types'
import { toGraphQLChain } from 'uniswap/src/features/chains/utils'
import { CurrencyInfo } from 'uniswap/src/features/dataApi/types'
import { gqlTokenToCurrencyInfo, usePersistedError } from 'uniswap/src/features/dataApi/utils'
import { useEnabledChains } from 'uniswap/src/features/settings/hooks'
import { UniverseChainId } from 'uniswap/src/types/chains'
export const ALL_GQL_CHAINS = Object.values(Chain)
export function useSearchTokens(
searchQuery: string | null,
chainFilter: UniverseChainId | null,
skip: boolean,
): GqlResult<CurrencyInfo[]> {
const gqlChainFilter = chainFilter ? toGraphQLChain(chainFilter) : null
const { gqlChains } = useEnabledChains()
const { data, loading, error, refetch } = useSearchTokensQuery({
variables: {
searchQuery: searchQuery ?? '',
chains: gqlChainFilter ? [gqlChainFilter] : ALL_GQL_CHAINS,
chains: gqlChainFilter ? [gqlChainFilter] : gqlChains,
},
skip,
})
......
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