This PR was included in v18.1.0: #381
It included a breaking change to initializeProvider, namely that the parameter jsonRpcStreamName is now required when it was functionally optional before. The change was made to fix a type error; the MetaMaskInpageProvider mistakenly had typed that parameter is required, but the intention was for it to be optional.