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
Hmm, I'm having trouble getting this library to work in all scenarios when using ESM. Sometimes it needs .default and sometimes it doesn't. Publishing an ESM version of this library would probably fix this, or maybe switch the API so the default export is a namespace rather than a function?
This library is CJS, so when used from an ESM module, you have to do this:
However, this doesn't match up with the published types, which expect the default export to be used directly.
The text was updated successfully, but these errors were encountered: