v2.2.1
2.2.1 (2025-07-16)
Full Changelog: v2.2.0...v2.2.1
Features
- client: add support for endpoint-specific base URLs (bdfd113)
- client: add withOptions helper (73cc2cc)
Bug Fixes
- avoid console usage (0939a4a)
- ci: release-doctor — report correct token name (d0f0be6)
- client: always overwrite when merging headers (0dc9410)
- client: explicitly copy fetch in withOptions (ea81361)
- client: get fetchOptions type more reliably (178185b)
- compat with more runtimes (a43506b)
- package.json format (2208eda)
- publish script — handle NPM errors correctly (39c4b77)
Chores
- add docs to RequestOptions type (3f7237f)
- adjust eslint.config.mjs ignore pattern (01dff7e)
- avoid type error in certain environments (5dd5df5)
- ci: enable for pull requests (1b3eb2c)
- ci: only run for pushes and fork pull requests (df2a7dd)
- client: drop support for EOL node versions (78f8359)
- client: improve path param validation (f457172)
- client: refactor imports (353a5a6)
- deps: bump eslint-plugin-prettier (9a1f18d)
- docs: grammar improvements (52b1f34)
- docs: use top-level-await in example snippets (7f5ac8c)
- improve publish-npm script --latest tag logic (7b778a5)
- internal: add pure annotations, make base APIResource abstract (ee0adb9)
- internal: codegen related update (debc99f)
- internal: fix format script (cab6ad2)
- internal: fix readablestream types in node 20 (c15bde3)
- internal: share typescript helpers (238294b)
- make some internal functions async (0a2239c)
- package: remove engines (85661a0)
- readme: update badges (9c1423c)
- readme: use better example snippet for undocumented params (617d2e6)
- ts: reorder package.json imports (80235f0)
Documentation
- add examples to tsdocs (02ae649)
- api: updates to API spec (295a548)
- api: updates to API spec (bd53b17)
Refactors
- types: replace Record with mapped types (6b89bde)