Skip to content

Commit 2d2034e

Browse files
ci(release): publish latest release
1 parent 330581f commit 2d2034e

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

RELEASE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmXgdNDbCqQWUQK8hSAMb9b5UoBL7Zitt4iBUeGoejLAsG`
3-
- CIDv1: `bafybeiek25d3hnl3wixmotajlx4lt5rals45etkdrzbmyoup7xinftsxl4`
2+
- CIDv0: `QmYspBNPhKLM5x5H3iXQtHeMpCf3SpEg9thsoyDUco2cBK`
3+
- CIDv1: `bafybeie4sckqrwo64q345nauc4gmqfw3oy2oevjqyvz6qicekmtmi2qy5i`
44

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

@@ -10,5 +10,5 @@ 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://bafybeiek25d3hnl3wixmotajlx4lt5rals45etkdrzbmyoup7xinftsxl4.ipfs.dweb.link/
14-
- [ipfs://QmXgdNDbCqQWUQK8hSAMb9b5UoBL7Zitt4iBUeGoejLAsG/](ipfs://QmXgdNDbCqQWUQK8hSAMb9b5UoBL7Zitt4iBUeGoejLAsG/)
13+
- https://bafybeie4sckqrwo64q345nauc4gmqfw3oy2oevjqyvz6qicekmtmi2qy5i.ipfs.dweb.link/
14+
- [ipfs://QmYspBNPhKLM5x5H3iXQtHeMpCf3SpEg9thsoyDUco2cBK/](ipfs://QmYspBNPhKLM5x5H3iXQtHeMpCf3SpEg9thsoyDUco2cBK/)

VERSION

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

apps/web/src/utils/swapErrorToUserReadableMessage.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ import { UserRejectedRequestError } from '~/utils/errors'
66
/** Attempts to extract a string from an error, based on common error object formats */
77
function getReason(error: any): string | undefined {
88
let reason: string | undefined
9+
const seen = new WeakSet()
910
while (error) {
11+
if (typeof error === 'object' && seen.has(error)) {
12+
break
13+
}
14+
if (typeof error === 'object') {
15+
seen.add(error)
16+
}
1017
reason = error.reason ?? error.message ?? reason
1118
if (typeof error === 'string') {
1219
return error

packages/uniswap/src/features/transactions/errors.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ function isSessionError(error: Error): boolean {
129129
e = e.originalError
130130
} else if (e instanceof Error) {
131131
e = e.cause
132+
} else {
133+
break
132134
}
133135
}
134136

0 commit comments

Comments
 (0)