Skip to content

customFetch is not exported from index.js #762

@tripodsan

Description

@tripodsan

What happened?

Since 6.x one can provide fetch via the customFetch symbol. Unfortunately, it is not exported from the index.js. I can see it exported as type in index.ts

customFetch,

but it's not available in the js build.

side note: why is it exported as symbol and not just as a normal property like all other options?

Version

6.0.7

Runtime

Node.js

Runtime Details

v20.17.0

Code to reproduce

.

Required

  • I have searched the issues tracker and discussions for similar topics and couldn't find anything related.
  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions