Skip to content
14 changes: 5 additions & 9 deletions eslint-warning-thresholds.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@
"@typescript-eslint/no-explicit-any": 1
},
"packages/eth-json-rpc-middleware/src/block-cache.ts": {
"@typescript-eslint/no-explicit-any": 1,
"jsdoc/require-jsdoc": 1,
"no-restricted-syntax": 1
},
Expand All @@ -165,11 +164,10 @@
"jest/expect-expect": 2
},
"packages/eth-json-rpc-middleware/src/block-ref.ts": {
"jsdoc/require-jsdoc": 1
"jsdoc/match-description": 1
},
"packages/eth-json-rpc-middleware/src/block-tracker-inspector.ts": {
"jsdoc/match-description": 1,
"jsdoc/require-jsdoc": 1
"jsdoc/match-description": 2
},
"packages/eth-json-rpc-middleware/src/fetch.test.ts": {
"jsdoc/match-description": 1
Expand All @@ -178,8 +176,7 @@
"jsdoc/match-description": 1
},
"packages/eth-json-rpc-middleware/src/inflight-cache.ts": {
"@typescript-eslint/no-explicit-any": 1,
"jsdoc/require-jsdoc": 4
"jsdoc/match-description": 4
},
"packages/eth-json-rpc-middleware/src/methods/wallet-request-execution-permissions.ts": {
"jsdoc/require-jsdoc": 1
Expand All @@ -188,7 +185,7 @@
"jsdoc/require-jsdoc": 1
},
"packages/eth-json-rpc-middleware/src/providerAsMiddleware.ts": {
"jsdoc/require-jsdoc": 1
"jsdoc/require-jsdoc": 2
},
"packages/eth-json-rpc-middleware/src/retryOnEmpty.test.ts": {
"jsdoc/match-description": 3
Expand All @@ -215,7 +212,6 @@
"jsdoc/require-jsdoc": 4
},
"packages/eth-json-rpc-middleware/src/wallet.ts": {
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/prefer-nullish-coalescing": 5,
"jsdoc/match-description": 3,
"jsdoc/require-jsdoc": 12
Expand All @@ -226,7 +222,7 @@
},
"packages/eth-json-rpc-middleware/test/util/helpers.ts": {
"@typescript-eslint/no-explicit-any": 5,
"jsdoc/match-description": 11
"jsdoc/match-description": 10
},
"packages/eth-json-rpc-provider/src/safe-event-emitter-provider.test.ts": {
"import-x/namespace": 1
Expand Down
3 changes: 3 additions & 0 deletions packages/eth-json-rpc-middleware/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- **BREAKING:** Migrate to `JsonRpcEngineV2` ([#6976](https://github.com/MetaMask/core/pull/6976))
- Migrates all middleware from `JsonRpcEngine` to `JsonRpcEngineV2`.
- To continue using this package with the legacy `JsonRpcEngine`, use the `asLegacyMiddleware` backwards compatibility function.
- Migrate all uses of `interface` to `type` ([#6885](https://github.com/MetaMask/core/pull/6885))

## [21.0.0]
Expand Down
Loading
Loading