Releases: VapiAI/server-sdk-typescript
Releases · VapiAI/server-sdk-typescript
1.2.0
feat: add subscriptionLimits field to Call interface Add a new optional `subscriptionLimits` field to the `Call` interface that exposes the organization's subscription limits at the time of the call, including concurrency limit information. Key changes: - `Call.subscriptionLimits` added as an optional `SubscriptionLimits | undefined` field - Field carries org-level subscription and concurrency limit data captured at call time 🌿 Generated with Fern
1.1.0
feat: add cause propagation to error types and BasicAuth optional fields Improve error diagnostics by threading the original cause through fetcher errors, VapiError, and VapiTimeoutError. This allows consumers to inspect the root cause of network failures, timeouts, and unknown errors. Additionally, BasicAuth username and password fields are now optional, with empty-string handling to avoid sending blank credentials. Key changes: - `VapiError` and `VapiTimeoutError` now expose an optional `cause` field and accept it in their constructors - `Fetcher.TimeoutError` and `Fetcher.UnknownError` interfaces gain an optional `cause` field - `handleNonStatusCodeError` forwards `error.cause` into thrown `VapiTimeoutError` and `VapiError` instances - `BasicAuth.username` and `BasicAuth.password` are now optional; both being empty/absent suppresses the Authorization header 🌿 Generated with Fern