Skip to content

Releases: Top-gg-Community/node-sdk

v3.0.6 | Fixed Webhook Parser

03 Jan 03:15
11bec5a
Compare
Choose a tag to compare

Fixed an issue where if a user was using a different body parser, e.g body-parser, that uses the raw-body package, the parser would fail.
Now returns req.body content if one is available before parsing.

v3.0.5 | Fix to documentation

20 Dec 00:24
15a73f8
Compare
Choose a tag to compare

Fixes Api.isWeekend() JSDOC example.

v3.0.4 | Add documentation

18 Dec 17:46
4443a95
Compare
Choose a tag to compare
  • Released official documentation page

  • Added GitHub actions to publish to npm on release

The new documentation can be found at https://topggjs.rtfd.io

v2.4.1

10 Aug 16:17
ec89fe4
Compare
Choose a tag to compare
  • Updated repo links
  • Fixes to typings (#26)

v2.4.0

06 Mar 14:45
1cca575
Compare
Choose a tag to compare
  • Added support for Discord.js v12 to the autoposter

v2.3.1

21 Jan 16:31
a52b79b
Compare
Choose a tag to compare
  • Replaced discordbots.org with the new domain, top.gg
  • Added Github Actions for publishing to npm

v2.3.0

31 Oct 16:36
781a008
Compare
Choose a tag to compare
  • Preparations for the API change that will require a valid token for all API requests.
  • Merged Pull Request #13

v2.2.0

20 Jul 11:29
66910ff
Compare
Choose a tag to compare
  • Added isWeekend() to check if the weekend multiplier is currently active.
  • Webhooks now contain an isWeekend property to signify that the vote in question counted for two.
  • Removed snekfetch as a dependency.

v2.1.0

15 Jun 11:27
19bc287
Compare
Choose a tag to compare
  • Added a way to link existing http servers to the webhook
    • New option webhookServer
  • Added events for the autoposter
    • DBLAPI now extends EventEmitter
    • New event posted
    • New event error
  • Updated snekfetch to version 4.0.2

v2.0.1

26 Apr 14:07
33e1029
Compare
Choose a tag to compare
  • Fixed typings
  • Updated examples in the readme to what they are on the documentation website