Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
c55953b6
Commit
c55953b6
authored
May 10, 2024
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
6586274f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
36 deletions
+34
-36
RELEASE
RELEASE
+7
-31
VERSION
VERSION
+1
-1
SwapForm.tsx
apps/web/src/pages/Swap/SwapForm.tsx
+26
-4
No files found.
RELEASE
View file @
c55953b6
IPFS hash of the deployment:
- CIDv0: `Qm
ZCHeoJuPsFdadwYDZ1gxfLvYaaRxv5pGxTRcmSGXqSgP
`
- CIDv1: `bafybei
fbjqm3qbn3nu6diizot5gr24pw2dai5r6l5iafo5y4t5nufursoa
`
- CIDv0: `Qm
TqFxX9jtCD9To3o7DprzKi8GX2Zcfj78Q1bes3iSu7Pk
`
- CIDv1: `bafybei
crt2gyxhucirummgef7lv7pudqbamzmjvycfm2my6fkdybdix3z4
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
...
@@ -10,39 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybei
fbjqm3qbn3nu6diizot5gr24pw2dai5r6l5iafo5y4t5nufursoa
.ipfs.dweb.link/
- https://bafybei
fbjqm3qbn3nu6diizot5gr24pw2dai5r6l5iafo5y4t5nufursoa
.ipfs.cf-ipfs.com/
- [ipfs://Qm
ZCHeoJuPsFdadwYDZ1gxfLvYaaRxv5pGxTRcmSGXqSgP/](ipfs://QmZCHeoJuPsFdadwYDZ1gxfLvYaaRxv5pGxTRcmSGXqSgP
/)
- https://bafybei
crt2gyxhucirummgef7lv7pudqbamzmjvycfm2my6fkdybdix3z4
.ipfs.dweb.link/
- https://bafybei
crt2gyxhucirummgef7lv7pudqbamzmjvycfm2my6fkdybdix3z4
.ipfs.cf-ipfs.com/
- [ipfs://Qm
TqFxX9jtCD9To3o7DprzKi8GX2Zcfj78Q1bes3iSu7Pk/](ipfs://QmTqFxX9jtCD9To3o7DprzKi8GX2Zcfj78Q1bes3iSu7Pk
/)
## 5.26.0 (2024-05-09)
### Features
* **web:** add dynamic metatag updating w/ react-helmet-async (#7732) 4afd49c
* **web:** add multichain ux flag (#7796) 870f18f
* **web:** automate sitemap generation during prod deploy (#7846) 6010986
* **web:** migrate user state back to localStorage (#7452) b8ff545
### 5.26.1 (2024-05-10)
### Bug Fixes
* **web:** add "Safe" RPC URLs to CSP (#7844) 7880af0
* **web:** align price impact in details and warning (#7734) 65303d4
* **web:** convert useQuery to use QueryOptions (#7729) da4104c
* **web:** disable flaky tests in merge queue runs (#7771) c5fc13b
* **web:** fix token lookups from network for backend-unsupported chains (#7894) 2bcd438
* **web:** fix tokens lookups for avax (#7893) f4deeb6
* **web:** Flip logic for Sells/Buys (#7880) cffd9ec
* **web:** hotfix warning modified extensions (#8073) deeeb4f
* **web:** infinite loop when connecting to unsupported chain (#7891) 4df2b6a
* **web:** pool page stuck in rerender loop (#7892) 45541af
* **web:** reduce gap in AdvancedSwapDetails component (#7733) 278f948
* **web:** refactor chain URL param handling (#7807) a33bc3d
* **web:** remove limits+send feature flags & fix broken /limit page refresh (#7870) 6c5eaa9
* **web:** serialize polling tx receipts (#7908) 3c44924
* **web:** support swapping spam tokens (#7793) 020a1e4
* **web:** update the CTAs on pools page to link to explore/pools page (#7808) cb625d8
* **web:** width of account bottom sheet on mobile (#7886) 03ebbd0
* **web:** using web accessible resources to block extension (#8097) 3a5dadd
VERSION
View file @
c55953b6
web/5.26.0
\ No newline at end of file
web/5.26.1
\ No newline at end of file
apps/web/src/pages/Swap/SwapForm.tsx
View file @
c55953b6
...
...
@@ -466,8 +466,30 @@ export function SwapForm({ disableTokenInputs = false, onCurrencyChange }: SwapF
const
switchingChain
=
useAppSelector
((
state
)
=>
state
.
wallets
.
switchingChain
)
const
targetChain
=
switchingChain
?
switchingChain
:
undefined
const
switchingChainIsSupported
=
useIsSupportedChainId
(
targetChain
)
// @ts-ignore
const
isUsingBlockedExtension
=
window
.
ethereum
?.[
'
isPocketUniverseZ
'
]
const
[
showBannedExtension
,
setShowBannedExtension
]
=
useState
<
boolean
>
(
false
)
useEffect
(()
=>
{
const
isBannedExtension
=
async
()
=>
{
let
blocked
=
false
const
webAccessibleResources
=
[
'
chrome-extension://gacgndbocaddlemdiaadajmlggabdeod/ccip.08a1ffae.js
'
,
// pocket universe extension
]
for
(
let
i
=
0
;
i
<
webAccessibleResources
.
length
;
i
++
)
{
if
(
blocked
)
{
break
}
try
{
await
fetch
(
webAccessibleResources
[
i
])
// if anything comes back, then the extension is active
blocked
=
true
}
catch
(
error
)
{
console
.
error
(
error
)
}
}
setShowBannedExtension
(
blocked
)
}
if
(
window
.
chrome
)
isBannedExtension
().
catch
(
console
.
error
)
},
[])
return
(
<>
...
...
@@ -662,7 +684,7 @@ export function SwapForm({ disableTokenInputs = false, onCurrencyChange }: SwapF
}
}
id=
"swap-button"
data
-
testid=
"swap-button"
disabled=
{
isUsingBlock
edExtension
||
!
getIsReviewableQuote
(
trade
,
tradeState
,
swapInputError
)
}
disabled=
{
showBann
edExtension
||
!
getIsReviewableQuote
(
trade
,
tradeState
,
swapInputError
)
}
error=
{
!
swapInputError
&&
priceImpactSeverity
>
2
&&
allowance
.
state
===
AllowanceState
.
ALLOWED
}
>
<
Text
fontSize=
{
20
}
>
...
...
@@ -688,7 +710,7 @@ export function SwapForm({ disableTokenInputs = false, onCurrencyChange }: SwapF
priceImpact=
{
largerPriceImpact
}
/>
)
}
{
isUsingBlock
edExtension
&&
<
SwapNotice
/>
}
{
showBann
edExtension
&&
<
SwapNotice
/>
}
</
div
>
</
AutoColumn
>
</>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment