-
Notifications
You must be signed in to change notification settings - Fork 1
Better auth type errors #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This commit refactors how FileMaker adapter configurations are accessed, making it more robust. It also updates various dependencies, including rolldown and its related packages, to their latest versions. Co-authored-by: eric.luce <[email protected]>
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@proofkit/better-auth
@proofkit/cli
create-proofkit
@proofkit/fmdapi
@proofkit/fmodata
@proofkit/typegen
@proofkit/webviewer
commit: |
|
@cursor add a changeset for this update |
|
Added. I’ll include a changeset for Learn more about Cursor Agents |
Co-authored-by: eric.luce <[email protected]>
Fixes TypeScript build errors in
@proofkit/better-authby updating type imports and adapter option parsing to be resilient to upstream changes.The build was failing due to several TypeScript errors in
@proofkit/better-authrelated to type mismatches and missing exports from thebetter-authdependency. These changes address those issues by:AdapterDebugLogs,BetterAuthDbSchema) with stable local definitions.adapter.optionsto handle variations in thebetter-authpackage's internal structure.src/migrate.tsto correctly handle array-based types frombetter-auth.This ensures the
@proofkit/better-authpackage builds successfully with the currentbetter-authdependency.Note
Strengthens compatibility with evolving
better-authtypes and adapter options to resolve TS build errors.BetterAuthDbSchemawith localBetterAuthAuthTablesand addnormalizeBetterAuthFieldTypeto handle string/array union field types inmigrate.tsadapter.tsto stop importingAdapterDebugLogsand widendebugLogstoboolean | { isRunningAdapterTests?: boolean }getFileMakerAdapterConfigFromAdapterOptionsin CLI and use it to read config fromadapter.options.configoradapter.options.adapterConfig.config; wire into migration flow@proofkit/better-authWritten by Cursor Bugbot for commit 8001249. This will update automatically on new commits. Configure here.