Releases: reboxer/discord-oauth2
Releases · reboxer/discord-oauth2
2.5.0
Chore:
- 51d4b27 Add bot specific parameters to
generateAuthUrl
and remove default prompt
value. Add permissions_new
to PartialGuild typings (#31).
2.4.0
Chore
- c5860ef Add prompt option to generateAuthUrl (#30)
Update
- 3910b71 Change Discord url from
discordapp.com
to discord.com
in generateAuthUrl
and JSDocs
2.3.0
Chore
- 6585ed0 add option to change the Discord API version (defaults to "v7")
- 31190e1 add eris copyright notice
Update
- 7158ec1 Change Discord url from
discordapp.com
to discord.com
(#22)
- 4aa2baa Change Discord url in README.md examples
Upgrade
- f818c0d Bump eslint to 7.5.0 (fixes lodash security issue)
2.2.0
Fixes:
- Added missing string return type for
generateAuthUrl
(da02e2e)
2.1.0
Fixes:
- The tokenRequest method now accepts both
authorization_code
to request a user token and refresh_token
to refresh the user token (thanks @HeyItsNewbie for the issue #12) (efb6ca0)
Additions:
- Added generateAuthUrl to dynamically generate URLs for user auth (e94d0c3)
Minor things:
- Docs and types updated.
- Added eslint as dev dependency, added more rules and added github action for linting.
- Internal encode method to URL encode strings.
- Partially updated eris's request handler and other files.
2.0.2
Fixes;
- Incorrect capitalization of file name would prevent some case sensitive OSs from finding the lib file (a50d801)
2.0.1
Additions:
- Added typings for member object for the
addMember
method (8cfab3e)
- Added typings for events (50f762a)
2.0.0
Fixes:
Breaking:
- Removed support for eris client (7e5115b)
- Use camelcase for the
addMember
method (ba43f75)
- Use camelcase for the
tokenRequest
method and remove the internal encode
function (ba43f75)
1.3.1
Fixes:
- Fixes an issue where
revokeToken()
would throw "Missing credentials" if it wasn't passed to the function and set in the class constructor (342e5ca).