As WalletConnect does not build with rollup, this a a webpack browser pre-built which can be used in rollup.
npm run-script build
npm publish --access public
Add the following to your setup.js:
// WalletconnectV2
import { TextEncoder, TextDecoder } from 'util'
global.TextEncoder = TextEncoder
global.TextDecoder = TextDecoder