You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The `MetaMaskInpageProvider` type was mistakenly typed to require the
`jsonRpcStreamName` as a constructor parameter, despite the author
clearly intending this to be optional. This type error was fixed.
This type error motivated a different bug, which is that validation for
`jsonRpcStreamName` was added to `initializeInapgeProvider` in #381,
constituting an undocumented breaking change (currently blocking us
from updating this package in `metamask-extension`). This validation
has been removed now that it's no longer needed.
Fixes#389
This PR was included in v18.1.0: #381
It included a breaking change to
initializeProvider
, namely that the parameterjsonRpcStreamName
is now required when it was functionally optional before. The change was made to fix a type error; theMetaMaskInpageProvider
mistakenly had typed that parameter is required, but the intention was for it to be optional.The text was updated successfully, but these errors were encountered: