Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f516351
Initial better-auth Package Setup
cb-alish Feb 9, 2026
131ce6e
Initial plugin setup, schema design & types definition
cb-alish Feb 9, 2026
498f2a6
Minor build gottacha
cb-alish Feb 9, 2026
642e913
Adding the logic for createCustomerOnSignUp
cb-alish Feb 9, 2026
08d7734
Webhook setup
cb-alish Feb 10, 2026
393e644
Complete implementation for subscription upgrade flow
cb-alish Feb 10, 2026
b52af2d
Cancle subscription logic
cb-alish Feb 10, 2026
39799ce
Bug fixes and refactor
cb-alish Feb 10, 2026
88914a1
Trial logic
cb-alish Feb 10, 2026
b7868a7
Rewriting webhook handler using chargebee native feature
cb-alish Feb 11, 2026
28653d6
Better auth client implementation
cb-alish Feb 11, 2026
5b6ea13
Documentation added on README.md
cb-alish Feb 11, 2026
bdeebce
Test included
cb-alish Feb 11, 2026
bb1839a
Better types for webhook error handling
cb-alish Feb 11, 2026
676707c
Added LICENSE file
cb-alish Feb 11, 2026
f0be7bc
Updating package lock
cb-alish Feb 11, 2026
632b279
Remove all 'any' types and improve type safety in better-auth package
cb-alish Feb 16, 2026
d6f607b
Fix optional hosted page url and id types
cb-alish Feb 16, 2026
fe2f043
Documentation
cb-alish Feb 17, 2026
42bb481
Polished documentation
cb-alish Feb 19, 2026
4e412f6
docs: make README.md the primary documentation and remove DOCUMENTATI…
cb-alish Feb 20, 2026
300580b
Moved chargebee to the peer dependencies
cb-alish Feb 20, 2026
6b847e9
Update the the pnpm lock
cb-alish Feb 20, 2026
ddde39a
Removing tests md files
cb-alish Feb 20, 2026
1418356
Review comments
cb-alish Feb 23, 2026
a8e186c
Used the native types as much as where possible. Removed console.log …
cb-alish Feb 23, 2026
2be7489
Updated pnpm-lock file
cb-alish Feb 23, 2026
0e5d262
Added the proper type for webhook handler and fixed the failed tests
cb-alish Feb 23, 2026
b3ee9c3
added the define error cods from the better-auth/core itself
cb-alish Feb 23, 2026
e23c1e1
Added missed try/catch block
cb-alish Feb 23, 2026
b60a93f
Added more comprehensive tests
cb-alish Feb 23, 2026
4ddadad
updated the value for __clientIdentifier to be better-auth
cb-alish Feb 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ dist
.DS_Store
.pnpm
tsconfig.tsbuildinfo

# Test artifacts
coverage
.nyc_output
*.lcov
21 changes: 21 additions & 0 deletions packages/better-auth/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2024 - present, Bereket Engida
Copyright (c) 2025 - present, Chargebee

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Loading