if(!binary&&!isFileURI(binaryFile)&&!ENVIRONMENT_IS_NODE)
This fails in NodeJS if the URI is one created via URL.createObjectURL(blob) hence it's a ^blob: kind of URL.
If I remove that !ENVIRONMENT_IS_NODE everything works as expected.
I am not sure this is a bug for this project or Emscripten but I wanted to point out that one cannot initialize this library via blobs.
This fails in NodeJS if the URI is one created via
URL.createObjectURL(blob)hence it's a^blob:kind of URL.If I remove that
!ENVIRONMENT_IS_NODEeverything works as expected.I am not sure this is a bug for this project or Emscripten but I wanted to point out that one cannot initialize this library via blobs.