4 Commits
Author SHA1 Message Date
CatoandClaude 25a3471087 fix(client): Lightning's client plugin no longer breaks createAuthClient (#78)
0.26.0's lightningClient() named better-auth's own fetch type, which went into
the published declaration. In BiasLens, whose better-auth resolved another
@better-fetch/fetch, authClientPlugins() was no longer assignable to
createAuthClient's plugins and the typecheck failed. The plugin types its one
call by shape; a test keeps better-fetch names out of the declaration and a
type test compiles a product's own wiring.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 00:08:31 +01:00
Cato 45b9d5ab61 feat(auth): recovery form needs only the two recovery calls, so Auth.js products can use it (#32) 2026-10-28 00:52:45 +01:00
Cato b9c2f314a4 feat(auth): complete password recovery and mail capability (v0.6.0) (#12) 2026-10-25 09:24:09 +01:00
CatoandClaude Opus 5.5 ec56542705 fix(orangecat): a real Auth.js adapter fits withOrangecatIdentity (v0.2.1) (#3)
v0.2.0 typed the adapter slice with property syntax and Promise returns, so
no Auth.js Adapter (methods taking AdapterUser, returning Awaitable<…>)
could be passed: petvity and surf-your-life failed typecheck on adoption.
Method syntax checks parameters bivariantly and accepts any return.

test/types/adapter.ts compiles the wrapper against the REAL @auth/core
Adapter type (dev dependency, types only) in `typecheck`. Mutated: restoring
the v0.2.0 shape gives 4 errors there.

README: SignInError needs styles.css imported, or it renders as bare text.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 05:06:43 -07:00