You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to import the entire sdk in React or React native, it returns undefined. NodeJS environment it works as expected
(not sure if this is a bug or if on purpose tbh)
What version are you on?
11.2.2
To Reproduce
// React or React Native environment
import StellarSdk from "@stellar/stellar-sdk";
console.log({ StellarSdk }); // returns undefined
// NodeJS
import StellarSdk from "@stellar/stellar-sdk";
console.log({ StellarSdk }); // returns values as expected
note: for any environment importing de-structured modules works fine
Expected behavior
For it to always return the same regardless of environment
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to import the entire sdk in React or React native, it returns undefined. NodeJS environment it works as expected
(not sure if this is a bug or if on purpose tbh)
What version are you on?
11.2.2
To Reproduce
note: for any environment importing de-structured modules works fine
Expected behavior
For it to always return the same regardless of environment
The text was updated successfully, but these errors were encountered: