Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Oct 16, 2024
1 parent c6692f1 commit eb6cc09
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
12 changes: 6 additions & 6 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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).

Expand All @@ -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)


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.53.4
web/5.53.5
6 changes: 4 additions & 2 deletions apps/mobile/src/features/openai/OpenAIContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 }
},
Expand Down Expand Up @@ -311,6 +312,7 @@ function _OpenAIContextProvider({ children }: { children: React.ReactNode }): JS
shownTokens,
signerAccount?.address,
swapSwarning,
gqlChains,
])

const processMessages = useCallback(async () => {
Expand Down
8 changes: 4 additions & 4 deletions packages/uniswap/src/features/dataApi/searchTokens.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
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,
})
Expand Down

0 comments on commit eb6cc09

Please sign in to comment.