Consensys / armlet

a MythX API client wrapper
MIT License
16 stars 7 forks source link

Change initialization of URL class for browser compatibility #106

Closed muellerberndt closed 5 years ago

muellerberndt commented 5 years ago

Fixes #105.

muellerberndt commented 5 years ago

Works I think but I'm not an npm expert, please double-check :)

birdofpreyru commented 5 years ago

Well, I actually never really ran Armlet myself, thus not sure how to check it in action. But, as JS expert I believe, it should make the trick, save some unfortunate tiny misprint :)

vdenisov-pro commented 4 years ago

The problem occurs because url.URL is undefined (read more in this comment).