Open felamaslen opened 7 years ago
Instantiating DiscogsClient as a function (without the new) keyword and only one parameter, results in the parameter being interpreted as userAgent, rather than auth.
new
userAgent
auth
Tested on Node version 8.4.0.
Yikes. So busy with other things in life I haven't even investigated this. Open to pull requests by the way!
Anyway, I do not recommend calling it as a function as this will be removed in the es6 release,
Instantiating DiscogsClient as a function (without the
new
) keyword and only one parameter, results in the parameter being interpreted asuserAgent
, rather thanauth
.Tested on Node version 8.4.0.