@metamask/eth-json-rpc-provider
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23223
8
190