Files
Elydora-Node-SDK/src/index.ts
T
ZacharyZhang-NYandClaude Opus 4.6 6e1689f858 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>
2026-03-25 00:48:27 -04:00

85 lines
1.5 KiB
TypeScript

export { ElydoraClient } from './client.js';
export { ElydoraError } from './errors.js';
export {
jcsCanonicalise,
sha256Base64url,
computeChainHash,
computePayloadHash,
signEd25519,
derivePublicKey,
ZERO_CHAIN_HASH,
} from './crypto.js';
export {
uuidv7,
generateNonce,
base64urlEncode,
base64urlDecode,
} from './utils.js';
export type {
// Enums
AgentStatus,
KeyStatus,
ExportStatus,
RbacRole,
IntegrationType,
AdminAction,
ErrorCode,
// Entities
Agent,
AgentKey,
Operation,
Receipt,
Epoch,
Organization,
AdminEvent,
AgentAssignment,
User,
Export,
// Protocol
EOR,
EAR,
// API request/response
ElydoraClientConfig,
CreateOperationParams,
RegisterAgentRequest,
RegisterAgentResponse,
GetAgentResponse,
ListAgentsResponse,
UpdateAgentRequest,
UpdateAgentResponse,
FreezeAgentResponse,
UnfreezeAgentResponse,
DeleteAgentResponse,
SubmitOperationResponse,
GetOperationResponse,
VerifyOperationResponse,
AuditQueryRequest,
AuditQueryResponse,
GetEpochResponse,
ListEpochsResponse,
CreateExportRequest,
CreateExportResponse,
GetExportResponse,
ListExportsResponse,
GetMeResponse,
IssueApiTokenResponse,
RotateApiTokenResponse,
JWK,
JWKSResponse,
HealthResponse,
DeepHealthResponse,
ListWebhooksResponse,
RegisterWebhookResponse,
ListMembersResponse,
ListAdminEventsResponse,
AuthRegisterResponse,
AuthLoginResponse,
ErrorResponse,
} from './types.js';