Files
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
..