Closed mzmarshall1278 closed 2 years ago
Hey! Thanks for reporting this issue. When you're using vanilla JS you need to do Bundlr.default
e.g.
const Bundlr = require("@bundlr-network/client");
// OR
import Bundlr from "@bundlr-network/client";
const bundlr = new Bundlr.default(...);
I get TypeError: Bundlr is not a constructor when I call new on Bundlr from my imports. I am using version "^0.7.16".