Skip to content

Add facebook driver and allow email and avatarUrl to be null

Compare
Choose a tag to compare
@thetutlage thetutlage released this 08 Jun 03:49
· 76 commits to develop since this release

Breaking change

As we are adding new drivers, the possibility of email not being available is increasing. Hence, we must update the AllyUserContract to have email as null as well.

This does require a small change in your application codebase and you must guard yourself for missing email

const facebookUser = await ally.use('facebook').user()

if (!facebookUser.email) {
  // handle the use case
}

Commits

  • refactor: allow email and avatarUrl to be null 1fd9aa4
  • refactor: small improvements to the facebook driver 536230f
  • chore: update dependencies 3ae4dca
  • feat: add facebook driver (#121) a9493f2

v3.3.1...v4.0.0