ci(release): publish latest release

parent 9681443d
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ` - CIDv0: `QmdBE9twnqZcftEmPMTNYyfm7qxkAANFeSMhVxHD1MtyNu`
- CIDv1: `bafybeiadhirdveghtb4gap6kftmp7vfaa67op3ojcarjxf5f3pt2oqface` - CIDv1: `bafybeig4ovh5dhuiambfcabacoemcxmvuql5tcl3vscbctdzinmcodysby`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org). The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...@@ -10,14 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway. ...@@ -10,14 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs. Your Uniswap settings are never remembered across different URLs.
IPFS gateways: IPFS gateways:
- https://bafybeiadhirdveghtb4gap6kftmp7vfaa67op3ojcarjxf5f3pt2oqface.ipfs.dweb.link/ - https://bafybeig4ovh5dhuiambfcabacoemcxmvuql5tcl3vscbctdzinmcodysby.ipfs.dweb.link/
- [ipfs://QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ/](ipfs://QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ/) - [ipfs://QmdBE9twnqZcftEmPMTNYyfm7qxkAANFeSMhVxHD1MtyNu/](ipfs://QmdBE9twnqZcftEmPMTNYyfm7qxkAANFeSMhVxHD1MtyNu/)
### 5.80.4 (2025-04-25) ## 5.81.0 (2025-04-29)
### Bug Fixes ### Features
* **web:** lp incentives bugfixes (#18833) d337c45 * **web:** pass uniquote enabled to trading api requests (#19010) 155876e
web/5.80.4 web/5.81.0
\ No newline at end of file \ No newline at end of file
...@@ -23,7 +23,9 @@ export function createApiClient({ ...@@ -23,7 +23,9 @@ export function createApiClient({
}: { }: {
baseUrl: string baseUrl: string
includeBaseUniswapHeaders?: boolean includeBaseUniswapHeaders?: boolean
additionalHeaders?: HeadersInit additionalHeaders?: HeadersInit & {
'x-uniquote-enabled'?: string
}
}): { }): {
readonly fetch: (path: string, options: StandardFetchOptions) => Promise<Response> readonly fetch: (path: string, options: StandardFetchOptions) => Promise<Response>
readonly get: <T>(path: string, options?: CustomOptions) => Promise<T> readonly get: <T>(path: string, options?: CustomOptions) => Promise<T>
......
...@@ -48,6 +48,8 @@ import { ...@@ -48,6 +48,8 @@ import {
WalletCheckDelegationResponseBody, WalletCheckDelegationResponseBody,
WalletEncode7702RequestBody, WalletEncode7702RequestBody,
} from 'uniswap/src/data/tradingApi/__generated__' } from 'uniswap/src/data/tradingApi/__generated__'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { getFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { logger } from 'utilities/src/logger/logger' import { logger } from 'utilities/src/logger/logger'
// TradingAPI team is looking into updating type generation to produce the following types for it's current QuoteResponse type: // TradingAPI team is looking into updating type generation to produce the following types for it's current QuoteResponse type:
...@@ -88,6 +90,7 @@ const TradingApiClient = createApiClient({ ...@@ -88,6 +90,7 @@ const TradingApiClient = createApiClient({
baseUrl: uniswapUrls.tradingApiUrl, baseUrl: uniswapUrls.tradingApiUrl,
additionalHeaders: { additionalHeaders: {
'x-api-key': config.tradingApiKey, 'x-api-key': config.tradingApiKey,
'x-uniquote-enabled': getFeatureFlag(FeatureFlags.UniquoteEnabled) ? 'true' : 'false',
}, },
}) })
......
...@@ -22,6 +22,7 @@ export enum FeatureFlags { ...@@ -22,6 +22,7 @@ export enum FeatureFlags {
Soneium, Soneium,
TokenSelectorTrendingTokens, TokenSelectorTrendingTokens,
TwoSecondSwapQuotePollingInterval, TwoSecondSwapQuotePollingInterval,
UniquoteEnabled,
UniswapX, UniswapX,
UniswapXPriorityOrdersBase, UniswapXPriorityOrdersBase,
UniswapXPriorityOrdersOptimism, UniswapXPriorityOrdersOptimism,
...@@ -83,6 +84,7 @@ export const SHARED_FEATURE_FLAG_NAMES = new Map<FeatureFlags, string>([ ...@@ -83,6 +84,7 @@ export const SHARED_FEATURE_FLAG_NAMES = new Map<FeatureFlags, string>([
[FeatureFlags.Soneium, 'soneium'], [FeatureFlags.Soneium, 'soneium'],
[FeatureFlags.TokenSelectorTrendingTokens, 'token_selector_trending_tokens'], [FeatureFlags.TokenSelectorTrendingTokens, 'token_selector_trending_tokens'],
[FeatureFlags.TwoSecondSwapQuotePollingInterval, 'two_second_swap_quote_polling_interval'], [FeatureFlags.TwoSecondSwapQuotePollingInterval, 'two_second_swap_quote_polling_interval'],
[FeatureFlags.UniquoteEnabled, 'uniquote_enabled'],
[FeatureFlags.UniswapX, 'uniswapx'], [FeatureFlags.UniswapX, 'uniswapx'],
[FeatureFlags.UniswapXPriorityOrdersBase, 'uniswapx_priority_orders_base'], [FeatureFlags.UniswapXPriorityOrdersBase, 'uniswapx_priority_orders_base'],
[FeatureFlags.UniswapXPriorityOrdersOptimism, 'uniswapx_priority_orders_optimism'], [FeatureFlags.UniswapXPriorityOrdersOptimism, 'uniswapx_priority_orders_optimism'],
......
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