Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@stephank stephank released this 01 Dec 10:58
· 1 commit to main since this release
  • BREAKING: This PR reverts the API change made to the verify method in v0.6.0:

    -async verify(token: string): Promise<{ email: string; state?: string }> {
    +async verify(token: string): Promise<string> {

    v0.6.0 mistakenly assumed state was part of the token, but it is simply returned in a query parameter state to the callback / redirect URI. As such, your application can extract it directly from the request.