@metamask/providers
Advanced tools
Changelog
[9.0.0]
BaseProvider
to new StreamProvider
(#209)
BaseProvider
is now a transport-agnostic abstract class. StreamProvider
accepts a stream and relies on MetaMask's internal JSON-RPC API for its behavior. See the StreamProvider
class for more details.MetaMaskInpageProvider
should be completely unaffected except that its prototype chain now includes a class named AbstractStreamProvider
.