Socket
Socket
Sign inDemoInstall

@metamask/providers

Package Overview
Dependencies
Maintainers
12
Versions
25
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 14.0.0 to 14.0.1

7

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [14.0.1]
### Fixed
- Don't send `undefined` params to underlying provider ([#290](https://github.com/MetaMask/providers/pull/290))
## [14.0.0]

@@ -269,3 +273,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/providers/compare/v14.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/providers/compare/v14.0.1...HEAD
[14.0.1]: https://github.com/MetaMask/providers/compare/v14.0.0...v14.0.1
[14.0.0]: https://github.com/MetaMask/providers/compare/v13.1.0...v14.0.0

@@ -272,0 +277,0 @@ [13.1.0]: https://github.com/MetaMask/providers/compare/v13.0.0...v13.1.0

@@ -135,4 +135,12 @@ "use strict";

}
const payload = params === undefined
? {
method,
}
: {
method,
params,
};
return new Promise((resolve, reject) => {
this._rpcRequest({ method, params }, (0, utils_1.getRpcPromiseCallback)(resolve, reject));
this._rpcRequest(payload, (0, utils_1.getRpcPromiseCallback)(resolve, reject));
});

@@ -139,0 +147,0 @@ }

2

package.json
{
"name": "@metamask/providers",
"version": "14.0.0",
"version": "14.0.1",
"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

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