Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local devevelopment issue with Wallet Connect #478

Closed
peterpeterparker opened this issue Dec 6, 2023 · 4 comments · Fixed by #479
Closed

Local devevelopment issue with Wallet Connect #478

peterpeterparker opened this issue Dec 6, 2023 · 4 comments · Fixed by #479

Comments

@peterpeterparker
Copy link
Member

Wallet Connect is fine on mainnet however, locally when developing we are facing following issue when connecting as of @walletconnect/[email protected].

{context: 'core'} {context: 'core/relayer'} {context: 'core/relayer/subscription'} TypeError: this.events.off is not a function
at Ot.off (index.ts:5:16)
at EventEmitter.a2 (index.ts:5:16)
at emitOne (node-modules-polyfills:events:89:20)
at EventEmitter.emit (node-modules-polyfills:events:171:7)
at Ot.addSubscription (index.ts:5:16)
at Ot.setSubscription (index.ts:5:16)
at Ot.onSubscribe (index.ts:5:16)
at Ot.subscribe (index.ts:5:16)
at async index.ts:5:16

As a workaround we stick to @walletconnect/[email protected] for now.

@peterpeterparker
Copy link
Member Author

Related WC issue: WalletConnect/walletconnect-monorepo#3913

@peterpeterparker peterpeterparker linked a pull request Dec 6, 2023 that will close this issue
@peterpeterparker
Copy link
Member Author

WalletConnect has close the bug and won't proceed debugging it until someone provides a sample repo.

@peterpeterparker
Copy link
Member Author

I provided a sample repo and opened a new issue to share my findings: WalletConnect/walletconnect-monorepo#4064

There is an issue with the WalletConnect library and Node polyfill.

@peterpeterparker
Copy link
Member Author

"Resolved" in #549 by removing the polyfier in #545

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant