Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/eth-json-rpc-provider

Package Overview
Dependencies
Maintainers
12
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/eth-json-rpc-provider - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

7

CHANGELOG.md

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

## [2.3.1]
### Changed
- Bump `@metamask/json-rpc-engine` to `^7.3.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
## [2.3.0]

@@ -53,3 +57,4 @@ ### Added

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@2.3.0...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@2.3.1...HEAD
[2.3.1]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@2.3.0...@metamask/eth-json-rpc-provider@2.3.1
[2.3.0]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@2.2.0...@metamask/eth-json-rpc-provider@2.3.0

@@ -56,0 +61,0 @@ [2.2.0]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@2.1.0...@metamask/eth-json-rpc-provider@2.2.0

10

dist/safe-event-emitter-provider.js

@@ -42,3 +42,6 @@ "use strict";

*/
this.sendAsync = (req, callback) => {
this.sendAsync = (req,
// TODO: Replace `any` with type
// eslint-disable-next-line @typescript-eslint/no-explicit-any
callback) => {
__classPrivateFieldGet(this, _SafeEventEmitterProvider_engine, "f").handle(req, callback);

@@ -56,3 +59,6 @@ };

*/
this.send = (req, callback) => {
this.send = (req,
// TODO: Replace `any` with type
// eslint-disable-next-line @typescript-eslint/no-explicit-any
callback) => {
if (typeof callback !== 'function') {

@@ -59,0 +65,0 @@ throw new Error('Must provide callback to "send" method.');

{
"name": "@metamask/eth-json-rpc-provider",
"version": "2.3.0",
"version": "2.3.1",
"description": "Create an Ethereum provider using a JSON-RPC engine or middleware",

@@ -27,2 +27,3 @@ "keywords": [

"build:docs": "typedoc",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-json-rpc-provider",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-json-rpc-provider",

@@ -41,3 +42,3 @@ "lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:dependencies",

"dependencies": {
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/json-rpc-engine": "^7.3.1",
"@metamask/safe-event-emitter": "^3.0.0",

@@ -47,6 +48,5 @@ "@metamask/utils": "^8.2.0"

"devDependencies": {
"@metamask/auto-changelog": "^3.4.3",
"@metamask/auto-changelog": "^3.4.4",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.3",
"jest": "^27.5.1",

@@ -53,0 +53,0 @@ "jest-it-up": "^2.0.2",

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