You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove deprecated maxRedirections option from types (#4363)
* fix: remove deprecated maxRedirections option from types
The maxRedirections option was removed in v7 but still remained in
TypeScript type definitions. This removes it from:
- Agent.Options and Agent.DispatchOptions
- Dispatcher ConnectOptions, RequestOptions, and UpgradeOptions
- Client.Options and H2CClient.Options
- MockInterceptor.MockResponseCallbackOptions
Also updates corresponding type tests to remove usage of the
deprecated option. The redirect interceptor still supports
maxRedirections as that functionality remains available.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
* fixup
Signed-off-by: Matteo Collina <hello@matteocollina.com>
---------
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments