Deprecate legacy login/register methods, update types

- Mark login() and register() as @deprecated (use Better Auth directly)
- Sync types with backend changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 4.6 committed 2026-03-25 00:48:27 -04:00
1 parent 1c2bbad844
commit 6e1689f858
3 files changed
+158 -2

No files matched your search

+12
View File
@@ -24,6 +24,8 @@ export type {
KeyStatus,
ExportStatus,
RbacRole,
IntegrationType,
AdminAction,
ErrorCode,
// Entities
@@ -33,6 +35,8 @@ export type {
Receipt,
Epoch,
Organization,
AdminEvent,
AgentAssignment,
User,
Export,
@@ -47,6 +51,9 @@ export type {
RegisterAgentResponse,
GetAgentResponse,
ListAgentsResponse,
UpdateAgentRequest,
UpdateAgentResponse,
FreezeAgentResponse,
UnfreezeAgentResponse,
DeleteAgentResponse,
SubmitOperationResponse,
@@ -66,6 +73,11 @@ export type {
JWK,
JWKSResponse,
HealthResponse,
DeepHealthResponse,
ListWebhooksResponse,
RegisterWebhookResponse,
ListMembersResponse,
ListAdminEventsResponse,
AuthRegisterResponse,
AuthLoginResponse,
ErrorResponse,