New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/providers

Package Overview
Dependencies
Maintainers
9
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/providers - npm Package Compare versions

Comparing version 19.0.0 to 20.0.0

13

CHANGELOG.md

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc