{"name":"eth-json-rpc-filters","version":"5.0.0","license":"ISC","_id":"eth-json-rpc-filters@5.0.0","maintainers":[{"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":"4de032f5d8ec9fd8d2dc63b6bf38ed7095b5163f","tarball":"http://registry-npm.ywwl.com/eth-json-rpc-filters/download/eth-json-rpc-filters-5.0.0.tgz","fileCount":13,"integrity":"sha512-oU05/bxJBUjEGO0ujSNALvgMwQ50uHuex0zkhsOCWnl3ISdWm0Ni4J0ZIjW44ZQrgXy8Nd1vkywGW2RFvcmE1w==","signatures":[{"sig":"MEYCIQCDpsgOWzq6JDn8zxtr5sN4hsdQE2Z2xrWZeOh/JZ3yfQIhAPeufUnYA0lckOvibfRjbeMX21N62vO5IgRhpenSWvJ+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJierUCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmruqw/+PotcC6faDAjhkoj5YJMMMAMq3BCSNYg/zv5Jh11KEIGHxIxU\r\nD3/ANSIciYEWCrLI0w4NfKfby7T36HLblzu2sP1xvlo7sJLG0gXor55EnbR6\r\n2/EL2Ewenve5nPMrbABBSLOnNcpPGB8R1qKhWKPEMzJXNEl6sEBHmf/VyrWN\r\nfLsKAQOf+S4+euFFTxnHunw9rsIO81PRn7xkUn5kfWkx+RN5np8ZXEHRxtZx\r\n9SAcZIsMXgjva7eoZvbKeDtX8ahrgMLPUJjqWt3K0RSgVi1p7mSJyF65LI+v\r\nlkpOeUffqXF6NgkSR76dv50/XZZf7iYt6Cisg4w2eVoOySkQ1FsYL7bwWuX4\r\n6MmeMqpjq+xhCxG0FLgX2rVjCZPYarCrOA8EMa8O2U+kO3mEx3uFmnwAvycz\r\nmDzXAytZOgo4D3TZMCKbphh/q63QTW10MI9flIA4dxM7djCta2LpWlGvW2wa\r\nB4PJNwAZkR34F+/nbNm5nAtqiouZr1vRRLIv5m3zj29O0WQ0V/ezGI998tg6\r\nLPSQ78ylp9jYR40M7V3MZentGvQsq/zYRFhdydwe9Q8Jac+e7R4mlDwdWxU/\r\nv/usGG5Fwe9f8VfT90uqBKANtTfObfwRc3/QzI47UiNe/u+PD01PCO2t/SKq\r\nyAQSol1FNqI9R5ZWP+9uMP+Ksxj9IzIgiEc=\r\n=ctt6\r\n-----END PGP SIGNATURE-----\r\n","size":7654,"noattachment":false,"key":"/eth-json-rpc-filters/-/eth-json-rpc-filters-5.0.0.tgz"},"main":"index.js","engines":{"node":">=12.0.0"},"gitHead":"0449732ab842d589c2f8558e36f931ba182d0d5a","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.13","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":"12.22.3","dependencies":{"pify":"^5.0.0","eth-query":"^2.1.2","async-mutex":"^0.2.6","json-rpc-engine":"^6.1.0","eth-json-rpc-middleware":"^6.0.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","@metamask/auto-changelog":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/eth-json-rpc-filters_5.0.0_1652208898552_0.1410471396058277","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":1652208898705,"_cnpm_publish_time":1652208898705,"dist-tags":{"latest":"6.0.1"}}