v1.1.0
Added OAuth2 client-credentials support. Pass bearerAuth: { clientId, clientSecret } and the SDK handles the token exchange and refresh automatically:
See the TypeScript SDK guide and Authentication to compare both methods.
Breaking change: API key auth now requires the apiKeyAuth wrapper
Supporting OAuth alongside API key auth required restructuring the constructor’s auth options. The top-level apiKey field no longer exists — wrap it in apiKeyAuth:
Existing integrations using the old flat apiKey field need to update to this shape.