ci(release): publish latest release

parent d15977ec
IPFS hash of the deployment:
- CIDv0: `QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq`
- CIDv1: `bafybeigsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa`
- CIDv0: `QmSmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD`
- CIDv1: `bafybeicb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei`
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://bafybeigsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa.ipfs.dweb.link/
- https://bafybeigsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa.ipfs.cf-ipfs.com/
- [ipfs://QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq/](ipfs://QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq/)
- https://bafybeicb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei.ipfs.dweb.link/
- https://bafybeicb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei.ipfs.cf-ipfs.com/
- [ipfs://QmSmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD/](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
web/5.67.1
\ No newline at end of file
web/5.67.2
\ No newline at end of file
......@@ -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,
......
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