Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

feat(anvil.js): Add support for specifying headers in fork mode #44

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

jnsdls
Copy link
Sponsor Contributor

@jnsdls jnsdls commented Feb 29, 2024

This adds the ability to pass headers for the fork url to the underlying anvil instance.

This does not seem to be documented in the anvil reference however it is available in anvil as a command line option


PR-Codex overview

This PR enhances the @viem/anvil package by adding support for specifying headers in fork mode and updating the toArgs function to handle nested objects.

Detailed summary

  • Added forkHeader option to specify headers in fork mode
  • Updated toArgs function to handle nested objects in options

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Feb 29, 2024

🦋 Changeset detected

Latest commit: d9c9b36

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@viem/anvil Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jxom jxom merged commit 5b39862 into wevm:main Mar 5, 2024
5 of 6 checks passed
@github-actions github-actions bot mentioned this pull request Mar 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants