Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Jan 23, 2025
1 parent d15977e commit 63abe13
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
14 changes: 7 additions & 7 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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).

Expand All @@ -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


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.67.1
web/5.67.2
19 changes: 10 additions & 9 deletions apps/web/src/components/Web3Provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
Expand All @@ -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,
Expand Down Expand Up @@ -167,11 +168,11 @@ export function Web3ProviderUpdater() {
}
}, [
account.address,
addConnectedWallet,
currentPage,
account.chainId,
addConnectedWallet,
connectedWallets,
connector,
currentPage,
previousAccount,
provider,
trackConversions,
Expand Down

0 comments on commit 63abe13

Please sign in to comment.