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

Uncaught (in promise) Error: adapter is not a function #873

Open
akhilparakka opened this issue Oct 27, 2023 · 2 comments
Open

Uncaught (in promise) Error: adapter is not a function #873

akhilparakka opened this issue Oct 27, 2023 · 2 comments
Labels

Comments

@akhilparakka
Copy link

Describe the bug
I am using stellar-sdk in a chrome extension background script. While using loadAccount(), I am facing this issue.

What version are you on?
"10.4.1

To Reproduce
Steps to reproduce the behavior:

  1. Use stellar sdk in background script of a chrome extension.
  2. use loadAccount()
  3. See error

Expected behavior
Expected to get a return account details

@Shaptic
Copy link
Contributor

Shaptic commented Jan 9, 2024

Can you confirm/deny that this issue is present in the latest version?

@akhilparakka
Copy link
Author

This issue is Fixed But When I try to create a keypair from secretkey

const sourceKeyPair = Keypair.fromSecret(sourceSecret);

Error

transfer-91b16cfc.js:6 Uncaught (in promise) TypeError: "size" argument must be of type number

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

No branches or pull requests

3 participants
@Shaptic @akhilparakka and others