Skip to content

Releases: Elitezen/open-trivia-db-wrapper

2.1.5

20 Mar 23:59
Compare
Choose a tag to compare

2.1.5

  • Reverted to node-fetch for Node versions < 18
  • Inconsistency fixes and other minor bug fixes
  • Boolean questions now return their incorrect answer as a BooleanString and not a string[]
  • Question type now takes a generic of type QuestionTypes | unknown. Default is unknown
  • Created typings for correct and incorrect values.
  • Included URL for Session.reset() as it was missing.

2.0.0

28 Nov 20:12
Compare
Choose a tag to compare
  • The library received a massive rework through many quality of life changes.

  • 'Static' and 'Pretty' category names are no more, developers will no longer have to worry about converting through these formats.

  • All QuestionOption option types now have respective enums to work with.

  • Category is now just a class with various static methods for working with categories.

1.0.0

14 May 21:59
Compare
Choose a tag to compare
version1

Merge branch 'main' of https://github.com/Elitezen/open-trivia-db-wra…