@happyvertical/smrt-users 0.57.28 → 0.57.30

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.
@@ -30,3 +30,16 @@ Run documented users build, typecheck (including Svelte), test, test:postgres an
30
30
  verify:pack gates. PostgreSQL runs use the canonical disposable-database wrapper.
31
31
  Root knowledge checks follow all producers. No new dialect is introduced; the
32
32
  terminal auth regression suite declares SQLite and PostgreSQL coverage.
33
+
34
+ ## Mounted approval error projection (#4319)
35
+
36
+ `mountTerminalLoginPage().approve` exposes only the explicitly public
37
+ `TerminalAuthError` refusal message (400) and `TerminalAuthRateLimitError`
38
+ message (429). Unexpected service initialization or approval failures return
39
+ 500 with `Unable to approve terminal login.`; never reflect their message or
40
+ log the raw exception, which can contain database connection credentials.
41
+ Authentication/input gates, the resolved user/tenant context, and successful
42
+ approval remain unchanged. `terminal-approval-errors.test.ts` proves both
43
+ service failure points using synthetic private data, preserves typed refusals,
44
+ and checks unauthenticated and missing-code denials before service access.
45
+ This projection changes no database or approval transaction behavior.