Skip to content

Better Auth Integrations For Chargebee. - #18

Merged
cb-alish merged 32 commits into
mainfrom
better-auth
Feb 23, 2026
Merged

Better Auth Integrations For Chargebee. #18
cb-alish merged 32 commits into
mainfrom
better-auth

Conversation

@cb-alish

@cb-alish cb-alish commented Feb 9, 2026

Copy link
Copy Markdown
Contributor
  • Automatic customer creation when users signs up.

@snyk-io

snyk-io Bot commented Feb 9, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

cb-alish and others added 10 commits February 11, 2026 14:59
- Added comprehensive type definitions in types.ts
- Replaced all 'any' types with proper TypeScript types
- Improved webhook handler type safety
- Enhanced error handling with proper type guards
- Updated client types to use proper Chargebee types
- Fixed linting issues with implicit any and non-null assertions
- All TypeScript errors resolved with zero warnings

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Handle potentially undefined url and id from Chargebee hosted page response
- Add fallback to empty string for safety

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Comment thread packages/better-auth/src/schema.ts
Comment thread packages/better-auth/src/types.ts Outdated
Comment thread packages/better-auth/package.json Outdated
Comment thread packages/better-auth/src/webhook-handler.ts Outdated
Comment thread packages/better-auth/src/webhook-handler.ts Outdated
Comment thread packages/better-auth/package.json
Comment thread packages/better-auth/package.json
Comment thread packages/better-auth/package.json Outdated
@cb-alish
cb-alish merged commit 969fcdb into main Feb 23, 2026
6 checks passed
@cb-alish
cb-alish deleted the better-auth branch February 23, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants