Skip to content

Releases: reboxer/discord-oauth2

2.5.0

17 Sep 22:03
51d4b27
Compare
Choose a tag to compare

Chore:

  • 51d4b27 Add bot specific parameters to generateAuthUrl and remove default prompt value. Add permissions_new to PartialGuild typings (#31).

2.4.0

10 Sep 22:34
Compare
Choose a tag to compare

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

25 Jul 21:42
Compare
Choose a tag to compare

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

16 May 23:03
Compare
Choose a tag to compare

Fixes:

  • Added missing string return type for generateAuthUrl (da02e2e)

2.1.0

20 Apr 19:18
Compare
Choose a tag to compare

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

10 Dec 14:51
Compare
Choose a tag to compare

Fixes;

  • Incorrect capitalization of file name would prevent some case sensitive OSs from finding the lib file (a50d801)

2.0.1

19 Nov 20:44
Compare
Choose a tag to compare

Additions:

  • Added typings for member object for the addMember method (8cfab3e)
  • Added typings for events (50f762a)

2.0.0

17 Nov 23:54
Compare
Choose a tag to compare

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.4.1

20 Sep 15:06
Compare
Choose a tag to compare

Additions:

1.3.1

16 Sep 14:46
Compare
Choose a tag to compare

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).