Skip to content

v1.0.0 - Promise API, Typescript rewrite

Latest
Compare
Choose a tag to compare
@adalinesimonian adalinesimonian released this 22 Jun 00:52
· 125 commits to main since this release
0fcce2a

BREAKING CHANGES

  • API now uses promises instead of callbacks.
  • Initialisation code has been removed from the ADAuth constructor.
    If using the constructor, .initialise(), which returns a promise, must be called afterwards. Alternatively, you can use await ADAuth.create(options).

Added

  • Automated testing, both unit and integration tests.

Changed

  • Project migrated to typescript.
  • Package manager switched to yarn.

Removed

  • Admin client removed, as it is not used in the AD authentication flow. All operations against the server are performed using the user client.

Fixed

  • Errors from the server are now properly passed to the client.