{"_id":"@balvinder294/blurtjs","_rev":"3-d7a9e3fd020b4135d1f3062027b302b0","name":"@balvinder294/blurtjs","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.3":{"name":"@balvinder294/blurtjs","version":"0.1.3","description":"Blurt.js the JavaScript API for Blurt blockchain","main":"lib/index.js","scripts":{"test":"eslint --quiet src test; mocha -t 40000 --require babel-polyfill --require babel-register","test-auth":"npm test -- --grep 'steem.auth'","build":"npm run build-browser && npm run build-node","build-browser":"rm -rf dist && NODE_ENV=production node ./node_modules/webpack/bin/webpack.js && gzip -k -f ./dist/*.js && du -h ./dist/*","build-node":"mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib","prepublish":"npm run build"},"browser":{"ws":false,"crypto":false},"repository":{"type":"git","url":"git+https://gitlab.com/blurt/blurt.git"},"keywords":["blurt","blockchain","blurtjs"],"author":{"name":"Loki","url":"https://github.com/stalker-loki"},"license":"MIT","bugs":{"url":"https://gitlab.com/blurt/blurt/-/issues"},"homepage":"https://gitlab.com/blurt/blurt/-/tree/dev/client-libs/blurtjs","dependencies":{"@steemit/rpc-auth":"^1.1.1","bigi":"^1.4.2","bluebird":"^3.5.5","browserify-aes":"^1.0.6","bs58":"^4.0.0","buffer":"^5.0.6","bytebuffer":"^5.0.1","create-hash":"^1.1.2","create-hmac":"^1.1.4","cross-env":"^5.0.0","cross-fetch":"^1.1.1","debug":"^2.6.8","detect-node":"^2.0.3","ecurve":"^1.0.5","lodash":"^4.16.4","retry":"^0.12.0","secure-random":"^1.1.2","ws":"^3.3.2"},"devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.1.1","babel-loader":"^6.2.5","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.16.0","babel-preset-es2017":"^6.16.0","babel-register":"^6.14.0","eslint":"^3.5.0","eslint-plugin-import":"^1.15.0","eslint-plugin-jsx-a11y":"^2.2.2","eslint-plugin-react":"^6.2.1","json-loader":"^0.5.4","mocha":"^3.0.2","mocha-make-stub":"^2.3.2","should":"^11.1.0","webpack":"^1.13.2","webpack-cli":"^4.5.0","webpack-visualizer-plugin":"^0.1.5"},"contributors":[{"name":"Fabien","url":"https://github.com/bonustrack"},{"name":"James Calfee","url":"https://github.com/jcalfee"},{"name":"Nilesh Suthar","url":"https://github.com/nil1511"},{"name":"Pedro Tacla Yamada","url":"https://github.com/yamadapc"},{"name":"MahdiYari","url":"https://github.com/mahdiyari"},{"name":"Loki","url":"https://github.com/stalker-loki"}],"directories":{"doc":"doc","example":"examples","lib":"lib","test":"test"},"gitHead":"5be58a7d7563c75a5df792f4f9c5f1940bbae5db","_id":"@balvinder294/blurtjs@0.1.3","_nodeVersion":"16.5.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-J05syxziC/7OLDwP2nUaWdTXFsYxi/sXaDkbm+RZhxisqby9SYZhd+brv+8Rc8anR14AR5wyCkiRiBU7egVnlg==","shasum":"fd170462e75d923d1f961490a2bc47bfdfdd595d","tarball":"https://registry.npmjs.org/@balvinder294/blurtjs/-/blurtjs-0.1.3.tgz","fileCount":25,"unpackedSize":58249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0BW23P7eJoVhsVgp6Qsr1vXdbPbRtAT3aOLdolcb83gIgfCNzrBFMl1LKnrIfhpp/OUnZHVdbnNiMNVr0Se7Mq+E="}]},"_npmUser":{"name":"balvinder294","email":"balvinder294@gmail.com"},"maintainers":[{"name":"balvinder294","email":"balvinder294@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blurtjs_0.1.3_1633847427183_0.4770982324366617"},"_hasShrinkwrap":false},"0.1.4":{"name":"@balvinder294/blurtjs","version":"0.1.4","description":"Blurt.js the JavaScript API for Blurt blockchain","main":"lib/index.js","scripts":{"test":"eslint --quiet src test; mocha -t 40000 --require babel-polyfill --require babel-register","test-auth":"npm test -- --grep 'steem.auth'","build":"npm run build-browser && npm run build-node","build-browser":"rm -rf dist && NODE_ENV=production node ./node_modules/webpack/bin/webpack.js && gzip -k -f ./dist/*.js && du -h ./dist/*","build-node":"mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib","prepublish":"npm run build"},"browser":{"ws":false,"crypto":false},"repository":{"type":"git","url":"git+https://gitlab.com/blurt/blurt.git"},"keywords":["blurt","blockchain","blurtjs"],"author":{"name":"Loki","url":"https://github.com/stalker-loki"},"license":"MIT","bugs":{"url":"https://gitlab.com/blurt/blurt/-/issues"},"homepage":"https://gitlab.com/blurt/blurt/-/tree/dev/client-libs/blurtjs","dependencies":{"@steemit/rpc-auth":"^1.1.1","bigi":"^1.4.2","bluebird":"^3.5.5","browserify-aes":"^1.0.6","bs58":"^4.0.0","buffer":"^5.0.6","bytebuffer":"^5.0.1","create-hash":"^1.1.2","create-hmac":"^1.1.4","cross-env":"^5.0.0","cross-fetch":"^1.1.1","debug":"^2.6.8","detect-node":"^2.0.3","ecurve":"^1.0.5","lodash":"^4.16.4","retry":"^0.12.0","secure-random":"^1.1.2","ws":"^3.3.2"},"devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.1.1","babel-loader":"^6.2.5","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.16.0","babel-preset-es2017":"^6.16.0","babel-register":"^6.14.0","eslint":"^3.5.0","eslint-plugin-import":"^1.15.0","eslint-plugin-jsx-a11y":"^2.2.2","eslint-plugin-react":"^6.2.1","json-loader":"^0.5.4","mocha":"^3.0.2","mocha-make-stub":"^2.3.2","should":"^11.1.0","webpack":"^1.13.2","webpack-cli":"^4.5.0","webpack-visualizer-plugin":"^0.1.5"},"contributors":[{"name":"Fabien","url":"https://github.com/bonustrack"},{"name":"James Calfee","url":"https://github.com/jcalfee"},{"name":"Nilesh Suthar","url":"https://github.com/nil1511"},{"name":"Pedro Tacla Yamada","url":"https://github.com/yamadapc"},{"name":"MahdiYari","url":"https://github.com/mahdiyari"},{"name":"Loki","url":"https://github.com/stalker-loki"}],"directories":{"doc":"doc","example":"examples","lib":"lib","test":"test"},"gitHead":"5be58a7d7563c75a5df792f4f9c5f1940bbae5db","_id":"@balvinder294/blurtjs@0.1.4","_nodeVersion":"16.5.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-TzazdDWdne3U7NABuoYegyzc23bwpb+F81lezHjky2ip4YZvTrvWe71YX4S7n1NmKOMng4v5xBDd1r28Q4UBCw==","shasum":"679921762c0302411433fc0f59dd329370f74666","tarball":"https://registry.npmjs.org/@balvinder294/blurtjs/-/blurtjs-0.1.4.tgz","fileCount":77,"unpackedSize":18839756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh12RZCRA9TVsSAnZWagAAcGMP/jdubM6AF1UvYn2wth+u\n4nkSlnpsXunttAszmG3RusFzJeacpTqJUYwSSqqWtjM7pQ3Pl+mp9h4ErCm+\nsLLgT5KAh3jtB4MSHMEMtPWRGw+aHnlEZW5KWkujoc3KUYMjq05f3M+LTLbj\ny6eaFQJCpqUOf1cafXXPIUmG7Ytw70Xx359qvNXYl+lU2LlD5Tt+cSYRbfCl\n4OeirZ5ErWnffpiPm90mPkgid9d8X+P/2rQdbqv/ei5LNAmYVAlHcpDQOjyj\nWaM5CPU1x7gnRgScT5M6f46xE7k4Pe5HSF1IyvM6NdLp9KNTbxa/vlauPgJM\ngaYzc4lzRAmbrUknzIiXfQbCDWwLVaaTfftduaGRPrUEuaOGTl7NyyuS0kx0\nIceub8nguTPbszyNVzRv9o0qLeEiR9TOgxgBCMk+JVqD48+zCZtYFx7UMeyS\nTP9qcq0JAOYuZ5PvbKi62ATQZFIQASlKRtRbe+D4AZaXB0mi6/2ZGWv/Th1O\n4IbnOEh9/5GBbBN+awDhP0P8hUimbud4UO2mh7jwFYCnTRuKu3t6YBW4+kZO\ngjILndFN38D9bo0l3AW55o6qefI7ZpQynKGwyV5q/RBXUIUhQETFBZsjM/iD\nn+0MgT2H82er32ezvV/qNpe50nAlltATHvNOeqxJ98j6IXehMjX1B/qbw0Bv\nhpWu\r\n=i8+R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF8X8/jl2EIQIbzun2MH8gkqzdndQew+mL6ezuA2pZ9gIgWU3DPbJIUJ/lNKurq0gFy9/vWymkdh8ZXo7/7y2+6AQ="}]},"_npmUser":{"name":"balvinder294","email":"balvinder294@gmail.com"},"maintainers":[{"name":"balvinder294","email":"balvinder294@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blurtjs_0.1.4_1633854540134_0.5242077599513435"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-10T06:30:27.123Z","0.1.3":"2021-10-10T06:30:27.349Z","modified":"2022-04-04T17:39:32.905Z","0.1.4":"2021-10-10T08:29:00.339Z"},"maintainers":[{"name":"balvinder294","email":"balvinder294@gmail.com"}],"description":"Blurt.js the JavaScript API for Blurt blockchain","homepage":"https://gitlab.com/blurt/blurt/-/tree/dev/client-libs/blurtjs","keywords":["blurt","blockchain","blurtjs"],"repository":{"type":"git","url":"git+https://gitlab.com/blurt/blurt.git"},"contributors":[{"name":"Fabien","url":"https://github.com/bonustrack"},{"name":"James Calfee","url":"https://github.com/jcalfee"},{"name":"Nilesh Suthar","url":"https://github.com/nil1511"},{"name":"Pedro Tacla Yamada","url":"https://github.com/yamadapc"},{"name":"MahdiYari","url":"https://github.com/mahdiyari"},{"name":"Loki","url":"https://github.com/stalker-loki"}],"author":{"name":"Loki","url":"https://github.com/stalker-loki"},"bugs":{"url":"https://gitlab.com/blurt/blurt/-/issues"},"license":"MIT","readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitlab.com/blurt/openblurt/blurtjs/-/blob/master/LICENSE)\n\n# Blurt.js\n\nBlurt.js the Official JavaScript API for Blurt blockchain\n\n# Documentation\n\n- [Install](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#install)\n- [Browser](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#browser)\n- [Config](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#config)\n- [Database API](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#api)\n  - [Subscriptions](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#subscriptions)\n  - [Tags](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#tags)\n  - [Blocks and transactions](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#blocks-and-transactions)\n  - [Globals](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#globals)\n  - [Keys](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#keys)\n  - [Accounts](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#accounts)\n  - [Authority / validation](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#authority--validation)\n  - [Votes](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#votes)\n  - [Content](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#content)\n  - [Witnesses](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#witnesses)\n- [Login API](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#login)\n- [Follow API](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#follow-api)\n- [Broadcast API](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#broadcast-api)\n- [Broadcast](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#broadcast)\n- [Auth](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc#auth)\n\nHere is full documentation:\nhttps://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/doc\n\n## Browser\n\n```html\n<script src=\"./blurt.min.js\"></script>\n<script>\n  blurt.api.getAccounts(\n    [\"baabeetaa\", \"jacobgadikian\"],\n    function (err, response) {\n      console.log(err, response);\n    }\n  );\n</script>\n```\n\n## CDN\n\nhttps://cdn.jsdelivr.net/npm/@blurtfoundation/blurtjs/dist/blurt.min.js<br/>\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@blurtfoundation/blurtjs/dist/blurt.min.js\"></script>\n```\n\n## Webpack\n\n[Please have a look at the webpack usage example.](https://gitlab.com/blurt/openblurt/blurtjs/-/tree/master/examples/webpack-example)\n\n## Server\n\n## Install\n\n```\n$ npm install @blurtfoundation/blurtjs --save\n```\n\n## RPC Servers\n\nhttps://rpc.blurt.world By Default<br/>\n<sub>[List of Hive nodes](https://hivekings.com/nodes)</sub><br/>\n\n## Examples\n\n### Broadcast Vote\n\n```js\nvar blurt = require(\"@blurtfoundation/blurt-js\");\n\nvar wif = blurt.auth.toWif(username, password, \"posting\");\nblurt.broadcast.vote(\n  wif,\n  voter,\n  author,\n  permlink,\n  weight,\n  function (err, result) {\n    console.log(err, result);\n  }\n);\n```\n\n### Get Accounts\n\n```js\nblurt.api.getAccounts([\"megadrive\", \"jacobgadikian\"], function (err, result) {\n  console.log(err, result);\n});\n```\n\n### Get State\n\n```js\nblurt.api.getState(\"/trends/funny\", function (err, result) {\n  console.log(err, result);\n});\n```\n\n### Reputation Formatter\n\n```js\nvar reputation = blurt.formatter.reputation(user.reputation);\nconsole.log(reputation);\n```\n\n## Contributions\n\nPatches are welcome! Contributors are listed in the package.json file. Please run the tests before opening a pull request and make sure that you are passing all of them.\n\n## Issues\n\nWhen you find issues, please report them!\n\n## License\n\nMIT\n","readmeFilename":"README.md"}