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
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