@passflow/react 0.20.1 → 0.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +48 -48
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/form/forgot-password/forgot-password-success.d.ts.map +1 -1
- package/dist/src/components/form/forgot-password/forgot-password.d.ts.map +1 -1
- package/dist/src/components/form/signin/index.d.ts.map +1 -1
- package/dist/src/components/form/signup/index.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-magic-link.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-otp-manual.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-otp.d.ts.map +1 -1
- package/dist/src/hooks/use-second-factor-route.d.cts +6 -0
- package/dist/src/hooks/use-second-factor-route.d.ts +6 -0
- package/dist/src/hooks/use-second-factor-route.d.ts.map +1 -0
- package/dist/src/hooks/use-sign-in-ending.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@passflow/react` are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.20.3] - 2026-11-05
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Resending an email link or OTP now keeps the invite from the first attempt. An invite-only app refused the resend for a new user.
|
|
10
|
+
- Resending an email link now asks for a tenant when the first attempt did. It used to ask for none.
|
|
11
|
+
- Forgot password with a username now reaches its success screen, and its resend goes by username. The screen used to show an error after the reset had been sent.
|
|
12
|
+
- The forgot-password success screen names the identity just submitted, not an `email` or `phone` left in the page URL.
|
|
13
|
+
- An opened email link sends its completion once under React StrictMode. It used to send it twice in development.
|
|
14
|
+
- An opened email link or a reloaded waiting tab that owes a second factor now stays in the flow on a hash router or under a path prefix. A provider-level `twoFactorVerifyPath` now also applies to the OTP screens.
|
|
15
|
+
|
|
16
|
+
## [0.20.2] - 2026-11-05
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Email link, OTP and forgot-password no longer fail to start on an app that doesn't list the server's default redirect in its redirect URLs. These calls, along with passkey sign-up and the OTP resend, now name an address only when the request gave one (`successAuthRedirect`, `successResetRedirect`).
|
|
21
|
+
- An opened email link whose answer is the sign-in page now shows "You're signed in". It used to treat that page as another address, which sent the user back to the sign-in form or showed an error.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- With no target given, an email link, OTP or password reset now ends where the server's answer says: the app's first registered redirect URL, or the server's default if the app has none. Put the URL you want first in the list. This changes the ending for an app that lists the server's default with another URL ahead of it: users now go to that first URL. A tab waiting for its link to be approved ends on the default redirect from the app's settings.
|
|
26
|
+
- A `redirect_url` left on the sign-in, sign-up or forgot-password page URL is no longer carried into the attempt. Pass `successAuthRedirect` or `successResetRedirect` instead.
|
|
27
|
+
|
|
5
28
|
## [0.20.1] - 2026-11-05
|
|
6
29
|
|
|
7
30
|
### Fixed
|