Skip to content

Commit

Permalink
deps: eth-json-rpc-filters@^6.0.1 -> @metamask/eth-json-rpc-filters@^…
Browse files Browse the repository at this point in the history
…8.0.0
  • Loading branch information
legobeat committed Oct 28, 2024
1 parent 0aae9b4 commit 5f8475a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
4 changes: 2 additions & 2 deletions app/core/BackgroundBridge/BackgroundBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import snapMethodMiddlewareBuilder from '../Snaps/SnapsMethodMiddleware';
import { SubjectType } from '@metamask/permission-controller';
///: END:ONLY_INCLUDE_IF

const createFilterMiddleware = require('eth-json-rpc-filters');
const createSubscriptionManager = require('eth-json-rpc-filters/subscriptionManager');
const createFilterMiddleware = require('@metamask/eth-json-rpc-filters');
const createSubscriptionManager = require('@metamask/eth-json-rpc-filters/subscriptionManager');
const { providerAsMiddleware } = require('eth-json-rpc-middleware');
const pump = require('pump');
// eslint-disable-next-line import/no-nodejs-modules
Expand Down
4 changes: 2 additions & 2 deletions app/core/Snaps/SnapBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import snapMethodMiddlewareBuilder from './SnapsMethodMiddleware';
import { SubjectType } from '@metamask/permission-controller';

const ObjectMultiplex = require('@metamask/object-multiplex');
const createFilterMiddleware = require('eth-json-rpc-filters');
const createSubscriptionManager = require('eth-json-rpc-filters/subscriptionManager');
const createFilterMiddleware = require('@metamask/eth-json-rpc-filters');
const createSubscriptionManager = require('@metamask/eth-json-rpc-filters/subscriptionManager');
const { providerAsMiddleware } = require('eth-json-rpc-middleware');
const pump = require('pump');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"@metamask/contract-metadata": "^2.1.0",
"@metamask/controller-utils": "^11.3.0",
"@metamask/design-tokens": "^4.0.0",
"@metamask/eth-json-rpc-filters": "^8.0.0",
"@metamask/eth-ledger-bridge-keyring": "^4.1.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/eth-sig-util": "^7.0.2",
Expand Down Expand Up @@ -239,7 +240,6 @@
"eciesjs": "^0.3.15",
"eth-block-tracker": "^7.0.1",
"eth-ens-namehash": "2.0.8",
"eth-json-rpc-filters": "^6.0.1",
"eth-json-rpc-middleware": "9.0.1",
"eth-url-parser": "1.0.4",
"ethereumjs-abi": "0.6.6",
Expand Down
30 changes: 11 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4529,6 +4529,17 @@
"@metamask/utils" "^9.2.1"
ethereum-cryptography "^2.1.2"

"@metamask/eth-json-rpc-filters@^8.0.0":
version "8.0.0"
resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-filters/-/eth-json-rpc-filters-8.0.0.tgz#fd0ca224dc198e270e142c1f2007e05cacb5f16a"
integrity sha512-kDwSoas8gYWtN79AO4vvyKvaL8bIMstpuwZdsWTSc1goBFTOJEscCD6zUX+MOQFnQohFoC512mNeA5tPLRV46A==
dependencies:
"@metamask/eth-query" "^4.0.0"
"@metamask/json-rpc-engine" "^9.0.0"
"@metamask/safe-event-emitter" "^3.0.0"
async-mutex "^0.5.0"
pify "^5.0.0"

"@metamask/eth-json-rpc-infura@^9.0.0", "@metamask/eth-json-rpc-infura@^9.1.0":
version "9.1.0"
resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-infura/-/eth-json-rpc-infura-9.1.0.tgz#8e09588ed58f49058615cab7040dcbce4682a292"
Expand Down Expand Up @@ -16998,17 +17009,6 @@ eth-ens-namehash@^1.0.2:
idna-uts46 "^1.0.1"
js-sha3 "^0.5.7"

eth-json-rpc-filters@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/eth-json-rpc-filters/-/eth-json-rpc-filters-6.0.1.tgz#0b3e370f017f5c6f58d3e7bd0756d8099ed85c56"
integrity sha512-ITJTvqoCw6OVMLs7pI8f4gG92n/St6x80ACtHodeS+IXmO0w+t1T5OOzfSt7KLSMLRkVUoexV7tztLgDxg+iig==
dependencies:
"@metamask/safe-event-emitter" "^3.0.0"
async-mutex "^0.2.6"
eth-query "^2.1.2"
json-rpc-engine "^6.1.0"
pify "^5.0.0"

eth-json-rpc-middleware@9.0.1:
version "9.0.1"
resolved "https://registry.yarnpkg.com/eth-json-rpc-middleware/-/eth-json-rpc-middleware-9.0.1.tgz#193cb05174739fb736737bbbf992e13010c4b44e"
Expand Down Expand Up @@ -17041,14 +17041,6 @@ eth-phishing-detect@^1.2.0:
dependencies:
fast-levenshtein "^2.0.6"

eth-query@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/eth-query/-/eth-query-2.1.2.tgz#d6741d9000106b51510c72db92d6365456a6da5e"
integrity sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=
dependencies:
json-rpc-random-id "^1.0.0"
xtend "^4.0.1"

eth-rpc-errors@^4.0.2, eth-rpc-errors@^4.0.3:
version "4.0.3"
resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz#6ddb6190a4bf360afda82790bb7d9d5e724f423a"
Expand Down

0 comments on commit 5f8475a

Please sign in to comment.