Changelog
All notable changes to @digits/clinical-sdk are documented here.
The format is based on Keep a Changelog.
[0.1.0] — Unreleased
Added
- Initial release of the Digits Clinical SDK.
DigitsClientwith resources:health,assessments,lookup,patients,journal,reports,billing,biomechanics,ai,leads.- Bearer-token auth via static string or sync/async provider.
- Per-request timeout (
AbortController) and exponential-backoff retries for idempotent requests on5xx/ connection errors. - Typed errors:
DigitsError,DigitsApiError,DigitsConnectionError. - Request/response types mirroring
apps/apiroutes and@digits/shared. - Low-level escape hatch via
client.http.request(). - Vitest test suite covering URL building, auth, retries, and error mapping.