bartve / disconnect

An easy to use Node.js client with OAuth support to connect with the discogs.com API v2.0
MIT License
453 stars 79 forks source link

Using disconnect with browserify #63

Open antoine-crettenand opened 4 years ago

antoine-crettenand commented 4 years ago

Hi I'm developing a small web application and would like to be able to show the discogs collection of a user. Since I'm new to this, I'm using browserify to make things easier but I ran into some issue that I can resolve. When I call the getReleases method, I get the following error in the browser console :

TypeError: queryString.escape is not a function

After some research, I found out that sometimes the querystring module used is too old and not compatible with browserify and was wondering if it was a known issue or if I'm doing something wrong...

Thank you in advance

bartve commented 4 years ago

This was originally meant purely for Node.js, so I honestly wouldn't know.