public-roadmap
public-roadmap copied to clipboard
Include ethers.js in runtime
Is your feature request related to a problem? Please describe.
I'm creating browser checks for web3 application. This app uses web3 provider (wallet), that is usually provided by browser extension (e.g. Metamask), but for Playwright tests it's possible to use headless provider (headless-web3-provider npm dep). The implementation relies on ethers.js
npm package.
So I'm including all those npm deps by bundling them into the js script. Unfortunately ethers.js
lib is big (> 300Kb
), and I have been told that the Checkly script size limit is only 256Kb
Describe the solution you'd like
Ideally to have a ethers
(and posibly rxjs
) in the default runtime.
Describe alternatives you've considered Increase the script size limit to 1Mb (500Kb works too) or to have ability to install npm dependencies defined in package.json (or any other way)
@romanlv thanks for contributing. We sadly cannot increase the script size limit as we have to send all of it across a queue / messaging system that has some hard limits. Let me see if ethers.js
and rxjs
make sense to add to our runtime. We are a bit strict on adding packages there due to various reasons (maintenance, security etc.)