Release 5.1.0
❗ New
The library now offers a userAgent
property when setting up your client, and will send a default User-Agent
header of PKAPI.js/<version>
, starting with 5.x! You can supply your own user agent in the API options when setting up your client, or supply it later on if desired. This change has already been pushed to npm and should be available now!