js-stellar-sdk icon indicating copy to clipboard operation
js-stellar-sdk copied to clipboard

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

Open akhilparakka opened this issue 2 years ago • 2 comments

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

akhilparakka avatar Oct 27 '23 06:10 akhilparakka

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

Shaptic avatar Jan 09 '24 20:01 Shaptic

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

akhilparakka avatar Feb 07 '24 12:02 akhilparakka