Skip to content

Commit 0224de9

Browse files
ci(release): publish latest release
1 parent 9681443 commit 0224de9

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

RELEASE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ`
3-
- CIDv1: `bafybeiadhirdveghtb4gap6kftmp7vfaa67op3ojcarjxf5f3pt2oqface`
2+
- CIDv0: `QmdBE9twnqZcftEmPMTNYyfm7qxkAANFeSMhVxHD1MtyNu`
3+
- CIDv1: `bafybeig4ovh5dhuiambfcabacoemcxmvuql5tcl3vscbctdzinmcodysby`
44

55
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66

@@ -10,14 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010
Your Uniswap settings are never remembered across different URLs.
1111

1212
IPFS gateways:
13-
- https://bafybeiadhirdveghtb4gap6kftmp7vfaa67op3ojcarjxf5f3pt2oqface.ipfs.dweb.link/
14-
- [ipfs://QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ/](ipfs://QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ/)
13+
- https://bafybeig4ovh5dhuiambfcabacoemcxmvuql5tcl3vscbctdzinmcodysby.ipfs.dweb.link/
14+
- [ipfs://QmdBE9twnqZcftEmPMTNYyfm7qxkAANFeSMhVxHD1MtyNu/](ipfs://QmdBE9twnqZcftEmPMTNYyfm7qxkAANFeSMhVxHD1MtyNu/)
1515

16-
### 5.80.4 (2025-04-25)
16+
## 5.81.0 (2025-04-29)
1717

1818

19-
### Bug Fixes
19+
### Features
2020

21-
* **web:** lp incentives bugfixes (#18833) d337c45
21+
* **web:** pass uniquote enabled to trading api requests (#19010) 155876e
2222

2323

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.80.4
1+
web/5.81.0

packages/uniswap/src/data/apiClients/createApiClient.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export function createApiClient({
2323
}: {
2424
baseUrl: string
2525
includeBaseUniswapHeaders?: boolean
26-
additionalHeaders?: HeadersInit
26+
additionalHeaders?: HeadersInit & {
27+
'x-uniquote-enabled'?: string
28+
}
2729
}): {
2830
readonly fetch: (path: string, options: StandardFetchOptions) => Promise<Response>
2931
readonly get: <T>(path: string, options?: CustomOptions) => Promise<T>

packages/uniswap/src/data/apiClients/tradingApi/TradingApiClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ import {
4848
WalletCheckDelegationResponseBody,
4949
WalletEncode7702RequestBody,
5050
} from 'uniswap/src/data/tradingApi/__generated__'
51+
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
52+
import { getFeatureFlag } from 'uniswap/src/features/gating/hooks'
5153
import { logger } from 'utilities/src/logger/logger'
5254

5355
// 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({
8890
baseUrl: uniswapUrls.tradingApiUrl,
8991
additionalHeaders: {
9092
'x-api-key': config.tradingApiKey,
93+
'x-uniquote-enabled': getFeatureFlag(FeatureFlags.UniquoteEnabled) ? 'true' : 'false',
9194
},
9295
})
9396

packages/uniswap/src/features/gating/flags.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export enum FeatureFlags {
2222
Soneium,
2323
TokenSelectorTrendingTokens,
2424
TwoSecondSwapQuotePollingInterval,
25+
UniquoteEnabled,
2526
UniswapX,
2627
UniswapXPriorityOrdersBase,
2728
UniswapXPriorityOrdersOptimism,
@@ -83,6 +84,7 @@ export const SHARED_FEATURE_FLAG_NAMES = new Map<FeatureFlags, string>([
8384
[FeatureFlags.Soneium, 'soneium'],
8485
[FeatureFlags.TokenSelectorTrendingTokens, 'token_selector_trending_tokens'],
8586
[FeatureFlags.TwoSecondSwapQuotePollingInterval, 'two_second_swap_quote_polling_interval'],
87+
[FeatureFlags.UniquoteEnabled, 'uniquote_enabled'],
8688
[FeatureFlags.UniswapX, 'uniswapx'],
8789
[FeatureFlags.UniswapXPriorityOrdersBase, 'uniswapx_priority_orders_base'],
8890
[FeatureFlags.UniswapXPriorityOrdersOptimism, 'uniswapx_priority_orders_optimism'],

0 commit comments

Comments
 (0)