By removing / commenting out the enviroment variable NEXT_PUBLIC_MULTIVERSX_API the maskin of the public MultiversX api can be disabled. When masking is disabled all api requests done by the dapp will go directly to the public api endpoint.
Further more I've simplified the access to the active network configuration. We can use activeNetworkConfiguration-method to get the active network configuration, if we don't want to retrieve a specific configuration for a given chainType.
By removing / commenting out the enviroment variable
NEXT_PUBLIC_MULTIVERSX_API
the maskin of the public MultiversX api can be disabled. When masking is disabled all api requests done by the dapp will go directly to the public api endpoint.Further more I've simplified the access to the active network configuration. We can use
activeNetworkConfiguration
-method to get the active network configuration, if we don't want to retrieve a specific configuration for a given chainType.Fixes #18