Skip to content

19.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jan 18:05
11acfb0

Changed

  • BREAKING: StreamProvider no longer accepts a jsonRpcStreamName parameter (#400)
    • Previously, this parameter was used internally to create an ObjectMultiplex stream and substream for JSON-RPC communication
    • Now, the consumer is responsible for creating and managing the stream multiplexing if needed
    • The provider will use the provided stream connection directly without any multiplexing
  • BREAKING: MetaMaskInpageProvider no longer accepts a jsonRpcStreamName parameter (#400)
    • This change is inherited from StreamProvider, as MetaMaskInpageProvider extends StreamProvider
    • Stream multiplexing should be handled before provider instantiation
  • initializeInpageProvider now handles stream multiplexing internally (#400)
    • Creates an ObjectMultiplex instance and substream using the provided jsonRpcStreamName
    • This maintains backwards compatibility for consumers using initializeInpageProvider
  • createExternalExtensionProvider now handles stream multiplexing internally (#400)
    • Creates an ObjectMultiplex instance and substream for JSON-RPC communication
    • This maintains backwards compatibility for consumers using createExternalExtensionProvider