We have recently received feedback regarding the usage of non-intuitive configurations. As a result, it has been suggested that we include documentation or friendly error messages to make it easier to debug
Some of the areas that have been identified as potentially confusing include:
- the last optional parameter
{ config?: Config } in many methods
initializeConfig for rewriting the default mainnet configuration with a custom one
refreshScriptConfigs for refreshing configuration at the beginning to avoid outdated type id