Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Nov 3, 2023
2 parents 71675bd + ce8f381 commit e8c9ba9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [1.48.14](https://github.com/cowprotocol/cowswap/compare/v1.48.13...v1.48.14) (2023-11-03)


### Bug Fixes

* add verification for WC v2 project id ([#3323](https://github.com/cowprotocol/cowswap/issues/3323)) ([995e45e](https://github.com/cowprotocol/cowswap/commit/995e45e5d1069fa05c6afe0d936bdce0a29dc3a1))

## [1.48.13](https://github.com/cowprotocol/cowswap/compare/v1.48.12...v1.48.13) (2023-11-01)


### Bug Fixes

* revert halloween theme ([#3306](https://github.com/cowprotocol/cowswap/issues/3306)) ([0c839bc](https://github.com/cowprotocol/cowswap/commit/0c839bcf7342252d825b031e02b46f39975fdb71))

## [1.48.12](https://github.com/cowprotocol/cowswap/compare/v1.48.11...v1.48.12) (2023-10-30)


Expand Down
1 change: 1 addition & 0 deletions apps/cowswap-frontend/public/.well-known/walletconnect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
437d4593-45c5-4679-8f2e-4550cf432142=a867150179faa5ada89a38ba53c6ad908c98cc507e56906c0859eb17c1f4338d
5 changes: 2 additions & 3 deletions libs/wallet/src/web3-react/connection/walletConnectV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ export const walletConnectV2Option = {
id: 'wallet-connect-v2',
}

const WC_PROJECT_ID = process.env.REACT_APP_WC_PROJECT_ID
const WC_DEFAULT_PROJECT_ID = 'a6cc11517a10f6f12953fd67b1eb67e7'
const WC_PROJECT_ID = process.env.REACT_APP_WC_PROJECT_ID || 'a6cc11517a10f6f12953fd67b1eb67e7'

function createWalletConnectV2Connector(chainId: SupportedChainId): [AsyncConnector, Web3ReactHooks, Web3ReactStore] {
return initializeConnector<AsyncConnector>(
Expand All @@ -49,7 +48,7 @@ function createWalletConnectV2Connector(chainId: SupportedChainId): [AsyncConnec
console.error('WalletConnect2 ERROR:', error)
},
options: {
projectId: WC_PROJECT_ID || WC_DEFAULT_PROJECT_ID,
projectId: WC_PROJECT_ID,
chains: [chainId],
optionalChains: ALL_SUPPORTED_CHAIN_IDS,
showQrModal: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cowswap",
"version": "1.48.12",
"version": "1.48.14",
"description": "CoW Swap",
"main": "index.js",
"author": "",
Expand Down

0 comments on commit e8c9ba9

Please sign in to comment.