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
63abe139
Commit
63abe139
authored
Jan 23, 2025
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
d15977ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
17 deletions
+18
-17
RELEASE
RELEASE
+7
-7
VERSION
VERSION
+1
-1
index.tsx
apps/web/src/components/Web3Provider/index.tsx
+10
-9
No files found.
RELEASE
View file @
63abe139
IPFS hash of the deployment:
- CIDv0: `Qm
cUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq
`
- CIDv1: `bafybei
gsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa
`
- CIDv0: `Qm
SmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD
`
- CIDv1: `bafybei
cb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
...
@@ -10,15 +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
gsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa
.ipfs.dweb.link/
- https://bafybei
gsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa
.ipfs.cf-ipfs.com/
- [ipfs://Qm
cUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq/](ipfs://QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq
/)
- https://bafybei
cb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei
.ipfs.dweb.link/
- https://bafybei
cb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei
.ipfs.cf-ipfs.com/
- [ipfs://Qm
SmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD/](ipfs://QmSmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD
/)
### 5.67.
1 (2025-01-22
)
### 5.67.
2 (2025-01-23
)
### Bug Fixes
* **web:**
2 sec poll flag fix (#15399) 955a354
* **web:**
send updated user property chainId (#15417) 731a83d
VERSION
View file @
63abe139
web/5.67.1
\ No newline at end of file
web/5.67.2
\ No newline at end of file
apps/web/src/components/Web3Provider/index.tsx
View file @
63abe139
...
...
@@ -75,6 +75,12 @@ export function Web3ProviderUpdater() {
useEffect
(()
=>
{
const
chainChanged
=
previousConnectedChainId
&&
previousConnectedChainId
!==
account
.
chainId
if
(
chainChanged
)
{
if
(
account
.
address
&&
account
.
chainId
)
{
// Should also update user property for chain_id when user switches chains
setUserProperty
(
CustomUserProperties
.
CHAIN_ID
,
account
.
chainId
)
setUserProperty
(
CustomUserProperties
.
ALL_WALLET_CHAIN_IDS
,
account
.
chainId
,
true
)
}
sendAnalyticsEvent
(
InterfaceEventName
.
CHAIN_CHANGED
,
{
result
:
WalletConnectionResult
.
SUCCEEDED
,
wallet_address
:
account
.
address
,
...
...
@@ -90,6 +96,8 @@ export function Web3ProviderUpdater() {
const
previousAccount
=
usePrevious
(
account
.
address
)
const
[
connectedWallets
,
addConnectedWallet
]
=
useConnectedWallets
()
useEffect
(()
=>
{
// User properties *must* be set before sending corresponding event properties,
// so that the event contains the correct and up-to-date user properties.
if
(
account
.
address
&&
account
.
address
!==
previousAccount
)
{
const
walletName
=
connector
?.
name
??
'
Network
'
const
amplitudeWalletType
=
walletTypeToAmplitudeWalletType
(
connector
?.
type
)
...
...
@@ -108,18 +116,11 @@ export function Web3ProviderUpdater() {
logger
.
warn
(
'
Web3Provider
'
,
'
Updater
'
,
'
Failed to get client version
'
,
error
)
})
// User properties *must* be set before sending corresponding event properties,
// so that the event contains the correct and up-to-date user properties.
setUserProperty
(
CustomUserProperties
.
WALLET_ADDRESS
,
account
.
address
)
setUserProperty
(
CustomUserProperties
.
ALL_WALLET_ADDRESSES_CONNECTED
,
account
.
address
,
true
)
setUserProperty
(
CustomUserProperties
.
WALLET_TYPE
,
amplitudeWalletType
)
if
(
account
.
chainId
)
{
setUserProperty
(
CustomUserProperties
.
CHAIN_ID
,
account
.
chainId
)
setUserProperty
(
CustomUserProperties
.
ALL_WALLET_CHAIN_IDS
,
account
.
chainId
,
true
)
}
const
walletConnectedProperties
=
{
result
:
WalletConnectionResult
.
SUCCEEDED
,
wallet_address
:
account
.
address
,
...
...
@@ -167,11 +168,11 @@ export function Web3ProviderUpdater() {
}
},
[
account
.
address
,
addConnectedWallet
,
currentPage
,
account
.
chainId
,
addConnectedWallet
,
connectedWallets
,
connector
,
currentPage
,
previousAccount
,
provider
,
trackConversions
,
...
...
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