Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed Dec 7, 2023
1 parent 104a2b0 commit febce9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ EmailPassword.init({

- `getRedirectionURL` now receives `userContext` as the second argument.

- `isNewPrimaryUser` boolean property has been added to `GetRedirectionURLContext`. It can be used to check if a new primary user was created particularly in scenarios involving account linking.

- `UserContext` type has been changed to `Record<string, unknown>` from `any`.

- The `PreBuiltUI` components now accept a `navigate` prop, internally utilized by SuperTokens for redirection. This becomes handy when manually rendering the component and desiring client-side navigation instead of a full-page refresh for any redirection. Here's an example using `react-router-dom@v6`:

```tsx
Expand Down

0 comments on commit febce9e

Please sign in to comment.