Open jeluard opened 9 months ago
@nflaig Is this still a good idea? is the idea that we would use the wrapped fetch across the whole monorepo?
is the idea that we would use the wrapped fetch across the whole monorepo?
we already do, there is a biomjs rule to prevent using the global directly, I am not sure what was the reason to move it to utils package I guess related to https://github.com/ChainSafe/lodestar/issues/6488 that we wanna remove got
and utils is a dependency of basically all packages while the api package is not.
Migrate fetch into the utils package. All references should be updated accordingly.
tests will have to be migrated too. Consider that tests requiring a web browser won't be able to run in browser environments.