@passflow/react 0.28.0 → 0.29.0

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 CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to `@passflow/react` are documented in this file.
4
4
 
5
+ ## [0.29.0] - 2026-11-22
6
+
7
+ ### Added
8
+
9
+ - `useSessions()` lists the signed-in user's sessions, one per sign-in on any device or app, and ends them. It returns `data`, `isLoading`, `isError`, `errorMessage`, `refetch()`, `revoke(sessionId)` and `signOutOthers()`. The session the app is signed in with has `current: true`.
10
+ - `revoke(sessionId)` ends one session and drops it from `data`. Ending the current session signs out as `logout()` does: `PassflowProvider` turns signed out and, after a hosted sign-in, the page goes to the hosted end-session page.
11
+ - `signOutOthers()` ends every session except the current one and returns how many it ended. `data` then holds the current session only.
12
+ - The session types of `@passflow/core` come from `@passflow/react` as well: `PassflowUserSession`, `PassflowSessionDevice`, `PassflowUserSessionList` and `PassflowRevokeOtherSessionsResponse`.
13
+
14
+ ### Changed
15
+
16
+ - The minimum `@passflow/core` is now 0.33.0.
17
+
5
18
  ## [0.28.0] - 2026-11-21
6
19
 
7
20
  ### Changed