{"name":"eth-json-rpc-filters","version":"6.0.0","license":"ISC","_id":"eth-json-rpc-filters@6.0.0","maintainers":[{"name":"ritave","email":"olaf@tomalka.me"},{"name":"danfinlay","email":"dan@danfinlay.com"},{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"rekmarks","email":"rekmarks@protonmail.com"},{"name":"metamaskbot","email":"security@metamask.io"},{"name":"gudahtt","email":"markjstacey@gmail.com"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"sethkfman","email":"sethkfman@gmail.com"}],"homepage":"https://github.com/MetaMask/eth-json-rpc-filters#readme","bugs":{"url":"https://github.com/MetaMask/eth-json-rpc-filters/issues"},"dist":{"shasum":"ae318f117cb6e603501944ceca558c5b6520c92a","tarball":"http://registry-npm.ywwl.com/eth-json-rpc-filters/download/eth-json-rpc-filters-6.0.0.tgz","fileCount":13,"integrity":"sha512-7jm1Qm+uAdcYS2PDPuIMj6BM9kmLVCnRVRTvc5ZsUU+rMBRUg1vZ1qqtKa54AwMna7n7x3ZmUbFPGDUlqDN1AQ==","signatures":[{"sig":"MEQCIHyAZOtbGT0AZnEXlta2a9Lr7c9B4hBAaNVa0vsz4KDRAiB5G7VSOElbQfz+a7cSu7DBJdidSlNaDAQHNK20pA5+/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7nWfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokRw/+JXbIct7rydaM97LMyxJNNPEvUNounXBCzMWSR48h0emPYVTl\r\nTJtCV9hEXiWaxefTImE41FwGT9Mn8vu8JQjB8ezoIsVQYZUsTb/TT8vgtdZT\r\n6jkDLPbZnzyQoxQEEiGvB6YbhgTcUIncowL0YLNL1qfhqQ3tB6Fd1YaddEhW\r\nvbwR2ZRJh4B4ZpknaULlbJHGyYP275XnDvNzVEWCUkzt5AUOv9sZqedDS6R3\r\nrjY5vZUAB/01SSv/O/Ar3QqtkiYwVsgNrJSA4gEWmmHTNKbxSuNPDE8yWqFT\r\nFpvVF557cnsDRBKCC7FS8XHFWIlHm7Dr5tvtidHuaEm3y3JnkpTX9t2c1Hjq\r\nnO//TnI1zzmEyw42Ef7svQ9T/Y+d+iVnS+CRQO6+AfBa6/Qf4Hu3+nY1MTvy\r\nOCdoFI4n3JSbGrjuulDQmUrwMwP4Ca70i0F/OPOEqTfDLXPYuM2sEPx1urb3\r\nH+ey/KeuMrYn9BWhejiD+N2qVGdLw4KvTfjTyvfBAwNwTbxi35pfkVMQnklZ\r\npv/qD0PpAHjgCY9acGYtEiOhv463TpMHOkiThtLCqkKJadvYJR5rQbkDigl+\r\nAVsFS2Soqe+Js236UI3bCf8GB5a+H3IthHqkh/HxIuhtOvUIQkrZW89NsLKU\r\n814Ju3QRdyOacXfucg1jWs+2J0hIKatoXLo=\r\n=4P0c\r\n-----END PGP SIGNATURE-----\r\n","size":7846,"noattachment":false,"key":"/eth-json-rpc-filters/-/eth-json-rpc-filters-6.0.0.tgz"},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"be550c997a574da639bfdff30fe3cb0f7aad6fb3","scripts":{"lint":"printf '%s\\n' 'No lint command'","test":"node test","build":"echo 'this does nothing'","setup":"yarn install && yarn allow-scripts","build:clean":"rimraf dist && yarn build"},"_npmUser":{"name":"gudahtt","email":"markjstacey@gmail.com"},"lavamoat":{"allowScripts":{"ganache-core>web3":false,"ganache-core>keccak":false,"@lavamoat/preinstall-always-fail":false,"ethjs-query>babel-runtime>core-js":false,"ganache-core>websocket>bufferutil":false,"ganache-core>websocket>utf-8-validate":false,"ganache-core>ethereumjs-vm>core-js-pure":false,"ethereumjs-util>ethereum-cryptography>keccak":false,"ethereumjs-util>ethereum-cryptography>secp256k1":false}},"repository":{"url":"git+https://github.com/MetaMask/eth-json-rpc-filters.git","type":"git"},"_npmVersion":"6.14.17","description":"[json-rpc-engine](https://github.com/MetaMask/json-rpc-engine) middleware implementing ethereum filter methods. Backed by an [eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) and web3 provider interface (`web3.currentProvider`).","directories":{},"_nodeVersion":"14.19.3","dependencies":{"pify":"^5.0.0","eth-query":"^2.1.2","async-mutex":"^0.2.6","json-rpc-engine":"^6.1.0","@metamask/safe-event-emitter":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.9.1","sinon":"^13.0.2","ethjs-query":"^0.3.8","ganache-core":"^2.13.2","ethereumjs-util":"^6.1.0","eth-block-tracker":"^4.4.1","@lavamoat/allow-scripts":"^2.0.3","eth-json-rpc-middleware":"^9.0.0","@metamask/auto-changelog":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/eth-json-rpc-filters_6.0.0_1676572063550_0.307452452101848","host":"s3://npm-registry-packages"},"readme":"# eth-json-rpc-filters\n\n[json-rpc-engine](https://github.com/kumavis/json-rpc-engine) middleware implementing ethereum filter methods.\nBacked by an [eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) and web3 provider interface (`web3.currentProvider`).\n\n### supported rpc methods\n- `eth_newFilter`\n- `eth_newBlockFilter`\n- `eth_newPendingTransactionFilter`\n- `eth_uninstallFilter`\n- `eth_getFilterChanges`\n- `eth_getFilterLogs`\n\n### usage\n\nbasic usage:\n```js\nconst filterMiddleware = createFilterMiddleware({ blockTracker, provider })\nengine.push(filterMiddleware)\n```\n\ncleanup:\n```js\n// remove blockTracker handler to free middleware for garbage collection\nfilterMiddleware.destroy()\n```\n\n## Running Tests\n\n```bash\nyarn test\n```\n\n### Changelog\n\n##### 2.0\n\n- expect EthBlockTracker@4\n","publish_time":1676572063689,"_cnpm_publish_time":1676572063689,"dist-tags":{"latest":"6.0.1"}}