ci(release): publish latest release

parent d15977ec
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq` - CIDv0: `QmSmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD`
- CIDv1: `bafybeigsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa` - CIDv1: `bafybeicb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei`
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,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway. ...@@ -10,15 +10,15 @@ 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://bafybeigsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa.ipfs.dweb.link/ - https://bafybeicb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei.ipfs.dweb.link/
- https://bafybeigsbzkda6qv7qqund7okatflwxyy24dqdoatcyyooibzm6xawwooa.ipfs.cf-ipfs.com/ - https://bafybeicb5abvqxhmsyufrrsh67h2q6cdomr673nes6umxcq2uvnmcnglei.ipfs.cf-ipfs.com/
- [ipfs://QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq/](ipfs://QmcUczsWCfUaERJpptB48Rbmnnzg1Jagkhsd1DryHJy4jq/) - [ipfs://QmSmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD/](ipfs://QmSmvQMNhi4BXMeBcTtjzRqkSkUM6BrLUjoiF4iqydKdxD/)
### 5.67.1 (2025-01-22) ### 5.67.2 (2025-01-23)
### Bug Fixes ### Bug Fixes
* **web:** 2 sec poll flag fix (#15399) 955a354 * **web:** send updated user property chainId (#15417) 731a83d
web/5.67.1 web/5.67.2
\ No newline at end of file \ No newline at end of file
...@@ -75,6 +75,12 @@ export function Web3ProviderUpdater() { ...@@ -75,6 +75,12 @@ export function Web3ProviderUpdater() {
useEffect(() => { useEffect(() => {
const chainChanged = previousConnectedChainId && previousConnectedChainId !== account.chainId const chainChanged = previousConnectedChainId && previousConnectedChainId !== account.chainId
if (chainChanged) { 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, { sendAnalyticsEvent(InterfaceEventName.CHAIN_CHANGED, {
result: WalletConnectionResult.SUCCEEDED, result: WalletConnectionResult.SUCCEEDED,
wallet_address: account.address, wallet_address: account.address,
...@@ -90,6 +96,8 @@ export function Web3ProviderUpdater() { ...@@ -90,6 +96,8 @@ export function Web3ProviderUpdater() {
const previousAccount = usePrevious(account.address) const previousAccount = usePrevious(account.address)
const [connectedWallets, addConnectedWallet] = useConnectedWallets() const [connectedWallets, addConnectedWallet] = useConnectedWallets()
useEffect(() => { 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) { if (account.address && account.address !== previousAccount) {
const walletName = connector?.name ?? 'Network' const walletName = connector?.name ?? 'Network'
const amplitudeWalletType = walletTypeToAmplitudeWalletType(connector?.type) const amplitudeWalletType = walletTypeToAmplitudeWalletType(connector?.type)
...@@ -108,18 +116,11 @@ export function Web3ProviderUpdater() { ...@@ -108,18 +116,11 @@ export function Web3ProviderUpdater() {
logger.warn('Web3Provider', 'Updater', 'Failed to get client version', error) 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.WALLET_ADDRESS, account.address)
setUserProperty(CustomUserProperties.ALL_WALLET_ADDRESSES_CONNECTED, account.address, true) setUserProperty(CustomUserProperties.ALL_WALLET_ADDRESSES_CONNECTED, account.address, true)
setUserProperty(CustomUserProperties.WALLET_TYPE, amplitudeWalletType) 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 = { const walletConnectedProperties = {
result: WalletConnectionResult.SUCCEEDED, result: WalletConnectionResult.SUCCEEDED,
wallet_address: account.address, wallet_address: account.address,
...@@ -167,11 +168,11 @@ export function Web3ProviderUpdater() { ...@@ -167,11 +168,11 @@ export function Web3ProviderUpdater() {
} }
}, [ }, [
account.address, account.address,
addConnectedWallet,
currentPage,
account.chainId, account.chainId,
addConnectedWallet,
connectedWallets, connectedWallets,
connector, connector,
currentPage,
previousAccount, previousAccount,
provider, provider,
trackConversions, 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