beet
beet copied to clipboard
Use an explicit library for assertions
As discussed, this is just a reminded task to explicitly import an assertion library such as npm install assert instead of relying on polyfills to make it easier for developers to get started with libraries using beets.
I'm trying to use @metaplex-foundation/mpl-token-metadata on browser (with vitejs) and I get this error.
Do you know a work around ?

Yes, please! Please make assert a dependency, otherwise, we have to polyfill when using various packages that depend on this one!
@lorisleiva
Maybe add an assert package as peer-dependency ?