Skip to content

Commit ac6fb2e

Browse files
ci(release): publish latest release
1 parent 5ab5356 commit ac6fb2e

File tree

1,166 files changed

+20897
-14840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,166 files changed

+20897
-14840
lines changed

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ __mocks__
1414
*.inc
1515
*.json
1616
*.md
17-
*.test.ts
1817
*.yml
1918
babel.config.js
2019
build

.yarn/patches/detox-npm-20.18.1-b532b310b4.patch

Lines changed: 0 additions & 14 deletions
This file was deleted.
2.15 KB
Binary file not shown.

RELEASE

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
Developed by Uniswap Labs, the Uniswap Extension allows you to access and explore onchain apps while maintaining full control of your crypto assets. The Uniswap Extension is the first wallet extension to live in your browser’s sidebar, persisting no matter where you are on the web. So you can explore crypto without obstructing your window or losing your place.
2-
3-
- Connect to thousands of onchain apps across Ethereum, Base, Arbitrum and many other EVM blockchains
4-
- Explore tokens directly on Uniswap, one of the most trusted DeFi protocols with over $2 trillion in volume
5-
- View all of your crypto assets without switching, across Ethereum and other EVM-compatible blockchains
6-
- Easily create a new wallet or import your existing wallet
7-
- Safely send and receive crypto tokens with other wallets
8-
9-
The Uniswap Extension’s source code is audited by the security firm Trail of Bits as an added measure to ensure that your crypto assets are safe.
1+
- UI fixes across various pages
2+
- UniswapX UI/UX improvements
3+
- Internal code organization improvements

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
extension/1.0.3
1+
extension/1.1.0

apps/extension/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"@svgr/webpack": "8.0.1",
1414
"@tamagui/core": "1.95.1",
1515
"@types/uuid": "9.0.1",
16-
"@uniswap/analytics-events": "2.32.0",
16+
"@uniswap/analytics-events": "2.34.0",
17+
"@uniswap/sdk-core": "5.3.0",
1718
"@uniswap/universal-router-sdk": "2.2.0",
1819
"@uniswap/v3-sdk": "3.13.0",
1920
"dotenv-webpack": "8.0.1",

apps/extension/src/app/SidebarApp.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import 'src/app/Global.css'
33

44
import { useEffect, useRef, useState } from 'react'
55
import { I18nextProvider } from 'react-i18next'
6+
import { useDispatch } from 'react-redux'
67
import { RouterProvider, ScrollRestoration } from 'react-router-dom'
78
import { PersistGate } from 'redux-persist/integration/react'
89
import { ExtensionStatsigProvider } from 'src/app/StatsigProvider'
@@ -36,7 +37,7 @@ import {
3637
} from 'src/background/messagePassing/messageChannels'
3738
import { BackgroundToSidePanelRequestType } from 'src/background/messagePassing/types/requests'
3839
import { PrimaryAppInstanceDebuggerLazy } from 'src/store/PrimaryAppInstanceDebuggerLazy'
39-
import { getReduxPersistor, getReduxStore, useAppDispatch } from 'src/store/store'
40+
import { getReduxPersistor, getReduxStore } from 'src/store/store'
4041
import Trace from 'uniswap/src/features/telemetry/Trace'
4142
import { ExtensionEventName } from 'uniswap/src/features/telemetry/constants'
4243
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
@@ -134,7 +135,7 @@ const router = sentryCreateHashRouter([
134135

135136
const PORT_PING_INTERVAL = 5 * ONE_SECOND_MS
136137
function useDappRequestPortListener(): void {
137-
const dispatch = useAppDispatch()
138+
const dispatch = useDispatch()
138139
const [currentPortChannel, setCurrentPortChannel] = useState<DappBackgroundPortChannel | undefined>()
139140
const [windowId, setWindowId] = useState<string | undefined>()
140141

@@ -194,7 +195,7 @@ function useDappRequestPortListener(): void {
194195
}
195196

196197
function SidebarWrapper(): JSX.Element {
197-
const dispatch = useAppDispatch()
198+
const dispatch = useDispatch()
198199
useDappRequestPortListener()
199200

200201
useEffect(() => {

apps/extension/src/app/components/modal/FeedbackRequestModal.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import { t } from 'i18next'
2+
import { useDispatch } from 'react-redux'
23
import { Button, Flex, Text, useSporeColors } from 'ui/src'
34
import { MessageStar } from 'ui/src/components/icons'
45
import { BottomSheetModal } from 'uniswap/src/components/modals/BottomSheetModal'
56
import { uniswapUrls } from 'uniswap/src/constants/urls'
67
import { ModalName } from 'uniswap/src/features/telemetry/constants'
78
import { selectExtensionBetaFeedbackState } from 'wallet/src/features/behaviorHistory/selectors'
89
import { ExtensionBetaFeedbackState, setExtensionBetaFeedbackState } from 'wallet/src/features/behaviorHistory/slice'
9-
import { useAppDispatch, useAppSelector } from 'wallet/src/state'
10+
import { useAppSelector } from 'wallet/src/state'
1011

1112
export function FeedbackRequestModal(): JSX.Element {
12-
const dispatch = useAppDispatch()
13+
const dispatch = useDispatch()
1314
const colors = useSporeColors()
1415

1516
const onDismiss = (): void => {

apps/extension/src/app/components/tabs/ActivityTab.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@ import { ScrollView } from 'ui/src'
33
import { useActivityData } from 'wallet/src/features/activity/useActivityData'
44

55
export const ActivityTab = memo(function _ActivityTab({ address }: { address: Address }): JSX.Element {
6-
const { maybeLoaderComponent, maybeEmptyComponent, renderActivityItem, sectionData } = useActivityData({
6+
const { maybeEmptyComponent, renderActivityItem, sectionData } = useActivityData({
77
owner: address,
88
})
99

10-
if (maybeLoaderComponent) {
11-
return maybeLoaderComponent
12-
}
13-
1410
if (maybeEmptyComponent) {
1511
return maybeEmptyComponent
1612
}
1713

1814
return (
1915
<ScrollView showsVerticalScrollIndicator={false} width="100%">
20-
{(sectionData ?? []).map((item) => renderActivityItem({ item }))}
16+
{/* `sectionData` will be either an array of transactions or an array of loading skeletons */}
17+
{(sectionData ?? []).map((item, index) => renderActivityItem({ item, index }))}
2118
</ScrollView>
2219
)
2320
})

apps/extension/src/app/features/accounts/AccountItem.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import { SharedEventName } from '@uniswap/analytics-events'
22
import { BaseSyntheticEvent, useCallback, useMemo, useState } from 'react'
33
import { useTranslation } from 'react-i18next'
4+
import { useDispatch } from 'react-redux'
45
import { EditLabelModal } from 'src/app/features/accounts/EditLabelModal'
56
import { removeAllDappConnectionsForAccount } from 'src/app/features/dapp/actions'
67
import { ContextMenu, Flex, MenuContentItem, Text, TouchableArea } from 'ui/src'
78
import { CopySheets, Edit, TrashFilled, TripleDots } from 'ui/src/components/icons'
89
import { iconSizes } from 'ui/src/theme'
910
import { ElementName, ModalName } from 'uniswap/src/features/telemetry/constants'
1011
import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send'
12+
import { setClipboard } from 'uniswap/src/utils/clipboard'
1113
import { NumberType } from 'utilities/src/format/types'
1214
import { AddressDisplay } from 'wallet/src/components/accounts/AddressDisplay'
1315
import { WarningModal } from 'wallet/src/components/modals/WarningModal/WarningModal'
@@ -19,8 +21,6 @@ import { WarningSeverity } from 'wallet/src/features/transactions/WarningModal/t
1921
import { EditAccountAction, editAccountActions } from 'wallet/src/features/wallet/accounts/editAccountSaga'
2022
import { useActiveAccountWithThrow, useDisplayName, useSignerAccounts } from 'wallet/src/features/wallet/hooks'
2123
import { DisplayNameType } from 'wallet/src/features/wallet/types'
22-
import { useAppDispatch } from 'wallet/src/state'
23-
import { setClipboard } from 'wallet/src/utils/clipboard'
2424

2525
type AccountItemProps = {
2626
address: Address
@@ -29,7 +29,7 @@ type AccountItemProps = {
2929

3030
export function AccountItem({ address, onAccountSelect }: AccountItemProps): JSX.Element {
3131
const { t } = useTranslation()
32-
const dispatch = useAppDispatch()
32+
const dispatch = useDispatch()
3333
const { data, loading, error } = usePortfolioTotalValue({ address })
3434
const { balanceUSD } = data || {}
3535

0 commit comments

Comments
 (0)