bartve / disconnect

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

Issue running disconnect w/ webpack #64

Open atsnipes opened 4 years ago

atsnipes commented 4 years ago

This issue is related to https://github.com/mhart/aws4/issues/46.

When running the example code:

collection.getReleases('username', 1, { page: page, per_page: pageSize }, function (err, data) {
      console.log(data)
    })

I get there error:

TypeError: queryString.escape is not a function
    at Object.util.escape (util.js?fc66:38)
    at Object.collection.getReleases (collection.js?bd01:87)
    at DiscogsClient.getCollection (discogsClient.js?b7f8:22)
    at _callee$ (discoStore.js?6ac2:19)
    at tryCatch (runtime.js?96cf:45)
    at Generator.invoke [as _invoke] (runtime.js?96cf:274)
    at Generator.prototype.<computed> [as next] (runtime.js?96cf:97)
    at asyncGeneratorStep (asyncToGenerator.js?1da1:3)
    at _next (asyncToGenerator.js?1da1:25)
    at eval (asyncToGenerator.js?1da1:32)
_callee$ @ discoStore.js?6ac2:27