{"_id":"@dexon-foundation/eth-json-rpc-infura","_rev":"2-908cf3afa78f90b89484a5eda04b8fa7","name":"@dexon-foundation/eth-json-rpc-infura","dist-tags":{"latest":"3.1.2"},"versions":{"3.1.2":{"name":"@dexon-foundation/eth-json-rpc-infura","version":"3.1.2","main":"src/index.js","directories":{"test":"test"},"dependencies":{"@dexon-foundation/eth-json-rpc-middleware":"^3.1.8","cross-fetch":"^2.1.1","json-rpc-engine":"^3.4.0","json-rpc-error":"^2.0.0","tape":"^4.8.0"},"devDependencies":{},"scripts":{"test":"node test/index.js"},"author":"","license":"ISC","repository":{"type":"git","url":"git+https://github.com/kumavis/eth-json-rpc-infura.git"},"bugs":{"url":"https://github.com/kumavis/eth-json-rpc-infura/issues"},"homepage":"https://github.com/kumavis/eth-json-rpc-infura#readme","description":"`json-rpc-engine` middleware for infura's REST endpoints.","gitHead":"3e98699dc7fd76b087e698e2ebb1aaa9f320d2cc","_id":"@dexon-foundation/eth-json-rpc-infura@3.1.2","_npmVersion":"6.4.0","_nodeVersion":"8.11.3","_npmUser":{"name":"boczeratul","email":"boczeratul@gmail.com"},"dist":{"integrity":"sha512-SO4Zdlv9CR63qGDXQXF39YlxiyCLjofGor0e6zYl9k5P/bvB14raRUl6luf62bhdcHvschpCDs/yc8YxoZXhKw==","shasum":"ee1a6247870f940b14821fdacffb3d63cafc8e65","tarball":"https://registry.npmjs.org/@dexon-foundation/eth-json-rpc-infura/-/eth-json-rpc-infura-3.1.2.tgz","fileCount":6,"unpackedSize":96725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEK/CCRA9TVsSAnZWagAAgEwQAJpWLdYiiNqA0f1665js\n/CZHzj/W/hRvKCVvfKT0K0SkwPsq8IfINdNQ1CHyJLDwhZOnqKfbjJG2D5SJ\nrIn8h7gxkvSCu0okmhW9BIpb8o7OntGEiwb57tMMBRcgvWZ0Up2Ux00oMfR6\n9CHtgggit9M6XkJSCuXmM+1h96MPUQUDm4C05Tt77Ih6ypLXuMuitEtzlJ5b\nz3hDvEOoK4XUdSAD5LdS5YZJDRu7zgqA58AZIr6/HWxpP6FTe5JRew2fgd80\nwH33926CYepQr5BNJBDn3DQ3cOldbqqeT6P09gLBLkr/FCh5Kt3jQYPEzm+X\nfJ3BamV3Lmwh4HxUKfYDfciyjz/PXTNM0F96zM1dbB4HvTfoJ3FNMnylNGZY\nPtLIz1Kn6pKxwHXILGxUjwjLIxjLErAWssKZJza+DQemvXAj7Jv1ZaXcM9Ik\naJ7XmQdo1J1PV1USkIJJ1dsswLAzdfB/nE5DVIhM+BuZcKLkUvrCZoemI4ph\nsyWWy2P/Krz7GlrKkcmsLiEKrL0kVDXXiHBWLqw8wBpkq6hBzjtOenKTVFoG\nl7gtb7cUo6i04l9BaKlvGqHSIzhaz/mCp9BKeOfHw0LyF1llpVxxZ2ZX/ASZ\n4Bi5KMQx/64MjNB0PIz09WfgoHGFqNr909/gIk9nMyAAPDBLGJoJN0TzboeF\n+xVh\r\n=vi3I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg6b7uetxQ92PaVgALhmhejlET6VQKdClau3FarliYagIhAPtYlToPtqWy6duw3ND4o/XDazugkJLG4aewjq6XqyFb"}]},"maintainers":[{"name":"cobinhood-dev","email":"dev@cobinhood.com"},{"name":"boczeratul","email":"boczeratul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-json-rpc-infura_3.1.2_1544597442377_0.2514521512680543"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-12T06:50:42.152Z","3.1.2":"2018-12-12T06:50:42.500Z","modified":"2022-04-05T04:12:32.273Z"},"maintainers":[{"email":"chaoweichiu@gmail.com","name":"chaoweichiu"},{"email":"dev@cobinhood.com","name":"cobinhood-dev"},{"email":"boczeratul@gmail.com","name":"boczeratul"}],"description":"`json-rpc-engine` middleware for infura's REST endpoints.","homepage":"https://github.com/kumavis/eth-json-rpc-infura#readme","repository":{"type":"git","url":"git+https://github.com/kumavis/eth-json-rpc-infura.git"},"bugs":{"url":"https://github.com/kumavis/eth-json-rpc-infura/issues"},"license":"ISC","readme":"# eth-json-rpc-infura\n\n`json-rpc-engine` middleware for infura's REST endpoints.\n\n### usage as provider\n\n```js\nconst createInfuraProvider = require('eth-json-rpc-infura/src/createProvider')\nconst Ethjs = require('ethjs')\n\nconst provider = createInfuraProvider({ network: 'mainnet' })\nconst eth = new Ethjs(provider)\n```\n\n### usage as middleware\n\n```js\nconst createInfuraMiddleware = require('eth-json-rpc-infura')\nconst RpcEngine = require('json-rpc-engine')\n\nconst engine = new RpcEngine()\nengine.push(createInfuraMiddleware({ network: 'ropsten' }))\n```\n","readmeFilename":"README.md"}