@passflow/react 0.30.0 → 0.31.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.es.js +116 -113
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/src/components/flow/access-lists.d.cts +14 -0
  7. package/dist/src/components/flow/access-lists.d.ts +14 -0
  8. package/dist/src/components/flow/access-lists.d.ts.map +1 -0
  9. package/dist/src/components/flow/consent/screen.d.ts.map +1 -1
  10. package/dist/src/components/flow/device-verify/screen.d.ts.map +1 -1
  11. package/dist/src/components/provider/passflow-provider.d.cts +1 -0
  12. package/dist/src/components/provider/passflow-provider.d.ts +1 -0
  13. package/dist/src/components/provider/passflow-provider.d.ts.map +1 -1
  14. package/dist/src/components/ui/login-screen/consent.d.cts +3 -0
  15. package/dist/src/components/ui/login-screen/consent.d.ts +3 -0
  16. package/dist/src/components/ui/login-screen/consent.d.ts.map +1 -1
  17. package/dist/src/components/ui/login-screen/device-approval.d.ts.map +1 -1
  18. package/dist/src/components/ui/login-screen/index.d.cts +1 -1
  19. package/dist/src/components/ui/login-screen/index.d.ts +1 -1
  20. package/dist/src/components/ui/login-screen/index.d.ts.map +1 -1
  21. package/dist/src/components/ui/login-screen/shared.d.cts +10 -1
  22. package/dist/src/components/ui/login-screen/shared.d.ts +10 -1
  23. package/dist/src/components/ui/login-screen/shared.d.ts.map +1 -1
  24. package/dist/src/components/ui/login-screen/types.d.cts +32 -0
  25. package/dist/src/components/ui/login-screen/types.d.ts +32 -0
  26. package/dist/src/components/ui/login-screen/types.d.ts.map +1 -1
  27. package/dist/src/hooks/index.d.cts +1 -1
  28. package/dist/src/hooks/index.d.ts +1 -1
  29. package/dist/src/hooks/index.d.ts.map +1 -1
  30. package/dist/src/hooks/use-consent.d.cts +21 -0
  31. package/dist/src/hooks/use-consent.d.ts +21 -0
  32. package/dist/src/hooks/use-consent.d.ts.map +1 -1
  33. package/dist/src/hooks/use-device-verify.d.cts +7 -0
  34. package/dist/src/hooks/use-device-verify.d.ts +7 -0
  35. package/dist/src/hooks/use-device-verify.d.ts.map +1 -1
  36. package/dist/style.css +1 -1
  37. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to `@passflow/react` are documented in this file.
4
4
 
5
+ ## [0.31.0] - 2026-11-24
6
+
7
+ ### Added
8
+
9
+ - The consent screen shows which client asks and where the user is sent: the client host, a "Verified client" badge, "You'll be sent to" with the redirect host, the resources, and the server's warnings above the scopes. An unverified client's host is as large as the title. Critical and high warnings are alerts; no warning disables Allow. A server that sends none of these fields gets the same screen as before.
10
+ - `ConsentInfo` has the optional fields `issuer`, `client_kind`, `client_host`, `redirect_host`, `verified`, `resources` and `warnings`, with the types `ConsentResource` and `ConsentWarning`.
11
+ - The OIDC errors `PassflowProvider` sends to the relying party itself carry `iss` (RFC 9207), in the query and in `form_post`, when the server names its `issuer`.
12
+ - The device approval screens list, before the approval, each resource's name with its address and the scopes the token will hold, labelled as on the consent screen. `DeviceVerifyInfo` has the optional fields `resources`, `scopes` and `scope_metadata`. A server that sends none of them gets the same screens as before. The passkey mode approves without a list, as before.
13
+
14
+ ## [0.30.1] - 2026-11-23
15
+
16
+ ### Changed
17
+
18
+ - The footer badge on the login screen reads "Powered by Passflow". It read "Secured by PASSFLOW".
19
+
5
20
  ## [0.30.0] - 2026-11-23
6
21
 
7
22
  ### Added