Skip to content

Conversation

@cprussin
Copy link
Collaborator

@cprussin cprussin commented Feb 6, 2025

This PR enables passing the RequestInit options for fetch to individual HermesClient methods.

This PR also fixes merging AbortControllers, which was previously not done correctly (but also no way to pass an AbortController was actually exposed via the public API, so this is not a breaking change), and upgrades typescript to the catalog version, which is required to support AbortSignal.any.

@cprussin cprussin requested a review from cctdaniel February 6, 2025 00:35
@vercel
Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 0:58am
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 0:58am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 0:58am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 0:58am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 0:58am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Feb 6, 2025 0:58am

This PR enables passing the `RequestInit` options for `fetch` to individual
`HermesClient` methods.

This PR also fixes merging `AbortControllers`, which was previously not done
correctly (but also no way to pass an `AbortController` was actually exposed via
the public API, so this is not a breaking change), and upgrades typescript to
the catalog version, which is required to support `AbortSignal.any`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants