@metamask/providers
Advanced tools
Comparing version 18.3.1 to 19.0.0
@@ -10,2 +10,20 @@ # Changelog | ||
## [19.0.0] | ||
### Changed | ||
- **BREAKING**: `StreamProvider` no longer accepts a `jsonRpcStreamName` parameter ([#400](https://github.com/MetaMask/providers/pull/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](https://github.com/MetaMask/providers/pull/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](https://github.com/MetaMask/providers/pull/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](https://github.com/MetaMask/providers/pull/400)) | ||
- Creates an ObjectMultiplex instance and substream for JSON-RPC communication | ||
- This maintains backwards compatibility for consumers using `createExternalExtensionProvider` | ||
## [18.3.1] | ||
@@ -525,3 +543,4 @@ | ||
[Unreleased]: https://github.com/MetaMask/providers/compare/v18.3.1...HEAD | ||
[Unreleased]: https://github.com/MetaMask/providers/compare/v19.0.0...HEAD | ||
[19.0.0]: https://github.com/MetaMask/providers/compare/v18.3.1...v19.0.0 | ||
[18.3.1]: https://github.com/MetaMask/providers/compare/v18.3.0...v18.3.1 | ||
@@ -528,0 +547,0 @@ [18.3.0]: https://github.com/MetaMask/providers/compare/v18.2.0...v18.3.0 |
{ | ||
"name": "@metamask/providers", | ||
"version": "18.3.1", | ||
"version": "19.0.0", | ||
"description": "A JavaScript Ethereum provider that connects to the wallet over a stream", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
499824
3217
34
1
5
1
17
236930