Closed iosonopersia closed 4 years ago
⚠⚠⚠Please, don't merge this yet, other changes are coming.⚠⚠⚠
Hi Simone, just a fast check. Have you tried to use the browser version of the library? is available here
I removed the commit related to the https module. The browser version of the library works very well. Now it's ok to merge this Pull Request.
Perfect, thanks! 👍
Hi @relu91 . I'm trying to use NPM @arces-wot/sepa-js package inside my Angular 9 app. First problem is that some let and const were missing in function
createURI
(seeutil.js: 6
), and so Angular was unable to compile this dependency.The other problem is that the Node.jshttps
module is not available inside the browser context (as far as I was able to understand), leading to these error messages:I attached my temporary solution (commenting out every https reference), but obviously that may not be the right thing to do, since this way it may be impossible to use a secure connection. I don't know how to do better, maybe there are otherhttps
in-browser alternatives.