Shared HTTP utilities for Kiln integration adapters.
| Export | Description |
|---|---|
buildAuthHeaders() |
Build authorization headers from a ResolvedCredential |
fetchJson() |
Typed JSON fetch with error handling |
IntegrationHttpError |
Error class with status code and response body |
Utility package for future raw-fetch adapters. Current SDK-based adapters (Google Calendar, Stripe, Google Sheets) do not depend on this package — they use their provider's official SDK directly.
bun add @kilnai/integration-shared