@metamask/providers
Advanced tools
Comparing version 19.0.0 to 20.0.0
@@ -10,2 +10,12 @@ # Changelog | ||
## [20.0.0] | ||
### Changed | ||
- **BREAKING**: An `isConnected` boolean property is now expected in the result of `metamask_getProviderState` and `metamask_chainChanged` events ([#404](https://github.com/MetaMask/providers/pull/404)) | ||
- **BREAKING**: A `networkVersion` value of `loading` received by the `chainChanged` event handler is now interpreted to be null. In this case, the `networkChanged` event emits a null value as well. ([#404](https://github.com/MetaMask/providers/pull/404)) | ||
- **BREAKING**: The disconnect event is now tied to the new `isConnected` property instead of the `networkVersion` property. ([#404](https://github.com/MetaMask/providers/pull/404)) | ||
- A change in the `isUnlocked` boolean property of the `metamask_getProviderState` and `metamask_accountsChanged` events (from what is in state) no longer causes the `accountsChanged` event to be emitted ([#405](https://github.com/MetaMask/providers/pull/405)) | ||
- `MetaMaskInpageProvider.isUnlocked()` will always return true until the inpage to contentscript stream ends and the provider enters a permanently disconnected state ([#405](https://github.com/MetaMask/providers/pull/405)) | ||
## [19.0.0] | ||
@@ -543,3 +553,4 @@ | ||
[Unreleased]: https://github.com/MetaMask/providers/compare/v19.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/providers/compare/v20.0.0...HEAD | ||
[20.0.0]: https://github.com/MetaMask/providers/compare/v19.0.0...v20.0.0 | ||
[19.0.0]: https://github.com/MetaMask/providers/compare/v18.3.1...v19.0.0 | ||
@@ -546,0 +557,0 @@ [18.3.1]: https://github.com/MetaMask/providers/compare/v18.3.0...v18.3.1 |
{ | ||
"name": "@metamask/providers", | ||
"version": "19.0.0", | ||
"version": "20.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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
498591
3163