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

wallet-standard:app-ready is missing object #926

Open
saberistic opened this issue Mar 13, 2024 · 0 comments
Open

wallet-standard:app-ready is missing object #926

saberistic opened this issue Mar 13, 2024 · 0 comments

Comments

@saberistic
Copy link

Describe the bug
I have created following adapter repo
and created an extension here with it
while loading the extension, on wallet-standard:app-ready event it attempts to decunstruct a variable which is null so it throws this error:

content.js:2 Uncaught TypeError: Cannot destructure property 'register' of 'undefined' as it is undefined.
    at e (content.js:2:451609)
    at content.js:2:451866

https://github.com/Spiral-Safe/wallet-adapter/blob/main/src/register.ts#L21

To Reproduce
Steps to reproduce the behavior:

  1. build wallet adapter
  2. build extension
  3. run a site with solana wallet adapter
  4. See the extension attempt on registering and failing

Expected behavior
shows wallet as a detected wallet in the list

Screenshots
image

Desktop (please complete the following information):

  • Browser [brave]
  • Version [1.63.169]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
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

No branches or pull requests

1 participant