Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.44 KB

File metadata and controls

43 lines (34 loc) · 1.44 KB

Changelog

All notable changes to the SyftHub TypeScript SDK will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.1 - 2026-01-27

Added

  • Initial release of the SyftHub TypeScript SDK
  • SyftHubClient class for API interactions
  • Authentication via API key
  • Resource APIs:
    • auth - Authentication and token management
    • users - User management and profiles
    • hub - Endpoint discovery and search
    • chat - Chat completions API
    • accounting - Usage tracking and billing information
    • myEndpoints - Manage user's own endpoints
    • syftai - SyftAI-specific features
  • Automatic pagination handling with async iterators
  • Comprehensive error handling with typed exceptions:
    • SyftHubError - Base error class
    • AuthenticationError - Authentication failures
    • RateLimitError - Rate limit exceeded
    • NotFoundError - Resource not found
    • ValidationError - Request validation failures
  • Full TypeScript type definitions
  • Dual module support (ESM and CommonJS)
  • Tree-shakeable exports

Compatibility

  • Node.js 18.0.0+
  • Modern browsers with ES2022 support
  • TypeScript 5.0+