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

Bug: Cannot read properties of undefined (reading 'type') #1156

Closed
juansalvatore opened this issue Apr 4, 2024 · 1 comment
Closed

Bug: Cannot read properties of undefined (reading 'type') #1156

juansalvatore opened this issue Apr 4, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@juansalvatore
Copy link

Describe the bug

data is undefined

Steps

A dependency I use uses coinbase-wallet-sdk as peer dependency.
It's using: "@coinbase/wallet-sdk": 3.7.2

And I just got this error:
image

Expected behavior

I'd expect the library to check if data is undefined before accessing keys

Version

3.7.2

Additional info

No response

Desktop

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 OPR/108.0.0.0

BrowserName: Opera - Version 108.0.0

Smartphone

No response

@juansalvatore juansalvatore added the type: bug Something isn't working label Apr 4, 2024
@nateReiners
Copy link
Contributor

Hi @juansalvatore thanks for the bug report, but we don't plan on making changes to old versions of the SDK. I recommend upgrading to v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Development

No branches or pull requests

2 participants