From febce9e9aec7f7f7fd0211c90d94d10977416ccf Mon Sep 17 00:00:00 2001 From: Ankit Tiwari Date: Thu, 7 Dec 2023 19:12:35 +0530 Subject: [PATCH] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0d5c7af4..d42b7dd74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` 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