ci(release): publish latest release

parent 1a634f38
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmeD9iZE1wVDCJ7Fa7A54GaJTvW1Pz49tpS5gKaKLQc8NS` - CIDv0: `QmeqY4kue58BB4LG4rseGWe5sav5XjAt2CNKhwpmpCmaKF`
- CIDv1: `bafybeihlz4sl3v7pyeiak4vurg26w5dj6654yd3eg772xldksazu3atwt4` - CIDv1: `bafybeihvefjgw6woi34lg7b5oxbc77nqluqp66eeg2kfqq7tn32rcjcdgy`
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://bafybeihlz4sl3v7pyeiak4vurg26w5dj6654yd3eg772xldksazu3atwt4.ipfs.dweb.link/ - https://bafybeihvefjgw6woi34lg7b5oxbc77nqluqp66eeg2kfqq7tn32rcjcdgy.ipfs.dweb.link/
- [ipfs://QmeD9iZE1wVDCJ7Fa7A54GaJTvW1Pz49tpS5gKaKLQc8NS/](ipfs://QmeD9iZE1wVDCJ7Fa7A54GaJTvW1Pz49tpS5gKaKLQc8NS/) - [ipfs://QmeqY4kue58BB4LG4rseGWe5sav5XjAt2CNKhwpmpCmaKF/](ipfs://QmeqY4kue58BB4LG4rseGWe5sav5XjAt2CNKhwpmpCmaKF/)
### 5.70.5 (2025-02-11) ## 5.71.0 (2025-02-11)
### Bug Fixes ### Features
* **web:** add unichain rpc to csp (#16164) 9781a05 * **web:** remove unichain beta toggle - prod (#16168) 6fcd098
web/5.70.5 web/5.71.0
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,6 @@ import { SlideOutMenu } from 'components/AccountDrawer/SlideOutMenu' ...@@ -4,7 +4,6 @@ import { SlideOutMenu } from 'components/AccountDrawer/SlideOutMenu'
import { SmallBalanceToggle } from 'components/AccountDrawer/SmallBalanceToggle' import { SmallBalanceToggle } from 'components/AccountDrawer/SmallBalanceToggle'
import { SpamToggle } from 'components/AccountDrawer/SpamToggle' import { SpamToggle } from 'components/AccountDrawer/SpamToggle'
import { TestnetsToggle } from 'components/AccountDrawer/TestnetsToggle' import { TestnetsToggle } from 'components/AccountDrawer/TestnetsToggle'
import { UnichainToggle } from 'components/AccountDrawer/UnichainToggle'
import Column from 'components/deprecated/Column' import Column from 'components/deprecated/Column'
import Row from 'components/deprecated/Row' import Row from 'components/deprecated/Row'
import { useAccount } from 'hooks/useAccount' import { useAccount } from 'hooks/useAccount'
...@@ -94,7 +93,6 @@ export default function SettingsMenu({ ...@@ -94,7 +93,6 @@ export default function SettingsMenu({
<SpamToggle /> <SpamToggle />
<AnalyticsToggle /> <AnalyticsToggle />
<TestnetsToggle /> <TestnetsToggle />
<UnichainToggle />
</ToggleWrapper> </ToggleWrapper>
<Column> <Column>
......
import { SettingsToggle } from 'components/AccountDrawer/SettingsToggle'
import { useRef } from 'react'
import { useTranslation } from 'react-i18next'
import { useSporeColors } from 'ui/src'
import { UnichainAnimatedText } from 'ui/src/components/text/UnichainAnimatedText'
import { FeatureFlags, getFeatureFlagName } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { Statsig } from 'uniswap/src/features/gating/sdk/statsig'
export function UnichainToggle() {
const { t } = useTranslation()
const isUnichainEnabled = useFeatureFlag(FeatureFlags.Unichain)
const isUnichainPromoEnabled = useFeatureFlag(FeatureFlags.UnichainPromo)
const unichainFlagName = getFeatureFlagName(FeatureFlags.Unichain)
const unichainPromoFlagName = getFeatureFlagName(FeatureFlags.UnichainPromo)
const colors = useSporeColors()
const unichainPreviousDisabledRef = useRef(isUnichainEnabled && isUnichainPromoEnabled)
return (
<SettingsToggle
title={
<UnichainAnimatedText
gradientTextColor={colors.neutral1.val}
delayMs={500}
variant="body3"
// Only show gradient animation when a user goes from disabled to enabled for both flags
enabled={!unichainPreviousDisabledRef.current && isUnichainEnabled && isUnichainPromoEnabled}
>
{t('unichain.promotion.beta.enable')}
</UnichainAnimatedText>
}
dataid="unichain-toggle"
isActive={isUnichainEnabled && isUnichainPromoEnabled}
toggle={() => {
// If the flags are different, override them both to true
if (isUnichainEnabled !== isUnichainPromoEnabled) {
Statsig.overrideGate(unichainFlagName, true)
Statsig.overrideGate(unichainPromoFlagName, true)
} else {
Statsig.overrideGate(unichainFlagName, !isUnichainEnabled)
Statsig.overrideGate(unichainPromoFlagName, !isUnichainPromoEnabled)
}
}}
/>
)
}
...@@ -2257,7 +2257,6 @@ ...@@ -2257,7 +2257,6 @@
"transaction.warning.maxNative.title": "Low network token balance", "transaction.warning.maxNative.title": "Low network token balance",
"transaction.watcher.error.cancel": "Unable to cancel transaction", "transaction.watcher.error.cancel": "Unable to cancel transaction",
"transaction.watcher.error.status": "Error while checking transaction status", "transaction.watcher.error.status": "Error while checking transaction status",
"unichain.promotion.beta.enable": "Enable Unichain Beta",
"unichain.promotion.bridging.description": "Swap to Unichain", "unichain.promotion.bridging.description": "Swap to Unichain",
"unichain.promotion.bridging.tooltip.description": "Bridge your ETH to get started on Unichain.", "unichain.promotion.bridging.tooltip.description": "Bridge your ETH to get started on Unichain.",
"unichain.promotion.cold.description": "Faster swaps. Lower fees. Unichain is the home for DeFi.", "unichain.promotion.cold.description": "Faster swaps. Lower fees. Unichain is the home for DeFi.",
......
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