-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
enhancementNew feature or improvement.New feature or improvement.minor-bumpPlanned for the next minor version bump.Planned for the next minor version bump.next-patchIssues scheduled for the next arch release.Issues scheduled for the next arch release.on-deckThis Enhancement or Bug is currently being worked on.This Enhancement or Bug is currently being worked on.v6Issues regarding v6Issues regarding v6
Description
Describe the Feature
Currently when communicating with RPC endpoints (or gateways) additional fetch options are not able to be passed in:
ethers.js/src.ts/utils/geturl-browser.ts
Line 49 in 278f841
const init = { |
For instance, cors or credentials (fetch credentials
vs Authorization header) options.
Code Example
const fetchReq = new ethers.FetchRequest(URL, { credentials: "include" });
const provider = new ethers.JsonRpcProvider(fetchReq);
mirceanis
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement.New feature or improvement.minor-bumpPlanned for the next minor version bump.Planned for the next minor version bump.next-patchIssues scheduled for the next arch release.Issues scheduled for the next arch release.on-deckThis Enhancement or Bug is currently being worked on.This Enhancement or Bug is currently being worked on.v6Issues regarding v6Issues regarding v6