{"_id":"@didux-io/web3-providers-http","_rev":"1-078125740e080188ee5b868d52860f93","name":"@didux-io/web3-providers-http","dist-tags":{"latest":"1.0.0-beta.53"},"versions":{"1.0.0-beta.53":{"name":"@didux-io/web3-providers-http","namespace":"ethereum","version":"1.0.0-beta.53","description":"Module to handle web3 RPC connections over HTTP.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3-providers-http"},"license":"LGPL-3.0","main":"src/index.js","dependencies":{"@didux-io/web3-core-helpers":"1.0.0-beta.53","xhr2-cookies":"1.1.0"},"_id":"@didux-io/web3-providers-http@1.0.0-beta.53","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"danielsmilo","email":"daniel@smilo.io"},"dist":{"integrity":"sha512-qxuhfhKwiszlTq6Im5xGQABSwK0soYGv3s5YOtakEOcwgxdurm0ooluIIkoITltZ0KC8pTC8Mop/ys7SF23xig==","shasum":"15ef4b3afafcb1f8ec4654efddb279e766e8dce6","tarball":"https://registry.npmjs.org/@didux-io/web3-providers-http/-/web3-providers-http-1.0.0-beta.53.tgz","fileCount":3,"unpackedSize":4634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5mpRCRA9TVsSAnZWagAA058P/jyNd03s8qRrOIs0jMCN\nVLLzmu4dLDKjvm5Ms+OHqIaBJhkRANuqDnnA6QL2hWqm62Nk6sohHMej3sxs\nSAQP1KbAY8rHxS/XW40ykfCtoBpwqlNBao0yQZFwcdSiqeYMQeXnACEbMjhs\nbNx9CUF0JodGfpQINRO88TMgdGxG1YuMZaToDjh2aAx9KvOtVwYHd71SpnUP\npFzWHbS8pt4zYzhGrz50Wz6A38GM0e8FUzpfOlUdOIpiR7iB23ZqxBxJ0HIq\nBR5sfwvqLUFNnsuprl9zoQXMU/CbWawZrfnPhKYSZ5o/93tXDgw5Rpi3MU9F\nLJYJCcAw8WDpkmqG1Op4t25sAO3ry/etjl6+FWw3OCGYBzrRN/aM13/GTmql\ngbxHIcbysAxn6TMFQNezYfG8KrFU8+LIlXYrSpI7hmH5VcKGv5rNtiaYC3tp\ncqVr0cnAHAjxi1kfiYm9ABIMvB4KL2xfwJzCjsdxcDcyZyyiSb1ZUyEnDVWb\noEkYKnpYjv/FQbwtaWTmtyTCIdoff3tNPeq6+PuFxccwuzDoHLYmnrafiY5C\nwk30ED6SxEbUgdqfoTCotvM6dta1v6mZfle7Uxcn7uX0/eHGjyMPbzwGGRao\n6ogBFq0IAjMlAVmI9xGGCPmBM+259yjFWJOZbJJF5nhvVyLyiSfGR6DJgKol\ngohD\r\n=pEDr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1heyC4g6HYGaFfhxIB7XV+QboGCTok8FkYy/R41y6MQIgE5ERTpEcpcz16yE7XDfJNq0uNEGd658AFY1L0lih2Po="}]},"maintainers":[{"name":"elkan","email":"info@smilo.io"},{"name":"danielsmilo","email":"daniel@smilo.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-providers-http_1.0.0-beta.53_1575381585432_0.743690207402449"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-03T13:59:45.211Z","1.0.0-beta.53":"2019-12-03T13:59:45.567Z","modified":"2022-04-05T04:23:53.667Z"},"maintainers":[{"name":"elkan","email":"info@smilo.io"},{"name":"danielsmilo","email":"daniel@smilo.io"}],"description":"Module to handle web3 RPC connections over HTTP.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3-providers-http"},"license":"LGPL-3.0","readme":"# web3-providers-http\n\n*This is a sub package of [web3.js][repo]*\n\nThis is a HTTP provider for [web3.js][repo].   \nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-providers-http\n```\n\n### In the Browser\n\nBuild running the following in the [web3.js][repo] repository:\n\n```bash\nnpm run-script build-all\n```\n\nThen include `dist/web3-providers-http.js` in your html file.\nThis will expose the `Web3HttpProvider` object on the window object.\n\n\n## Usage\n\n```js\n// in node.js\nvar Web3HttpProvider = require('@didux-io/web3-providers-http');\n\nvar options = {\n    timeout: 20000, // milliseconds,\n    headers: [{name: 'Access-Control-Allow-Origin', value: '*'},{...}]\n};\nvar http = new Web3HttpProvider('http://localhost:8545', options);\n```\n\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n\n\n","readmeFilename":"README.md"}