Skip to content

Commit 89dd630

Browse files
ci(release): publish latest release
1 parent 3c660e5 commit 89dd630

File tree

5 files changed

+23
-12
lines changed

5 files changed

+23
-12
lines changed

RELEASE

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmakBbUKZVD81rBrgPjF2sjxaegGifz5wStiEoGZxH8guA`
3-
- CIDv1: `bafybeifykoddc5p7s6d7qhvp62zxf34duq7qhoovc5bogt2a23cgwsrliu`
2+
- CIDv0: `QmX6cUAdvaHcmqZtGP3fV3H97jiTsgtgNprq3jhHe2RvmM`
3+
- CIDv1: `bafybeiececcjdwkpst4okuvb4n5e42keo3vrowgpcrh6jarhqy5idg6boa`
44

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

@@ -10,14 +10,9 @@ 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://bafybeifykoddc5p7s6d7qhvp62zxf34duq7qhoovc5bogt2a23cgwsrliu.ipfs.dweb.link/
14-
- [ipfs://QmakBbUKZVD81rBrgPjF2sjxaegGifz5wStiEoGZxH8guA/](ipfs://QmakBbUKZVD81rBrgPjF2sjxaegGifz5wStiEoGZxH8guA/)
13+
- https://bafybeiececcjdwkpst4okuvb4n5e42keo3vrowgpcrh6jarhqy5idg6boa.ipfs.dweb.link/
14+
- [ipfs://QmX6cUAdvaHcmqZtGP3fV3H97jiTsgtgNprq3jhHe2RvmM/](ipfs://QmX6cUAdvaHcmqZtGP3fV3H97jiTsgtgNprq3jhHe2RvmM/)
1515

16-
### 5.113.1 (2025-10-14)
17-
18-
19-
### Bug Fixes
20-
21-
* **web:** add onDisabledPress to web3status (#24505) 6ee07f1
16+
### 5.113.2 (2025-10-15)
2217

2318

VERSION

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

apps/web/src/state/sagas/transactions/solana.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,13 @@ function logJupiterSwapFinalized({
103103
analytics,
104104
hash,
105105
timeSigned,
106+
error,
106107
}: {
107108
success: boolean
108109
analytics: ExtractedBaseTradeAnalyticsProperties
109110
hash?: string
110111
timeSigned?: number
112+
error?: Error
111113
}) {
112114
// We log SwapSigned here, rather than immediately after signing, because the hash may be unknown until jupiter api response time.
113115
sendAnalyticsEvent(SwapEventName.SwapSigned, {
@@ -130,6 +132,8 @@ function logJupiterSwapFinalized({
130132
? undefined
131133
: timestampTracker.getElapsedTime(SwapEventType.FirstSwapSuccess, SwapEventType.FirstSwapAction),
132134
chain_id: analytics.chain_id_in,
135+
error_message: error?.message,
136+
error_code: error && error instanceof JupiterExecuteError ? error.code : undefined,
133137
})
134138
}
135139

@@ -146,7 +150,7 @@ function withAnalyticsLogging(swap: (params: JupiterSwapParams) => Generator<any
146150

147151
logJupiterSwapFinalized({ success: true, analytics: params.analytics, hash, timeSigned })
148152
} catch (error) {
149-
logJupiterSwapFinalized({ success: false, analytics: params.analytics, timeSigned })
153+
logJupiterSwapFinalized({ success: false, analytics: params.analytics, timeSigned, error })
150154
throw error
151155
}
152156
}

packages/uniswap/src/features/telemetry/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ type FailedUniswapXOrderResultProperties = Omit<UniswapXTransactionResultPropert
234234

235235
type FailedClassicSwapResultProperties = Omit<ClassicSwapTransactionResultProperties, 'hash'> & {
236236
hash: string | undefined
237+
error_message?: string
238+
error_code?: number
237239
}
238240

239241
type FailedBridgeSwapResultProperties = Omit<BridgeSwapTransactionResultProperties, 'hash'> & {

packages/uniswap/src/features/transactions/swap/analytics.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import type { ClassicTrade, Trade } from 'uniswap/src/features/transactions/swap
2222
import { getSwapFeeUsd } from 'uniswap/src/features/transactions/swap/utils/getSwapFeeUsd'
2323
import { isChained, isClassic, isJupiter, isUniswapX } from 'uniswap/src/features/transactions/swap/utils/routing'
2424
import { SwapEventType, timestampTracker } from 'uniswap/src/features/transactions/swap/utils/SwapEventTimestampTracker'
25+
import { getProtocolVersionFromTrade } from 'uniswap/src/features/transactions/swap/utils/trade'
2526
import { getClassicQuoteFromResponse } from 'uniswap/src/features/transactions/swap/utils/tradingApi'
2627
import { TransactionOriginType } from 'uniswap/src/features/transactions/types/transactionDetails'
2728
import { useWallet } from 'uniswap/src/features/wallet/hooks/useWallet'
@@ -241,6 +242,14 @@ function getQuoteRequestIdFields(trade: Trade): {
241242
return { requestId, ura_request_id: uraRequestId, quoteId }
242243
}
243244

245+
function getAnalyticsProtocolType(trade: Trade): string | undefined {
246+
if (isJupiter(trade)) {
247+
return trade.quote.quote.router.raw
248+
}
249+
250+
return getProtocolVersionFromTrade(trade)
251+
}
252+
244253
// hook-based analytics because this one is data-lifecycle dependent
245254
export function useSwapAnalytics(derivedSwapInfo: DerivedSwapInfo): void {
246255
const formatter = useLocalizationContext()
@@ -340,6 +349,7 @@ export function getBaseTradeAnalyticsProperties({
340349
return {
341350
...trace,
342351
routing: tradeRoutingToFillType(trade),
352+
protocol: getAnalyticsProtocolType(trade),
343353
total_balances_usd: portfolioBalanceUsd,
344354
token_in_symbol: trade.inputAmount.currency.symbol,
345355
token_out_symbol: trade.outputAmount.currency.symbol,

0 commit comments

Comments
 (0)