{"_id":"loom-js","_rev":"146-0fbc01f15cc1f89b86cdd1ddfdf2ba21","name":"loom-js","dist-tags":{"latest":"1.90.0","beta":"1.60.4","dev":"1.91.0"},"versions":{"1.0.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.0.0","license":"SEE LICENSE IN License.md","main":"dist/index.js","browser":"dist/loom.umd.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/*.js","test:node:win":"yarn proto:win && tsc && tape dist/tests/*.js","test:browser":"yarn proto && tsc && webpack --config webpack.test.config.js","test:browser:win":"yarn proto:win && tsc && webpack --config webpack.test.config.js","proto":"cd src && protoc --plugin=\"protoc-gen-ts=../node_modules/.bin/protoc-gen-ts\" --js_out=\"import_style=commonjs,binary:../dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","proto:win":"cd src && protoc --plugin=\"protoc-gen-ts=..\\node_modules\\.bin\\protoc-gen-ts.cmd\" --js_out=\"import_style=commonjs,binary:..\\dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","prepublish":"yarn proto:win && yarn build && webpack","prepublish:win":"yarn proto:win && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","tape":"^4.8.0","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c61b00ad92c300d06ada0a838b70008b9a4d49b2","_id":"loom-js@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-/9RwWGA4li3vsT4RorGq/5bWVlw0e8aWMOCUzUwYEMrVGbdeIo1rqFzgkE6KNDsi4UZ8Gl0n9SuUe86M7br8nw==","shasum":"3978acdcfc33c13c526c0cdd632218ee2f625010","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.0.0.tgz","fileCount":33,"unpackedSize":573163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/BfrCRA9TVsSAnZWagAAp0UP/i5ho74AMWZXcAzuljWt\ncDMwQTJlWBq30v6hAHHFMArGSckeLGoCVMvm6rFxeDe76VGWZfAwGgVAcPHR\nC8RCc9UmVSLxqCc81s8vbsseqNS7IUFj/iUxS/VuYpTPvMixQYjOzWXlvaUI\nEtQ4iUr/qgJ4vh+oXtZ/IpR4ecm38wxZ4hik9ber955Gl2+cVlsO3a6Axlxp\nFQP7udTIGb6rdDwarCkpV8X4BrSqbP3PGQIEi28+HJ9AuQPj0VKiXPyKBSX0\nfCOMfaJtfvsRs4ojDu7g3PM5bCxGUOj51X5FBwE+ZdREnO+mQ1hvZIjcw7R1\n+QIJ6Sa1rGQtRDzaS2TE60jVOz+NGiWur92aP6e/XeSA5Mw7IXRiV6FGzj1z\nyTSSv9GGwnpohfkvf0+E6sER5gIJinO5vmUpPoxvygfZgxZ4Z7cPcGB7pRQ9\nLX4z5CfReyVO/Av3/9ooXdGReDjbhEZbBKgQhuZbG85piwAYd+vhBMRvgdTY\nUBH1GoRxsJ+YpbO9H27ggq//rjtVxZw7JE4Vja+CT/Dw0GuRu85KdEKsC7Mo\nN4Dlc0WVarz3BfMnui7qVtYTsdQP60vPKpoctY+Sev+6dAsPbdEfrJgNa5ne\nL9zs/akmgU/n79/D1q55zyfOwWn+bS00qJlAzHA+yhXUMA0blDPu9/2+3WCj\ntpct\r\n=Apu6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFF2tgks2KN/JRt+vtPyrulBQdetFgUu6EcFFsVCydUAIhAI6oSI+Ue9RR+smDwNy0q3dpD5U13lCF52r1bNb1HoFI"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.0.0_1526470632449_0.6033291730157069"},"_hasShrinkwrap":false},"1.0.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.0.1","license":"SEE LICENSE IN License.md","main":"dist/index.js","browser":"dist/loom.umd.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/*.js","test:node:win":"yarn proto:win && tsc && tape dist/tests/*.js","test:browser":"yarn proto && tsc && webpack --config webpack.test.config.js","test:browser:win":"yarn proto:win && tsc && webpack --config webpack.test.config.js","proto":"cd src && protoc --plugin=\"protoc-gen-ts=../node_modules/.bin/protoc-gen-ts\" --js_out=\"import_style=commonjs,binary:../dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","proto:win":"cd src && protoc --plugin=\"protoc-gen-ts=..\\node_modules\\.bin\\protoc-gen-ts.cmd\" --js_out=\"import_style=commonjs,binary:..\\dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","prepublish":"yarn proto:win && yarn build && webpack","prepublish:win":"yarn proto:win && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","tape":"^4.8.0","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"eca00596e447a0df41e1443257ae63dbb56406ec","_id":"loom-js@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-+0J87jpgZuqCic8c1eD/yHJL3K3+eQccIDzTCP51ZBAK4hnZ8nKkhJKrUPL2ztl+9ztGJ8j0EBtA7uRPH3Rtmg==","shasum":"ffdc26ca97ead94e4cf2420d427a85da850ce1d8","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.0.1.tgz","fileCount":33,"unpackedSize":573325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/BqwCRA9TVsSAnZWagAAo7wP/ju9Reb4bm3VISGiSjWw\nweumK7I863l4B2u4FgK7jCnaAkWCqe/n8+blpx9JbtZV0qucwmDzXU6haAh2\n8I+N/5XtkJakj7xKHbtP/kvg+ROxxsF59E62ePHcMZkU5IT1szDeWdvG2mse\nTlpy8skxkRw/O9otWqxGxyZjQuVmx6Q0Hvprqm2lzexfFXdTrfql12YzPLjO\nLIELwin9Nrp1fWPA554f2UEcn1ElmxPpOjPqM1zPaWQBROyL3ScjPA0afSbo\nkPExs68i//HiGM2VW4TWBUXPI/hsHsnTfV5W2kgWlZzhPhWZc1Lg6TYc2rcd\n0lIY+mz/tdle+jvqgxExbmHKpTr6MxHncGJA7a2hOyjlXPcZnWw/YeKtf1fh\nSD6HqtgovACBkVyxNITJQK0GErgop6kfPejol2Wmnn6kxr5Lnphfc5N6/9gu\nVTuJlLvw0ksgpvhQ42S1Azfld75mNzR9W2K4Sl0pgUzx3mXvLbtWFf3iQRqR\nwfUPm95oSwsof75lCaLEOEs+1/D6spv4UA50a8hJE8F+kpe1kJUH3WL9X5wm\nqUwKbGEWJbKaLveFbpCRx1wJAVSfLPNMC0kYv2KvI+/loj4/Eg/cAHr74uW4\nl+hhst7q77EacuqhxXUUCA5ppCOZUFs3iEpAli9gEnDBHf+CbVMqnTLygiH5\nRo74\r\n=lFBn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9YDZ7eufN2e7IMv/LDjSX7F1K7fLy8PC84YMKUIESuAiAyAjaxhMdloPJ3eSaksSRy8aiZ+jjcE/8vWGNCystHrg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.0.1_1526471343388_0.6899684320001365"},"_hasShrinkwrap":false},"1.1.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.1.1","license":"BSD-3-Clause","main":"dist/index.js","browser":"dist/loom.umd.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/*.js","test:node:win":"yarn proto:win && tsc && tape dist/tests/*.js","test:browser":"yarn proto && tsc && webpack --config webpack.test.config.js","test:browser:win":"yarn proto:win && tsc && webpack --config webpack.test.config.js","proto":"cd src && protoc --plugin=\"protoc-gen-ts=../node_modules/.bin/protoc-gen-ts\" --js_out=\"import_style=commonjs,binary:../dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","proto:win":"cd src && protoc --plugin=\"protoc-gen-ts=..\\node_modules\\.bin\\protoc-gen-ts.cmd\" --js_out=\"import_style=commonjs,binary:..\\dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","prepublish":"yarn proto:win && yarn build && webpack","prepublish:win":"yarn proto:win && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","tape":"^4.8.0","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"94178360543d82a285e6f5de8e8dccaefb67ba18","_id":"loom-js@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-qJtxxiABlWCEZ0ZUtTUXvN/HqWmJGDMGiqXJD8SOmxdp6vqR1DOXXemjUY8F3u3Fw+kc4P5g28muoZ0+0XzrMA==","shasum":"a5c6e0521de0db858126b19861263625ee37f43b","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.1.1.tgz","fileCount":35,"unpackedSize":477339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/XzoCRA9TVsSAnZWagAAbUQP/0j4W33DZh7pbIrJicrw\nVlIsikEoG0Uv5s5UpKzTWS5VMC6IfNjbTpK2bBa3GIQ5qFTVwsCzKgqfGREQ\nQsAMA5C0Cmu91ua5juNJc4NWrPZf8UsMLZoLYjNGbV1pO9LWA/kKA89ABVU2\ngEok7odC4QEvaXxUtHslSpr9xPccM4Gq0Cvuw55r9MtMix/j1hj/hZl9r4NG\nmBPLkJfVEOOh6+TiLULcneVKc5R3jWxVFd3f2jPEBF2IlUOCTaqMkD9E6kGw\nzwR1GVpwBrjE+wirvFb5A4gvc41ZQFfF2//fbCF3T0uV+qquEhMNEOnQtdsy\nNTFH+0BJgiWPiowr0+hdkK6JHZ04Ei8RE1Yjq7fiiprk2e26PHw5aMSgwPwf\ntsuNtU66qXZUOVi5F0r8HK6aKj8tKTlKhvw778YYtyGBHe2bOAfWEOw7nEPg\n7G09ykemjZisq7k8axR0mBZkNL6MdS6DCdx8fc2VA7gOIpT8L64CbVUSyZvO\nEAhRBofAI3z7gIirJfYo/M99GuUOvZ1noytJKX7GH6OjoXUrkjjJGG1AcWjG\nPeeL/zBmPXmKCoPMyqVDOcOWMr51nbTYk6aXOvEVbxiNB+DwB4TAvbjjwvpD\nwb/k9WsTcJrptGAhFWJF7im8i6IZDEGBg7v+lpt9ukYjDNOQjlTftM5FujgQ\nmwSj\r\n=/COR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7TJglQ1Y2hFCToY2kHCY+p9mFT94znu1JP7S75EbEgAiATXB2dVQFZGMul95GXN9TY6IDCbBVqdlmD6mv0rXPSVA=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.1.1_1526562024363_0.21071857629724677"},"_hasShrinkwrap":false},"1.2.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.2.0","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:node:win":"yarn proto:win && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","test:browser:win":"yarn proto:win && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape dist/tests/e2e_tests.js","e2e:node:win":"yarn proto:win && tsc && tape dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","e2e:browser:win":"yarn proto:win && tsc && webpack --config webpack.e2e.test.config.js","proto":"mkdir -p dist && cd src && protoc --plugin=\"protoc-gen-ts=../node_modules/.bin/protoc-gen-ts\" --js_out=\"import_style=commonjs,binary:../dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","proto:win":"if not exist dist mkdir dist && cd src && protoc --plugin=\"protoc-gen-ts=..\\node_modules\\.bin\\protoc-gen-ts.cmd\" --js_out=\"import_style=commonjs,binary:..\\dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","prepublish":"yarn proto:win && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"4e42d772d6d8106bab98cd522752f11934958309","_id":"loom-js@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-EojyJsYilPGf32t8MiZlsnFJxBRjHwEjgXFxQ1Rou1FGGo0yky2XGGpTKR0LJsnJe8A8iqx1s/GZ4WTG0q1XYQ==","shasum":"15262012144fbc8c354e911f2253d1c709f72540","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.2.0.tgz","fileCount":42,"unpackedSize":521138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAWtyCRA9TVsSAnZWagAAAegP/2Q4hO8LMCJ0GNxFEBF3\noh+yCEB7J/h53OAX4dlasgsHdk5xdX8rK+ifOvCtwnunjuwUZvgkBmFhaK7k\nJ8mqZ1u3/i9yNQrkVv3nkRNDmxgGffBVaSMqItCQNszBRO+ml3eIDUH2h7Fk\n7RF2VFRiq6F0iNiSbk6W6FqaZ4XlY362sb8Wmbo/l1fYmh6tLMtT5RXLRTB8\n4zb/itK+AiXR61jJQQa3nrg2ZJSws+RckbxKg4mCjoUJnf1Rw1ZoTxcT3bTJ\nFLclv35VPctkwve0L60FuivdXe8qzAG3yaywPN/W8wgM68wfsjfNBsY+3G1v\nvgMs+FkeKdrK1s61Xw9pPYhc1LM97fYfKaBnPz/Iy2NDxF8hdI6PuOREJxSe\nkul7Evo/y8M5mIzLP4Tm/pCN1vhuRs7OSvcMfePTSj54A0756xllAMeirML1\n7PYmvG7S9ZLNq6TvAMlFKn9+zeuipwLPaQ8D7kPqpNo+zglxr5ipxzOarJpm\nSR60w6FMSL+0YS8P9/kYyRc2l5W2dbHiHVv64t2a0+eX1fgHYAswdff+/0Br\nkpPAvKUjmpR+g8FAiYXMEou6DCSkq0CC6NxGEFCGTTX/n4oC5ubJzfFZ51QC\nW+/0q0OyRVsXXgTiFPaGnXg7tvnYC4LfzQ4Nr8bgxhKj4wBeX6l+ZUlR5euL\nNdQM\r\n=ly3K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECA4EdHY0tvc8dPA8Mr9EF2g+6lNWDjuEqlrNtskVC9AiEAveJbMucmWMwnob4UhLzYD/Mt6EUX8kjPAb20OstJwNg="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.2.0_1526819697787_0.10167658893328091"},"_hasShrinkwrap":false},"1.3.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.3.0","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:node:win":"yarn proto:win && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","test:browser:win":"yarn proto:win && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape dist/tests/e2e_tests.js","e2e:node:win":"yarn proto:win && tsc && tape dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","e2e:browser:win":"yarn proto:win && tsc && webpack --config webpack.e2e.test.config.js","proto":"mkdir -p dist && cd src && protoc --plugin=\"protoc-gen-ts=../node_modules/.bin/protoc-gen-ts\" --js_out=\"import_style=commonjs,binary:../dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","proto:win":"if not exist dist mkdir dist && cd src && protoc --plugin=\"protoc-gen-ts=..\\node_modules\\.bin\\protoc-gen-ts.cmd\" --js_out=\"import_style=commonjs,binary:..\\dist/\" --ts_out=\".\" ./proto/loom.proto ./tests/tests.proto","prepublish":"yarn proto:win && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"2e29a89ed4aeaf77369c806f68623fcbe8bfa3ad","_id":"loom-js@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-+9U801JkwoWBn4mPno+88K+dM+GjBHes9i1i87A95pZOxXoUxR76A42S0eLl5u8oQs7zzwqFQJ16JfmzrnRk/A==","shasum":"41f8b01d56232f699e5be67d47153274b3e488c0","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.3.0.tgz","fileCount":42,"unpackedSize":550538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCDw4CRA9TVsSAnZWagAASHoP/jb6ZcVzTtZeeCiNf7If\nH1DRKKB6lHSW8h0lub1CmLe8sKnoI1TyIcZ921CKa/8/yoJYrgaIwN+d4WWg\n3rnHPA/IvXTQaTVD8JBlNJEYCzPuT7QuI1BpetyFKZwpWv1P55tyVGJ3tNmb\nBl7pX8mhTsKPRI7nePQ2L4OR/xAUNt1gcnPmS34sFPFr6XvbWsbv0V2Pon4U\n2WrAe+JDrXrvm9Lqbo7HZJ1tBAgCJk3B7QROwOM2iysWGn1l16oQqV1yEnPE\nm720N6z4Vq5mSWglSGvusFohgYHzTfrJclon5Di698njMv6lQT1AN7mS43FJ\n5yjPc1I3boq3PRDp9icxlaSTFGtH1EUBfOYXOPj4ADy1BMoneXZ53JjSOeHU\nOLiKiUNnGQGLrBSxLh5Robe33n3A/ZyBg07WtVHqwFWY+6NULpjkQqCi7BV4\nixJnCdHFierdgfDHPCI/dyY0slo3rcrFrKgZ7D1UKuYwLGLHa9/ZZYnJpiCO\n6CY+hmxjfuFMgvoC24jp0MME6G42EOUQ09oNzrIqNp7iRQFaqP1uiQwiAHeO\ngBcs0DRc+K2DPXAiCu2GN+ZfAx014ngVLyvRaE8K/yca1GixvFzHriq33X4A\n2iJZTPqrL+o29HM5pDVDVhhlOi6OUEAeKUCMnupp+9AoQr7zlht72PdsNX5s\nlIWS\r\n=hgeS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+xsIbUkoAwaXUMr+4tQO/W7QFZAeG3YIBcus9agPF1wIgTbY2OJ8DUSlivhLPYvAVmYEiu/72HbHWbHT+t+442ko="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.3.0_1527266359175_0.7674091465226673"},"_hasShrinkwrap":false},"1.3.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.3.1","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c7714f0e96aa06d4f957ab975eec0b8cea2bb9b3","_id":"loom-js@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-7MFfsUNj9ek7SmcrQPfaQ0yKpyra3bv+jkhP7dKcrZC5gliM6vnU4BlQmPxzYJtNN6AHZnPyWksMcGVEn0QNNg==","shasum":"6ec73ba04286b6dfa33269258552d360a540e09e","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.3.1.tgz","fileCount":38,"unpackedSize":573127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCUX+CRA9TVsSAnZWagAA+pgP/09l9Lm7ExZv9nWl7Xpe\n7ouxbNZIp9h73xP/mymzawIyk+6uUSbvRDRanOi3330YG+07rFA1Y/Jwg9jz\n+CRf22uJxrddTkwt5ZlWuY27oVwLSpYWRUme796SavG2RhzmYYlQZvKRIydW\no8OmZDS2t4Mro2+9huhfEV7kz/+NuukeSQymqE4hIqs3hBqX8S6ItRXb7PoK\nLRZhMmhDxEMbgOZ/yc6X1yTpe+LPbg2SV1lvmKFJHkSBxlULeQoWiiRoEKKG\nhYsJu88Y+0W/uC4s/5CbeRz5uhBVGBlK6S5cv60lsT7NCwztwDDhjDFnAN/x\nA0Vwp55bF2N3W+m69JHs1mkphK/+q/epj2ZklvOiFLwOktFvqj9W32a0muR2\neegBk05U08J75RZptif8RfrbnmeWLv4vQnGzP8Ax1oyY2phSUjABCq/X4K+1\n/jheEgqmCX+dZysEsssWk/nEtEOrKcDb8AfWXnA6cBG0eUer2/L4iVZ38WQf\nI6DKo9e0a+eDdTDqdzhkR10YpcM3BYdhcK1POEMSclfH7PYQrxSbYX1ffwJl\nEEg3A9xZJfbw51t0fTElOi4tuUODhH2MyANjsmG5dNePPzuWMb6iEQIg/sRO\nlpPvnRcVQB6pXYEeU7QH3pblmjG93/vj6miyPBpTbLDmYKb7uGyzInFLHOvJ\nnmwr\r\n=xk5P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFdbNBNVzjDOblm97LYM9H10Qahdn7F43oRQJUns/FJJAiAGtTQ/c0nxjMr83hVchzr9NVhl42mTSpNft37C95bzig=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.3.1_1527334397444_0.10946158270085693"},"_hasShrinkwrap":false},"1.3.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.3.2","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"dfa825233382fb67b401ead223f080bc40d07d6c","_id":"loom-js@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-dtxQCFQ/1UXDTRvTkKeMprhSW6/fdDGrIu4WmNgSIVHGgx5jwbf5BKW7FwlGmR+ZCTKuYqEfSW7ZtaErmohBrg==","shasum":"85d3324ebed231477a411571b5b9a03327be2431","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.3.2.tgz","fileCount":38,"unpackedSize":573127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCUaICRA9TVsSAnZWagAAoigP/2YmuDIWfjhuyhPNlxE+\n3UeIjyqOqil0cYRcXacB3ogWdi9abaWNq8D/YtuOHLe0BPkd8EsfEv6bkSKJ\n1zSWiBTOo4iBVLdTaqKpy6ahL3nKAUvF1mOw+d+Jrzhcpfj2ygQMKTuh2Pab\ncYMNQAgI4ApL6PZpJi9jAb48DqFSz8xesOGt/ZW4Eq1Na+K9pav4NZ/Ba8bR\njTMirCJGBq5R2nFSG1/JPZfdeNcqZyidLqtBohxgOW4chA8MEC0yLT++oVDG\n/tTX6mwKXgaEb8B0flD8z9kQsXXumGzpWGZ60g+Wh2rWvBB1VdtTqBDkTOeE\njE/7MVBRZOv7JCJmAXiOipfAs503ztOkpMrmxF7uhQTtEiKlW9PHvKz0BlST\nMp3HNKR0QNTosA1gQ7YPDeDsMpbJ0MGbv2cxvHSCTvnodyJSr9hyhLyjjjJO\nHlXKJhj33wuOZnasvxQtm0mcN1iJHc8+mMnpuY+FbuAVqsbHjzAMNazBLUsv\ngMzWde4oA7n4AN0x2KOxBLL0ynznxJjjI/XfCGgJ6LqJiz0sBx9o2jtbXlzU\nE36ygELQS9TYuDKzXwwpZnHfzlnbVKCGw5J/8Z+6oJcFLO7OHx1cHCsld1rD\nGyqCVvxxL0Fd25+kmoCgoYRkaVqT1ZiaiJDA3tPqrGwzX/ShwlSRl+IYv8j0\nYsnI\r\n=G36f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2Jwl4MUtGztF6BmqcNrwfjJzseh4qB3+jJ7HEz9ES7AiA4CwKl2gu0ig5Awyt1FDefJYa8N8J0fVtjPOZiOjjp4g=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.3.2_1527334536093_0.8784148654990613"},"_hasShrinkwrap":false},"1.3.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.3.3","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","ripemd160":"^2.0.1","rpc-websockets":"^3.6.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"798d194b6a19daaec75d43e5bfdf95f684a61274","_id":"loom-js@1.3.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ZREEqsuPHP83l1oOscSv6oC9h8clnh27Rv6NBUGgRv18wpu4CSVaPy5PmPco/yH3MLVMPwr/Y7OG/+d5fZGPpg==","shasum":"6fd6d5f0d96f2c66f51d2168a9db30272ffed42d","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.3.3.tgz","fileCount":39,"unpackedSize":575688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCpb1CRA9TVsSAnZWagAAYSEP/RjlFxhrOpxjpggXXDxM\nmzbpfQtOQRE2uvGZ1lXbJ1ubkAyfFWW5cYz38NMySImmTa9ca8jWdSePRoUI\nklP5CGnTq4aEOiHQKd9obmPCwnqbeBwyYPF5lqrpzXVJx0YrhyVSUIpx6OCl\nhl1cNiter8q095Bji9r41ve1qfBCjwORO9so9MOvif77Kktis88bMTJe6JgW\n/Rd3cabI8dNvuV6BPNmObs/GAhcb3iuUr8E0vkPtp7qX5sHUBZDbkAEKuPkw\nRRnE00jdqfsnFaLurV+zP/axua+iilApuS3QBdo9nbmj84dvKPFZjRTgoq5j\n6/GLTISkxA3rRhoEOu6T3LhB3pl5UXeZvOPxX/QePb3MFKDP96tyIjjNJTgv\ngQ+JpBEBP7HNGzOX52bKjaYfdQpOVSp6nEx/VhH0DbXqcpbug1rY+nRUcEbV\nFI9PGa0lDh44odvoZSbn9sG418u+wINUm0kSRJfT/nXMbZARLrEPEqI4TcWG\nG6ObRoLBMWnWuBJVYESqZZlozKPZx69S37SA7uZ1QuH35ifTlETsMM1xDZUc\n7n69+HmYbnqe+3digrMCnM/tcTM4wN/e4KCex/kJVh99mXNlOqbS/VDqDKXa\nBqPRGbbTRBvFfXFwNGAT8dnfZN1TPnmbTyiLKL5elAKAww34+06Zxnayx59k\nICMW\r\n=LIFa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHl0cX+EXimT9hElKVQHmktLxaoL08wjQgnFvRpToMuiAiATv0UYsC4QHgxDnDfrT+0wauugCumI3Cymaka2sZ4tiw=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.3.3_1527420660183_0.4735929226262423"},"_hasShrinkwrap":false},"1.4.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.4.3","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"90282dfa490e4d94dd35235929327ec2e27ce501","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.3.3/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.","readmeFilename":"README.md","_id":"loom-js@1.4.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-NOhGCgwUfuCpsuFubyBFO3srkDMKctCBTIJeEcRLWNRZPbLtqhiOJ41/75NWRhRuzXN/tXBZgOxiZM1DHESJTA==","shasum":"80c6cdbc15861a87414e3575e79066bced121702","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.4.3.tgz","fileCount":41,"unpackedSize":620853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFMQjCRA9TVsSAnZWagAAdA8P/AuS3g/8JXKBFwNeQaku\naB7XL1SGWzrZY1LG7WcLhRpwNZUdbDs6GvIfbWpvzzoLtCY+nGdKGikSFVdw\nyws5hFbFM4b5+4gioRqxNQG7Gq0qMDK6XqRw0/BuGij3MLvaEntQJytt/Vbt\n0c0ss9aOctvFm+/C52LPn0gV0mlmwFHcIlwaXFZ2C8DaIR5yydb+JRh6Qp8E\nmmamuHM/x0D3fUlx1JYkakeahK5lm5Eo++koRxf2YGZfO9NEhI1PpDQD0pJ5\n/ZI+gOuGOecrQr5EQDGZKOkyOdFx+oZx67x7EBY5QKB3BpXetpKzHXuJJu5Y\nBXLCAIJVoDbYY3p84AbhqjFbz3KMuqzc1DdrRtVZhtPQMwuyRzHcVzxBUyjg\nrQloIrKFNUNpjBE9cf4QtxV3qeCcHwY7e9J+E4ADw8fCUh2pR5QA90eo5wWZ\nj+1U4qWk4kT9n+KweOn92CXKFAaD3GV8bXCkT6KcD3oniE+kq2quGWB7eyc5\nYRcdsH85tCvpxfomraLNhzaB0BxErxdVji4urscpo6XhUgdKnVK1nIwg7y+G\nSLYYWUFZDAIP3nux+zjj9mXMpRfYsz7qX7tnf7pH9YNrSCvGBUqTiEoP3oSp\nIXvECx0mMra1hhV3RSzzzHa7WpnyHzHo8xcLMXj+ms0C19PmvHj5eAwRsb4I\nbqpB\r\n=Mssu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzrQx8qtY3irRWu6wJKfrXDYok+TzcaQ7VAZN2KjSlLwIhAJl/4smFy7/0YyJI5+gZ+uiCJ2HWMxXM67HWKvcsiRvx"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.4.3_1528087587301_0.34803143526791125"},"_hasShrinkwrap":false},"1.4.4":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.4.4","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"86b9ce4b6a2794e8189ef46da74e70641526c6cf","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.3.3/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.","readmeFilename":"README.md","_id":"loom-js@1.4.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-g1JREQys0kSKOBZEbX1ZqQRIJGJn5D1drFH/ZZRdFYpGrcV5Gq2+yRbOKWjJeC+FcHIcpbiNIBnnVhGuNfQUxA==","shasum":"9df5c44a11067c9176b75c048018759061171ea7","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.4.4.tgz","fileCount":41,"unpackedSize":620753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFNtMCRA9TVsSAnZWagAAosgP/0lwXYka0dapmKfMjsLR\npd+ptC1iWokPJ0mM8Lky2lgtqbaM8/kK7na86WDhbfUkoJT3LWl6aPTJDltf\nGUpUX9AmqR+XY07f9T6/mj8B9Bc8jdU2moHJ0NCAf1qolHsN3r0Vinyv0VA4\nuUuYPb+8cW+s8V5mZ9IHpObEMr/rQrHy4sXdyDjYGxvBopE0US0bmx3DSRUI\nI7uZfM3EhVCQ7ej/nPVw6k6beHjgXrTeaqfkHD77Wz7/mHRQHNV66SW4tZWD\n8eJaG/KHgjn/lzoKrcP8n57BK19zs73omkRJqh8W+phTv6rjVm5V8g6vvQmZ\nR5dZ+rkz/HrQrqP/7JFiI4f4DT6qPBu+jc0XpVsr6SATGhPnqTv0HBQ7XG+J\njhzhYaRsyVBBZ43L+B5B6btVBbkeeH+mEJlEhdLEW8BAxKmgf349CViNF7T8\nSQiiDly6IuL3IxTsmGcLQ0efmxoEu1C5Uaxt9OUY4PPeSbfuypXGmApS0ZKr\nOmEDfCEFbSa8LVTrMvXvux2tNqtTzh0I8PhJPlAEbbp2Y82UvE2Ost/GcThO\nzV9M4fylaOtXn7w1S8ht1d1SDPLVYiIe8ZQatpiaa1ki/T98Kddo03qQDnfx\nmUnO0JHeM5LrmYDrtt5HRucgu01AoXIBRqlVI8ARyf/bSOb3+TKpn5D7c5y/\n5Muc\r\n=ctcn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3oBfbnmtdJ/WgBkYR3nIcw2JLXHY02p/NgDkncCMXwwIgMpxwC3kwP0DfhcdOALb4ThLSSgveeoXnYz8aFjANZUo="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.4.4_1528093516374_0.01240319627619435"},"_hasShrinkwrap":false},"1.4.5":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.4.5","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"ee9ee4a4a003542774a8dab3508e25ec84eba24f","_id":"loom-js@1.4.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-7IUhHx6Q7FXXua20Nl+rPEpGqOknrSaWNzmEi6eewb5IsXwgntyuOcZjHpfshfN2DXSrjwPfelx54fma1CqhKg==","shasum":"f960c0e731f5e84e879a53f0999a941975c6d8fc","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.4.5.tgz","fileCount":42,"unpackedSize":669893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFTXgCRA9TVsSAnZWagAAWbAP/Rq15lfYiV10Pi2pEvjK\n2xYUMEqYFqPqO3LkpdQkKvFqaTdqbdpeYbWtmHycxCPLbfKzLpdDgFkPYFgq\n3M1au4akoTZdXSvTjrtpZE8ku04J7v9ZTTDCqr6zNHBMca/qOJiqx7Sa6Hut\nsuEEzHEfmHEs8+TlfcEcHQ+0+6Z+kBAxr8UHw1DR7Fo/QxHLa00hhx3azV1z\nBO8NXH6+QUdoF1SwCMpNGlfTqA8eLe9EXVHsYUDd5ad+zf7NccvoHyqtchF9\nu6FLiZWEVGpuK98pDk2tplwSU3MWoZNyZLaQqfpTVIR2Q/SKjVejKAMi7q1v\neeMKsDwUbR2NWElFv9MxeIkCuJeF3pC7LBffwNjaS9EGtCCyr6vA9D+4LOoS\naVLnA3XLwWhIvrYqrH3g+o+YQ0UdX2XQHGQbDasrP/CCShCE/zosVGFNqdQl\nSSqlWB9IqIGDC7jWPWYLVeoc6d5ZRi2NoyWsXC9mhJGqLWaVhJilcr3XryBK\nBrsuPMx0IP5ZG397VK6jpCp+VCoznwbpgek36CUgV3FyyAvVI7LQc6mB4mPV\n/bBY8RYTa7gv0s6dL/Tt86wYcmNeefwX1WrTHJk/nzlk8bkhTgMXhyK6HO9u\nFsLs1YVggCaoL358ehPha20zvjafGFSl828IsGS9+cqdltACWKEUfvdPw7lM\ntzm9\r\n=vfcw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw+RdUagxHDgztWp/asCrX9wK4+W3W+kJTGotfCOqSeAIgWWeKvtHQPG+Qk659k8xrUiDUwBU7AUmBe3addclFjMU="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.4.5_1528116703956_0.3184459481662645"},"_hasShrinkwrap":false},"1.5.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.5.0","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"a4ae99d5ade4d98820319566d020d11d625c9f39","_id":"loom-js@1.5.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-1nKr90u4mFWIJkP/Mu9KzfC6/qu+TxIbLBSS3LqhADPb2Fs5dqRSzvX1mQD97pm9+xehl18neWWpRT4zv9X+mg==","shasum":"a723eec2e929be831f268800648963adea4b7ccd","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.5.0.tgz","fileCount":43,"unpackedSize":1130138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFif7CRA9TVsSAnZWagAAj+MP/36oKzCYLLMey7c71OEW\neAmLcMdzwnNoE1mskKFf1gtzzHrPQdJtxOyh2dc0GHMucFzNLRUokUEA3ENt\nAbV6a9DDVW30FLzl8PnodaUmU+jtmOQ7VRKnD58XCiJrq8v6W2v7Km9GEzY0\n7TgrDxfTI7LpWfWZc6BDXNYU3jjN6T4BH06owvnikw8AMMiKMkKNmwgB6CY5\nMdFy87Y5p3ecCS3rJVRmOg2dqzcJpMwpVYdH1jGRtgwTJkDhwmPeA7mHjXTa\nrc33KtetF6VPjO4vJdExTKsEOlPVm/R2JAxIehPlokaQpBhqQiv2N5d0D03a\nSKZy2zlqDaq8R3bg8ipLGwWRvMzstsxRVZqmHm7TAZncgrYzBKeyOdm7ByCn\ng+ARqS3cOyc4i5rsvt7fcVvbe8RygDAiRrwOpzsruS9W0jTUbjsWKoZ/ceB1\neBuqaveT5z/JzKtsM77HYzHQjZsxVRKBxvWbt80QhPCIY0k6r63LFku9fDdX\nB9pRnpp5ejPKnGX9L33sQd2vL0QTU03cZo9ItST26AGRscdvOAemgvZJ30ge\n224zP8Y9ONhNy+P2AMEPUpnrvKVukykiSKjT2WEvIWqghWqBy/EvAeV3i+7V\nszDR3GkG5TUP3boHOSYlN6LHuKCXX2kKepMk0uO5054byIOfqCBHSHH2ivMz\nF06i\r\n=4Eno\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZy3RquVaAZR/2J2UGaU5RqZ3ZsfLuS9cmhelwzBjhvAiAT6VLt06iI5xRwSN6Y7z1jPD4Qa3u3ls8DYIF19UtyHQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.5.0_1528178683193_0.5210862867435833"},"_hasShrinkwrap":false},"1.6.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.6.0","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c0fbab4a35c81339f2c11e3bce85f4730ae8d382","_id":"loom-js@1.6.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-lKAK0ofsBVrK5XOO8YHarHp9YuvY1ELZQyctfFHgfv2V3rZSgIyGQ+TV7Ez76HGy3eRHLh3FQ7eqReoW8cl7QQ==","shasum":"3ea62e8d6d50451da0d25d5f71e5bd29b61a5750","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.6.0.tgz","fileCount":43,"unpackedSize":1150370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGSFCCRA9TVsSAnZWagAAL+4P/je/z0lfXBdK5PupxGac\nLE1Sa/1OlJBHYdE/FnohW2KGan+rv5JjsEywP+qooU0AEYrbWNbv5P3+3nq6\n2pW86GRT8Y1088oBFbNXQdhlXfUOZh8BpMFtLJkuC8VIB0Ghh1Ua+gFRN4dG\nfcNdEp6U+d8u4KcD4MqCeHV00verSh/19KrXMY+C8ShBTgmyPTr4Vta1wTCS\nSvRDyB05+3iUiYIxBRQbaq9f2ifhoxs3mg/1AW66pji2Zc2HxksuLAQZ7hzy\nrLe8Fo0RiBZe3NFy6Mebgg+sbyEjmODsrZQ6LfDJpQCF1pf2PvLn8w6+z9vM\njS7mODZTILtFZR/0c4XWItoiPKZQOlMVcsXc+WEn3sEKCCMrrlvKhDVQVph0\niqhqkcsCBOwQImYQD5Vn/I73K8iDw3esSxQr03CtVuZrDYGZCs0dW8cbjW+H\nb3Kuwwip0hGDjmXSIFGJrNr7XwQiNDYdpNBIyByGDRI3RYynwJYMy7K3RFds\nEYf1e2P7edfH+IxWCwfe51rgHj7/LnUeiDKszrPmOYcAM2pKxRz4mOwL1XlP\nbPd/uV6x5GP9itkvNLGyjInECOostkptyIgSqcLaGg0hXA5z+7flO+yQVGgL\nzzfXtNDcMHuUw5DeZDulD74k/hY6N3tRcg7b880f3O7AxDmD1cM5TiDEBmlD\nolxx\r\n=dP7A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGvfh1UQyTJiXYYowqaYDmPK6zecyoqQwfbD20RD5htAiEAuWCklasU/jz+1Zbwg+ZNFPZZ9JDN4SgFpkk3OL2JKz4="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.6.0_1528373569410_0.4811799425700607"},"_hasShrinkwrap":false},"1.7.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.7.0","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"1f2c8e218ed8abcbb734ef81c93806030b2547b4","_id":"loom-js@1.7.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-3DoIInrsAbS8CvY/BPDCbo3KFHTywkFsNr2LjxK0uh5RIdlmApl4IGNLikU90naIdEOcRpzCUZYh0hEQ910qKw==","shasum":"db2ead76b4ef3083b1ffdc21c6a2f6b211c482c8","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.7.0.tgz","fileCount":46,"unpackedSize":1162362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGT1+CRA9TVsSAnZWagAAjk4P/0GkQAwfUqGCcS0v8NYd\nXNgZVwd8cFo9cdnCkILrDqpJ5PjCUHZYNXAwj0MxHg7RobtOKTDJfhzgw4us\nL46W+6E+zqf8EANS+IL4vIC909x+i2pwXVlfv1aMyaQ+Z1Hoq3W+yLrlXgHK\nLKiQk15TXsuV8+FEYiUZd2WrNoi0sesIzvYmzhC5H9NtzFO/9TLnp92BuuhG\niBxeNSW+QbIBnwut8kl+RRkE8zdN4jRwp3c9SjcZaCm2DZ6T5m280hwoiZ4w\nQ/hZk5coZ2ZuC4pv5M0bF/07YmhFsAAc7PzVdAigEjj6MuaolviJTWZbAHrp\ncuK8uHwIGL58Xe8HRZOEFcdar5PzQ8YYQuHZVIA5B8F/UAF3wLoa+ZzYSyQs\n+S71BpecW10ecBUV29vRkqC976kCyPwBDk6NqqqD7N5PDT8CsFZruHhegvQJ\nrIHr7sUJnVtdjXiwwLzKFNqJP7fkg+35fzvei33dfZh1MuZBhOjdGgdOH8MF\nq9B1fre5qrK+Zeqp4B9AgXqGGY57bASjUWRI6vZF5HOQ0CLwSev5wGmdx7/4\npvKxtDsmJPjKhwR3oGunhXH5i/C+p/MUKSwDT0UAiM2iR2lkIAqA1u/NACEq\n91sxX/qPsTazFsc37EpVjKImvYbv7asstMpDm5uvv4E97bSXA3LVA3V32/Kf\ncFNY\r\n=drId\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcZSyVONSjlBov8OmLKISFhvmp5cI432tV+Dr78pvTZQIhANcLEgGPS5CfT3xHwYslFFK/9cOCbZRZADMCNY2n15Oj"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.7.0_1528380797934_0.12319095632232058"},"_hasShrinkwrap":false},"1.7.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.7.1","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"75968fbba47c936b3c3847ff0989afc086c008b6","_id":"loom-js@1.7.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-O6Hw63Tk8jXlNvgnFLuIBG5C+baxnOjIUrqnFZp6rAYmfiEiGUBzXy7wzPyR40gpDzRjVW8FFmNc//3+7Dc8Aw==","shasum":"4baca11602421aca36effc12a6087eb2f657c57d","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.7.1.tgz","fileCount":46,"unpackedSize":1162416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGXUVCRA9TVsSAnZWagAA+DgP/0c9m3ccslEkfw/TyclK\nL+gi8IeXFbikvw3TP7LBa36a4dTJ76JmyZsH6fw7EnR5gZkdvfvufWeHjlKa\nCiA54zOGtDhsn1QQ2dKD8A/H7kLu1wj9ruAh129MhQ9Tw/kZWdSySqk7oyYi\nHmfzbh//4DRNm5E4NVYEO76rQZHQiHtf+IBED34bTgpbU/ugfF9+ABy8EnwT\n84hQw0dZrqjBzw6/augt0w0Uc0a9ZBdN3KOayksHQeI6hbmSv42AsgiO3ot1\nvyF1JaAknPIvQemzhs0mFwLyOAVhBrslXEm8TwqTMYWPtz1J9gqKhmCP54Tg\nZH4dAY8RyqdFheQ4u/ow6TOTmnV9CocSnq1h6djaGyvdemOUA3VeoYoT2bxl\n9I4fLTjyQczB3nf5KOL/vB9Fb3+YCR9HiggwWYlQMQ5L9xY1eRPWJb/kfjWi\nO9qj/xPCzv+qTYXkL0aQx7Wmw9iNihlzST2VAiDPPIFgiF+vvKxcF73x4fEg\nnxasTYpuUjTFgTFQn2ofx08Wki8XO2zYbGycKyA+3zi6FC6Yhwwfp62TKAFV\nvRGErgiHkQSahmFV3VqQG9YQRkI8pePLYPtavssIMoILxjfFoB/21NVR8PJL\nXIppJlgI7Z5fdABgWncagVD7VSp9kZHzhPSTlEUqzTqzPYjDLtyCM4SQ1xuK\nPE/V\r\n=X2Pc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqIx4xXI6y5YkYy1x8cdo+gBxFL1KegUPhWDxxFw2k5AiB9oyQtz2za2VxPQ/L2vOntxDJKoK9edEW6QKzNyfiumA=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.7.1_1528395028453_0.08761893610741578"},"_hasShrinkwrap":false},"1.8.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.8.0","license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","crypto-browserify":"^3.12.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","web3":"^1.0.0-beta.34","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"0b8c37068b196469f7c0a63593d621907f006b63","_id":"loom-js@1.8.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-wl9KmrRDp9TovGU74PZkQ0jZJKK2HvVHnXv+kwgG+aE0PXI+vQdo1S+6CcauyeIpi7zdORF/IlTP4qQwJyJHUw==","shasum":"4489f8d02fd37c9ac56d06d8e40adf9a64aeece3","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.8.0.tgz","fileCount":57,"unpackedSize":747646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHloxCRA9TVsSAnZWagAAvkUP/ikvo6Wrwx1MAIYHk9vh\n8s0HehJ+UvsHmfuak13c1W15UzeTVF/KFG5Y7pd2pQRad4KQvzh1p+5Vjswv\nXFJjQB0lUNSGtqYgsKmlly/Mq4HGuYUDJtAjnGCEdLtGgYsK5mL6i9xYWTNS\n1ol8dV2lAqZYRE4W+kEgwVrkn1uiRX91hPZkeOaWnD8kAC6CTjAxUHNxCfBZ\nypZ4anxl03xEf/kDbjZr6Hm4p53gClFmKu0bdj4Q70ybJY3+p2rVYuTVNk7b\n2UEqho4Th30rzmGHvpBnJMtjo/dTchqHEpZEitTjC+nWh4cBRTUgdC6irQMI\nguqeGP7/58iZtdxArH2WJI/O2H050EemdRqEvRDjCk8wfzTUalmLSZBcdP0x\nzeDJjz8rsR385s5UxSWz3nMEtbUDI2oNuz5ZF5vx689jAwQ3uVECVgRrbZ9k\nwrbaYEpCrEyhlWcJMU5rQ6BR7TN/jJExK5z6wRaLlFMPFXgh8V5XIiM1s/5g\nDRcMMofvoqTOejCEcNKHRuImX6O3rk//d+PbOpDpr/pQuSMShuLH2W4IYin5\nXagLe0Da9FiUjq6jQf+XM9Of7wIQCxReuNlEA39j6gB+NblJRv8+PMq7tDIa\n9BDvkr0t27gUlWmnnLbZ8mUfKb8cxv++xdc6XONaB6rWY67uhgGhjqQx0/jt\nE/y4\r\n=8B3K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCivU4wOVi6ntEQgKDSpJN4MoF2tTG+LnUTSKzCTCVBegIgKHOm5FCcc90/Xsq6b9zy0lVp/w+gjF6Cw8EOR4xUW5o="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.8.0_1528715824585_0.8144173664608239"},"_hasShrinkwrap":false},"1.9.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.9.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","crypto-browserify":"^3.12.0","debug":"^3.1.0","google-protobuf":"^3.5.0","retry":"^0.12.0","ripemd160":"^2.0.1","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/debug":"^0.0.30","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.8.3","web3":"^1.0.0-beta.34","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"7bac161de41fd6055c91518437910e62c64fcbcf","_id":"loom-js@1.9.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Jh0owwFW1zpAsfER4FuD1WGf2cU8cTiRrgFIAjyvJcMgU9+wX0YasI9aSJrfB5lnm08XIYu+MHDgwwjV999Edw==","shasum":"03da8d95b869e8c62ddcfe3d37dc3d2eb1ca6931","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.9.0.tgz","fileCount":57,"unpackedSize":869230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKl5VCRA9TVsSAnZWagAA4V8P/31lwH1DFYjZjmQMMVht\nNfYK/zn0jBK7IHJAERrWepKHxnVfhZ5DkA94tasgoBSoVF53KhgDqxeEO8rf\nwOH1T1tKTZkNSyqWC2CNpnonrXRMoL0Ix2cn58G4U6+XZYYT+TzEq1irlm+S\nJliPW7foPQSIsZ/Wx16DLGIYdyXRqaVt6SI8H02TpVyHlsjR27906M594o+X\nq5COsc/0HQ/VSoVqeamrW/WJ1g64sUn/1F9CXw6spf8fmr2Cwl9tGxYk56W9\nS4EbNUK/QA0H+9fvhWAvAoOxmGunIsZOb/YdPQgMX16FGQViBW6v+ZOpjp1s\nWHehyw9L66fAEJu8s1vcotcXbjZlxRQcLkzA2RMCpBL+Sv0MzPwHi59M6j9h\nKSFjxAFMj+OevTnPAVeRuCPDnwxuMHkv0j7lEe7t6TB1ZiGUqqceW91zfJ+t\nx4qbM7KETYDQmPKhe3vBrPhl58Sa+MjT1ogYZy/3qZYz53fns/pH99ZFQdC8\nncYk5J0yeiV+7RU5qOvHqUu155gPWaI02a+sdBjwEuRyVnx34TvSZKQUn6ue\n+jANdm+ltTrcVYPbJfmdYvnJlLde4fTfGGqMU6KYsGiYVBaoeVocOjuQhlI9\nphmMh1grIfLlvNOo4J7Idbo8nmSrGts5TkpDzD7t4J/UcmbGxrEHHVIHFeTh\n7R7i\r\n=d3pN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCU64/YD7zN2g+Yfo8wlh9roy+G32p9NWxxZw5XLAqmAiEA0ruX5C3Xmk/8yAApe+/WmzCz8IboaBvtmnrbM+5GKFI="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.9.0_1529503316969_0.7367528738078755"},"_hasShrinkwrap":false},"1.10.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.10.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"622c0bef0c4921434ffef0a69639175fb77d0c61","_id":"loom-js@1.10.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-23VpFE6AFStDFYCdI/WU1D7A8U5ZdIK4aj/vBG9Pp3zBUVOxGV8kqUw51HybVK/TnRNZdFrZlK5NKDE41O88jQ==","shasum":"54a9df52fbc07ef6efaadcd2f1ccd6b668798fb2","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.10.0.tgz","fileCount":88,"unpackedSize":1844336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPLPuCRA9TVsSAnZWagAANOIP/A66dNvuAE6IJvzHhJgf\nSKeNkQfKRwpNhUSQfLg2PjGw4zclcW9NZ/mSFBLOE0D+SYZN4397leMKA439\nVygjVWMkKva893fesLoTN84KQDzhUQeHDeG0UjDHPHAdc90/P+mDoXb1K8dA\negdftdif62X08wC6zIvgZK/zOvvAr8nQdTv8iQJewHxqKPUzgAPEO9Gk+QQz\n2qg93GGPg1JN9vhOvgtWxdc7dy3hyhdki0Tvs95WWt+lNajyLJx9HgaFnmUE\nJiFCs/xlnhfEj/c2ZK4sW/1/VHYrUtGZrWY9dSS2rAN6wA8KsNTlUbjT//io\nnSsuMnH91zgwTOcBiWRFJqHLgIcJo87TZ//GNWYiw7Ha/Zegd5jweXDaWMsz\nzKuUcYOinqcRfDlQZfvyPPFfTSdOu81BApVuonpAck4jXFTHB+WVVoxgdz/E\nUze/QJX8i9LHkjjApuIzAhFwGgRnvAidJLJmecU25AiMOW9CUI5x1Pt1Mopj\nQMLk3Y+B8FXJ5mVb0ysE8qjCArNnt+W5O44DlPAZf8J7vqS10yc1jtC0Jpc6\nhsvaz9Abp+3X0XPHKCcEXTb8w/R+J/YkswlUaXZPxLaW1HIbci0UK94gOgzK\nqLPtloCkccgXt4s0R3frFBubYy2nVCHTM/E4dIuTKhPMIHVhw/U3IQw077YU\nZ+JZ\r\n=XO69\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQaOMmXSr3ri+H6tMhLLEJLYJSXwz4vQ55le63sFTf0gIgOeiYH27o3N4c88O3kxP9torfyssXnuUZM1eL4laT3xo="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.10.0_1530704878691_0.4297075759697524"},"_hasShrinkwrap":false},"1.11.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.11.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"f23fddf6d497d5eed884b75ed7e0c732d39fb8f5","_id":"loom-js@1.11.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-RO4j+KFL7/Aboc4P8bVk7Kecv8ewoqYUP4F2ezvl5FA1AL7E6IUR/GF9AEcxoGsrUFlKvMp7NfXOyhu4SE5Idg==","shasum":"068059a5797313252ba8e6d94e649af992ef4007","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.11.0.tgz","fileCount":89,"unpackedSize":1858084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPvfXCRA9TVsSAnZWagAADfkP/AhBEeaMMqnTHYy0Vg/t\nmmkS89ZwazvIR43gD9fd8P6exgCkYZXpgv8sHhsiAocGGwB5p0fTViN3t8zR\nqKcYUON1c3Klg5gEN3RFzJzJBWPCEo9IbSowsqEp8lu1zSJy5UKgPVxlBEju\n3gbhNVd4u6Q3XDyq1OigkN5pv25qDXYTx/pG5TTymhsLr388OnAvbtKSTUlf\na6imdXvyhVOqEh6Cz6BdvFe2Ql90Vx70Fw2g7vpaerGfI0kzymjZjyvgy9PM\n8uTyusTC/gVGYdNxAN4IFuOpWFCV68ZzkLz5roe3ta3kdj9mIelkPPQrBrmX\nuhlSzB1AHcEci48kzq5EhNYuMRejTZvmeXrLyWY669srODMb2LjzIRV0Z+Dt\nripo05NKluXyS2+zHDZHVCt5F5ApG8fKdotkUTyPOghjsIB7nrKoHp52L6mZ\nW7mfjkSByWM4bPMziDRQYCczTm/ACbV1qOKii3JECREBrNM8ueXcn+xhpEhg\nbmlUuXZdNV958PLgOjYG0n/O730zB8u8uLn1klYwXOwOk7xxN0JVKp0Xp95a\nbnCRT2ncexJtaULbtGUIf+5eOJfhH3fxbFzCY+LdwWBtrcE/3kba2oqqSHr3\nWCA2AT7PLkB8Zea+E+4zRNGRhCF0UUjXAfrx7y0v/V1yB4QVsr8gE55U9bfk\nmTYC\r\n=1Prd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvbsQwgLjWW1PMXk29+mbr6R752P+DnA+Lc3XPUgA1agIhAOx4rk4O/VQ5jg4EcThbZGVMP7MsU+tHZcuQs9LLomw2"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.11.0_1530853335658_0.40558363306798584"},"_hasShrinkwrap":false},"1.11.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.11.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"cc06f3ef48bc8302ce4ad4826a18cefb7c6ababf","_id":"loom-js@1.11.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-p3lhTnI0zMmChw3SRYSMmsVhAusyRC2Q/IlyjriWT0vmzM70WEfrnGythvPApe/IYZCGO3aYEmvgdlaBBxSZug==","shasum":"bb1a7e4abbedf4ca4de034dec1bd08b88a5753d2","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.11.1.tgz","fileCount":89,"unpackedSize":1858916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQL5ZCRA9TVsSAnZWagAAJ70QAItlGvzkg9jlNcqynhGK\nSQyYBa4t5Mh08Njb/vKjEdIRl4kC8/WfFHvrxPzLs8AQXIC9aql6rGFWNNgH\nnCIoPJNoDUc7S7iJ05Eui6yH+qKvGKTsEegESneVrSeXKDYRFUarQC3Meq5Q\np3KN5OPHlnNTfqQabLLy/hWIM2hrsT8IGU3cW9cuukOL2fuZ/pM4z3FYyNz+\nudNzYkTrE/cJbwkLZ5rvU1pXx4+Mvznw1HcTV7L7ZtzJ3Hywum9EEp/ka/g2\nNgmW7rRqG5uwWADpfC2Ac4WpfvMCnj1YzSAhpgQjQFLzFo1mZSzd/7dWjMex\nXNv3YHt4A3FhPb4SiL3sY/4KWYaxSaEDRZYcz+hjAToY1nsFr73uZaNtyOTf\n/fck50cwXWm6yn8Iv7J+nLjm1y9klIM9/o4GJ2m0aMt+Dq4ttR0sBR4W3zbA\ncjxPqWA5yDV8dYdhvSNpHOERLP97HYUtXxiQKcTCrIX25DIr+AHYTdAsx0v6\nilPNiIaP5ahzZh5iZUAy0/R9LwfU8h4Ey+fzcMQZXvzkqospECz5//AZOZ+U\nY3DbAzWbo/J9mhqf1PBun5ynldILk8BZhV1QaFU92tLYeIraYaqevt3st7Cm\nI8itX5lC+eqwWqjLphY7Z9bLvcfvSO8fAkI/MetGpfi0yIDHbQc2Hw1uZozy\nRuQg\r\n=K5vY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8d5UCMNmqQDFl4VVcTRY9WtlXOGqn0RMv/GZ6C5VAoAiEAgewkjnttsJtRFFzNDv+1FjKe3i4kbpyin7hFJmrfWGY="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.11.1_1530969689302_0.32102147017054516"},"_hasShrinkwrap":false},"1.12.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.12.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"e045ee6159b042d471ac943a7a2f3364614dc45a","_id":"loom-js@1.12.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-8OsJuuRqZXPBlCjkFPKdg3LQdcv4JivT4wXJ8C3Gugi5X4l11k90VzsRkoQVXg4uhBn4LWvi43Bz1RXzUfA4cA==","shasum":"8892bd05519cf04d0b2b83f9226a9a6375bdb1d4","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.12.0.tgz","fileCount":89,"unpackedSize":1857478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRKamCRA9TVsSAnZWagAAF5AP/1qH6QV2m3HtZREKvO/I\nSvM3FjM6YU1G17JOslnuO3hqc2BTqGcIO3DIxkYnJyajB1quZnm7KIvVZxvZ\nB11nLg7PZO1MEGewlETM8eYmqS8nLnvYRNj5ubv839LvUi0xGDPaOy2pNSb0\nQUbdges4/QgV5xsXeABXaxmhnyNoexK3cAlS4vGmFgXjmZs7Mh8q7hmxSfYk\nwLZG+EQMa8NoM+/nCqCaL8yOx7KevYDNIQflmCK7VzJkNJpjlYGKDE8tBQRJ\ncUhWJIB1Yud7rbudakEbr19vG2rHsT7UvI5FkSZjvv4qfiGzvSfC977CEls/\npMcsQHPFxrT5WPZF5ccd15hVxNoL4vPGddFuGB8GMpnWAIOIUEa0I3Rv4wHZ\nE8SIX6iA2T5EKWJyq4dNyXkUgMKauIjaPh53fQEGWlYVdOAPQspBBLiT4jF6\ndPro5tMklakghUArm/+egn9giJlNck1HNFj7atwqy/EzxZExhFmlKt2E0t8g\nGi7BhEsebQCBOhTuU6PSqn57OgU9zPhK6SpVlw13lAdToJqxsetcWE0x76R8\n4y522UDoRgpHVOrGLXSZ4WVXGp13uYKxuumWg1dF/MmUQPhNkqGdqA+rrj85\n5nId8bHJPl17h4Q9OJSQGdatCqlkGkGatglvbMEUOfuAgJ5MOj1VXP+G0TMl\n6Phd\r\n=P+Ix\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCHR/YJgw8xrpfk9wx0HJeRc7kyD2r0euKmKA9qB6PcAiAfyzRmTI0Iale1odwAUCc4Z9CVr0Em9UVI4rspBoyg8Q=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.12.0_1531225766000_0.839683832938898"},"_hasShrinkwrap":false},"1.12.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.12.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"ac481c86d663336a080e50a4134341529d7e8a75","_id":"loom-js@1.12.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ZIhrw4ZmUY5fcYX0GsBTUhWgvVtShzku6E9SiFyjM+/ZKgKsQ6DEcrDkzu5D/deavjFFT0wpiWbu5bVA6LgF5Q==","shasum":"e8f2f2825d4fe8a962963028f4dac0f09ba419ce","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.12.2.tgz","fileCount":89,"unpackedSize":1857935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSFjFCRA9TVsSAnZWagAAjaoP/3d5Zni7imB5Wfmlymz0\n6MSzTnfaBZlJmmmJlwxOrC000Y6fqXBq3r1+c6MbR4HRGIZ3dAhabEoTtlFv\nXINFDvfistBNTLImJK+/mLoFNHjkBEVYdE6XDQyAtD5be1zc5KfwoMEIK/Zl\nBu58kFM4jX+hT8Q0IOc8OSsPwl06F8bfXUXbazoLtI1dcz1KTDLGxOjDJrmW\nJIpuzNyN5/VMAVJrVwKGBDyFA/wdB8X9doD4YjJIBDSGULeUD0/9Ltuhwcea\n3UY+LqnXxxrsr9VlHRt5t2mmzn8YitgvNXs4m2YboZACAarg0K0MWLvPyROk\n/KMsxf6GN29L5AFHiYYynkasvEn7d+aVVX+ZoTslX3gAr5KWf4BdkzJCyy2p\nowuZnCBMMOWDEZvfE5k/goZj99uBL9Luul7t72sMm+SlMSFnxrwmd2RKSNzb\nO4TSQ4xMgpoAEmyqo6iISts7tmmGShBxPzvVNsGHISdLUG1oI/Znb683WJYf\n8Uu/vQ6nIaCwriy2EvbVzw1/etKs7eWELIPWoOYZ8GkG4KU2TZCPAseAY6t+\nF+hruDTdcGhhaATc1DnkatQ1tKnsEOGtBtH+D+zGNX9+xqZ1FHfMajOIqqSP\n3ZIblbAtbBDEyVvFliLdUQPpsl9Rh0zyfTs7IVQpx5kHf0XIcgZXZnbcGrFO\nSmQE\r\n=+2CM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD85HzPI9ks7LCwUbzrExb2PYZf/as98UiH+Lb4950KiwIhAKGAcLGjD+Gklx6N/4GXF2L0EOtKCVVxElhLANxnD9Gb"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.12.2_1531467973657_0.2483336809470924"},"_hasShrinkwrap":false},"1.13.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.13.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c0abbd34923a63cc85684116498fea3b81180237","_id":"loom-js@1.13.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ktQGMtHlCYPCF6NShoNNjwQimZ5PxC+129nME3wnye7d50/u+cCcEpY8TSZk1QAWLt/jkFNuNkAUmFVNap2Etw==","shasum":"35c2470cc0fef64dafea3d1850e6afceed708298","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.13.0.tgz","fileCount":89,"unpackedSize":1858315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSa5tCRA9TVsSAnZWagAAXDcP/ifeuLAJ0NNWpG/7Sr/G\nccwsVWOtVqd/3a4eTgqD7MLn7DozmejviZQXkZFb/xe8rmuk8GenLVhF858s\n6NzzZoVC3mS3yi/tQjH9/gPCYmv7AcwjBpvp7hxPLkg+wnUYyKEtWI5UF+Pd\nVjyPZ5npvI2EyyHsEOOapRVtLQc1GH4E67f5HloOtLsry7SI1SfjvcT2l0J3\naG3nlW6/QBw4eR2l+UGlqgpjotyvsnfYBx/56GAzfYoIieNr8TZRclwNe43k\nhQP6JnfzSYGKcnHOa+kxq+8ryh5A9GfLe3ffW5N6ZsbwuQNYSO2MOh1ZzyZ+\n0NCrb8AAK+fCHzC7SdOtY8NCKjKBc4pcyk0ubSTQIRgXK3pzl3irZBtSVvgD\nKm2i0wmC7RjouqzpuA5WVwgmqV8kyrreUsfxIjCOuG5uRjAsVe3WiBe3hYmG\nGXV2zvBLpac6VK8nwPJE9Osjd8iDARIVvJR2ioXnxMXs/5WZKDhdc7YVFDA2\nGZlawB/XQ7w/yfuMqu4XRFFlNmqVlPsPFnYTtkrkPvhmGLYHrjjj8owIdquH\nOOw6LbLYO2L1s8vU8lSB6+5u/zK68kKhN5I3H1TdIYL+L8OleJfbS4i1GKZq\nHw/9RFOFchgYd/vxKI5ocVtu+CHzPp6zAr9hYq6zAQGigTLE/LCvIHKHes8e\nUEbb\r\n=jc6c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHHuEVZCbiEAyp4eIs7DyyesQ2WSNAd3rf36o2sGSruAIgLLQnHbLafb2mrmXRz7SwlRUJC9XKU2OwUv8WwTFs5QU="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.13.0_1531555437701_0.2983445284151127"},"_hasShrinkwrap":false},"1.14.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.14.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"9171fbb67a0d4aab99a0e67cf4c694ab1d306fd9","_id":"loom-js@1.14.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-QLv54sM7GjAAeeQSxEW47vP8EhPrf5GfSLcrbo/gs3UcVbezdLRea5ARWOsdslKfqYEcyzOdi0Leh7PDGmDGcw==","shasum":"fce57be6809e1e7bbd0c2ba20a897e071b568bf9","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.14.0.tgz","fileCount":89,"unpackedSize":1886014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTdxPCRA9TVsSAnZWagAAaDgQAJrEU+eJGjso9n6qIMY3\nPRn4sfQABY9z4eYb57ByY5TtB+7xRMfi2Y05esVyOIBBbjgh3ZpgyZpAa9QU\nFW0OKIJll4fyieG6I5nNom+xsDEjKwf3koxAmetlP8+EQGTHDxjeQP6X24A6\npMYPzS3e8ESte8jrI5kq+QeyFA1EaGwZ3NcqagZP2FntViY34o8vmLi2PQZ/\nPhOZ1pP0VR13DeOkRfTVEwkGYIFz1bDJxRlHTT4aO4OQ0u6zHzv3TJHPOStw\nR/ySH1y6KIrDIYb/hMddxk30gyqH0Is/3jjon1ziBf7yWUJW4WkyeZKq7boE\nCnm+kgQdySbOjKQ8B2gVBR57qWSQExt9IC4NhkEBoRYDMIszgOBT7KOXAsfb\n7riGRN4uBy2eCq87v4dYposbYOIxdXObrxHCV1uGGNKUtoA0jwHEK87uUdrA\nhDFtErvYV//JjjYe4fMg/O8QLNL0muUKSqPCcIXiSm28e80tw4CFNpUlSEk5\nnt7YSwkFkqAYyRBpAwzHukzMM7kAT0X2izipZwPeZFVyq6UsHIuMi0m67uVd\n3YEcKCNHAfZLtJDA03Cs7cQZ45BioWiaEawdEQCAh6HDO4UPcNbKnWoFdmJB\npgbZaU4NeJEKMimpO0/YOp+K1D0E5jZ7qFSxmz/4/JWJTRP/8MS0aR7MVpXj\n1/uE\r\n=F9EN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6N+YDxP1xRbPNmhr4+DgzASO6K+deM79S7w2tYkOIMwIhALVI6XIpFRCXYKGTI6BSFgvRoTNmwAcnli1WSq7rG01w"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.14.0_1531829327348_0.5978115166649811"},"_hasShrinkwrap":false},"1.15.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.15.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"b53bddef61e2877b3652ff250a868f127a5c7ae2","_id":"loom-js@1.15.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ro4io7UceKEEaG9Q/QiMchZJY7MwHDQ/c/5zySttXha+AojWNJOkpGbs+23Mz7w1WIsm8TjjJY9jgsvkIvLmYA==","shasum":"14bf9990b2e2aba50668694b4e6d685c5f9285ef","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.15.0.tgz","fileCount":92,"unpackedSize":1965216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYWxGCRA9TVsSAnZWagAAOesP+gL2xZ9veqzZEDQ7Hwxo\nokSS0EFzRvlumO+loz++i+ZJt8dpDyhzVVoa0d2XsE5CRH/fl41daCWoIYXK\n+zvOr1wmcfOjzsfNmfS/Kx93r4XWWlbU2Uz8MFytMdm1rFpFQponlnHnJE2f\nyE3PYEmAJTM80yhwNnlUIHyVyUwVfYAPrUJB2u78DBVroVQeSyk2QKx4nlFF\n0EIKI9MK3NNl6Jma3V4yhPmAGrwgDwbnvHuqXzbKJ6QLGyYMw3Fs+uwzWStx\ntBy485v4akwCxnYOhAAeAJNsvc3oVjysDB8X8JD7nz67FxXDoF6mi+xkOo19\nYQ3yCC09KP51C99MJiAow5wG4Ppey+BWHYgA54WvQngKbEeJDvLujjB1pwan\nJgK7i5pDOif7NAjf2m8HMXGEIm69tKxqQ7VmsF1hN6t2O37ivDh7f2MYsCvu\nOf7UsiNCzSARP5xPU00GGW15DoRdkaw1aUbehO1QCUhnm48gxZo/Txb5Gmrw\nOF8RdPlmsUqLvFXN9uYNpxv31S2jJC4GAXRhckgO2JNwXQRHfrlVnwOZknpr\nxdIGrqBA2bWfDOGmY7kJDhpzaqaDkx091g29vwN//HnSVMpfeFqU25C/svoH\n8zG0jAcL6kjYCqrMlS9+NugyzTEOHEpXb2Lqcw15tYgN5YH8JNOXIZu151L8\nAbUz\r\n=SDZt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3c2RFvE6rfx2gK6aSpGBGfuJDP5OjrmeJOTHnCiWHTwIhAL8ckdfvm4PApra5+49ABBqqdD0GqXwCcpj48yxUKiWW"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.15.0_1533111366111_0.08435848363888199"},"_hasShrinkwrap":false},"1.16.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.16.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"8929854e334cd850f1196e878ad290e4e234475b","_id":"loom-js@1.16.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-2fBDmJh9VYFxijYsO43X9Uo1cVmvi8SVf7mmV1figiRxS29opnnz9nYCjA9Yvb3JTlEFY62gWPNdotuE5nXWOA==","shasum":"bb75c9a71e9daa3d93f58fcaffea7d85c29f217e","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.16.0.tgz","fileCount":92,"unpackedSize":1965799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYpvdCRA9TVsSAnZWagAAeEMP/2QLj6EE10zYAR1CZDzu\nLbtzSTOt2w0TffmJOLhFzmqZSota0Hn3flF1X/ZOPKw/H3OETZtj6TJHqjFh\n8uYYxBoxcDEucA8LJWDZvCJ1J0fPjRFg4CeJ2sbrilPug5dJo4SaONjoreKZ\np2hZZtJEEOQFIR6KntTV/6q7eYngWJX3B15whO7PWyIA4lFuiyp/KDRCXP4M\nrvKbWPJJhkRJfcZ4B5WWYKItBL4JVuhXkwdQZQhMjX5vzCMtu4D6/veNVhe1\nYfh4ZMsbdOCZoUHhB8LlrIAKf7j+DLodaLjtgCGhKz0MInD1Q+Gw86e+QliT\nv/F4tEazUbWjte0Phy3QKUmU+JM3XgoMLf9t2k0WH/kayiGYkMpXb+hHqE8X\nmHVrPN4lrmoTnuqKCHG8V0CjTgiT7dXnlAx17WXgNN+ydojZcpV5KlUi39Vu\nxc1kgraibijgcCTy2pD+daks3wvAgPX8UzWRK03p5wqZcnaYcGW3uHBCsRP6\nuQZRLvEOBQwPW3001TlOJK0Ap3wcsYdzxlAuofElxJQh1MN1NxSPLRSejv8/\n5D38GDr6NkcKXw6lICma7dfbX+f37DfELfLPEP/mjbwdUu5JPg8qPTUGSuqr\nrcg2DVTZQiGwaksJS7uSTdrmdGu5rJEbkIBh8I+ZqqPena88B0oVcf/5GcXu\n8+x9\r\n=sphD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHnB7gqjTkQjE8YLMpwlREtaqDKkvDANwqqxsNCVQ0SwIgCO915cehJVCIaA7tMkVeZIPscFqBdxX7xGbMmivlwYQ="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.16.0_1533189085238_0.3884381476385972"},"_hasShrinkwrap":false},"1.16.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.16.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"119e0de6696d75e38e64125d2350e0aa48c166c7","_id":"loom-js@1.16.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-w2KM65HgPkYAStE1HqlCDwjfgsd8oz9qYALXM72zy5vFV7ggTSyvn35nVN30UACkWymAylYN7zDSYypUiVLJVQ==","shasum":"8da659def01a079ff866e942feede1523c0368a1","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.16.1.tgz","fileCount":92,"unpackedSize":1966063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYsafCRA9TVsSAnZWagAAODIP/jC9wDet16c+PQ3LSpz7\nTLQrCLk04+aYjSr5T2nzj94QWiOfT/nGkJT72X+Wj5D+gRAV4W1sOK2knmqd\nhCujWSfI1xWb+v0SF+OHAX3G3cIZPNFC+7pDom7UquAj4ObL1BxCXa6ZFD5J\nHw0ubjPBoMxhgKWNnzXgfnd0JrnBSzjGKqhuWgsyMIY+7WQtlie0epusOzrA\nr3j/8cogzXQvzsbtvHADJ5pctWpMmIm5WBHE5emKrS4MOh3q88uh9wc9pUqJ\nhghYkhqXRFMLoeG99N5V1mA6GPkPrhvElqeacV5MUFeCcfONo6pMqkPcMA+K\n1xf+i4CEhz1bYW/HV3lgWuU+QJwj3DOmcuV3T6oMlut5cWtM00i5v18gURMP\nVC73ZT/Vhx/4dgqq95D4DWtWFJfBjpKdC5q4bWDEy0DeLESt04APeIS5Z/0r\nAzI/8LK0/e6X71+IyrzuLA8DbYHfCbcKCTpcw8zvDhTzLb6/3WSfoIQzmyws\nClPv4Bj4T0tyhtcfltxnltBDWskXqMWbQEJhYqr/FzrRvEhtfvOOy6x+uFKX\nUzaefhmbEsOi19uOczxs1EBH7fRX3tECa7g04umQnlc+zTvMEGp+5caH1OVc\nX6nuONnpV/DdvS1uhl73vJjCfdEQFS3AtEWlwugv7/CbxNz3GBC6LHvoYA0W\n6Pd3\r\n=t3gj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAZhJaQIE92FNv40MsSAuF86twfRCgvSiwDExNGPpYjAiEAs3BETmJSPArS6lHiR1Gn0wUPfDiRn1e28mCcjy4HAcQ="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.16.1_1533200030753_0.5116599940467357"},"_hasShrinkwrap":false},"1.16.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.16.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"e76d99d745c9eaca9b823ffad66f19177f04f9e2","_id":"loom-js@1.16.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ju9m9IdI7HyoEvoR/VLb4XtCkuk8UbBQkTY8fjxrMF0zEzwlXceyBx4VmSgFS2r7MklpIT4DCulmrHE4wuNOGQ==","shasum":"f228996e2300f12798b51b9a97611cc51a777033","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.16.2.tgz","fileCount":92,"unpackedSize":1967883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbZDbUCRA9TVsSAnZWagAAlYAP/AkC1NTGXljM2fqorp2J\n+jIkE1GG8+bkHtXIWTul8F55pK/D/pBQvN0W1qSdfCSHopOocHOm84VZiUKA\nos/FakJSqolf65CmQZpVdyU1WQkWgB0Iqyp9xYArfX1bWmLXJW2+jFvxLdmy\nnTAYqUYQkf59a7zj3UQ3+PHn1WYU2buHZK3PTfrpqWaPLt9fjDHXN7atPAGi\nt/RZzXuH+5a0SAIRT0N1wtWAerSKeB0B0uHPDr4K6CSr/dTgzOalRcFddrNG\nYc11ao+On40hfRIknznuzAgLvfrVU23D1V1AMySGZwnmZ7oEG9d4u8BCj0VV\npz97xVmi5orQGAhs5CTQSrOO4kPPLLwpvRRiWolWi86i+m7s2Gx9hndE2lvX\n0JGo7diQxqRdLMZE2smuszsiEqmEGTI6TNUvV7L7kmRINzcpW/vZbyPbsP3L\n/A5FC81f9uOThx2Rv3o/zW+ihozGSM1zb5FGxKnHnZE8QzKf6ZwPBHPcw/sk\nntWr7Rf412V/qRZfsYKpXDIlrSAfCwePQeT8sSWfFg9Kjn2bHgAPF2iakycd\nMuO2QDXI1SnXYhiu6fXFGNziv73kE4VJYUSyE8QBuYdB4HbBLtaUJ42Wam6z\nCj9bHo0o6TKMKdgy954xIIJJL4XZkfAwbx3nss/8Tm1MGtWHv5Z96yXJJUDP\nubup\r\n=CiHg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYyWViU3SndbDE/8V0MSrnK8wn3Xlg9hzwRsWgFJBBVAIhAM5YnGrq+EPqiRk78Dq9Ik8XfEQtcRRRN+WbAMl8hbsr"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.16.2_1533294291844_0.5806363108346879"},"_hasShrinkwrap":false},"1.17.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.17.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"596a22da2eee7ebd2acca0200be29eb95eb07cfb","_id":"loom-js@1.17.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Cf/YOM74gKlr/fNhfs5XI0ucCXTm9rYCPZj33Wdt+ApZDk5L0UbK8jSCCQiml+4aumhc1rLCC6qLdPpdrnW9Kw==","shasum":"a7b96a109ae1342d06c3ea4806fbb8cf8cc99ca9","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.17.0.tgz","fileCount":101,"unpackedSize":2057312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbIfcCRA9TVsSAnZWagAAhOYP/2bA1QTs1NRAtQRA/l6j\nZ7b85/XpSllr8zFSO8w9Umz1fKcUgZxqoLFbvlJ1TmPOqEaFHjDLf/TU4dKL\ndR7INO33BDYcbZnAxYZpLh6sK7Hhz7fDg5hHIx4DGonZ2jYZ2XPpzyIXevvM\n8Yqczygzesme/YF+k07DGd4/AsmyUiQw/WEuQRnH4Gm8XT90dCHA0NOOvH35\nxRc7Zg6llq6BRuaqCxUL0xnpaYASDrjd3nz/TreKMPq12Edl+wKPTpvVHhbL\nj/SxwkYRLtjBG+S8itiFQiqtqbE1x8HGLyd9sF8BR6EhljBB5MdPME/yeVzz\nPEiu185JruVb0j0Gr2Lik9cn9rx+pGPIiniN/D0TBNX0KpAziHQH6/gkbi1V\nWvvnB4k11Jm9MUEzWQJDgdaYvpFO14BSjEZc/U0xQZkk8sxygxo5Xz0Lu0Jt\nHTf8+DiqNc+IkRBTBqmBoUhxmLTffz4JQhdVaQpKb1MudN7UxpG+iABKbTIF\nhyh+QI+Bpx5Im6aaGtnZz8R8Fv36oH2a2rwUAfvAd14BP+l5ykGXX9bQt8gm\nzuay7HIVH/kr0elxpfoYgU7jJ3pfr1leI+BVlruSa1Qlv7ktOJBKmubpzfQO\njrPN95Qd85HWuffHQYbT54PxWI/Vp7Mbghef625TA+gN0feuCxPnWzxZx7Oq\nBGO9\r\n=iovG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtBLGRC3BosLQ3SqNC19LrDpWVObSQxp/4u7Mqfm5qGwIgYlKVliLayetxkccuTMiU0vEp+1/TqOmIdtMA4TBJONY="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.17.0_1533839323611_0.2929606585038309"},"_hasShrinkwrap":false},"1.18.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.18.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"cd082a9f8cc761e79f279bd887e4799b3675ceb3","_id":"loom-js@1.18.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-mp6sXl0VMRenhq12zAC9zjVkkEkU0jDuPqQw/u5hCP9Lksga/1ul/Wp3FrU+O4AjrdAfJAaHic8wEEDSI/iFaw==","shasum":"1552460aac74c2917e5b16bf1b0698a6228be3dd","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.18.0.tgz","fileCount":114,"unpackedSize":2315562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhN04CRA9TVsSAnZWagAA9S0P/RrftAOK6ILk9z5Sqat+\nVLpnjPacozrnDS+7LvzSs2Gh7iLsnnKQtfDev6/1r9zKx40nb37NQJBtuYE9\nXcckO9fEPLEl3S6Xiu/KUmOzIv5XAnumE3CKQAj+riHs2rU3hXVXhDmcYjWL\nBbazIZkR88nApWdG+Omymvx9zuWFEwNiwlhk3QKDrEKEs/+GUA3675na5AIG\nHkN6FmiWr/bFyUHw8G8umpEr3b3M3+RuTFoQC57gYI+NPJSs5g4I92zEXufk\n+uzTH0nVUoJ/9vf6nPbPwDpgb1+nplBkNEBhVQtSixbsOWCXzoB4yknaRQqq\n6qpNeiV5MgkPNG7cwMtJd288nsomND5AIsjZ2tm/iqGmLBEPBZnhWryyxnTm\nGTh0rNcMBruDXub5CUk1YS14TgpVFCUUi7C+OYRMLv3qkRXzISplhPhoRBxx\nTIehKvYfM45h63JlLNQKb1BprACNT4qCKRVW+jfi/uaMPJgw6MeIMuF7CWAp\njsjCkkL2YxF7J53tKcQh7BzkBpXo+tX78yoXJmyHK5juFWooIZaRFN6+PqdG\nbhKwiBaMTVm/zZX/hDoSH2ON4z7hhWr4TodrthQ4vVrlX5yYcF/N9NhXVQfe\nJfHCCc7ydUOgoBzjG1amqorzUewy8gD5xpoVkO5unDlmzjyx99OOO0ngvpL4\nlbDj\r\n=dSyp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrgFfOf3NiprcJ9mp+uw7wGa6SVaAKGhMzN38srj6S2AiAunt+iSZzWMuplmdOmxQdY3OiaAGIGJJUrwFhc08LR4g=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.18.0_1535434040394_0.8381193038817223"},"_hasShrinkwrap":false},"1.19.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.19.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"7d9d5a5e60928bde934b7fc2388b5995b9ad5f15","_id":"loom-js@1.19.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-6s46LPajNiR3VEfZX/5euMaf14qxdJMZ0QR3rDAph59t0fzH6I6bNIMtoPzupckqtSnAWyqVvaIf215ZALMx/A==","shasum":"1efb6e63ee03a0f4bb311e1738c9759ec9b5eabb","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.19.0.tgz","fileCount":117,"unpackedSize":2322904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjUKcCRA9TVsSAnZWagAAuIYP/32XkjPA2HX44SXuYvy8\ngobDZtlJQT4+yHqNy6xTSNGgOAyZvX2dWFRgjlkn/VV4mm4VjtlWXU0rfWu1\nqzcUh3a31XYpVdgo7k7HL7Q4eRtVfkgJZ65wvgar0XkOyuZNnUzV2oe1cJbL\nUPtRTwoFd7hZ4feVGYp2owPpRGJKGGBBygyMALN2aDdKDxBsqiNJd8YihwXO\nHoMIWbn8haZOvq53GI6bxefKXZ/j9GUXuPED+L2BT1KZlECnZyLxhTX2GwLD\nhny+C1QMC38L26WHKid/HOH7WBvoYPkbGgTHD5lUCtH44+YmfzIGZIdbEPGd\n+jqShB4cnFxGipuam4ZuogTzPcORCfKObC6ICBrQC8uOaVQ18akf1jT3Eh3m\npKWP+aMx3a/KX/IQJ/86m6DTzXJ9+sS+RoTuBDsjiu5H3TanAqESRBWBqC8j\nEMFkcbUYcYRC+DSK6G0TweDrdI1MV9bA0TbB1HPFZYfcs+ZSnGBsflYwfiwT\ncFL3l9uMfMakMXG7Vt2JU5eqmW/CFrfLBqB6WFyuT2UejpJxM/Sa+RC9Rzoi\neuLEHnd6g9FhCB8s60JY5dRlyu8ta5QvttDdgieaKBI3juznDGszJxp714Ai\nllvN6AdWVFCIrw9W5tffMVwOqx0LEWpV3cq7Ns1fRgM+z5gLDt02G9DbK5pk\n/o3L\r\n=LasP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgAqkcILz1QENkZXFgG8QTh0vPK2svpvkwfUZc3HGZUAIhANNe7vSQpkCxWDavQi2goiskozvCiENCulPC0cg2v74R"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.19.0_1535984284132_0.9013020617112242"},"_hasShrinkwrap":false},"1.20.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.20.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"410d24010ff4684cf88e6075e28b9e64c1e0cf53","_id":"loom-js@1.20.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ZiqqKKs9akbMWlouUEHh/rqpSUiptMvQQysplgNSvp5I4Tv7YDcZU21h+hDlrEbo6p0oWr5jXwRHczdoLTwVoA==","shasum":"b87f8933358e10230226d679620963459844481b","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.20.0.tgz","fileCount":117,"unpackedSize":2325865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjolPCRA9TVsSAnZWagAAymsP/0lBMNTFigRI8g7M6R22\nVs55GuwtWLrAUNihu3rdGvPHepS/PCRbQXVRUhU3fY/MjMzK0fVJo39lwvkC\ngR3SfDjmIHaEePYAUwzAFgKeRF0kW6+rJiEGnF5NwfVooTVIKH1Vx3dJluBz\na/o4bHtqjwEFqdd38EWMlyiPvO+kO3hkf/LM3wERFbE9bOuePZ1nyKkjfIGG\nxmZ3VB+jwaVVv99xPF6RV1DhQVjiu6MkCDtZR+ETMtvyIdq4x4y3Xnac27kP\nrUVm6Uun1mB9FqlRBlG8NGyaVQiHIZRX8fO6/kfr9Qf42wxC/Z7IivHoywEV\nGJcIYgGzLxm/0KDkHLMeRCzq6q3vhurtx/ywoRJFa1l6T8Ofo23WwOqb1OPl\nR7UFvdDP959WVauJH7MqdZtuG09CVaj9wb62IhfLbJeCe186ZQnnP4l3bs66\nw1M0vvfc2hMYyCpr15wk9R5hzav+fbxYHfAbfveZgnvZglM4zDrVClnu5SiH\nI+tRus2BvBgT9W27iNBUIf0SCD/oUyLXOatPBfBJw8p5sY/v9kObILwoI7/9\nUUtJ2nOOqMHuAEPDh4YqFtGhQEN5OvaJg+qkRaPrn2yWpkxBnrgwdDQKtbGX\nofrYFS+NN3E9PpmDt7fa94UHx2ut2bzbIjwJeR8hfk8KyshDD26jCcvtAzgG\nzS6J\r\n=FVVi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh/fVCBS3ADnv9qijnSdEX26ZTyLgFyH713zOH4a89rQIhAMA7BFqUcZpTGcZZ7F8VFaLJ7oIytn9mze3v7Eq1QMIB"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.20.0_1536067918286_0.35905318129066277"},"_hasShrinkwrap":false},"1.20.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.20.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"9b129ded47bea32e45efb21e7a21146172b63532","_id":"loom-js@1.20.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-1I6iB0sOTHzFoLuesQ86zVtvb+If847zyHLFb/BAwOvrpsp4NDQOSKdk0Ghnv2mHiqNg5Sq3ihv20KECeNLVhQ==","shasum":"f68032bb1cbc1b5defb4bc0d1c72a0e643ff08db","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.20.1.tgz","fileCount":117,"unpackedSize":2326165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjrGaCRA9TVsSAnZWagAAneMQAKM56IpDnVHqhyOkzQYv\nv0N9cKB7nNc+fqNsNgfHgrMOgqKUwX6WVod+91KHc2qTr7Mbdps7N9jB7L8i\nB2xYxCw+H4AcKEkrlYlP4C0zWr+OKe5mqvkTm3IoAeCzYIAtcifmPJKdCahS\n2mpmAcuqMyL+lxk/2XMAv7A/S7DYFUYD9TZXigGFJPrJQ59s0dFYFSKKJcz4\n73euXb0g56goPS7MP6nn4gXayE6gkUz188RpMellK8E0g4eeq7gIZbo1NEyO\nR6GO2/hvkPTBO7sxyb0kByy3HrNmbHGhHix6MBLrtcvjbrIrK1Zo5hZL0WTI\nGDIATnBy4fXawlfsxzW6rnbQCQ5CSqlaym16Man1XLNCBdrVWy6nlayGYidn\n+P5WWqyBmiL2BkPgtoPsElhqzCL93O+34jtftNE6fB23YmQF9XX9xFQO98Ey\nzWk+03xr93hod4e7pMdHI/WNBvGQiOTEwIMXfkTM4iQk0RO1QEIJ1vkMX27h\nOpaV1r1vXBoybU+/ea83xrnyGLAyQnt48WHnzpFGGVd/AAmjriKxiActHrV7\nPdL1nI2AnAJAmBnqCD8RAtTHg94jNJkZc9guqjF1e5M8kRaKGBoFxJaRDXU2\no52poEYo5TFQGbjkD5pmlHCE+Z8Kaxy0K9s1JOGq2hzKORCyexLobJlZwot7\noI8k\r\n=noZ9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5pw18WYF9nzdBh+Q5hOr9UAGnRKKfmW9CPCJBbPd10QIhAMctfxWI6ZsdyYD05EReynMEFmgJuP5Np8E9d/W4MsS0"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.20.1_1536078233821_0.4633786628625365"},"_hasShrinkwrap":false},"1.21.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.21.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"d57e80a2dd11f0ea7e4ecdfb8e8850a3205be153","_id":"loom-js@1.21.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-YrkcXGHPqk4uKEMkQ2b3qxmLgSW5JjTaupT5C8kJUzE8bpYg9LqKGcwun1ieFOxr6ljazlzCM+jj8Z6USpHtnw==","shasum":"25c4b3763bef2862031d94e1e027538bf258f2e3","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.21.0.tgz","fileCount":117,"unpackedSize":2328415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkN4sCRA9TVsSAnZWagAApTMP/348pIdQZci8nT2fwCbx\nqXPArvDUC4IhUg8lsNvqr/2P4XwJxe+EWHT/vf8ZbQqliaP1OgfsrEMPU3Sx\nadhYxEdnOV8jamzrJRZ77P9NlVwQG+fD2riiySWvsXCA6lBdKLO93DhTvMlh\n5ZQQ1aJYEud82+k1JcAT5xkqJse8NtpjFvSMqSospEYl3ZeFzWzdmk4BTxKZ\nHRvSQlzZo3s7WgPSyAs/YGqAQg3h555Zpjdc1PnNd0ibq3OwuPTOfkr0j4BL\np3D/qT3eixMwvOCqEQhNWNssZsX6oLdZziGWGLipxduKBfn0JFSHOR0gQbSa\nTlc1M+4TXRvTfL0rhJAMOzOBYruDHn9auagxET5KqobIs5ySSK4F9E+IpeRr\nvJKKg04u3CUkbMmSk0B5T2UTOPEjDPyXCneAxANSml1kK9cByo+3x9k80tbJ\nJlUMMMn39UJxylMxJ4PLyrorn67db2E4O8Dko+tK5apyJUiN8MI2wbL+4MSn\nAiCS84iGJw9VBfy/AwtvxVEcNSZkOVei9Ko9E67eIz8FkdBzoB/nhnJ78fmi\nSjoKZVhPPQiZ/anjeXChT2WTTZm1UVpSuJT5Haa2tbpH/X98cxRpGw+2t4wn\nBfa3sGa1HO49c2oC36JGUbreMM8kieVdnXMVEfEDr+1VEdQFlzoZQ25ScwGp\neJ1e\r\n=WnLN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFJOfrT2xY4qJB031VgLa4aBrfECqWtamV9v0BA2RgfAiA92MnD7EU8GUddOvy6VGBplaZ/d3T+4ilo93N9W7VBvw=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.21.0_1536220715139_0.7296872028181025"},"_hasShrinkwrap":false},"1.22.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.22.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"f5c4754978aa093a3e1dbbb25ffa353472f73f96","_id":"loom-js@1.22.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-4EkDjuLETz3Ccp+oYCLOAVQqMm/63WawAIdFZRi9dEY9fkXuMdKAnecygSjO5RUgVZzlJTQ1sOT++pQlyVkbSA==","shasum":"7211c844d20d7b4a39295ad13a20c1845e6beff1","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.22.0.tgz","fileCount":117,"unpackedSize":2328406,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl5biCRA9TVsSAnZWagAAYCAP/ifSm6adI0WlGdx86CCP\npsWUxNmiqiHfOlbl9TmGkjRjgAf3bnDVx7gW2lmnE6za+kPoGhV02PyTfhPe\nRVVtCYfWmSwnr4oEFlfXp1KqU8qaZR+vjAp87y9WFi0MRgD9bgxPhrHIIQgM\nBrseclmMLK1XBjUej71zmpyCJL5ENjkvY3QyZYr/D+s7Fraw54syhDIbCql6\nY68P9wwf2PH6pmaakuXHuyv5dPdhXValH2IDmQ7Y934iXmZjIeuYUoO0K6bs\nfzJzNxu277AQZd5iTPfW424/RqtdCAHZiZFG/HesaZ5kuFeegbD+QeQWuZ5A\ns2rtdNLx8QhyFMNoEh5BelF+no8t/bIYvBaNwXJzP3PWWKSmYOeYlVr1YiV0\np4n+mPygbzdlR1Yah7fn+YVzdrqm3Z/urrg6cbDnWPbHuFu7vwTZ3zcdDU18\nbCxPemmMZtVoCFYJZVdf3z4SInU8ljS9FRIryaKHMXTBSKBeDKlZbaYmTMRz\nRrRuMUNu5v3dCJZHnzwAn0zy+2ZD8Gy/sdILK4J13U7/+am8Pa6tbmGUbQEC\nJGwDio1rDSJlj8RVGh5Er9WkSCPLKyGrTAV7Cs/et0te4OW26MXJJrQrs0ol\nzL2VvB2lJsAzB6QkQdV3dq5ya323fAx4G20sKnl4UFnyj6vsdreb6GZmcrD6\nkndz\r\n=5JV/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGARw160TWoPzmGNssyFAWraho1+eIUTEzxRY87/4U2AiEAi+Nce1EhAkwWw732JaPvxIxhA621Ubro6DmcDJRkDmM="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.22.0_1536661207803_0.32932593619398487"},"_hasShrinkwrap":false},"1.23.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.23.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c60f7afa0e7c344be9716c7ef119c55c0d162516","_id":"loom-js@1.23.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-gvohOZbFUnJTikPzZn+BDky5CwQUSub4ONykguH1qtPJMOPB6O3jtePDtNkub8gPE3IN9giCVAgpSixq5LnnyQ==","shasum":"e06506eba6bc511f1daddae699fa2966616a05b0","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.23.0.tgz","fileCount":120,"unpackedSize":2331729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboNwBCRA9TVsSAnZWagAAq3IP/RXOBq+EwRJ/7dt8ynWX\nZ0uamgIR/xGijpms7DEApaXwLNDlyT2dyD1xHPbLSNWby+dNbWGeZe3MKjp3\nYoTkNjE2aQqHC51cqputShWN+4k+IcmvFSE8KR0O0CRUeDVmt4dn0jw62EvL\nfjheQJiEmuNPrOOPfcSM39CtIi48vMrvaPZooa/jbJralt2PXOI5vBWwGPZv\n8GvwF2Wj451UCZNsPYu4LStsz9T+7klX/rFWINAw+BI2dEKEmJ22/BDtsdI0\nNfLxqniZj+/+sbDBXDSLNZkHb+4Xn2Mn32T9Il2WkAfXyfUHBr6GFyKTbcao\nuXBjvIc0lnJaYKj6MUBOjgSedoJgf5GOJ5IMgzgczwIdnDvckU7V+rOMp5x0\nK0szuRJzYoieNANlGBqpC74NdTQfkNYXavp4nZQ6f8M5wwd9kNWLB5J0NDTs\nkGdmWyr98wU3vAwdf3qyoqSisNtsV6NWg9x/avjJVwRDXWX1rpNChaAmE65S\nc4fwllX0vvgEUM7oznPz11JVwH97IViAQD+KFl/zYp1yUVjKATZ4ESy6jHl6\nrjqbkykv5vHZY6vyjEOjvEWgBmE0jZUu0iSl+GbN81GoKli+NP8GUuxYBwe/\n3gtC9brRirg4nbbNV9UAKs8GNOfCSm5ww51Hw+4K5tWyidfOfFMfwAKHPK0j\nsE1i\r\n=st7W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiEiUwW4vn5YuIWsGbmH6Eb12jI+OlevKUAuER90az2AIgCLXXT1zS8d7b8fKP7516BrNqlhj4Y/SqjVUMH4qJbxg="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.23.0_1537268736295_0.9233037606195447"},"_hasShrinkwrap":false},"1.24.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.24.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"206a8f5a0e3172b004fe937883e118658f909480","_id":"loom-js@1.24.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-vY3IlINliIrra2ex4Ey0D52NY5o5dGsmKlR9iIj8yZyjCtUyGAAl6e9tMdIapsTW2yzS7+oKPAgDsn+9ruDnjw==","shasum":"17ff2c3772ead7d7bf2685ebd9823b66ad38da65","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.24.0.tgz","fileCount":116,"unpackedSize":2298739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqma7CRA9TVsSAnZWagAAlZAP/3+g0jVu75H8NYThTolE\nsEg9X3jDheh2NmS3tcBpDNcWLeNAudGddgtbHMaP15wzDv7R47XLjnpZlFw7\nym7vwpmjoi9gCvB56qFC4EPl0NBHHoDjEwht7dgTkwM+9qlTq3ajWNLtSiz5\nFeeWPwz5bojqr40Altq2rO0UZGavSs6RKkTU0ONXVsdE5DwEY/Oh13EdBm9b\nF8UmPq/MJq6sE3f5Ghu72C5sCvWRIC3rS0wTwayxCdakYwN5Na3NcApBHXGf\nh0HTWLhZBTyIt+dijbtVaMb/0em54C4dkWXUo9vv9LUXTZ0jLu1W0D8M/eyb\nNhFKDaNgkyc9gn0k7Abwl2azRgfvfOWM8A7z7mJjD/upKZkPCLg1I/UJoACA\nnASQ4sroXF9HdtmrIG17+jzS9qadvPrOzRD5ju54VL0JxNOOCB6mgkmX5XJ8\nrBAJDgcwQyj9g3zrke6bCE5wzNqO02vnZj5X08PDyrlJtLOY7EZdYU6rifHh\n35JqSq18Jne2t5+OKqTndDLnPkHSjj166abAckubfEZ+70Qg2VJAzRqczvVt\ndZOSvzHPc8VIJ2cxyhb3a4JaFBhOnqBxYAYUGXUAnR4U4V3h+a3VIII1lq1j\nSDj61HJXm4V6uHFYSUsMXg72rGD+seWWSi87eh7R7HT1KNbfLA0rIvwPzwoG\nkiYW\r\n=A7w2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF2mZ1o3dkFJz4N6NdcBr+ep9xbEKFXSNXeQg7/MbmbwIgCnDeRQVsklu5jE0TENM55iSxwmzqx0HAgNwB6IyAQjM="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.24.0_1537894074711_0.998111413597208"},"_hasShrinkwrap":false},"1.25.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.25.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"2d924e645dbd228b403a311997bf597211934799","_id":"loom-js@1.25.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-UegNIS+MuTjBoMxK4Hs2X1kPlUbNTQtI8ait7zp9r2M4Ddsg5ptrein9n/DXqvjtRZNYva/4iCHzh0YtQLpZ3Q==","shasum":"63c66daec1e795e09e9401c7b259bc6c2b4d7496","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.25.0.tgz","fileCount":116,"unpackedSize":2339621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsanUCRA9TVsSAnZWagAAjv0P/045At9RvScylZRAmqhR\nrALq2ktTeSKTxQ2bP4YYw5a9Kilu4hIvtyLg9czriCqRsNYwxvE/xSfyEk4c\ny/SgOP2sfDskN0HKmu/Frqy2aLGpnSAOe4yWn1AdFT6aekn4eThBvfb2bekZ\nxoO/QvcaE/kHPC7EbIlA9so0F30Kbv0Twq5Wz+/M6m4g69DVw7xyN/sehqHq\nMjR7We6DwZw6+9JFYSPZPMCCI98XfN6HN1jtgtG3flKXZKb8fBekWI4a9P6V\nv0Sgd4D1s3RRb+dhcA/kyTTuP29QUOH7NThVxt3DtcY62d4Ipc28C7LVzjZd\ncANpthYjkioJyDJMkKzsz3VBJN9kLFDffmXM8taeAAcJq4hVvIU0c5KM7xw8\nVnnCij35GpfC/vzusAn4g89iY+CRROIAUVEn5y98kmLU/FoT57OJFzpLzQn6\nCK6gwPX3jcZVMX+ksT0dbxW6xhnPfF3igff5RVE96fZawKOIZNMk/SZFZGOw\nUctBsVcuUFaXSuctUQcD20LX4Nq7c+iXefody2BCZvC7jlCHBlIy3FqhTcgR\nUvISl6W5vd+zBgwoV8rcmarhtmuW5tXcd3Zqeo7Ezr9LgdZlLb7Hgxi8VzaG\nZd57717AIjKzGNcJ07+/1jITGWkpMNYABGNPtUxsbgwms2ZVukNjFkDGkoKj\nHkjW\r\n=cfmr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRjaFDTqjaPr/OomqnQCcvBXteYu+8mUV2A3lJpjcgoAIhAJZFpm/OZrl8HNA8Ll8u8nIL1D7kDvzYDDSvE2L0VhCG"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.25.0_1538370003715_0.03685519039864804"},"_hasShrinkwrap":false},"1.26.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.26.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"9dfbf5fb9742992339c53514ba98f6b18afc8c7c","_id":"loom-js@1.26.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ZXvohCQrYB/cT3o2RM8IQd6o4iNk3oXzsyQNKZI3Zthh3CZrY06g8mM1vZTgCtfL1mzPjRpCIk7HgVL/3W8h3w==","shasum":"0b9a37015074c1a50acc1a865cd67277ae5d2ca3","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.26.0.tgz","fileCount":125,"unpackedSize":2461984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuHu6CRA9TVsSAnZWagAA+qMQAKB4u0xLRdgItVj5U+BT\n4JGpsy3/RjOSQj8gODPR0UgD4fVEPafm9oosDXiyjDOZ1JgtbdvHKAf7Ed7h\nOTSvr+bV73BckLVuPnnCB9w/16DkcFdPxoV6l/z00/qkjdJiPRGWhXCjQ+X3\nELGIxbpjrln9FRMUulyLgEREeki6raQl3rjW/aQTyBZXfVlzRLAVUqJQlsMJ\nseO5BpFI2qaIS41p9gctYxC0h6/rykYkYkkvBP5Cv3Pvwyxv98kpx3iKxrDG\ns/9KWM7cJEKERMsFVtMUPqQC+/eCxELnSM5eFxdobj/S5phAJN7DErDas1Ap\njtwfEsl4fdy7Yc6F3mJtEKcNAF7Vpe2rg/YdVSJFlzatKFrFBcrRwl/rSIMR\naXIZsGXzTjnHDQNM7T6i2u9IqHWV9e835bV9Hg94s9ozULU3XYDSiF4zKy8c\nfOYTFRaqI3oI6cVey8LrHOYAq39WCPK8wzyrjnvZYA+k5EMgoBslJMxNgdpZ\n3l+Zya79x4CuMCzS5ESQUetYCppbimOiRtgmSPnU/SyM7bwN5gaQkCGR00/t\nmbyKwRSH7lGplUaov4nqhXjms5+9OjFmnaiFEBefPmKAolw3eGZyztFNy64J\nU/uJeILfr6uCSJ7UNcivMt5dZ7se6wGEXeBlG3L54I34VxsUkQ1ER4ML2NTu\nv44c\r\n=F2CA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJoNgpEEk8/KRqo7g/eNOoIlS8axpNXN4QLCHW5iSrAgIgaJt5Xbt9n3lWDaj7rCt4HO2+gdS/fqLJXbtRBzoxhBk="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.26.0_1538816953734_0.2786535605208682"},"_hasShrinkwrap":false},"1.27.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.27.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"318ba730e09ce992fe13a4b86efc4582548a48d9","_id":"loom-js@1.27.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-9uBwElu2AHYod83y6+EwYu1To2J9XbwcEcQCjfNu9qVuC3o9MKU/P/Rvm2GwDk6RHhoxZLVBzmPpXwdKynuV2A==","shasum":"a0059233bd77b83bdf80386c4bf95f7c09757510","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.27.0.tgz","fileCount":125,"unpackedSize":2490114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvdEcCRA9TVsSAnZWagAAp4EP/2JVYUeu6l5V2aKX6Vba\nrVmzrVkzaHyg1ffK/KjPVDHxBpUdBXL2sLpn7Q/vAuOoyl8+nYbfIPtRAEPb\n0YkDY1ijheLPAdE/MR1LdQWOr+ARA4ohKjOqYafNkEJT/JvPiKQszdC9k7e/\nYJsvrjUki5vNb2+LoJWZPa5cmeOzkXtPzWJjCd3nGPmgkUDa0cUwaWJkgy6o\nbs7bnhe9t4Y2rbvQOd7zEzRMeqa0YHcIas08pJx4UoRCJ/+wKPk62Qidj1XX\nOSRa7LpnUkLe7FYD1K1d9eoA0gsgPA9UAJoa0ibXlKagvRySruDUnDcQXiA4\njaMIxHIkS37GtAqzSeuY36n4N189trqwIcSBQq8WkZtEkJ0+DdsXhO10ymCJ\nWoJnI3GGjRYtfSi+Bs+9zqYjjzkXs5TfX+AiaZ8WbU1oLVzwWX1P4UDpDU3v\nRcPKxbblcb9Zt4FnxD1RuD5c+khAEvMgk/nQEoGqXFm+XDbBclO/lzMAF9+T\nvcqiupL4nG86IFv6u1rNrWBkt4RX9clm7Q+UjRPai/AGTqtQu0vSqs0mF/Qo\nHCdv70Xx7i0msCDZ3CjGUPGxHkEUkMzpit2idJ+hoKuaXCM5Ee9o4gC12Fir\nvLkyJnGQ6upuawV7k0KVnQVSlIQcJVkODRtOWHEVdnzbM9UwH7axnIokt9Vb\ny3YH\r\n=xx3d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC6K2JzAlxeC6o3zM/V9DB3hV7/Eq/isy2TeCcbOjoCAIgZmptO4Z9ofZLCA6yK7Slff2WjXpAU4Z9fOs2ZEHOKB8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.27.0_1539166491410_0.5428277105765551"},"_hasShrinkwrap":false},"1.27.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.27.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.34"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"a53534721e3a1ce59625124a882a0838bfc1a420","_id":"loom-js@1.27.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-dMsGXptBGwPR635HmqvGiaCmc7k8mvwP6yZOKRgtEL3lKdPAsiflxyMHGNTeQtUHgODhnu4iViyqyFcS69fupw==","shasum":"797ad45f4bb08fb03e826168f1553559022e8318","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.27.1.tgz","fileCount":125,"unpackedSize":2488541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxCQxCRA9TVsSAnZWagAAnu8P/ispFTH7ThuamPc/0IBy\nBPtxEy7CSmvSvdnELW1jRrqo8x5VXBDNfRC17LQfg0xtoFlqwv8PR/Ft6fqj\n0DkYz+k9pGB2e2e/PzlqxIk9zI/wH7OxK7yseV8YDKORXW8A6Cx+2iRpXyLm\nGIflmQGLz8qt7t178k1g3Vsw+NXkSUyhCyriiSkL+Y9acqAwpX6pRwO47+LM\nYgxr/lzLKbTl5kV0GiVqb9K9g+7R2y7LFNDwq2MVWPTbUKZhfkHvBO4Xplea\nKqq9xIRJBte7SddJOd2e9R5/7GAC4tQPF8cb2raDWmF9FONIOt1G/CnXsWYX\nzwS+fTt1ZGvcgGV/khT5mnUPi6pbKioQ8p6WQSW82Uxv/Kdedsy6xSkCaasw\neIumo6gnM1jd1RL2cmSJTHvy8stZxxUxJ5W1tGSBEuK/yNjuMgJmmlSbvnqb\nD1+xoSfYrsdEIV0w9ux2x0c4MseJp5uNd5cO9FVUFz0+XzrDuz6Mpe3seY5b\nKpavb8/6maFYvz8/0OYDn0zgPzQCOWp8VZgI3+nD30xbFHKH7NFOr1I/ZKhM\nIgU0/taDPmRbJHjTtwiv6rxdjsOHf/8+f/UjTVA3B4xI78BPn/siBJrlKHh8\nv1PCyOQGiGNJiC7dmwaeYmvjt4tJ1ua2dg6r4eg8IQidSzikcxK2pzZXNrMa\nu9F7\r\n=LdMs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG6taLkYwNLBEIXla6RuKhWXgz5K06Ms8xQ15swLuUh/AiEA5J04AwK7YLMtyvYZtBrjbE8mBLVrm3udKsMH0doMot8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.27.1_1539580976458_0.049623930521452086"},"_hasShrinkwrap":false},"1.28.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.28.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn makedb && yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec && yarn cleanupdb","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","makedb":"node ./scripts/mkdir.js","cleanupdb":"node ./scripts/rmdir.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.36"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"2677eed6c9a6002dee19020031842de039cf7714","_id":"loom-js@1.28.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-OVE63cnr4Z6wroPJuLsWO/3eqP3fxcvWuclwuvpos9UKFSvVZXVveqqRKT4EQ9oX8vZSozTE5ZCY3je800ROyg==","shasum":"bfc28c6fbb061447efb80292c86c0ac698194bcf","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.28.0.tgz","fileCount":125,"unpackedSize":2497499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyXpNCRA9TVsSAnZWagAAEP4P/i5ZZRFh7kZOJdxICoI6\nG/9QBLXGZHnj8LAk+98NnqUgZf84jVhgx9Jp/aB5lOLruwFjDoMmBtOrgPEK\niRT8ZYjx/O1UwuFFbIIOCU7JTrZUblisJNtTPIFlqwBmvCsgbwYWg+AEa7u1\n70QrRsaFsLo25ui/dLr7bLcE48IpTMuZEY/++ElBhoCi3TOoZmR6j6dIg1FM\n4q842W1+X//S7EWFNWFjup3zRb7dq8yT62pBNDDG6lTPuqOEXVdaRL5c0nS3\nOw63/jFork/aCwXV8hV2gw9qrQ/TZel/5DvdRxKA5qxCK7g8c3CDCUHBlceK\nQZp2RfCBi9Jv7PMbQJl02WFLGjuDSSSyPInpxA/opoMTvK+s3dyarAm9JM/4\nsHjYfVv0Sa0la91YHFX698YMqcuFfjej5xGhpSqFCoaQSwn0DrhOggXApy6i\nrGFPC8vpQKdQb7ChXBw+toInEgQ9pDrO2Ht1tEe8Y7sfZmxC/3JunRQXGFTo\nd23pduMuc1ycmKwIFHeQ129c+MqEpnQ9y8BfKI0oJ20MzOgDZTGi2xbyZsFF\nmuR9jpQ4KNlAiGZhtE6d2uo4LIFbP6kP1zQnB2zaBH5v5vSJkYGTUvGK1CSR\ne0L8GSZ7LL5fd0sW2wqqow6RQpGncJnj1R1gm21NWD06ifjFXX60MqvAdSVj\nufdw\r\n=Du/Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExxtvuz8tmZ/Te8ie4+G9ZoKzCiDrcYvyiLb4QxBdRZAiA9+Jk0iT0bSkUddjbtLsHPjmmSFpUFsX0KtkQOp10qIQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.28.0_1539930700907_0.041557973480920385"},"_hasShrinkwrap":false},"1.28.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.28.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn makedb && yarn proto && yarn plasmaabi && tsc && tape dist/tests/unit_tests.js | tap-spec && yarn cleanupdb","test:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn plasmaabi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn plasmaabi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","makedb":"node ./scripts/mkdir.js","cleanupdb":"node ./scripts/rmdir.js","plasmaabi":"node ./scripts/plasma-abi.js","prepublish":"yarn proto && yarn plasmaabi && yarn build && webpack"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.36"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"549015249ad7a8d005f89f0f28772a5c45b7df97","_id":"loom-js@1.28.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-cs4nE9MYqQyOXWFNnnAzNSzEj0EowTc4PLY4hsxjQULeMP9tAHZarFmT9h1fPhwomcX4GJm8pt6EEdzkJa6Y9g==","shasum":"b140686895bfb6b86cfdbdf1925267ce871a6445","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.28.1.tgz","fileCount":125,"unpackedSize":2697230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyYPeCRA9TVsSAnZWagAA+u8P/iE0H84Au7QaZmW2e1Z5\nCkOHH+FBvoNrzVx3LE+vuSz8nFm9IfGKDLAjasytxbNuX0nDAHRVk9JppLUF\nWlmMDM3csMNaXevuG/HikJw0eEFIWLZWrkKX3RxZOjqaOiVbVUf0slaDRxYW\nLr+pzh7KVFowzrLttoa78+R+PzBxz7hbgzaVKJZy7s4Y+RuQm2UVS6ELATpi\nlwtnVQJpHGI02nF/ZFjz9ojOBuQWzbkdr+8OTLgo8I0BnoK7RmePG7vsLmuc\nnSJ5x7IOaMRkQC2JSzpa5cOl+6iQHjH4KazYYwFsxvP7TXrwQS09pBbnrmSj\nBptaRLOpB3q015M1tOuCLSeQvSEymdakogdhq1l1sp7ih12n2qlhHsbpo/F7\nEywUWs5W0itZnoM9jZXWERIUVoBMZ2jyVQNpSVytyTOMShIgFE828WnWj1MQ\nejVercfekKLm8zPGcWJqlNysGWZ9lQYfodzMn5NMHrq0RK1z+jqvxOzecBNI\n96+TsCRlbIKLpH8O7ZX94XHvv/IY3yNQBTeNfIHDsI9j0BMLdtFTmC355nVq\n2HaTrtaEyf/Yrcm5Y+/Aar/igefc3Bfd968zHiDOtJZ/wU4K3TCGxpgtZgGq\n6366SI/CasJQwVEEoH1ynm71UhRz3x5JsVnKIG7QxVkOuxFXFJMZ8uFG+FRh\ngHiT\r\n=UxLc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2kkqClylxxuCyuZv+ZV700VVV5Lj3jxsiBX3y1gsEfwIgGXJbj1KRsIvodRY0iBx9KH1cTGGtJ0+V7qzdS+2ZIwk="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.28.1_1539933149462_0.3844123924999505"},"_hasShrinkwrap":false},"1.29.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.29.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.36"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c328a7abec66fb8fc8844c2821a70fbe6d3df422","_id":"loom-js@1.29.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-UNTu5TlJU0PL7vQodRQ9NJEC+UjyquTzEx74mMlj/W4tHgaWpBTjmIhkmCSQtacaxHT8HZckHVOKWeNPhrKKbg==","shasum":"3b821cfe9113f34c631e54144b71bb7f561d8c12","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.29.0.tgz","fileCount":128,"unpackedSize":4726128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzsaECRA9TVsSAnZWagAARXsP/i0+Fh/P6lhM20ijIt3H\nOVjYiUVhli9ldXGVdRsfyoG1BSJ5P1EXopVW6DK1rLNqDrBKq9fV9LnUtEGS\nc5IhPr0nAOhr4TnJ+zHpTHNUGzNCy9ByzxalsQhEyBF2zt669XgLBwS7mX70\nmKey2Ii8CL3WGaiKtrwGat8mTl9IryX4qD3ENDcMo3S9r4QbUEJbyuVz0cbD\nWkzLDLN88dneCXyVQXAbs5taiKuguSfRllO7qxVRpvD5tGGJhHPrS1I/3zQO\njk8cQdmmDPN08LU6Z4j48lH9tvODyieaK6ZhzHpEtVO0vKVxpIHmbGYheTmj\ntbvu3ppV6UEpJejKJ6SCWWmdjpzBL42id0xDcG6XUfqA9Buy2Joz38xxitZE\ngzkZ6fzEdHs8RWlQUyV8c6CxnMWTEfk95CnCERooW3+3X/9anUtwVtFgS5UL\nvSA9KlAmVw/Xc47AkX54KzCF1J6egCQeCHclocI1TvbVF48dkzKuj5z/v0gI\n3pD0FRbIQ/rE3yY0xjP7sBR7po/DwlTHIctkICB8Hgsp/JFT3EsRdzSenx/a\n5W6kf53meho4g9tNTBjiJSu6CsMz9x51IdBMLCL6fCvNYqtiQQon/mROJqin\n/1ijmqC/4AoJb8oef6oNhNPlIM9mwBdhFUfQDyaiooqFkGJlZZIUJKempQkZ\nydpZ\r\n=i86l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEcihPjPAr8suiSVs680KPtOM8IHFr3muDqxo1A7xz7AiEAj7BAJExyjJqJSVEWDQZ36MHD1qciXD24uFyezozMLg4="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.29.0_1540277891769_0.2678378654990963"},"_hasShrinkwrap":false},"1.29.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.29.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","shelljs":"^0.8.2","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.36"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"f2d4324e4e1e388d4ca5aae41983e0e68c321964","_id":"loom-js@1.29.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-EySlBuudPVqlwEClAN+K+CJBCmWCqet+pUzlFMeLls+wUf4MzR4gmIy/WilREJ81Miqt/p4fxC9V1rguidAE/w==","shasum":"87ca2384998b6d7c9e57f8407bdc8f48cb0b32f1","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.29.1.tgz","fileCount":127,"unpackedSize":2887186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0APRCRA9TVsSAnZWagAAL0IP/3/Lh388XD/+ySWisAvU\nyszx1SXaHI3W5/2J4cqMQGpYm71lX8uzry0q/PBqsHGzPIk+DUgq20GonsUS\nm9j0TvAcV03B+J3Ubu3jXeLJwt00L7AvdYbXGdLJ9IGuGjbmesPKcKCoTLnF\nnl6fy9DtLXuUJaPK+RDpDScfdYS8MsKRiyF6bVs7ZXeH2uX31HLwOIn7WMip\n30V/NBlazv6131+cdz5bQu8Pjabi4SOy/1Fnko99aoRwEp1fvQujyiJqQlf1\nWosY+dmf+kzq2n/HbMDW9h9zfFsPdu4+2qqi4A8ZYnOwYZkqQIAdihEA0dUz\nyvjZxv/5C8aUnXWf2GkDsg95w2rk11bGwZqegReuNP4RpEDG3rEoGLUrJj48\nRZqS5WIwIiffCUDrcWaFlh1SIm2Snf/lwBBRHgDfGVSaqMogwUgYhNP2nE2+\n3tP9yiMKPxF8it+Kv4kz8TxQCJ4cka73aRd3ncuraFvjpu1RqPtiOQ2pDKr7\nhuM2bvB/X8HzbDP9FkEswOnt1D+knb0a9N756qDzb2sQvttZgZJCC8duroYB\nRNMPnb5x3bQuT6gbqPQ8sE++/MELjUWse8qpConqMK53/HA7faDXAMj+iIiM\nfuGGCvxVEMR8iwgwY9/OIZenQlGWtpgOIynsVKbDpRdnZQFZwB/V8h8NHvL6\n93TH\r\n=5joh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKNwfodWKULQQu3J5pDiB2l1EbO6FcQe8t15LqPSHhVAiEA39uaepwkqIbx4xudu/uu8jUBbsh88u/E2cfIFrJrghI="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.29.1_1540359121149_0.8775066989710913"},"_hasShrinkwrap":false},"1.30.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.30.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","shelljs":"^0.8.2","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.36"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"edaab49c71985628612a8910f4bfb4e6f370fc14","_id":"loom-js@1.30.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-0XbW+ul4YZeJJ7FOtiJbfkBaxPboSpJnK6e4JM3J1lmTBNJ0t6eRlSVt6N7nC6bT+DSrQLkGVKLpQHCq4HIdcA==","shasum":"580f2b01fa1189a2f37cb9aac9f0edfdf073fe27","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.30.0.tgz","fileCount":127,"unpackedSize":2887591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2RRKCRA9TVsSAnZWagAALtkP/3SOG/eZyn6LHI1jhEOw\npQPVvjKIAWm7iPBuKdYL/q4KbNW4o9kNQu3EjGMD4z5/7Y+qFzXg+KldWiNp\niym/gnQBqRblL3XZOvPGu1ksDt8FuHzfHHioi0cTOCVmof9ZvupZI5FaDRYI\nXvm8qrwThbU5x6UHT9EytIlEDkJiRf8Q/SF+RlHPMchBUwH7ge3pRKGTdFoy\nSDe9EJUo8+1LA5ZVulANCIEKSrmosidwyhSeiMsD3Q4mnMQysR8y1BkDkGmR\n63bUK51mw7fu0HlR4LuhLrGYhOebJn7gBuBcMRI4K/Nteus5uHTxumh7im/9\n68SdgQoRAvs2dzmJa+YffIHkUZwMb4i6b8GdG5Z7uDpo7I6i8XlmQwXa+FDW\nCyYRp4hiK1P8HtDao5RguqNMGhbENJaL2TJWvDKi9eCzYvV/V2Ts0KMeSGlv\nJzBlag0nYP0GIJy0F4EJvr+qE2Wvec5Axg7u1ZuP4SzmAPVWMCK50bwRNJLG\n+OjDXIn5RZvmxYltPogEjuaRFsKQsXu6s5HM5gUcQGTmyUmIAUK2ul7v/TUe\n/6K5VPY5QL311nuBiGUP4BChhVLyvMgq199EmTEOYkt7OafgAgo305JqMBki\n4Up7Ae04HeIRjNT08deQjVUiGOokeSnl0sAiZROIhNi/QAGUds66TMZ1LtJW\nWjPB\r\n=gbhP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLTXIyDF/R5xUhqyHtWKS2KVlo0qo276dD1VSgc2iZmQIgEj9bPdm7Zmlnwts6NlAFVF+ADCZZVCPB6/1Ytb5ZgyM="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.30.0_1540953162010_0.9524134308435566"},"_hasShrinkwrap":false},"1.30.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.30.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","shelljs":"^0.8.2","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"^1.0.0-beta.36"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"4c118ecea02c15e4562551933ef4800b8d7750b4","_id":"loom-js@1.30.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-v474Z5FQmJjSXQouQFeZi6tAA2UL/kCdQUy+JkxKzXW9MsVgJVO8derS+f9jlU924lB5CrOJdou8OInIjPrdrA==","shasum":"b2f82ab2e9c525364114987b59adb9dc30c187c0","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.30.1.tgz","fileCount":127,"unpackedSize":2887628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2dyKCRA9TVsSAnZWagAAwpgP/1b5qOfVOnHmJ9qv5igR\nZ5U47HjJiBZCsqK/W9xN6VWV+7kC5kFwlhF8cvK8MV5/SqusKl66QS+haCuh\nig1PscdcFR8qSqMM8ggnrE4bAms6uusoTfUSfxTahK9psgK/9BeX6uso10Tr\nD1NNhttbPHwNMCGrxMK9ItnSbNHmu3xeQac7DRyjWcSNksCfQ7owO+AnWfRx\nOiIyCcCw+IDz7HwKaxqfPlimjDO/4w/V0gv6lVHSjnhS7kAROmvYweEaoh9d\nFNvBsu7BYaHzZKHnKbW/Ia6BUpt48lA7ZuoWh9i8+W3aWQBnjixAp2pZimhP\nqHWI5ef5WelljW1gnrgQ2FeptJuM7B2ZGgoP/Itx+XpCfgIS2MNhGdI2G8j2\nthklWLwjLJBIvxwgVwc7lE+hndfGuahWbxNFACSW77JTo1Hw5VRxD41oVQPi\nsoKtdOU6x6x8IbazNhxTDaIu9DgeBFDdtYlVoFyV+RzbDJS8+zqKhks0zX7Z\nfPXX8STUKy+IcX9+b3DJuOwf2YE/hlpl+YU5ImIqgIsk6evrWxJvC8DOf11C\n4QO2P1ZhWONwerblmcWCmRhg16JVywAuwDwf2bTjmzGfZJx+ja0czhrEJ2xJ\nGpme2WZZgkpgIoGB96Uh9u/7/lWYOIOjjm30zK8+DYcOUe7G4cfe8N45AxPE\nm/Ew\r\n=HoUy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh4cjwX5hV3rUGWACTn/QmqxDQX3uF3IZh6YDgWZlmQgIgGM0A/ATDjxfo8Qcl1vaZ8JGgDvs+RQgxgwHujM94pdY="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.30.1_1541004425918_0.9760096079219305"},"_hasShrinkwrap":false},"1.30.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.30.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"01732075f2828a1577820e5197cb51a379859175","_id":"loom-js@1.30.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-00Ulll8ZDYLjfYJo9ZUNzDHZKe0ud35Wm9ikbEL2TyBq513ghlINQ8uqtJn/FY7dCcMnTQH9b6RrT6dNrNoz5w==","shasum":"a8a8f89b644defec6f971ec23a9b94678422ccce","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.30.2.tgz","fileCount":127,"unpackedSize":2675235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2xncCRA9TVsSAnZWagAAO0gP/0dnE0B/n2L3O0stSDjp\nAu8ZSQImL3gNfTn7NHT/j/cRwtt1VZfQobTOERDUqO/jM8xgSsffy4KKJS9n\nb5STO3FMuUbV5FUDG0H3A4/MRJQMfrhknHa2JANGKewszaYSwyMgUAb7FLK6\nwBn/2wAO7ZZysm6RXWVGZ/aP/sHf7892HckphOUYN6krf0aMjbK77fGZ+1UM\ntneV5qS8Cw9vPTkOvvPMKR6sRg4wa+0ItpCEzcLf6JwWWp3LT2rvlkJ+Da69\nPco/Sjh5GVeLTBUyqabsJRXjVjkcf1mqtLThUjBzELq6Zsm/5NwSskCV0FHQ\n9kWr8B39lqVO9y7gwphoSzicIPmOT5YLfyuyxA6/wGxbkqL/844VzKC6MNBZ\nSU2ohqatv3LZ+o6aviHqIC61E4BCLU5uJzgTsmEZxlc3y36TCv+qDummv+x4\n7Z2M28pXNzX9pBQAjp+U1P+B1goEjYOmiko+DxPVX8dDfF+X/0L8qo5E6uYo\n8mKnmurgnnLCER+TX5vSgIgvMamwjQM6xdxxxDv0sDSB8KxgQtsYqv5gg4DO\n/rB38AiIo/bjGlbVfvuEvHyW6F0IfRfDNvmKGbnl/KtVlJY6vjR+kd2Srwgh\nM57dvJZLI6lNOGJ8pz7Ly6dIkPjH9RuqcVqeAWibP5zfvm/i+XjiGmkgMeFM\nB4Xd\r\n=rqdw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpkuuSugcYp88c2fo4ScbiswV0kbiviQEGcWUZBexE9wIhAM12WRDjtrQ3+nWefWMkEHG4oOEb75VE2zMR8eF9vTgC"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.30.2_1541085659571_0.64471036038439"},"_hasShrinkwrap":false},"1.31.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.31.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"61e500f4aad0f275b32bf31abdef0faa4612e32e","_id":"loom-js@1.31.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-WyDaPISooMqZSbOtoceXC6a+IZYYjCag/08meqYOia9f3mZzLtxkrtQkj/2pbyBuMHNkJzc/MUiX+qfr9z3tqg==","shasum":"c1d24bebbd03247155a5ebd0947aa0616c23a8e4","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.31.0.tgz","fileCount":124,"unpackedSize":3100309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6nOqCRA9TVsSAnZWagAA+lQP/0EgjL7YZkX9Y1JOeMkz\nZlvFGOd0sz9xLWPKy7IaO8+M+a4wnHgOHPRSUc9YRYxozwkyz58cgCcLPJj2\nlyHTS07T/GOqx9KlH9JFghl06HuHjo+AyvqJyrZBFyOPKqq5S3XBIA9I2Epi\nNuzoTIuMDL5ZyiZ8FZR1i5OzrTOr8Blr7OJtdls5Wn7lEG8uZBWOhzKe9xe9\nPvGClbcUUQgNLK2tC5Hq59KhJZlhB6Z5k0xp0jS1dgwOCtYvfh/3UuOgfRRD\ni1UCU/JWWahRcqogBqecMf3G/6j6fYeFIv7tnTtPE/Eml/H15MTrI2fUbT/q\n6vEPaBnvQS7vl/AL5Xo7NHHWx6c1mt7ykGVodZlOjvNzIRiVEQFvFrqxTUrs\nSogjkvtjwf7pjwNUbx4cHRTiC+P9zQ5uVhc0UIT5s/b7yynHhsvOYKkajSo1\nmwvpPQf52A1IWiJPgMlWIfupfD8V6yqDj+tZGfhieupRU3iRL2Y8d/Bj0DFD\nIGvWAG8ioeL9SlCS1ugxzxgRpmzmfeYsSlcsXKOAPu8fBRaHDsrf2/2Pi7KY\nSWalzxHbzQoh4CecBpnlW0KJPIC7Yfwf6OAlrgjgp54f86kh5KNhyICb+jiI\nT/+tY+EKfp4y8csbb5y/EGwUtknxckaEx3O3Oxyw6uS7DsDu6vUi0tGBeXs1\ndeCV\r\n=7CrO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUP/CUmbhzKpOt8Bo8RZhDLSNdnWKWysKQ0QVEzozfnQIgPG0S+X8omdB8W7pZ3V/u3eqJplYqu9iKgm+Q1CiHSQM="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.31.0_1542091689397_0.04175884344782177"},"_hasShrinkwrap":false},"1.32.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.32.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"e93dfc96834e88279abd1b95771b69f8d9d146c3","_id":"loom-js@1.32.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-wh1fSlgHRf86GR0SoUqEQhAYZ361MnyKRRTbL4+Rj+LgHcRzgRc/uWre9qcH0rByodqXGUMytpyIN1gu/wghEA==","shasum":"0665dbc7dcc629c6aa612bd7227b18e508622f86","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.32.0.tgz","fileCount":124,"unpackedSize":3117734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7+IeCRA9TVsSAnZWagAAUkgQAJ0cwcUlU4RfvwyLtdKo\n9VsMngYIgm2m4aHog6goX4oUUb9seQNi1MlyHpqFVaCXOp60Lupq4Fro8R5R\nGa3rZ+SdDx1eTiULdNs4UAJqTaEJ+h3IsvvCvcR49LKjEltRzRKqpp4hrV+X\n8+3bk2dcLlN8FUr09/EG8NBN9eKJTGU4RMeRx4JUcOTdFJYBuRplEMdQdEsu\nZZCzVQ4BzGoPW+xr46wI91V148euRgMbg3diPXwwQQOfKsLklIEgBqhYPd/u\nZ5PqLeAxgpSxnjxTnvpsQtLVFLVmougFSLtNt6uvIMdo2FUc5KBMryzwGkG7\nAOfMfCRxMdUW4+xFy53ymbdRdV/jmhYtdsPbNjNyP3Fz4awa3tA5LkwH9wrM\nci2+k7vKR8F94i5neIthyQfh8xvgNlIqBotX0Jg2xBbYqOceQSbGzv8zrqv7\nHEa0zvqEBvu4hK+HD7I3FFOn1mJzzLzkYNnq4c4o5TX0+YhuNNlTCO7/YmZh\nK1Q0l7b1zTzuyvYYjbtlclYK2TIbo8iSwjD0vU5xyHaWHWfzySGpu5vjFgPO\n/u2kiTOC40GoD8mAV5KiOlGJ/v0bvQA2SaL6g0pJhuGhCHJB+O80Od3zHG/i\nfgIjzbq0v1d5lc1cP6QjQv81a5VySKXeW1PMEauc7P5nKxnAvAjMDxixCxes\nCF7u\r\n=8ZmK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnnsiixM7axQjBtPyGWeodC73JqDphuVfJ/4/LqXD+dQIgIPssAOlkPsLokVlP21HP7OCEfc8j8KKIQesMF/XfiB0="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.32.0_1542447646177_0.31402218694568074"},"_hasShrinkwrap":false},"1.33.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.33.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"6f248e3f16a7b3368f58bbb9e693b87c8628c6a9","_id":"loom-js@1.33.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-kGDHzBTC6UXphgiO0IG/Jq/JYvTjUUAeypWEs7wxsCOcboJaW8dJuAMsByrGKY1M305M57a0uaiDUOT6RA1ygA==","shasum":"fe6e90f884603474c6ed90996cb46e7cc685872e","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.33.0.tgz","fileCount":124,"unpackedSize":3115434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb96AwCRA9TVsSAnZWagAActMP/1XL8H7iKX30rb6Bu85V\n6g+4BPRaWspGf4swciZ2wRWB2/0BfRQjn80BYD1xUnAYxkhQllvbcc1Q7Si/\nDrpuYF6SVVK09UWsjRYbOvOoRQAtYd0ALo0hPUyUHXnior/41wdzLl0nU6h7\nIQJ2Jv+KKF4WunzUyM6SMvYs9DxA3UKdtOStukFW37DZzhbz0F/W7PMMbPRp\nJSeAjijyPa0AIjyCDXnV/GLn0gfpaICID1ZfgZccTySdCx4R8DVWOWOpylEt\nmxSkBACDBjv9iP/DCa5N+C+12gxGh5nbI1gTqeXlCokRA6Wfg3wLZqGyCpmn\nblKI0M4JHZ5oysHsvKg6dGKS6tnowf20UXe7iI3kUN/bA+wHmXNiSuHWq+4e\n0kH8nZIITzQyQdki5FAl1unP7usa+BnMWSn4NqwBj8gMgaxMlt8FwQWKT/BY\nqIA++oFqSPpRcqe/xBR5NELpUgnFdFbscmuBWM8OCYuJ35W9U9HmLyiWk4ur\nK9+b9SKipcXs3lJSaLto+UULoGhvZ3mIrszrzei6TkE4p3VsxoojUzEWJiXa\nWIq9xfpSE3Ae3FMORwAaAx7V1W/6q8EvDNtQxYvuARK+lGK+3Y4cbjLPPB6b\nl7o3MQRppatTg9yWO73m805791uD5+sO22KgXXpy4fF5AWgKWC36xQ6r4Mf5\n/3yr\r\n=iN34\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2b0J44XyE4WHWuF/SsoqZCA8/tyCR1OT2ooEpg2NQ8AiEAqCsYI8PVUM/ZFr7o0vFaq8tdLxdrEfDjw3YLsRs9fBg="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.33.0_1542955055591_0.37159653955324146"},"_hasShrinkwrap":false},"1.33.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.33.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"2b2584120a0bd7e8edf754e6853ecc04bad5badb","_id":"loom-js@1.33.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-FqoDRuR+gP13sQaIi0jlWCgcTATcPwjRW4FbJ5/8LO7fYKUGaz7+nyfqlBnF1Abn3ycajLJ6nAkWoQLopHPN9g==","shasum":"a60911faec9af2efb3ed8a65e52710961c90791b","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.33.1.tgz","fileCount":124,"unpackedSize":3116781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/8dZCRA9TVsSAnZWagAAUcAP/3DNuGu7CCXEhfgLjH4V\nLYM7CDu43lu3fc9AyY4UneHTUianlFU3qLOCK2ugoMUYkuB+5p4Gu4hvlFMu\ngEYE0a5B9E6E7w9TAfCkJjJvB/24sA33L3+nKZIhKEW98gbnNt33/XZLh/wZ\nmIKOPzPk475KyU0vlacBQ+/aBiQ2vwqVU/CEdjNvkzoZkUlruHH3kpoOtXmg\n2XgnMSoeQfuuLUoH+9flYOL5McTneVm/C1TLztvaB1THGiTWlyxgnTcyOO1y\np9Y3aYpwJCr2h0OjG5hgfKO70uhyRnngAJRrjAzgQOSOEMnY1zFiewIL02g3\nYVrWZs/4FuqOUusjcBeJOVf6dmrop0wbX7cYMUmRmOsy7g452fxeOPkdJQuI\ngIWDgrX2KLmfafFv7u1x7YxxJje0ob8JoeySbUkTwNi8bIsvTlKBiDX7nqfO\n1t3B7y544xncrwzVM+HksUgeNiqZSE8xuw0NKdt+v9imTWDQEHHckUOHe4rO\nMzrHwfWU3cYfBciY9fJB5W4cqtWk4pLE1k5t7FWlXf8TKjvO1jLJam0AgiK0\nWGP7qfOp9qhxR91uHlOnocb1wcDsr8sFYSUz2P3hT8F6TyYIGXBxr8CXnvbA\nmtTTSPTVn7E9EylNwXOCXQcBhlAAzK0Rn61RG3iNSJfYxCivUTTgvbEFUkVF\nb8gf\r\n=Ojnp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFBIJOoV56jPKSryzTwYLa5oCHmB6r/z22fapOe9PEnAiBlWZpDmySIVCWVjkmN70N0K+qTil926BlJtw/civtmkQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.33.1_1543489368930_0.6947059333588652"},"_hasShrinkwrap":false},"1.34.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.34.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"bb4cfa6acd0bf2435bbfcaf18b1653d7b40c5206","_id":"loom-js@1.34.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-88pRRUE2z8V4lV23eXwh1Yl7zHHgnEhxRLdn1xfFc115NkC5iQp1qiDKbu+SBIWqga6GRU8m3vq2wQN124VRZA==","shasum":"06f8f2495efb8223a27303ffa260f702257fa941","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.34.0.tgz","fileCount":127,"unpackedSize":3136565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBSUwCRA9TVsSAnZWagAAF8gP/RTvKGALAb2VCB7LN9Gk\nE3TUb9CT1A/PhRX6PqNlWUawfrd9k0lUHQM5cqD4jt93I2490nrWPM1r4Aed\nVEgD8F6JYuKwMRGYLAbLv5ucV0U99Op9CvQoO3XrOfp4QvMf+EjyGwvbxUYd\nuPUU1rLKDOCDPnpTYCYzJfAnbtJ66djtoSL4T+TSG5eS/0ZfoEUiTO1kEy0B\nH3F8HE7oxSOqYwocaN8bjmVbOBqwpBNHJrQlnqyltDrqqrN9uvi6AVbb2H/i\nsDwJVM6TW0F43y37s9MnOE9QJc2/DyaZfUQfhaZA+FqpdPOhK+MW8skfRjn+\n1fLtAxZFj/7pz3scyt2oXaae5Cug7IFfS7s15IxtFPIU2n8j+x5Xfhlzm+9U\nF5NAEk/c/Ovi0n8fqNxJMhFB61KDNQRgMr5Q94fuv1Uf/d7RLWZSjrgtR8r9\ngzyMCb0rC+CfQYmYImyYyvBgR0ifc8leE1K+IACJirNwNsVDxxHXtORDDbTJ\nd4Y4WQeGuNbuHwvhtxtZuRYuVLOL4CtF8/raQKaDo/kzSa2KNeK0CYMlpRtd\nrdULGwTY8w7JgieguIPDdF696Ir5EbSocGfV4yZ13978otvpgJS5SXQp3pIX\np4MWELaS4KFXv+CELcfvBk67npsN/aQwYbClGV1gEuwJKwRY0MFpG9FxAgtj\nL5cs\r\n=GKNw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwiC7HAZIR9d9R6XN4ytuoCiYH+kvBRy/3sm0kutOo6wIhANM3stGPsXHWxdTqnEvLejSrKRDWgNcwR+7RUBk9ueh1"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.34.0_1543841071442_0.9468861607879653"},"_hasShrinkwrap":false},"1.35.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.35.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"673e9c9e5f4817544970c40656b51768756cd434","_id":"loom-js@1.35.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-qF/ICuIlpT8XTs6uZBhOd+JVL/kHPCs7lvADe2dgnxyT8qGiNSStkjxzrgXf28Zak5dpsZo/obtpmhm3tB7Qcg==","shasum":"e52b85f1c6d2382ed7f8a1b4c453fa67e8f64ea8","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.35.0.tgz","fileCount":132,"unpackedSize":3276055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCMEaCRA9TVsSAnZWagAAeZMP/itXJfsMdHSpu4InFgH8\nx3wOZBwVJaYgJ2npA/IGlqULjAzvs9GBA1/Rq44etI5w4YbQMqAoHNdPvq9N\nomk0I0FCzPYf+N7R7/Slteumu1nUpa4m7aksM+PSQEQsNbiG3DU+a32woHIe\n5N/87boLMnNDnnmb2zm42Xe+DLq2umjkqJBZv8qvbejnZFi7Cn1k3y69lg9z\nB60+ZPKgderPiCJfisVQ6adxlvhjnH5sU89fnGqCvRD5B0uV1Jmt0GlOJmDZ\nVi2RE2Hj9P5KbtkCNmdiLZA826uQC5j5kX9uFgJfMEiByFiSpWFWgV/rlx6w\nqI1ujusPOoaL15MAFqlSkfGsxoEBzEY8IFpEpnM3vcDoAXKoLwxIHLFa58Li\n/UEocLEH/M0wKnJ5BLtncpM7wVqenzwk4hMlFFz1OI94B4r2o5v7CCroDCwM\nKjsfrfv4v0YeZIA4u+b9RCoN0wfII8E5qrEgnz0pytSUeE0eJykRjDbrg06b\nHPGk9R1T4S7AesJgnE1OyD9pu0+5kLfv26fpNzTVj8yR9Lgnm3kaF82fwB7V\nzmoe3+7tSCmXnLy9NDK1eUlA/jNV4lEp0VbYpWZsRn4V25InUThPk5I+ot3I\nU2IWSVKjykdUWF6qMA49wpVoMHJ24xkMXqfft77L7vBE95icxscYyRu/Hgww\nzFtC\r\n=N1r9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHoG/Jeoyx1yNH51WelkhIrJ47rLj67svHyLT/d6d4pCAiEA3RWjpvIBJe0c/Q52fawCaAtEsBhat61u3oebZb1Nrpg="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.35.0_1544077594069_0.5583642516229415"},"_hasShrinkwrap":false},"1.36.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.36.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"8612a83163c110c4c088cf22b04174ae7bd32410","_id":"loom-js@1.36.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-ayn+y5t9+fc0yPl2t61krHMbNqsmQVDOlOQKRIAXrTRcX/vgCQFZGlb3xEqX/+9DWTQIC7DnXULZN9nwwQRdQA==","shasum":"326c0faa1b917e94c29bf5b702e9f36cb62a10d3","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.36.0.tgz","fileCount":132,"unpackedSize":3276601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCUHMCRA9TVsSAnZWagAA+rwP/RDTK8yElgx3nmXaOvG8\nLGAnDLjZa5x9QbQn+hdSboAxQ6eYtWrc8cDn6dDJBFjVaa2j3d+/e04KZc2t\n+F/FDT7HcYsI8Qjx+fmdXb1ocEM++ePLk4tfY1x5n33RKin3ILt6iAay6v3p\nl8Ic+b89ILdbdKmP1zXjQpAT0TRQp4jvaGe50O2TC/BGKgI4b1b/I8LfV5N/\n/bBofHabHR4pCAybxSHo71yDX9XKYwQMz1581v+nWi6eGHpUVFm0EvE5sX/l\no9wDXaZxWARsKptV1k4hUGXu2hUiot9jVxnZ9saKISL4T7SNXEQ/b1MNPhcK\ntu2Tb334a1u8wSadw5l9FazoC5Syapzulq6fiZjRJIvpgXzNXVnizkdgEArM\nLKFTvwppoYfV6c0mj/ynP2ANA/rAallZi+cfAnOfIWOOfki0ybgOvUG0x5is\nu942gwD0fr38/aWQr6/X8HFi+FioddZ/jYBwPx900SjLI+mNzuXeFtGq4H3W\njwZdRQqbUuEF5dpEgzga1oYvndGBc4bAjY7QLV1MW2ZX5qeGaoTHDd0+b1ws\n2h7QDsCry5du2ZwaG3ibyoXx1q844bZICjlERJd9whCwwYHW+D0nVJhY3sZU\nKhunSACmYMG9Wf3/WPCt2DYTFw0LE9G9rXh5oy95geiriOmwnxOP7hns2xtJ\n0TKm\r\n=5pK8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGr2SaALZ8+iwL9DfWVXVycZ4u0GNlt4xro9zC/6qr+mAiAL+88kIbagK0NKd3bVZVYhixpdCzjzLTNMos65vmrgYg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.36.0_1544110539293_0.8802582293437735"},"_hasShrinkwrap":false},"1.36.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.36.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"2f8fa55325dddb97c3822b35669a39a006c9ead8","_id":"loom-js@1.36.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Vt4ibjHYqH5rsI21zinTkeHzmvLT0GzxKHi0wZZe+ebtqMYAKwzttHilz7h9mQVrjEmqC4+xowgAo/q1zqKWzw==","shasum":"504f6c57e87f4a44116316772f70b69be0a7302e","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.36.1.tgz","fileCount":138,"unpackedSize":3384348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEdeZCRA9TVsSAnZWagAA2TUQAJaurfwwozmEp3xJ6Am3\nuP8t8Uu8HJlh40V/a89LzaaTuJjIA7R4A1TEgpxvTqmMqwKCu8FpcLEO3jYT\n6D8ZSRMuyUALTTw/ZUVHssFtPZOQ1IWaXRJrqvbpDYlsk+IG3RSrMCFQ51rN\ncFeyzUsBTb9MyFubyqxcd+rYM2o9I4vW7b8Ej1E+2ugZ5EnWmi4ZCVQZ8MYn\n8TwvGhpq1JpKvo8FC6ai1ViCHC38SOnhowYmMmKbhv5BUKZtvzUh031JrN0y\nRjWorGF1QZoR2R8Z8JVoOzO0KB2ft5nBZAvlf7BKD+fQj0lkPF10Ex0aETfn\nGwDfvD4zWYMLWN3LJSegnFX5giIKQK+PE1shIyGO8N1f+X6xmEXsz/Eli2CW\npmuaZMNdJaLc2uxzILV+lMAVQnqENIMYI7UxkvOTfW4F5Vx2FiZzpPEb1tPz\nsEoB/2LhI52BieOJb8FbZfPY8KVItZZnILRAjp47geyR7BA8mzLUHQ0WFJJt\nR+aWECOeDRgrWZj1TC/H4W0+ST09NHYJx5f3Jx8xUB0vfgokulOpRXMsa5t4\nugKC82gdqZSoEfIdxLuPI1HJ2ZOoiYEQMQnr+axbzODB1qyIvwECxOHYCrTE\nyD8B71VlnAUGPyjpSDj0xgZcOUDxQdCs6l4ldXhl4F9/W0rixWvu7+axnetu\nxI30\r\n=d0sh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAypEOkxkRy7tMBozrFP/eB0fT2yNdBmpzv2+GEw6jUAiA2T3cGaB2cba068ImeMyQXNrnSW27tZIvPqJUkLrqpjA=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.36.1_1544673176395_0.5852728866070134"},"_hasShrinkwrap":false},"1.36.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.36.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"7ddebba30ccf197d8f16b07c7f3eb6193d32a053","_id":"loom-js@1.36.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-v6eYd5ZFsZbryGMa12K0OurxU+fpJqblgZF5idveYTfPt+SCuib1KpR77UGzN6HyHAgEsLTXK88leJigp/bShA==","shasum":"0d0205fea0e9557a04821c4639375ab803b77d27","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.36.2.tgz","fileCount":138,"unpackedSize":3385108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFmXmCRA9TVsSAnZWagAAswUP/1Z6kM3dN/rGa26eJ7GV\nrFJ4WkKQj2DFha2IhgBkALuo1xUcTNJs9BiipLePNeFMTm35mL0rkc0PEYNZ\ngV0BERd85ryf6iqSmqX9+HnNvxoEfl2WwoHFN/R0io/GDU9MSAaKuhLnrWBn\nBMsbXpEU1DIV/MTJWHpEp03Js1y8JRDBf2HJI/d89uTYEymAde9014OcoM/5\nVdZ5dV9JDRShDu1oWCTZsyPiBcSygL47IDT4XXb7C+R+X5eshO+WMic91z2/\n45CJQNNxo2kGykb/jXJov5eoPYc5WBm6KsPbBJiPYHbC2TBKD8AasC1PWgKY\nHbToaO798Ok9ze7uonTOChtVLNDoQErqcUahggSPbiTYb7xlmIAIUbsRD1CP\nYuPRULRek9PhQEZSplouRKrqR6/NTScxfgnrW2CPm46M1mJyYwW2xoxyPnjL\nnQMHC7YjWrkEwyI7a2xT5/0fEkqyypTpkvI9xYt/VPMhLhZdvj03/1bFhB2+\n1dAPQ/wauEcps1UjJqqhqh/5AtbqAktMIG+Gw6zLTzQynRslJCBjg2uQlmJe\nlklwv2+zREy3FVR99gqZMUVS04A0ziM5zOxfcNzDwkkmKaNNUqB/ZBQgiWXn\ntYoGkkz40O92uXpq2e1Kth4h2r9zVt0C7/iaAOzC8RRy3sFuaA1pDuNE+S+W\nFK1D\r\n=Vids\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8XiIB6CGwRdCwNRse65mRds/ntHJPzfhv0dPrm0b28wIhAJcR5i8gZ9j3tJcrmPENPWiQ+X8ohneX8p5vDZ3wnIoA"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.36.2_1544971749637_0.1414322487413513"},"_hasShrinkwrap":false},"1.30.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.30.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.6","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"5cc2670da73f822ecc5dffa96714e8169f2af45e","_id":"loom-js@1.30.3","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-bA0N5Hk3HeuYSNzB2e1WYPEEOISqLQ6aXTCiviurvzL4bZEiQWHO1IPcq/WqUF8szjfKCWr3U53M58DFSR14tw==","shasum":"d33817f85cd57d71e8f423a00f1407ae518d381d","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.30.3.tgz","fileCount":127,"unpackedSize":2675394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFoJOCRA9TVsSAnZWagAA7E8P/3eLww+l+a9L+FiBBu8p\nGKN3sF/sUO5aAA3+CYKPeOFrMrDHTgbbqdc0UR+tCHfsapJtTsxiVq59elXT\nXZLPSkEXdDmF4ioImpXdsJq1grQ+dN5W8CMFdhaHeWqz8ZdWNRfCA3L2jwuc\ne2XuBamIZf+IXbieEVT7ERiO9QU4yjWUf1bu25Ix7INNYf9kvhGWhhpyxs39\nXU1QIJ43G6fXIPXA3iGnGFWJ1tFu6y4E1fnMoOBwejq1sizlthKJ3AHdguG9\nUuJrM5UL3QJkYgSrZzzrOu6ikV8sEnI2xqN84CLIv3Jiq2dXLNUO9xxD0Jou\nM0Ml6cv8+X+JJCqxeIL01U63Wo70NDiIkL5c3+CkaAPHdzHtot5h6inj/3j+\nAiSmoD9Oisg1wf9foRiP7DWkc71lMJniJt7o8tzTHH26Ga+bh05iTR1d4dwO\nQwrJjZ/PvKgs2UDWmx7h0qfsgdXUlVqxa6D43Vnd9qIrrv6hTm7CXdLLY9NP\ne+PSIfaRZndO+tm4hWXrkVwQlidpiXNeZjE3g+UIl23v8LZF/mRU343cvmDE\n8RB7kO4IFVKrtP3ef82q3MwRIuEAJuZ0V36cdSTDCUHJd/5Np4Af3PZQTXJV\nAphEdnDD0HeI9dsyGlkBZMhZ54yDju7EObrYdvQBt7Wl+SMJxpT9lJ5QhMFj\n48ca\r\n=LLC8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5a2Hpse9bv8u4S1wvS/3bFiEBpvSZM4mqu283Ja+veQIhAL+k6fg1nmtWjojkT7BdlC0dJoDEptDX18FrTdwaPEM/"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.30.3_1544979022232_0.20859170949408945"},"_hasShrinkwrap":false},"1.37.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.37.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"ab14589466c3fd8fbf5b5762f69f5ccf461b17fa","_id":"loom-js@1.37.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-dy3H6WtRQ0ul43c/HNkzaZS0Dii2pwj7tBbLQCoFyzBvTOzwrcYTA51tmiRjTUKiKIY9ESpIehS2DA1It7BCoQ==","shasum":"d31d87bc5553076f3f2e0014c02612c35ff60bfa","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.37.0.tgz","fileCount":138,"unpackedSize":3398221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGI+TCRA9TVsSAnZWagAAsegQAI9GZkc1rRreY9aaFiwy\nEi3F8vMs/E5lKsShg64Uj3vcEQBktfuYGUVXeboX01p28MBb10yovwUUjT+y\neU/W4ysKr/Ttr898ySZZ5mz3Z54tmCCDOIEU2kLDaNOOqoiL4jpk/iLku2Z4\nHLr9atZnzeHM5/tsQGOJdXslfKAYCM/UFXq5LBR+ZyapRbq082LxTlM5Bk39\nJmqDBbLhw+sH71+ZV20KX3scfIBpIpo5l6PaUA+plzR2r/+V3Ra9/nDwRV1q\nqH+kwka6H1A3AK8m3PSAytjDzad5wik0S47WHYfWRKT00KPcbU9OvbIrXACI\n8hzkxNOBXDESYFZ7wPwBcvpMQL16FxFUu8p/9KX/2jyADhoZAixAlL8OHl9z\nvI1syMO5+D7LNLRgVEwSdF4xfvtfIVgs4TyCZSdh9dWmLLuUu0NeLk4I3JWD\nJzFhFS69sn+dLNXnHMUYICL38X863tV+9C2XUjdtZqgRMKKg9b0hg32f71bP\nKlDuoaTE5yFwZJ91uC73iZ4pxfUrLdYBUsuD7i7SoK9PN719fZSOnOmQnm+R\nur58oDHrVlpcvQLmWwg5pehsFh56558mUy4aw+IxuVkkur+7qq8mGaprFCVx\nrr/MbIgh5LIj2ll2id1/tiz9IFE1n6PE1flrwnguNYxjVpCeqrsxxJyPXjY2\n5Egr\r\n=fX8E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwRy88ODVhcsrXa7v2t0wBcWJW81rMaav6ZAHdB8yzrwIhAMD9fkrl/Ge6tA/rIKwGVH1uINfPTUpXerFVXCd+t6HK"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.37.0_1545113491219_0.5972709748554668"},"_hasShrinkwrap":false},"1.37.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.37.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"824387eafa8fc44393c3fff0b0b328dec0e09420","_id":"loom-js@1.37.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Hlb0s5C+8p4D/OLE9k56xIF7P8Ihos4ZomqndVcW65mrqdDBZ348FqfQUcoBXcVZC8iiusr7MfpYoQU6InJBcg==","shasum":"a63c0b7e975d9003135df286290f048b0b089020","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.37.1.tgz","fileCount":141,"unpackedSize":3409045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcG0wRCRA9TVsSAnZWagAA9UkQAIff43SMDWMMP9++yF7U\nbmtsneR4U//m7Ug0E5f1wUydjVpab0pBxwBpqSlzl1bIsqiZXDrcXaCGK0bc\nQCSEeH9xqt9ySlzUNsj6sEpMoIXQCY6GUai4+phG7ZXc7qFGS7il7jxkVXbL\nPUp4MirmsCbuYtkCYTHxYwJgL6PlQUOWhDmsZ8le6nSiEiCqOLduRKlrFwxm\nX5Ij4GL6j0NWUHr0Ne9evgeW3semCPcsN5OlPeamaAsxATlWLyGYVEKTj/Rq\n6wFS/vNhSkKOJzkbGe8sDS1V12GHyH8ghexlYjMEWwl11+S5qwBjpYV4dpL4\nHNYBmN2yRZhJiInkPlqQib5jLBsumaQR54VAJ4G0b6T+n9IH6tsmLWBrPI9n\n1ZGoQvh4pDZtJRmtobTAmn1zQQMCV38Cky3ef/Hxboy0WIaok2O58/4ihl/O\nVqCpOQ90ZiQB2F+iIDu1+uSJEnMLJHEE6/wtY/RHCoHnaRXsUVGKRYPaCjVs\nuNAPTCoPniIbBnMmrejwUTj1KkJlCeVV1OJyXsiEbIgiGfNV0MO2Ks5WQeYR\n3dJY2Vv4Bma8G3odRC1ZQ2OaaSUk+HB0EDSuaLyLiEXh246XN/MCuzvsPtkE\ng6OW2SNc2V91i3kt28SW5qpi9u6rBQkKvymoiZjUqTWXuUnyxQrO/l1Pig3c\nwjZ3\r\n=4mB3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5LvyhHM5CQUEEYSQb9x4+aUf5wpd9hpC9QsfZ22/lmwIhANYZP2SXFwcR0hF2SHjC3SphUX/KgFXz1tX2USG/rgrQ"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.37.1_1545292816380_0.2550094609321316"},"_hasShrinkwrap":false},"1.37.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.37.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n \r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"63d9c0593b8f361eb44578ea2f692f23afdc7dd9","_id":"loom-js@1.37.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-uUY7CDR9pv5b5lvFoD3kBiGNZFUsew5lGqFTbxQ3E64SK0NCj5XRU5NLXu+X/84zKvLtmKCf5Oo93VbpwONWkA==","shasum":"06ec3322197c5409bfa039e20691d2a3c42153de","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.37.2.tgz","fileCount":141,"unpackedSize":3418099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJKPGCRA9TVsSAnZWagAA+K4P/3IOMS1G8U4C4m6NVnbG\nZXJcd9MSXOVWkEpjzZ2H4Vh3xCKnfJo45YVaRztDHoLDJIECXS1ojns+c7zt\nhTImfHaxDt6djJwf+H3Ag2HJ7luzrPOZciEYvCqVLMhiBgnn9EScDgMFbRLd\noiSQfKM0S96pqlxuSCIB4iDcrvoYVPsQAJCDSP+C+CM4qxZNu3Hc/y+G/Zhb\nGkZitB10MGjmWpMG3FyWT1KeCAVsAkEkYzQ/8OBTvQWtglXNXW/SkIDFAoGM\n07LGPDDUL2O21LkLakcBQRJg6f2aP46eFasVo/Mhhc3fr044tW9fX9uPpSSJ\naNUW45Xim5k6HaGvoPod+YkRHG2ttUJpdiO/8lSw+qiofKuTF61oBh8o+HDl\ng2id3+Q6gZlqAxkD+Ejoleroy/trViq0/knLLVKWlpGKhaq//pwIoI0u13uI\nCdCEGorxd283LsIFpTzUkylM/2EAe1N50CPdRt3WD4+ZdQMZzmmU3mh8HVUM\nFMEVUpGXgNYiAKD2u7ARy8zj9g2T/q78/VE90cgsnFqlGWG3/NSg/AK6ylsk\n5PCBTGjxhEL/OJMUVb/bqYIkxxaKOE1E7AfwgwbuVzUXbcgEKwikPusIUOAC\n20FOI+OQoKvL+SrZ7sN4IPE8X7Ckzj9R2KVs5RSKQNziI+cUqookCjfpOS5n\nEMbm\r\n=hhGA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1aySgFsmhCvn85EjNrp5kVswgy6sf+W9VrLpWFPVnBAiEAkfQRZ6reo3pjHYwdxf0epjs7RmGlSddstDYnCxWnVww="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.37.2_1545905094021_0.5615993505140369"},"_hasShrinkwrap":false},"1.37.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.37.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"5d05345831e18e591383a10e76e095ffc12a04ab","_id":"loom-js@1.37.3","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-WTVbA8D85Z2QXdQgi8pKqIZbq0FXrS2H06vxFOZDfn0hgwHyKGA+twymw9ADkRsNWrLSFL7AtY1gmF809KOjYQ==","shasum":"12f66889d71a4654fbb48f220361586812ac96ab","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.37.3.tgz","fileCount":141,"unpackedSize":3419458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJeUdCRA9TVsSAnZWagAA7ccP/1F2/Xmy6WEu5bDa94w3\nMOEu8CEnyIcWqkloQuHT8ck3B50EVbai7J3HdNA99pdHJ/nGYkwnABIWVDsL\nrQG1fj9ACPCtyQVzTAZ8Yz4igGSinEuQZ+iIzw6KIeRHd+S2vG2dIOvSNHI3\ncIUC1G5Gff9/Y8u6GD4ClfLYfWXM9uA5HFK68i1h9hIdudUQ3XAemVX2vmL7\nkHAb4GkiIFfeavB6lUefrCDJWxu16gOl6HiMvWL/Vp8AxdjlVygqaSad1J5i\nM4R5D1pc8YtNinIC+l7NSj4Rk+bWvfmiT2jaWcXYdN6c9TLchV96MbGy/4jX\nVMQTka59Q6jUXvWpvDBAiJYIr/8an6dLGfZt6cn8b8u6c1ZZYbeYkLBYlrOY\nUKKEf5CcOJycVhoVjudjngKVFSPsvR57wgRtiZJnN+HmxvP2A073UnrV1FdW\nEsxVqN7FJn0VTABQObvUTKvkx+68xJZNQVQ3edJJXGGFOlloEYcLg0j59XOz\nvXTp9JczYfi5E6jvlzuRbMmgZC25PVZpnJwrkdxhoeb5+CqQCPKE0qKompiM\nuLX5OWO/15F2bYDp66MLpZE35hsEb59vtN6ySxBNhGBep2pXJTfK9qJ+DbEc\nU1xY7IeLqXA21sUvNUT2ZC+7zBDPFiSrE4BuKBoYzEbZ8VFJC3bu6Fm3uZey\nIoPx\r\n=L0HS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5DERaAdt2+7OCrDY6Da7bOq2PzRAMy158mMoCOzUpBgIhAPsTvyOHS6YMLG+gFkW/xehvfjsE0zRWMyrskL8Kdaz7"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.37.3_1545987356610_0.9584112528194881"},"_hasShrinkwrap":false},"1.38.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.38.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"de619912bb3378be1c3c0a77bde98d39f4dfd667","_id":"loom-js@1.38.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-TaJ1jFOycZA9CrPpjgDY88aX4P2RBmz2MGDpONZjPVwWyI9TZ7VF4EQr5sKq2TjOsoqbcq5jnFNVDuIyBIfseA==","shasum":"ab5229c3cd8a781bdcbf4b64265a28159d43ea7c","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.38.0.tgz","fileCount":141,"unpackedSize":3425681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLsfaCRA9TVsSAnZWagAAeogP/jss4m+xrYF4AAc5QQEB\n4dx2xHEF7MYgbwmSpWr+OiZD0AN3WDu2iqOEvGexXwuJzbv3RONoU4CKNxXN\npn9Y7tuPw06fJABB9uNf10YrSCthz+T9RuHIc9MEm+DW/99RKkSvPGywgKBq\nZmWnkdNRK/r24vOMHna2gA9ZrcgIbdZhKARgNMFdEehb4sDiVyzjbIV3dTVv\nlDtPyV0VVm3JTcFPLtZ/U9Tjwx6b5FTC6c2qAVZhZi+QuSWIiDV+DkYaPIv0\nd8Nrxy4zuPG3W1nQIslBggyJfUfiZfvs/RVJUls+UZ7PR+PGxDES+HtZsh2M\nSgqMJKR94BGUNgN/hl3c1h1AY6Qx6vzFCpGJiCadKx/KJNCEYcmRWpuBH4pM\nH8Mb+jbm4cKEFgkJcgiGMjblAlfgsOKb6pOgs1wBMgw3d52XdotE7+FSgG5Y\nRDm6zO8GG+pNA6jK4aCsMs6E5axN5EOommu25/5gMsf2wy7pzHK3orlDxmQP\njKmhJucgjBX/ERRKctQv1tFVQKIEXxDFDnzhXsbw2NZ6CTu5tgFx4ulyoaHS\n5oTjS90rFs1j0NYu+DGYiJ5R49Uh/oHSRJCDgSNpIgL1IsI+sZxHZ5SWhEVK\neIoVFwe0RV/0Y0r7DJOb1MRiyN+Tftfhts6rayYngxjCmV3HFLw+HzmQhGsZ\nOv/g\r\n=gD7Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc3N/6VYAGH7aYRInI74eAqe666UpFP8QB3Ur/5VbG8QIhAPtnWUD53OtnCjvCueuUOJup7ExkGf/YDQ+QJNLn+lbT"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.38.0_1546569689739_0.863677214583682"},"_hasShrinkwrap":false},"1.38.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.38.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"c24a6cee4d2c50845c077655fa15273b5a5a53f5","_id":"loom-js@1.38.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-YSdz2H9fGohsA16iNPoagAzH1OQk3mAvxbW9jKi6OnEB730cUz5sHg07H9u/J+9hjB/tOLA43TNeqH1Y5b+8/Q==","shasum":"ebf292b33f9e46a20e820a7692b04d8045548011","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.38.1.tgz","fileCount":141,"unpackedSize":3425683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcMwNbCRA9TVsSAnZWagAAiu0QAINzDh8AZMNjlwFp8sO/\nybZmCyfnxnLwR6v2dglRUrXQdbz6CIwUZRGTNj5G/2xf9q9qMFHs+Ehpj5qe\n12yaRbs2JJEslBLriskbtp7Dy1QqX/vOFQf/k6+aCoEh5x8BcXlyt9ybanH3\n46G/r9s53AmLK+5ug1K+3awmuYhPpQtJmEhZOo1wE5QKlw2bFEyNj4wG6Uhy\nGvGi0W1RnlPz2eewiVj2VIXIYh/+m6w0kjHrWhy26KZSexF25mCoJE5Q6MO2\nfBba9Mt/fR8sxbOtCJNxJRGTR8JIYIfWPYK5ThPBqejFERlucTmPaS425KRU\nY1GJoA4ouQufHiaXkpXb7QLfKMdtY+r+AbKpW/OPHhQfJMMCSz3VSqkQ+rjc\nZ4Ufv+uRACfaXf0skLkYzPubS8/8vfswkW6JIx+b78V2gVcoUZisGh22W17Y\ngti7lTr2toX6xGNDLQG2FHyc6O108UgP5zSoh3z9jmbv4H5VnsT9qqB2aqLd\nc71QuJzOmO9+RVTE2EYkJmPhyAOpXDhg7UpadDIuC2mPaHasOTy7lqsG96NW\nFUwprF1wcyme4zHdKGHZr8LYMe5TCB2P+tY+8eRxNImJ1LIZ3W8gihUoXhNR\nC9aNS8/uLRDaX5Rn0gvDo7u2WRkt2FlE1QSJF+f6IoRX8eBDrHGNOfEzzDxv\nmqbT\r\n=fiXq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpvWCT9lMl4X1J3Ds0wy++HO0zh1zCVW9uSxP2ywAyjgIgPoh3r38Duls3INOSBxeHCHFDwTw+xlnneSYp/NYhea4="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.38.1_1546847066349_0.6324935702277059"},"_hasShrinkwrap":false},"1.38.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.38.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"3ccf045ab79c2f439461b3266023992b7e52dbf9","_id":"loom-js@1.38.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-STDDWJgokDXi4PZ1r6a45DAM3fLNzrQde1AIqgZZn84xevj9ot+/0B/bazhNfhmMPIYB3YhHC3NMylivDmhjJg==","shasum":"b6a74c4cbeaf44c5feafe2a6434010970eb4b7f8","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.38.2.tgz","fileCount":141,"unpackedSize":3426058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM0rDCRA9TVsSAnZWagAAnQEP/RylnLz+QHj94GYVwFWY\ne3IdwHEo2Pb+g+eEP64JpvjuNqOLW/EH/G8xu5VdTCdxS0r1KIUPb2zafuRa\nSvK0iD5T83uejexINuOAv6eWCV+9NMuCl0O8n4hEYM/OuvoX1gAQqmZjKvv8\nkLE94YxwsZdFmyFVd88Q0hoY4XNqRQO+Ky0CRnqMa2NbkJE7B0mkPvjoWZ8L\n2ZQWpbrNMhZ3rDXPD2rE52VpeeiHtkZ7DVDHCBMcprUx4s7a/c1oGG8h6Tba\nN3l+pZ/Ceoebfr+hcgmiEw//jWKLx6Og2pHynZA8U+lnVVld8pF/5MzwIEt3\nyeG2q8wsjzf+xUj/R4g+wK2hEK8qmGkGAtb4G7pUQPsb+PCdbOUKp6dD6ny7\nmG6rzCtlDaqsoN7I713+Pd6Ec9EMunuke+kiF5IqJGr2AB0Q8Y1tQD4fCfdu\nl2SAg8juGP88aYfuy4naj9T+cieRhMB8kbHe7/bOo0oqvyRBuiqsojcfOvul\n/q7ZpgkMGvy6+jydUYffiXjxUPMDSUS6NtuMZWMPx3iz53hg58hJKVAB6EVh\nEEGG2MVYSiO4/CL3XhzJf9ijrGuejPUhz2nSljcaQ/02vVnkfIYYqxMjzwuc\nooN6zdEdnnoOD/mPkVyPZktS+YeR0K8r2ZfJbwylZDUatuEkV80o4rJKYHOv\nmZpD\r\n=hikZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtrjisXUgd7D6NF4MvmfezE8MuZ6+XJtVQahg4qlPJJAiBLsBvI7OckO39WaWdxO7AcdI2tZGrT0L2GvCL5jjZInw=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.38.2_1546865347021_0.5976139383353054"},"_hasShrinkwrap":false},"1.38.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.38.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"b8fa40bdedba98c85ae6f279c3f8e88a94d495ac","_id":"loom-js@1.38.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-1elmye/4vwuu63VqV6Qjs0aetiCTdxNxeiMfJJYnpjS4WdyqxgmELoR1f7CVgBvCv7AS2l3zvmT0hpxMijHdAQ==","shasum":"2b2f7ea89a6c569424c37eebed36c4a45aa6b4ca","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.38.3.tgz","fileCount":141,"unpackedSize":3426131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNK58CRA9TVsSAnZWagAAxCAP/0PCgyD6BD/5IWxOoD1p\ntPdhee8CCdjxnbmpPc3Y7LUx4/DWqpFwoEPJvlLSgZoQnPowUyQWPYyzichh\nY7ZEFf5uzW5qhTog6Le1Tz4qibwvY41K/rx7nJLUWnqKPhsJDTxH/4zHqZBX\nh3kqOhBJtcNuWXV100QFylN67ASSruPlzvCWcSHsJfQriCN47fl0HQIT9Fy8\no933Tm+toNcIk5f1t54V2UWZ7j+R5+9PYXBuAsLi/tbHNZpWGfV7RkUR2jYK\nb0fLo7aW89qtN0xKuRwBknk28xFfUzCsjAHsMoLOdYb3t2bYa9PflaFkwBLt\nMPsFnVR8adQnZiGSqEDTTEG/PgMdTdozIFALJtIOYbZWAzelNuwugb8wG6k6\nErqfkvfqkRE9MRfeyCEPQJ0nUh1q2b3xupFBgIzZ+gPK0LXatMbgxFhN+v+S\neKkvzDv4dhBn9tG5nRy3fLYuQGAiUYFfIVvq7JZTDEkgOEpCgKQDB8hKHMNp\n0Lh7DTidJTTM2ucoOeWgS0W7HT3YB4e+OPRBNUTapwSFIrCPE7VYNBUm+V5f\ngF9yuVCa/0iaQ8HQsfexWHWTl69vmW2uXf74nV3oPg3nO1KN2d/wkS28xHIM\nfkL+XTVT99C0iJcO4yZ8EvU5nIFNuxbzS50AmFXq7h91/cTHFMdGYY/LoPzL\n04St\r\n=EIG3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX12lC6DvablU+4mhrZCs9sjczXzs3hupLrmSoHmvl3wIhANVSgKnlM59I8n+r4yBD9VTvBSmGysuZ2fACL9CcARoY"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.38.3_1546956411374_0.7705285648909146"},"_hasShrinkwrap":false},"1.38.4":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.38.4","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"37baef005e92b53083c2b426bd0421455360e444","_id":"loom-js@1.38.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-rzs/b7XgmWWK1CKjhXiBUNZ1ViWhfizhgoLogRuy7aAmPXtwKzaPd+uUV0TO/GgkrPhNIQqTrY7ZD17elcacaA==","shasum":"76ce67fe272f9e0fcb21cc84815170f1aaf4c1e7","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.38.4.tgz","fileCount":141,"unpackedSize":3426322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNNP/CRA9TVsSAnZWagAAkkEP/0hAU5K5qEpAgVJX6wm5\nJQ7pjxTnTHSZZ0KK1wscfNYktFPUnLYPuDlm01Bec1LBAYwi8U2e9RMPgXU4\nON+wHzJMFn1VKYyle/g2fTQGD0MXUMxWmIikt7phUoQORn7tM49DE0GKOME2\ndddfLM9ZotXjFJd0m+Sq+D1NJhyCaezxtUJUka71JHU91wOIF6M4irepkkVv\n9UJM56ujNcPA9y13P2vDD9nUJ1VImv7i3WcFLuiT+M5nO6WAkiryWQbBC5w0\n/yUtOkkd25LyLGUYSzExyYvPlf7y9LDowrK0eWpxcdZkse0uYW6Rvol23Se8\nuJ7CX9nJNw8hgtPsZUCWqsSdvID9YUXeYkEoDsMWoXH/Px9X04D6tGgYqcAI\nMc78/rYV+AvMXINs5gy6skl2LVsHM0khjX9j+B23bI1+5rNDq+G2gqAO41em\n/lTj9T0V7c8cdAn0I1F7P7utmE8v4unoTYA6eVqNAcJwJLrI4a52KTCTTZxJ\nlEj6tu2/790Fw8cMJKufgwsymzTp+jrdXyZR9Lr7jQEGeShxGSRqyl8D8ENT\nzgJXvLcieaKcRvG7ZcY+TZgQEXzp7kjHbe9mHsNNxxg2Os3gChVw1B9VlJDG\nmNt7AcjVUIlYmoTlRGJsvxU/0MNY8GaKDRaZ85EOznyaHY+B4RJpvLyldaxX\ndO/R\r\n=N6aq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZew/IY0wma2p5QIo12/dMNI+AS9QLQeCobqQ6y39oiwIgKf1Mbf2ki4PY0nOW2nBC7fqVzI/WVE3cpMFRKJZmgWI="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.38.4_1546966014870_0.8932866716116676"},"_hasShrinkwrap":false},"1.39.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.39.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"046c9ece8c868035958f18061fac13b7ce81d089","_id":"loom-js@1.39.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-9/Zg3Oy31GGAH+VS4twZv47jCrSmE1W/9LqPvW0ulR4a3EKiQzx3C2U0CGL84EQulSbrpDxddPoDzVr3qKXbpA==","shasum":"b7f1b1deb7f8e9817e6a739b089ab0828126c1ce","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.39.0.tgz","fileCount":141,"unpackedSize":3628876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPJtqCRA9TVsSAnZWagAAGGEQAJX7qTBZq65belCBjYkQ\nvcXvlzdCZ6gQHEarD7Ufjx0NDO7bzhXJzzu/58Y9GBG/uxreXyankYFxmh0b\n+e3AusLweBgtyZg3LhIsYkG4zLftBY97rf82x0t1+wMOopmK+TDthWmpUDjh\n9iapqh/y3Yly1LldlhGK1JsErhx6pAztlVD0h2QGu/hz8XwsCTxR9sNiy/pe\nAsjRvYubkrh5eBumL9Nft3TRWGES5r9+ZaKiVZNjKaUYAaINLFia+To8chFr\n8PlVO7uqwcilMSlq5vY5Av8NuWkMCWGmNlBdpvAl3iaXXMUBCDi88x2RQyxr\nAcYBn86Gpllzr5d357ctm20kjDphytlr/k5skO3frd3m+mQM0Bkk66hOBppS\nKUZd7Lut0PUzCqiv0Z6zTx+pJJkB5bBpjqxkfFLHNFUehk4YZSghL6YrjBgS\nuzP2copCt82XJM7nnD85uDN8IwlU6hmtqcobR0nNmrda8VWXm6OzSGpD/Rd1\nZsI97qwz6A+VFu+MYTKp3oFcBMNrs5VkOJJO7it0sKb9r3GusyxYGpiwmM+L\nOJsQPZfU5CBGUZkiKH0MUQQg5mQquGmghX8ZnVZqXGgebt3FWO164VMMRTNF\nW+EFaZm61lVBOYZf5oFGokbLN3knnizijUBsh0wmuuWQ84A+Gk+oz2WD7Bg7\n4DE8\r\n=cZjb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1t1hpdGOzt8ZVT8RPBWibG9uR2sS5LFr+neTr/QGRPAiEAi2g4l1IzsUGQpwoPx3OpGHoUNrTLdwKFBNhWOzDPyNE="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.39.0_1547475817244_0.5223670727770311"},"_hasShrinkwrap":false},"1.40.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.40.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"daecbfc2f9df9b31a5e9a86ede0e17ac58de6435","_id":"loom-js@1.40.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-nVwn7ZzyVtdpPtb3Lie2wAiYb6951JGFc+05PibcFWafd7Xxtz98OsggSuyjAz46dwxKpb8eJPOUNoulsiar8A==","shasum":"9cc45b995e98ca369dd8e6a235ecb0a2cd12cd5c","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.40.0.tgz","fileCount":141,"unpackedSize":3659763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTerPCRA9TVsSAnZWagAANTMQAIiPb6jIn1GmdYwX7uAU\nEZcGFMiKVyRrHQwRWbGtcLhFKuzixy443rSokPt/VNAWzqOjgFDlM4couDjD\nxYj8RsuMDK0T2VEg8hxqNfsH81H6KbTBq+K783l63bjbGQwI5vVn8rlmmz5J\nx4cxWzU9rM7Nk9+xcuHZdRwW6OkZL1xeRSrbYClMVC0f5j1wpnhDT7XICUUB\nhla3WlsmgM9ohL8bipsvslQl6j6P2yK/vJ0aP/l6QXhPVrXa+Qxo8TrjdGXm\nW4ZXdUCCMJsxvMTZNiR4AVPbAl8bj807Zb8abuZPvCFH51+HAkfV5QoULnG/\n3O5ixPU7eFXTyNveQj0yH4U/VPccxH0x4JNFnC4gGJRqoY1wYhppGHCZGaUQ\nBYxxHBBZRYMORsywArZ1Q8B4GpMKhV5XU6h65YAUK4iisAUvmyAfjZnRnw83\nWI14eHH+YM/uvs3iXWBmnpzV8yiTeGswd7tn+01BsLrIwEbH4NzI6Gph9Sbo\nEqZkm0SXnBEltq2pgACyiObJagKD192zDc6AIC2KF0AvD8FT/0ovpGsVCQm6\nVVAtCxtcIC6xUGDkV0QAbi6BVVLiG6s3X4mF9mKM7CfGuabx3/dBIuEuCBzp\nW6G+gjiGwJ2NEdLDXMglh1HttrhH2YuuMtxRMGDopIm4F3WRIBru3OGo4Rw3\nl479\r\n=6iPA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwAu/idAntEVrUt3QI4y2VP7LvKPzNh250cANnnD6RBwIgQ8J6E2bYacDRq1ikxGqE1+sDzVdiULKHX5Uvhqk3iRU="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.40.0_1548610254759_0.41596901517080287"},"_hasShrinkwrap":false},"1.40.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.40.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"f249d7b4485da5960a10ce71386f210c4f3de5da","_id":"loom-js@1.40.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-DTx1wNaq4LKfLwsX0VCK47gRLQg3grIX1P+uk3cwb/QCJpLKnkxctVj75XC8jXnfhM48yVwY4lQpeihjP7ZOrA==","shasum":"26351370eb738db0e1309fd66839193e83230a7d","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.40.1.tgz","fileCount":141,"unpackedSize":3674211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcToWKCRA9TVsSAnZWagAAqwwP/1S2JqYg9pfuA3ZNLOe6\nBUogqSdLKtE7m+4q4CmV0vgmiSsOw3oqZDxLTW2lI18fAtG3KoH3Y8prF20I\nkRhXBjIG06uctANJVmCFhv7xF+V54C9Iil+A/MAV0LzLpwaDIHu4w4oAU08t\nd/ZmQQdT40EYxW+LX7ruktuSyJ5X4erU3EzSt7MGte5/8ikl/Bv3gV114WlK\nFIopws7Y/uDhSoPkR042UXEBU3ttfZuqyl9s7wO26Tz5nPoJ0S/B64tekukv\nLeu/JyzESU/EVOpJJTm/eUibqKCon6jOiCWucYCRNxbaQNp/d5zU/7KgRE73\nFSe6J2UNzDvVMQFfuTeGeHqZ/RM7BpY5f2L5r0PyKLEduw3pfxiTdmoRVlo8\nMEGyUMZQx9AjxYpc61/quOdoAmF5SQChNazX3Xftt9EfiUTRKTNAMNgK+HaF\nEgsEdCZzFO5AIpSAZBL/zgIMCD2dObqVNSPF8/NKRRjsU/48LZ9l9O1RuL3H\n+h1ykn9eUjPD723afv8gzI+Uw6hDQKIDn9lcKVAD3Szc/9gLyFnk/crc6e1j\nTg7PV5UBBH8d0N0bflL2PacgS8vyKudfidE4bgW1fsE0hHlsanfSJutUFQ4P\n064TAcZSLiEkx89YXSKMfaZZDNXbvIRj+dkBQ9EhwF2SuLT3FiWsIPDzjECF\n38pj\r\n=ra9k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKBSm2bqNJXbUTg6xlJrkAVhbqCibrM+wq0aAR1bUG/AiAJ2pRHAFgxZyKllZqyz6/qMvd2r8htnyXQf5RuKHJ4Lg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.40.1_1548649865746_0.40488170391739886"},"_hasShrinkwrap":false},"1.41.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.41.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"bc9055fa2706c801845dec9758ff94ecb41d1262","_id":"loom-js@1.41.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-nXV+4dWD6OEg3niWnUsyIXlce8G6vyYWUS0pHBRR7ncxet9OiOqAKMxYvELkJ2MvZ397G/pTmXP9BLoEIz7TVQ==","shasum":"3e4ca50218143151d6e0498db26e86fad47bd232","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.41.0.tgz","fileCount":141,"unpackedSize":3603371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXBgACRA9TVsSAnZWagAAI/kQAKQiCPzOPZDMctxcqfMv\nuooPy/oh4Ketbi3tiM5b4kP3BBN3I8q9lcj8tDgx0h/2/Kb5Q6XmWkDI+MMs\n3ZReE/UbQiR5UN4B9o7vRNJ1aeJkE+X8GnTfOcL2ovKPgwYKbIi+XLjKlk5b\nH0wyisVNy/D+Q1bcqvzs6MNosmCTCKbPXVNrvYr8CpykqVlbDKBa9MToIpGD\nVTecJU0pGifXHUILaumztTi5SlZT6mFmOnfwqcGTvszk8jPF4YOS9Fok1vWZ\n7vRPffH7+XNSDBzWwcXsa9zkozkx7nw0wlW8wEAj453xMZsGwlQZZ3j56qr2\nID2GYLTws7KIH/wfIuJOaTgDIN7cK8DOom5WZWRyM2Wy4VJF1tFN6+wpwsFj\nTHP5sRkiGrEeNxElSnwelqE0SyP1MviJp0yhh9npukCIbQGpjW6Gs3P+K5xv\nWjVZa8tY0lA9VyN02ilNFSgFey6W0TVleyFkgIUuJwmVD94vUHtY3/s9u/HJ\nYcaH4FWRUqWvCHf3451DnxrVLtM/Tbk1+4KvloRoHqyYGTJyRp2Ru1Z6Ahxe\n6Ayy/mx1yKtpD0AdVgpc/mbnGLqYgRXOIxbjhfKmMUkjmBL7+2GgabwxbVpx\nJF7Bh6vVTp19JWrSO9do6cShsxB52O4lP1xvSZhlE4eSBhLNWBk6ECWtsWhH\nyZUy\r\n=DB9K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw+7wTy5ZwFprnEULAZtMa1gd+ZBPCB5LwxPZw32wsWgIgZfDgPPs3E4bUZK8oV1EeElK8MW7W0HuZaWNdskIhvXk="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.41.0_1549539327825_0.06165829656118671"},"_hasShrinkwrap":false},"1.41.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.41.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"8f68caa55bd55b6fc2a17bf8072ec96c155fc349","_id":"loom-js@1.41.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-IxTtDQ72Hc3GpE1NiF7zqIK8uvoTvd06Res/OjemNcIIXGjPxGyeqirC6I1tpZHwh8cEfEJQWwRLTU0RQY5piw==","shasum":"db3693d3cbad2ffc4f4a76cb9f213e85a996ff00","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.41.1.tgz","fileCount":141,"unpackedSize":3603383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYXDzCRA9TVsSAnZWagAALjMP/jh9dOmf3phyRGNAfWQH\nMu64nMFGPGl4zvKEfIfB033C5hF9siqqhRJ4QW6RgFkArYOOkEWUAniDFIEF\nkGjn6rqMCwqxukKB4szwKyUIj5c3Hdk3UnyqsY01T9iX4f03EoDf2t5O/gdX\nesTwfmfw7cBiVQWYP/Jy3TdG4kEmifPCXqRLH3BkygeEZhmjEl/eyV3QBwy6\n3WQsI8OyltXsGXdpq7l93gQQwgUq7zwUEbWXEvdibJkUPEaltF+Q9iy1ZA0Q\nQYp0/8y/wH3t7q/xTzKxqY/WpsHa+B0X+2kBs/3WGJaxDbGsVglf/e4hsQw/\nA9X7MU0y2p/d/3Ioh1NpWBLShBcqKvEb/pn/86Yt+IG1ILGtCyXpeIqPQ+Fw\noeOC8EkfA2tBTu1fwNeZoi15IyJYK46yxvPvjx0uSY4l4c0qP8A11PeAfkbI\neF8AzUiwT8ZUIfBWlIaS7cl4p7haU+1HSj2FMb67FG9051QgVwtAbS90Nlks\nZMxn+6V9IC8rlTZn6fix9ZBijMJl3A8wUnhKyGtgJjJ+r1ZY2JW++EmwGV+V\n0bY1O4qkfoYmb++sfijuW2IxPZgWuCNF5jxdjm6Vuk3y7FzJl9xNVJebuomE\nVfoJnQAD2V7R48nK+llbpyxszurmucrCkDkbM8HZoPzEW8Pkaa9COn6OqWFd\nTEdN\r\n=1RrU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaSzgDEEDCnvlPiMY81VfYBseUi4OKYDmlUio01zNFPAiEAz89RNVg+CKMbtpFPBhsGzpPsLqYikC6gSE6wY4tB0W8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.41.1_1549889779055_0.04911008833063102"},"_hasShrinkwrap":false},"1.41.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.41.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"9497116ccec5f816014d138db7aed6a450adfdd9","_id":"loom-js@1.41.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-DG/hxz65mJh7K5K1WbFDh/DTT93zFUV+gcEQ5cfy5kx0/rsCPCmjp+in+fhE2h3McB3dJwAdakGIjG07XIjH7w==","shasum":"eb8e122d531ac7d1b9dc1cac368459a664064521","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.41.2.tgz","fileCount":141,"unpackedSize":3618284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYmBmCRA9TVsSAnZWagAAEBsP/jIGBtuIzPAZdx6c5a6q\nS65WFJgQqTCsrRHqI81pjX7V/61hJGnvs+RMR0uc2J3XRw1RTn7Oa5tP28rY\nixT0+vr3g62ZxssQFoCbgkKQwTIo9IzG/FQ8XPsprJqLgVdgge/akKkQfC8b\n/1f1gh2K5Ty1CuBURPMksSi7MrFP5SzD5fAUzDoma4sLKw7cLAySYcZ7D0h3\nnsKjuX+jrfQZQk5ryn3zjevuwZ1GmQQYtxaFPE78q/LplDVWVWDFT7O2FKYi\nKewQDEjsqdxwaUnLS+1BJuwAt712US7WS72EysGP/X1TqztUvm4T0Zngcdme\nv9AfvdVtC9Q4aNP+QQr2nwieMIWQLHZ5jFPZVSGdlkcrVxXSrwsC8KjokXnX\nJf6/kZEL7H1ijuzNe0xfkNMgHWBVokxE//cYJR5ZznoJ/nL0C1KAYLi472SI\nv7U88h2qqL/NY0GphmWLnPzxZrGfWyhc8D24cc4U5CnBSeoFujJOqAHjObrA\njmfq9IqgcZe7pPhbhjxW7U5PyTv4Sz8AFlWMbkeNjZJyfgJuZgGjHGrlTgkP\ngZixADbRAZqtQMSpXM4KzOgdRYGz3w6XhWRUE/1NxR5ClpTkKzsoJz/hDAmh\nWzk2cnk6NDN8M+9feSUhlC0zK5t1hkWad24QKAPe3AxcCrfQIy2AyfP/jvqu\n/Fjr\r\n=3n1J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEa9CUhx7VRQrYDT6iAhdtbi8fLrb8SJulWAkkiDW/6pAiEAtc4o46Y1MIXVCwIse/LUJZN96/qTTe5Xu4DNHgHMOb8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.41.2_1549951077799_0.12210996701208221"},"_hasShrinkwrap":false},"1.41.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.41.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"e3ebb4be61dabd8ac2269d6918b0fb188c160d83","_id":"loom-js@1.41.3","_nodeVersion":"8.9.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-j3Jsc9v89K8OQK+tYa+Z5iAtNKocyAyPF/jUpXdLY5dk4VhLlbuHopf25KEcK2Qob57suWpZJcJRJmrL0WVmew==","shasum":"48b04e0cbc801c781f8f72e1146fbc6affd8eb9b","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.41.3.tgz","fileCount":141,"unpackedSize":3619958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcY+H+CRA9TVsSAnZWagAA0AEQAIGoIOp59lkUeWmERlP+\n7k34ql+pYOagmYL5lLv6n531ATjZL8XqYALiMq6Jd/5bJHIkkxmINBwJ7M0h\nfnCxdrTZxpnMUuANk3PLedFgjrcxUQ5ZgWrYeZgAqHjbLgXh9+vY69dR1kXf\nsgl+4HbWXRVYQp3bbpv6JxRg/BhzofyKMX8xs2+lT9qu6BZrKeZI0P+xwdfV\nQQnj1Iek5TIvb9j/B/y59Tee6gXGBjUCq+OjWKZ/OW2EEV3kBTvcgj4qvplX\nkd6diKEAXEWvM74ZFsxdSusDc7pK59h9KWpxcAmZhrOcnlvwPU896mTxupuv\nfo92Y1GqTIlR7vbmcAe5CZHH2D7CO18ZVmeSwMvt97ksc7TGFWAGGMEhdM5m\ntFcoTF2bJtbwBCz3gTCQ8dS+ALldRG8a0Y3ywNvXtYcMRROHXGrw1uYaRp85\nnU1z/sgqz5SCChsKkOH6PfDy6AOXib4Gd/nYHi1FVMcxN1uUBoRep9nVoFyV\nEBzgHum8T6guYHDgp7Wo8j5TNhVo0hkHZodcykBEirIPyh3A1q8Sy5y9gT+3\nzi3ZcDmAhPL1rn70fZCDze2rXECK+TBg/5R3g5lE85XfkrH2Rr3McHNF4Mpv\nz4RloOoOJ9gTTEHKSKe30rSpxIFj9hISZATxPlO3/p8yUNmuRGrjFzi3CF5k\nGb5H\r\n=eD+f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVCJ64+fF32Y7h3I4+dCSKgV/TeusvMBI7EiqPv730hAIhAOhs1jHOmtBcHQ7I139feskEvBc3MNyVIlOjqWWAvGgu"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.41.3_1550049789435_0.48672080090125047"},"_hasShrinkwrap":false},"1.42.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.42.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"7734f7af19eb021d5c5cbfe550f6bf40d56056cc","_id":"loom-js@1.42.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-giXTPeUh/JvioUMUpr+2mZ7ujJP0TkHC8HxbFbDhzxnd15Xd76E2WkPTd6cCq1u87lm10b+b3bjV0F8p6a7ujQ==","shasum":"9afbde3d0f1010adbd27d036b516aa6536eae4be","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.42.0.tgz","fileCount":141,"unpackedSize":3619960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZm3MCRA9TVsSAnZWagAAawYP/RKhL4B17Hy1xqb+lxIs\n8/HFVQvwVGu2rtNXNTXxMH89hZu8RX7pPTio6ipaSU7i/cQr7lbvhWrE8JeE\ne2IAbxfosmCCNKRVQ3bgCPB8OxUHYSJsIdsAUCtiJUKBbLkjNWNOL4lQKDYP\nhV2d2iJURU2c0JBTlTjjpi9Mg/teAlgOEV81+JsVS/7FMsmmtQao255ArcWr\nqetnxVCux//z2NOWH5QyUVcsa0jyzszTB6KMxf61XwuVbwKmlTPkVBJeuA4x\n5zCCNY1CIsFzASp1yVpwN01NWnpBgR+w4SDEaYq0Wrt7Ge7n0YvIpnE+Ys9R\nl/7X/Lwr8KG9SnYhZSBBcaeNAPysE/WjWWeg7UQe8sg4TuomFFRmWHGxGrjc\n8VtpfdH5dzLWchndmTTI/p9g2JL6DPHx47z45SJeYLa0b5hzKGEbcXRPVGT0\npH43WC7MIFJccAt5bPyugA3LhWcFBc6WWpgSGP19Q8nSN4ve1LNrqStCSm2a\nKhw03/4KIchGVQqd8e8xmH0OT1CKqY2RzRuwdon/2/qaqc6JeGiVPJcAOwKS\nL2JFDKcGwbFudJGbcoNLuiOkn1QW2PdvVjM74r/AtI510UgZpd/NesASjifK\nVpj4c9zr0d/keE8lOELiAcm0Zg1jv8pcOtauQLAFQfk5xF9h3EVE21TeadMB\nWx//\r\n=tjyo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAroWBnumJqKQNG/2NEXycsDxWcru6+VwN2n2IKaFr/XAiEAouuGT92d6ZPzxKJLB1MIfGYbaUC6aNfTFf6SLmuB1a0="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.42.0_1550216651595_0.483701766083259"},"_hasShrinkwrap":false},"1.42.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.42.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"0bfa3f9cee7b49775a5d123da3b709e0521be0e3","_id":"loom-js@1.42.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-kMM8c6Iiz9SMjC/45LKzyM+7oWdH+wfWp0MUvCSJlJgDNHIXuGXilNYnwLABtvQvil/w4urulgtvQ9uOTPb+Ag==","shasum":"b46115bcc70d4f650addfd187afdc43eda9c2629","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.42.1.tgz","fileCount":141,"unpackedSize":3621054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbN/oCRA9TVsSAnZWagAAX5kP/0n0w2Rlzbn7Apcal0Ud\nKbuOVOh2UTmZ0eKj9OA2/SYlF5hqlxUUm/+5fuq2cb8O8USlba/kEwcYuxKw\nopZcCxy9iFGrHDxmF1tRgtGAjegk9yOHVMGWEP0HTQayIkGfH0LSJwOM8Eeg\niXKqwwR0x9DnO5HqmrLbLRUqg2y6Km45IGciQ/z5sLzaoTtlf/hKc14+yeOA\nXaACX6E0EBXg9EhG4ruT5fL4vafwZ9bwVCepQ77PfYfJjcXcnXTOIaEqvBMv\nWh4AbFzjxXu20inVWcyJYqaYQ8bQQFKMQESRLOOm3JpG8aOfSY+kcq1WQxLL\nQLzfE8iFeMsCaySik8tm2oW/PWmzy8GQXzAVf0eBgiJqXyQCmaWaNPUBvKet\n8XOwV1UveyjVfEeAfTj2bdUkYLlhSPfA3vYbgR2BMt6iU4Y7dKnlr5+ojXWe\nyw9xoohMDWc2K1gNp1QLKpaqB20RMBpWDzF5/4ihA5Ua938RktF0QxUKf1kk\nXJTzxovs9aw9ymWZvuZwm0XH2JkJtzdRVzWieIP+iqem4tz/kLsKv/dOLbIC\nQmYjerrM8liDTOTFLmIqMdyAHdHX9A1rSqdjHqMVzQr25D4HgwMk9XT2lEKb\nz/f0dD1aFYCCggIuOg51ELL+O+M6pz79HIlNL8ZM+quR/N/xbbz5IxvPxeCz\nP6h+\r\n=lDNY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0Yx51TaEwYFhUQGI4m6AB8QhjQp3pZJsY42qu+DGN9AiBjJsoX6mmaDSl/qdU7COOGEwR2fNXpHI1mug2cvnfopQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.42.1_1550639079790_0.9285481309980559"},"_hasShrinkwrap":false},"1.42.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.42.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"c995f54385035c312d0949e96419bc40be39ce11","_id":"loom-js@1.42.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-nZD/NiIAt7rbgwYKUaMJ5IVQGhxG8zrh7L9OsL8Tp3j/xmhcA5u6i7FPDja4TtKXiGzWZwqzMGoumLFHOAMy9w==","shasum":"fcc7a70d4129fb9f0fe7cec977677920fca79e9a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.42.2.tgz","fileCount":141,"unpackedSize":3660169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbi3+CRA9TVsSAnZWagAA7xgQAIh+QcGrosJenoll8NJ2\nY0QE4U1g/pb2LinEsEhCXNzFbFfimMBjawFeuW2Ogqb0WfoCxK+3kAL+Obkf\n1qJe2+k2xt8ZIULjboxE222a0mHIAgH+29ZK06e1ZzWKlMrb7giBrM/Nrfhj\nyLFy4cj+mC2bhqtWKmA7ULslc7peEMT2bvm0DpGbsnjE8WCoWQnzD6G2VweS\nHl/ndsoVTzIk1RZtIY+iJAUM+TY2gY1B5qK2+Adjx7AsfundfC5a7Botl65a\no3lJFyfrjOr/foNKTSliJLN92lNOV03wAhCsuUcV7uDoR9gxaI1UrtfAiAr9\ngzsRF0+hjuhPbxSlFeOYhTAl4rqJoeXC7hYD1YUgzWvG+7sAubwO2HBL/CLm\nWruc181SJoeBvkgGpcO4aoVy/ku+PWaFwuED/zTS7aRjY+p2sllCp0n8b9SY\nebruUY+AmHGIgMVYVf1n7taNw1y1g/B6IURGGm4tZiMXL/FfMCgFWizvWIYQ\nsibtZBc00LAEpCLWbrBc0ld/BphYDBkcEeyM7P3qqGr4ySGgMbEZ/UyvsE0w\nTN1jdDT5Jh8vlAqLNKScfDC4rHiO8QUuwcorNqXZwr5nfewVRPljLNiWpMw1\ncMEd9pfhMb9W9trKPnNi6UnjKEe8ikuJG89jlueClqbnfECtiakaxS6JYHY+\nVVKn\r\n=otRO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICv+Wj2w8RMlViEZFUCxqM/h8BXqjH/TdV0lMmnRREeEAiBnJQzFrKue3f9m+Wl0Z07B16TIbbiiyiHGjiRhI9RGMg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.42.2_1550724605982_0.20526679803531134"},"_hasShrinkwrap":false},"1.43.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.43.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"39a48b6d9338bb6316a7eda1991581c82254f102","_id":"loom-js@1.43.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-UYRXAbbukBoWI+bzhOyUlWII7ov9qt8Z0Yb0P8ZBva3+xBRZUT+Sd+VNBCZQhQckO+XtwWmsvY4c+uz3230d4Q==","shasum":"7b508efaceaa2801641ab1b77a7aa93dcec95c17","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.43.0.tgz","fileCount":142,"unpackedSize":3694932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc5XYCRA9TVsSAnZWagAAacAP/1uHqTrowP5oAhri/x2t\n9mJG/YvIgwIulTI23629iuy9Me54oHg9vlK+HIyO84wVTkhynoAHtetHXz2d\nZ04Vs7nEHBEu2L9fRq5L8k+nAm4lY7gDiCNfluxruTJcB7h25MkO7qvkfEFB\nX8iAhkRxHdh+C3Ih5BwOZd3/ENqWFvuwTmmr/T5ZesZhuNYGrnhN9LQnm+P0\ng6+MxFbjObFDL5bonSggClX9aaRhyd63sfmMmbNzNER0zNxb4SAa/K8krCBb\nvaem1TgcgDdFGktC2CVRvhYaXZiLPd+micX9YBIDkdlIVFI3zuFL9e2qZe+/\nfaVv1soNKDomgDAF4pdTZPpnqM1Q5LZ1z0MRExd656EBisf936yvEBD1Q1zp\nBUqUjQjHiLvuaJexGCED8rlHxFtUE4VMDhtaj6+4mOCZXSJQpWBLrTxtHbGQ\nCyRlDTzQs+MplW9arKycgH7x38KUxRm0K2FgwNIdLciYUK/1KfZP82n7dp0e\nIh2GP2pl5C8JCavCFfG2lkmgzxcTx17J4NbPisWZnmRllkKKSpOWCKjcWwg3\nDQHNYTYq3pK2Xnk5ExdW+SysVyRrPGeJmkNj2A1Iu7g+KBodIYGIA5WCbgIL\nU8r07dWZ6uSb6+LgaDXKsR5BD1Fc43FYKhClxMtO0dsrhGC8jBT7K/2yixih\np+oV\r\n=kcxz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVApnr3HbD+D6WTmp2m0W4WkVxoLeVsi2S0cLnzWIIggIgfnwNgYYYM1MHWVfgUhppM1levZNX46wR1Knca9vAzAA="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.43.0_1551078871492_0.4130317986825591"},"_hasShrinkwrap":false},"1.44.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.44.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"bdb5f0995f8288ba4bfbd47d82f98a8f1879e8c0","_id":"loom-js@1.44.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-SR1EK8KwwXY7gmuTBFIcxTysXvdIma3IrAyftgIAbS/0r/k9zd6DM01oD4blfIAlkCtjrd60ffHl7uGDYxhPEA==","shasum":"53238f0fadbbe4321bb64206420012c4d450d799","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.44.0.tgz","fileCount":142,"unpackedSize":3693871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc57YCRA9TVsSAnZWagAA79sP/3oy3TAtd5fFgjc9Vdw2\nzioGLJU7Jw+/No/TxmTqUsbK/fb1Znvka+oaPa4a6oyHuLb/PTaZONuOsvup\ngUh5DJlej3OrugbhlUE1+aXbFlCqO4v1endg1qkjCKM9tkGQG/OvfwWQjS7U\nVqR5AQ1E+Aup/kecqZXO4KFtlzpbGC62l20tXyMrK3fVvvweUrNDx8tzyN/f\nOsXCUgLip45IyxDJpLV4inIioGLikrq/3LhhazflKEFmWVfDLNMEy9OPfJfj\nLgj2yUVBJCKM2eMxqaanZYZVMW5QXLCb0xqM9axfNQG8VbE6hJF6Tbu+fTHH\nP3DAicCRHE5jpYI3W0FqyEn4a/Ical4WNNewcEequrpKQQKbMfHF5/4Z8au9\nJJWPtvNWwGJJKG32Br2eF5JDpdOzNpexhYdadFOYH6/RfEl51u8ClAm7Z8ZF\ndhNMN9ULj1k2Y7dgVb6Y8R6nUV9gQHDt1uIuRORjyCGXBUHSj1Ee6BEr6SyY\nlfXuxCyP+2WpiurrBukJVPW+7OAVlWHab+3kZPer6c7B6dOsqS8H7KuiG6Fd\nF6LXemtkPeEq8kI/PnQm0FJ8W5WYvLwktrA1FLEMpnd4a6NqItA39gBiQeO3\nl+z1Y9lOHmM+AepK386qY1VchZNedzDf7WoYaERRtUYQbKuSgoeoljbih2CZ\nz2L6\r\n=Pofy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi+IeXiN7FK1HCwAAXE0Uc2CnjyilOlrrv3vul84He7QIgPmOPbkXrpm2vSnJhWi+ks2SX3YDIRKAQ95ttnVNNcH8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.44.0_1551081176155_0.050014420111550884"},"_hasShrinkwrap":false},"1.44.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.44.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"3b2dd7a615386bea9ce76cae749a8b43d4ccc21f","_id":"loom-js@1.44.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-TxAqY7uuEVJRO7hv2leqgZDmXtIt9I56+/qQ0lduwG7ON0OPPZT0j1/hB4iEFpcAA3wMBj6s6LfETCrbH3Z+FQ==","shasum":"dd137518257a294e9e249ce9d6fc1638f2c1cc4c","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.44.1.tgz","fileCount":143,"unpackedSize":3693893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc7/JCRA9TVsSAnZWagAAFiwP/RfNmlq0gZxMJ8q2JMra\nxVLJ+A8Pk3ZhpXuqXtt66lThyAj2ISawBy6iXzhKQJBSu+ip6zQJHhDCZeqI\nbbiRjMvOTlERe0T/ZptGCNt56xNqSB18Guq4uKQVOSHd8ILzcHGTuyPm0Mtu\nsoPzKKyR8SJ6bDjE3b02YN+t/NUmowhOC1JRng4hvwNUmgTVVXFO/3UKtqNF\nm08XaAql/zFan0Jdu3XgEbQIBi+YnHsdYEdyA6d59if5KryDyEBCBGwLIje9\nc2SfgbTJqYNJRGNjZGWC6M7Ms0C8aFf7cykz2Q0OQf6RopxTc4V4hGiTZxup\nv9+0UErsEJwWgYMYkBe20tCSdjvu4tdgNzJ2CqWo8y5yZnCRA+54aYpJ1JLC\nk9vJhwNTGgZpcxz57J46BpX23rb/n2yRC/oudVJfmOPOO6A1cOlKkJdUr1IN\nSEL0sVRTtOUfxloyvl4EVjt8DG6YOdzHCQaNU7dn7kIchOhsH4LEQYW/cXf7\nHlHbvAiNRL7B72eNDRDNLSMxaY1AjWutT5Gh9xxwrgXmp+J1O5g0QDVBnuZ5\njIshTRv+VBU14R2NiiBXU9+xzX4Gl9kZElp8ffN9PfXzK6xaQkPqIH43rOFe\nbDmtgxyImvbGlPimBZm9FpSf2AeE60phV3PGlvtbwxUsMaxBGbO2MrcWAFUI\ncXlM\r\n=ToIB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1my0Pg+jAR42NebRlxSMrm98ahuYz/PwRdVh6aB9x+AiEAkUwHNypssBP6D87Wm5qsRWsz+rKvlGFeZk147IxEKm4="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.44.1_1551089608484_0.5913707294166639"},"_hasShrinkwrap":false},"1.45.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.45.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"f7d7cdab8b42b0f49d6c4c67c2516a212956310a","_id":"loom-js@1.45.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Tx6tvuGBtkooByGw1y3lDWw5X/ZyLkdKyFOWxOmY8Pstg7KO0ACTXyXSs7YJb7Xzn2sQ2SgBdbOn02LEyrjU+Q==","shasum":"80263720baa05ebe6838507f04b7d43ef103fe6a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.45.0.tgz","fileCount":143,"unpackedSize":3696100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdadDCRA9TVsSAnZWagAA9jIQAIDYw8UoKjlMtkVl3CuT\nEJMTQa82utDaCem5fSqAk9FAOZ7yqsff7tSd+X9n7JKBauTwUOyLPTRvwg9j\nxizAfpZM8sZNwtTxckMMTvvkrxxf+L2milA/Jrny1t6c4HRN48Lk7peUbQXx\n5XhtGY6mSvtyfRcoYmHggsnnCBze8TeBlAHpFaX3qjlavzSgmdQUW90YPAiD\ngYdzghh/009iZCXd40y4Igpb/e+9K+JKPgzocXC4cNFteKP6PdFiTniXULhN\nVkvdfg9E2n1xna1Ud9+npP+tKAzYaDMtMiP0JIAr4hfZsr7dvqpWs8JT62xQ\n9NyN6rI1ZeulDibO8IMl8iNNqR+EABSHXlEhPgCTEX8vOmocdTvtDaZAvCNm\nYAxd721iAWLLp72sNvR3ePX8A0deZyq1aQmg+C7LGuzpw7vvohlfM7Y8Qak9\nUHHKpPnhfNWt8Fob+KYdmZjDIg/yx0apWYfbDqyGlSfbYaKlAg3Bap48/1DE\n3wTeCzaypdyckf2gHSUZI7j2xvemXez8IxOh9WoNGPjui1fhyDFI3hLuQ7SH\nFfzFOURDXxkPdVtGMMy8GF+fojpGiW42tHoKGrBZ9QnLaKF0UrjGi7VIz8x8\nL2l8Ftj7an3EAX2p7+XZtPTD0wc5c7KKsr+lOYDoifs5EbSZ9Sv86CYfnPr7\nFuXd\r\n=gWxH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVpDBOnDpD6+JBvOVwPnq8h+pqZxqAHpJ8jMAN5DKQpAIhANpSIWctv+byvB/Oqi7hq8R2N5+VIWRQqnPd2PoRqy0/"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.45.0_1551214402799_0.5688380120986443"},"_hasShrinkwrap":false},"1.46.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.46.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"e1222ddb9f9de4dded55ab9ca961fdaeb0df213c","_id":"loom-js@1.46.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-+b+INh+dbxk/qGJNbMNohAwtfO7LOG9s3sSK7SXq49TRKZFObLuvfr7q8D8R6jjBMAUZHHb/PrPqygcy6+SU2A==","shasum":"8d25046c03675b103bf0e328ba22b0b8c494b540","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.46.0.tgz","fileCount":146,"unpackedSize":3708411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdphjCRA9TVsSAnZWagAAL4YP/1JCq1DB9cD739/GTwRI\n2mXNXsXPbabMM9YqbwSAQBKoIL9AvY2/wVZRbsRkKtf+bIjL6KRfGlTqTmLV\n+WmXSCKZ51q2LlzL38mGb9HgNDBVVz/m8D9CqJt7jaqF2XRAaHX7IeS3lXUW\nJmtoXeD+4jJBrlSRVak4zEDpE+NKOHaGVHCPTo4bRp1qTqzsGvEiVW95W1pF\naYlAYLMKRfmMpNXTf1PRFjZMlzPdD/4AwtH4KHdZQzzsWK/VA5l01dHnEaQb\nRWxzDbvtZpdgbOrKan3TK9xfq64h3807X+Y0Wi5XRFCAFI/cjbpAJUToihJg\nxcoLEgpfHD2dSCITG7qsd4SFdAl5ewTiiwHBDjUAULmQLxsbyo/2VtxaYa9u\ns1vrNCfrn3KZFBfzSv0KIOGkvbphAji+6VcAEWtZZpm0/Y5zitj1y86BT8Dj\ntZ5lmFzV9P/47dbMgCQvL21vci6HIrjo4geXHjti3JV6Mp+wVVWpNuz3hU5D\n6C6A4L2lhru+EaBA1FPPX8yieTswZJ1uuWP7BLriEs6Hjz5iXdRVu3i5i3Dy\n4lUfwk8RQ/sfuuOkzglrRzsdEtwNYQz5w2dS7XnDwnuD9eOKzxgsUHKcUIsP\nS7eEEfWmdZ+jvh+yk56xoZja65CTpuXCjyafj7f1MpF5ZMJBp9FiTaMJytTJ\nfAaV\r\n=jh34\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDszeW9iTp4iDFyJNGJvTqbxyIStCtL1MkQVEB4qYcNYgIhALFEz5FJCjt/n3AXnGvvIWxyRDZ9GsXa0ZcNHT1aXZCC"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.46.0_1551276130887_0.709408904270806"},"_hasShrinkwrap":false},"1.46.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.46.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"5f4b35468000164e2feaaac961eb4a4c2ed910a9","_id":"loom-js@1.46.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-wlG1r+Lh6JGSLXM8vOkJj9AlouSyI+qEzt95MEsvm123MeiuRweq9kRNemqA2+9fQYtkUMgEOjNf0z7UrmLhlw==","shasum":"5600947297aef588f532366ce7bc9d202a1dab36","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.46.1.tgz","fileCount":146,"unpackedSize":3758933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfQEdCRA9TVsSAnZWagAAmsYQAIt8kj1UdeZ2OTIsLGRL\nq/DtZ10iApR2HKNBa7a5ooOMaEnYQ4tCev1lbTqZ1F1hUbdmpmoyuVvlKwon\nWXOWjadBXWK3yDBoaRoi2rFokb9aCi78n0qcRsqYcYqjHmM3s07rlS2Sxn6v\n/DPoHOOCC8d4CmlI1g05WEQ9RTl3xuMlLtb509kGx1XIaTv3aVpp5+BSL5xq\nBNsCk8cYYdid4H3z0A9VsxmMKhiOuXJa6GXz5GK/1TjJklBePPTZuGDXLUXS\nVugyEJG2wwv44Sf+zOJ4e8VEQWrpXYqvZhLAHWlxoLGeSFP8lvi8rh+zzA24\n1AumhHUUqc8oxY/EjXU7WBeEqBNPVKiMFDYMk9IpIEHBX9YpQEoHWyF+RgFF\nAC+GhUhUJENIjWeyaBBRi1x55TlwuIQtm/roTlWl8yFwW7oVu/ovWM+v0Pon\nS2WcFrIQdtBNa+lwags/LhwJa8fFdomPHV65kt88RjzYUXOx1E1msA8ac55O\n/aXcvy6arwHDJkgj93CF0BigaqDF8iFaIILIk+d+lCHowNCpRi75ZAMZYf/T\ns8PdIjalh4UQ5bGXbcz8kdKqGxgljYrmi7pyZNJmU2rbjSbFOHjquQclU80j\nfjD6ZVUPrS7cNVRcwP4CNQAcNQtkamfo3ORPMZmR11lAOs9KPixd3OxdMOSp\nqoQm\r\n=8xrF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWLzf1EDHQH5WO2r8tYpTNJWn/TGZImR7Bd8A67ZSoQAiBF8Aehl1qGat09XCDC0P416WNxchY5C3F2qJs7VzCWYg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.46.1_1551696156434_0.3315483798847141"},"_hasShrinkwrap":false},"1.46.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.46.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"9a783f2a1432efab0b6be0ad919e24b88839a8dc","_id":"loom-js@1.46.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-EjRj9CDn19f1b4tfV9fa3FSec9ZmYyKEF4mhlPVAMbUFgSBPHuXkx1iukQV5K8ouTJNP8ob8poBbCZ+9oh1p0g==","shasum":"961895adb2a5bc905039dec9254edc27398788c6","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.46.2.tgz","fileCount":146,"unpackedSize":3759107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfR2BCRA9TVsSAnZWagAAV30QAIdsZ0/O8vt7XnPxC8Ii\nw+AMvUkRkYTkC2mOyoiDKxOhym+moEIlLLG1qozO4mtOBqN5AFILagIJTLIe\n1S/fl31gI/zhi3ghlrCzdsImqkbhS63997Xl6uNq26oeWqzvGHq5r0Op9B5r\neZbh1l3ihw5cYyvF2LDZg2ZlxXSY3bJgeYvnHtMfPzNvGVW7l4kcJHWnM+jn\naC9J88CHqXKRzhkHxVmHG4dF54nHhL50C742wjSISIct48Lu5rjzCQYlmHyM\n9zxT35S/7Q/9kBw8/uZDWVJ+kA8wjxH+WAoH2t7wKPDiKOXOIa7+sZnbc2rR\nxVYc/xqfORA0Xt5VeB1rJCyF1xK7s2Ew/s1alMEPsh8rBc0eQilWEwujDFxh\nHGz4QblpWcntuw7XO5SYv8gmSjid79nLhRT0lz6Km9Da0EtbXu+UFAl9ymqM\nm9FrTh5elWj25RQZmQF9Oy680O0dwtJNnTqqfTCGtHhhsVjXMfuhc7/8Vulq\nwFJmLsB4OG1bpJB8EcMeCMK245s+70l73c6hzwW6G3U46R7tdwA9PozPhKxd\nCyy5cxkt0OCJbp9iD8y4dBzHZt3dP2BixHUVpRZ/UWKxVDqqfY0M0U7wz6cv\nCc3tnrPDpNYnAk1yx3uFLvk8I8uu9AAm79fjA1L6/lXf4Y/eTmY5e4QyDGEv\nnrW/\r\n=A/nQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5AkEudivFY67SksVZhDNM+C2akhujAhtZrH4x4luq4wIgM83z3wDltQyJn7d5x61R5dH6ad6amgpvt0wn4YieXAc="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.46.2_1551703425157_0.1543220829655163"},"_hasShrinkwrap":false},"1.46.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.46.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"0760f062a5e9c916cc98ba09ac5aade88944a69c","_id":"loom-js@1.46.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-bR+MzRwh6tuTeygVLi+Uxmok/StZleMXw7DXe7f7gIL3OkyJU31mwKFhhM+ZcseDkwt0GD57oCbjiMCNAog3qQ==","shasum":"75b189ff052d156f06ad688a0ab6570b8c93f597","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.46.3.tgz","fileCount":146,"unpackedSize":3759457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchA73CRA9TVsSAnZWagAA400QAJ505ShTePz0QA9tpyc/\nyY/uM9oZTG+j3H71eKzSI2X3TRgEmNap/R3QdSU8AXWf9VNXfGszTqg23Oaf\n8VfV7rlvNSE6uhcRYjZ6+hB9ZjVXCYTPsomc0lHyDIOR4GYJF7fiuUjUvj6l\nEfLTNG+QSSMsLC3WjSjBy1pxb7NRG9M5tr7Ru1oJnCKEVKhvmX0GGCDKFa8j\nFpY4ajLumyQ0UFn9Drt1n1vcdAlBqY64RM9c5QlSmBT6vq7zeq4Eb5sHHdot\nwEu3wOoBPhndfctUaf0PhAmYhenpn7WjbghM4J5rX8jKgnJVCSJUs7Ls21xV\nY3NXYQUR0mYSCWIejIcK0CIIB/cdns64UCFWb3rqR7omVeTbqzTtWBJYa2Aj\nOslevZ8MQh4gGf+oi+748Owo9ATjy/koDy0Do2kB8AXl67SriqoXA1v6P1eO\nWM37C8bFHldDXdL+JZKEI19BdgjBH34uJH6Oe3tm9HvY+tdA+ECHb9WUq+jw\nHJ2YStokgm8+BLLspjPgfnAvXiJz+l4hcF8hfZU0VHlpMgk41L41pD1GWgJa\n3VXhzxBXLhVnSgu48JLW+o8r7sxKMlPiAdJ1Zqpxdc7fjyOFXvE/ks5tEd++\nWhvOkJAUlUTXRSwDvfFyCPQMlXTLAUMfk35vqiK1+x+6zkOR47NjI9M/dCgK\nbadc\r\n=49ZW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBul5WeDqKwz4ug/b+EJb/MBu5bgUEFpVnVrq8PmCTSeAiEAxtI5xIGBkgNSobzHKxx27DXvGYONPGgqzZh3NEvqJqI="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.46.3_1552158454666_0.11477570505769119"},"_hasShrinkwrap":false},"1.47.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.47.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"a03bfa26278fc5709d91983f134fdef2410d2737","_id":"loom-js@1.47.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-JDs8bnoWDe4rguMA2ykC4/rsBT5BUPmj0Mn15LB7r8c6fdCK21pJVhs3hjtqxaw+Vf5g3qeH58lLkJbY3k4m8w==","shasum":"308a40f3675ae26f273192c7654c83949a172e07","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.47.0.tgz","fileCount":146,"unpackedSize":3761122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciIvfCRA9TVsSAnZWagAAx3QQAIjCluYt1xFiu38kKrdy\nyYw0sajrapvR5rt4EGsmY5F5zboya5rUUe5xOjZWF9g+tKP+vCSsSmMcnFwz\nreuFinW5j0qJmVMPx3EGNen7r3cAdiQQ6i8o+Yxm+whRRcnF3FQhVn9kZ85z\nsHK23mtVWZcoxaR0uWq97BYZfczl/IpR4HuKVx1OUMmgAhNkEoeufg8OX8Nt\nx8rcV/XHn+SUot5KeHiZRFUFJV5qjAw/tIIjJ/bQ+SJzsRrpw/ceVC8m+/D3\nUvHPqCSLbn0CVdZdPTIxY19da8w5169w3FNlpozKC+p/fRH0kM+PY9dKHfEV\nj8vpqqnL1rU401iuMI1jpSXTVIYLqH7/nH7IqGdwY5D6QceMIDsk7hrwHNN0\nlBQLNvE9AjHgwcRQk8HNTtT+5tTuE4AMAYT3pfVQDereLCtuoXEEJEthWWpQ\nJLxcMwuzxD5NgKdemLq3KRMqKl+g+jnLr/n7EYRJ4Fxpg28mfaR3B5IM6pIF\nPpLeqOeNLYF8IUkhfx7hu+zGM44nsPVfjw+k1YmBhJBvAbDJvWvfYCUmkXMa\nXRL2DIoNLXmmxJQl1wcyYvLbZ5POGCdpeQ3sxOTENNIEoBGDT1cLF6C0Pt+2\nAz/36jHFvkLolNp4a/hCU8k95k8Iw5318IpJj+LcZAwmo1gaW0RoaRtUKg5b\nw3t9\r\n=CnPh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClpazTvmUEmm1AN0s1o7xgNLRgWztCtrR41zCUWGJj8AiEA6c0CekLC93xI64lkGJyToDqXRovMwaHnQHYWkJCOosg="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.47.0_1552452574611_0.7159284076874626"},"_hasShrinkwrap":false},"1.48.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.48.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"cb1b04cc7a0d1eb90edf775ac2e7c8dcd15af445","_id":"loom-js@1.48.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-eVo4dtsvJuqOZgJ+HDtUHLL8pB53jE7oXHtdE221Lwn9Bk+n7VJyPUXXc5P6hEGEYQLXNa6MeetR+8Z/2UM22w==","shasum":"1e9587cdbd36dc9bca5316013912e612148640e0","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.48.0.tgz","fileCount":146,"unpackedSize":3761173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci54FCRA9TVsSAnZWagAAK2IP/iR7C2YkbXc/6zOWMfnR\na4mgQkD1WF9dEC37mq4UVeOMskmAO+xY2rXO+HbCIhvOWkgg5pxqMxyO52bN\n38ydakGX86tBcYaEXHgnOsawjr8ZjEUoVD6ssPprYDUmE7ILdtA+JdSg8Rch\nmsucGivfH9x0kSzLPo7nu/rUEwuJkWDXKdOfaDO7udME/6QLODkOUN+m7XdZ\na6rVGliJHIC7tqutC8COEQioOR0QKUIEymVp9l5E1dpU6+qMuPNEofob96Ac\nyOVvqx1eaGxWGvt21ZlPWmSubaKE2JCocRRL6/bdTfduEEXihhLJcBqu5X3y\nIbw77qsISnZl4s6Ep047U4HPJ9lcHw6plJiqtwwDJs0SLwM8yKhh8wDgWH02\n0V/1D+iKJ5eJ368vhhSjSq3g2B0B/l3qZIf8hAmi2GmKSr4wWZ1TvhYKDXub\nTkbYwAbtN5AuD1pTy/NVx4iEk9NMNgTYsGJlMTo8Ur6I6cyTFiMq1appVK/X\npC/bL5l+hbZsZ1taiYLxoY+CX2IrFhGBkKj3w1DfriWMe76h7UWrq81AkRTD\nkpMlmUbe5SPN6C6tpmlQMMffuAROrL7/oouLF5WFIpE/cL5OgzM1rbxtBGE3\nd36CrJiWZhIdrr/+aGQ+KwwoO3VywUuE73NIxUMCJxG7WPONOCw5VYjimwC7\nzptZ\r\n=i5PP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVFmFazKjEaFU3liucubvL8KBPsMZm+rS3jKCPkPwFPAiBc45B4J4UiqbooJh8ktNJwIwe1O+92JIMZybRu/9n9Ww=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.48.0_1552653829216_0.8478856384841367"},"_hasShrinkwrap":false},"1.49.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.49.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"2a61a01b988752828875924e3b082301fef3f02f","_id":"loom-js@1.49.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-e1pIfDeohXpxUdSbuD6/2x911KWHDv37JziBch+dLIq8W1F6zEJ6mxQu+ZEW2KzqX8pyYVzSTDx3GydDr6w7/w==","shasum":"4d9b1a49f488bd2054b3d7cfd17820d87db4d78a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.49.0.tgz","fileCount":151,"unpackedSize":3805757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclIosCRA9TVsSAnZWagAA1fMP/jB4iT48JN8o6ih9xDez\nV/xpfsxR2832TDR8gWZTpuIUzcbHx+V54w0sVREvCFEsteJAWxV/Y0Q2pYhs\nw6obueLaf0xMLiudToIxvQQrG1B0FLzPeiGcqmJMWoCF57JFRpGseqcRubwd\nGdH3sy0FxHIK1sjpQSURjwebPvNbuaTGJTvfrEM99Oxvpvkb47Vwzb1/GmQB\nUr6bPCvoKQobOvuwehlyckzZeyKLOAaO3J84Y5gP4e43OCEJu0XTEKJOXaIs\nwsn1Xz+x/pMM+JoxpghoEBfFH7MRvJzA4N2Hh5wp2D1d9wvCbi88UI5uTyi2\nrrAkUdtRmham9pI/h396JQhjSm1tEWuZFJ2SIRtSQTNYhTB7bBvDqlmvDgzI\n2ZY5bC7qp+Arxp50U+tKGe+kbIzbvHesc8SRparpiC+ijK9nph7yy7I5O4eP\nbadG6q3yCoUjivj9MVQcCZly0Ez+3LuJ4mPeTUpiAzNXKHjdgnRl96ge18vd\nmmwzC+1uU6GBFhgivENI9fS9OslibfsY/JzBAdne8c/hFgphbP3gKOQDYpsO\n2vYKz8R57pQ3usNBWyqJzWxAYyNL9CTLbYySIlk4M0aJkNOvTXj2Oq6aX4O2\nGJDNAVFUH4sPwiJptZ012C8ryWXSvQSCGM4q8YgugtHizufCEkwqNhhFCFjn\n11Qs\r\n=Snvi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ97n4+wpI/t0fV/E39DdETP1zrrCkUib0DBY2D3YDDAIgahKtlu4vCrN8Dwy4z31zQX5sOw8B6LEp/jOeUl30KOs="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.49.0_1553238571036_0.36230911447116454"},"_hasShrinkwrap":false},"1.49.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.49.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"a128250652ba044e6dfdf7ffabc8a1f956a44b93","_id":"loom-js@1.49.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-WICCFfEYJLVWYzcuntNKlu0VBYV4gcX+o353Xn14lntOrj3v/+rRH/TJmIyYHGX3RWs4rADyEyTgRKCHEVf84w==","shasum":"d5bf4ec2aa265d3f984cf84360969adc76c461e7","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.49.1.tgz","fileCount":151,"unpackedSize":3805754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclKIWCRA9TVsSAnZWagAAEqMQAIC7a8n+GDrL6hP/BLDP\nz8KS7aiM82HvR4BqmIDj/EhvceJuneeZBj0YzQl39TNdVsTB1VHXtaPVQU0w\nOozNC2VPsWP/IDBUZ8JEL48sb6msZUTXdPUftqQX+VjxGHsIAkqqKHY+xa5r\nadeVDqGUEzEAD7+o1VTBo3dlp/wvl+q7fjWtiMEp4bRmEA5gm5eqF2uXAk9E\nROFN/UPfVJ29VFgUVpkNSbH2sD2uJEa+UFyxGhXJEAhSPAXmq4OTj4xz+E/P\nasXYrWKW0WjIEpwdkbZvetr7xSjQP9N4YCyS9InRXuhPuKtp2md2CeoDVlRK\naMfi2Yt/GCZRyjvng8P9BaE85ywj/frBBFHqUZPtuG6GLv6Pi/TGR2o7A1Ed\n28F2e0QIz4v2OiGspm4aXFSRNuxMAG5hDVKkg1z0i9/BbbXE9We8LbN6uxU1\nG0ug+77OvdOiGADI6/4Kinx0ou5YxC1Gt+Ph+Xnmf2U5fhCQ69ib7gGkzd01\n29lg6ZWz82mquIapyTE0Lmrp2q9Ul2ZqSQNIivyf8pGEg6tAhBRBR4ppVSHJ\na303TZTi1TvHZex9b3kHNWp9Evhu0wUTZYTtME50VlU15xbiYRb47BhAt8Y5\nec6s+ueVikZfenFp01/2+o7SH/97bSyl9itCuB8vw/9M8HtHPkQHa1ciJ+Dp\nAahw\r\n=b3Hb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyI91rNTmOBf2ZTbh/6Rj+WxxRKqHMbgjtnzdeoSEYVgIgQn2bJWAjWnQ3Gs02WMd5nbbGdORyNVvRU/CjFE8E+RA="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.49.1_1553244694210_0.217144811575412"},"_hasShrinkwrap":false},"1.49.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.49.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"b6495afef62af774514e7076b0fa2709b88e0be6","_id":"loom-js@1.49.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-olrwFtIaKiGeC/SYUMDkt7CRhPHEj9Tm19LfaehHXkUm8gd6gh95kEdPjPMaKdYUb1sKXGeYN1jKDouFLDoRdw==","shasum":"6c9195b707c7b5adee880ce67d522a8bb84d03e2","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.49.2.tgz","fileCount":153,"unpackedSize":3810510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmS6jCRA9TVsSAnZWagAABWkP/iAHdYYodo38WOP8qHqK\nMWeAtlNtp4l5uY2cevcrdIQ1HGHXdjR4SZ0WP2EmDeY0qYJrA4IfH/cvqfC9\niPIUWclwowb0dkLwDrlX6WifvIlE3oZbnzAvNwwRaB6bDVUrBNrMJCGlcAFA\nh2t7YBiO9mET0FkO7NVdrxSfyKa/9XeCDvUoUlk4375jRS+fXXxC1zu+gmzy\nZ7GBfDvSpO++zaL6hAfwA+65rJAHJBNZ2JaQvGBe6QnFL/KH+Hqwxyn/8R2I\n3M2ByMydffcXvbdnuYoahNAVhARtLqC0RcZ6MoMn9w3IRAv3fKDx4DdTQM4Y\ner40bwL+A8Ylt25hmPxjvHsYcpxG4GtTHGLY+TQGJ76fNyMJia81XNB7U2zu\nN7o3ZJxXavYdkF92pZJxhmtMTjolcV3QoMzyvd5PrF+58KSpBHFQKGhwX6ZR\nbEYcsqgLsh7PifHIAk45pA+awgrh0hAhnc7S0VG8q4WjPsJaPI1GCqShH3Jr\nVt6wQQwvCEJuvMjJFi24eNPxNtm1bQQP8UVnISdUHay1vCrCd+M6fVhgEuem\naWaUFgyIugQZTklAI6oW2dCIJK99DbGchoXbzCGU5v369SoFFz8xNDs+C2rh\nVfQdmU1NrrzTTFoXvy9Ga8zXqkI48c00ubvK4EGd97vIVSZQq+UQ16wXeXSi\naise\r\n=cbUX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAb17t12Q6AJMXKzmu1D6t868qVWiIeydVOypibfL4d8AiEAup2J3i5bPJIuoxWl5h7OBpEhBYfg98OWArux5UafS9w="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.49.2_1553542818363_0.14448971350027695"},"_hasShrinkwrap":false},"1.49.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.49.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"72b53502d8fde7dd719dfc466a5a12d1de1e07ea","_id":"loom-js@1.49.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-LzB+EYkbldK/8bgavy+7dhdc0DnnHlKtUhZ6X5/ZnGl1/OzKh4j7AdnU4f6RVpoA7W8Efv7ZqIcHRt/L0DK9Fg==","shasum":"364a079d423774aa444c840c80fd7e90d44818b3","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.49.3.tgz","fileCount":153,"unpackedSize":3811402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmfUXCRA9TVsSAnZWagAAmPgQAJgbg24DrwKYJRqw7TFS\nZ1ci4bydRKjwZ0AihA5Zm75iTlfGxBAmuRZCYywhxbu0Z0pTrqJcI8PuxLBj\nKQNG/NyJERXMYGsQrv4CIeD7zYuYB/Zucw5zf+RF5Gb0jI3gSalmNIASwMcy\nu3h45Zhoj7lFLKJmfj+FnSDVwu9ch0hEG2/KWZZ/n5Ho0eWQLSkTs6+DRTCN\nACPRihYzyjtDWGDz3sR9l78u2gY6y7A6wDDGuPTPRUIsnJYZf13uDGTA8Xna\njhQCHnnpHoWk8+3RuJjRGrCRFXIpfd95LdLLGCNiZB6a+LokOUkve1GgKI8D\n0XUJvgZHyp5NdxGcr6h3KlWdFL/E1gLjjfa78Sb/i3eZCblP5RUViWF29GtI\nldtmhzTfA95X4i4LKXKLXogqN/0JZMyD7h/b8oiEZcIpjYNf6mNZ28+ut1P5\nl/bl8yrGG1T6U94tmKv3U+0+pMPQC5zIXIbHaGKekLl16hzN3hiZkgQgP/G8\nCmClmQma9CMTquzaofOUwgGqvEHexTWPlc7iG4nQk2WyAfi7li22wlm5vjMc\nbLjq1Hk0P7ktVaWNIMtQ4Tk1+CBgWR5vs0XpDpLWfFq7Ox7gafg0CWoqDPcB\nKCwE8MvOVfurqJsLANTOeC/SRtnZ8+Gwd/iiM27TnpIoCLDArM0eTJ1HP+As\n/kol\r\n=A4oI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhkFwJ18ems9jJEyJPAWMwp8vB/TvLi8K5Gsx0mbrF4gIhAKqfgLL8kyNE7qdEZv4q1URZ7yIdetLAHb8bHRprHWDO"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.49.3_1553593622179_0.5187934687503177"},"_hasShrinkwrap":false},"1.49.4":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.49.4","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"d498cf3361ee3ac3b0ba791e6ae7be711d2b9e41","_id":"loom-js@1.49.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Vrj3yARsT8rwNWEkP2ro/10ijqNrdMIQis1FwsIVHMmXl7SPFAM6ty/GBPuakNJ4I7CN+AUxc8lEkQpCJ90wzA==","shasum":"652195ef1004cf2b89d27cdb425c704b868954b4","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.49.4.tgz","fileCount":153,"unpackedSize":3812234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm2VmCRA9TVsSAnZWagAA6ywQAIx8ra6xwfjf9FMCevdV\nfVmE5FqqrwDRsOuK2+GmVXe4Z9JAtLJJYGpK0MFvcyJ3eFJWPzASwSAU+Ayr\nUB7yICIWL5dcTdHLYlHPjEnCIvKE/FTHbWq/6gHTYqB4YtQ05md3111vgrqG\nQxgHXTqK+Z9YQ03XS5ipMo5x/QsUbO7Kz+zVcRaVBcgFnEjHjtBq4lAuWEvI\nFfRx/4Rlm2s+/ixVy4ud1LwzLJIuBow4Nn3N4Gxczazrqi6vBUIALsDXLFs2\nGI29tXYXX4hW0RLhEc73xkf1IgPMq+ui73wlYj6w1Y8ccYLNs2jnywcSwy3p\ndRwrxi+W6Y84aPPcS+34t5kOzGAaIDEZ095NKop0Uy9WoKsyctbj6ew0bvgR\n35EoL3hog/gmYPngev/VqDbTYRZE305CtYL40Ft9KKn/4XwTS7QqL+CCNDHD\nxGOhvQmxnS5b5vksnsAG0ipzOnLbdbqTslc7CKTPTN9F68RACQ7rT8awBZX/\ntuwg9RA5L0QzmFrveC47ut7KTqxhwZy7bI9skUJRsORorVxEwqprvjKrvUKP\nFWQI0/V2hn26BTN55cLhL7Oh1dl26f5tGX+g3kL71mrBUut8CEOvIbyjVDbo\ntXjLmf4IxUn7Y9rkNa2YXeeXQx3FVLnV/NWeHZbtZSroblMenq8KeoD18fT9\nwu87\r\n=Xzyx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxY2Sa6BHnyktEjLAiZ3hC4u/JU/phiQRsu++GmYIwLgIga4YdG3R8RqRaop3okWis8C30zN3s7823pf/MW4MOh9M="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.49.4_1553687909181_0.2826356366232532"},"_hasShrinkwrap":false},"1.50.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.50.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"4d7ced76e6d12a83ef318536a056b54a42917068","_id":"loom-js@1.50.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Z+xaY0rmFwDwx5Vkum3FoFxdwuI7J+CvpUoA7mBDrS+LYNNKLh64UbkhwN5FA9bpo4jQwPkZBmbIjEQM0K6/5Q==","shasum":"8d88e665aa48eeab3eb335eebe11939e45710c1f","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.50.0.tgz","fileCount":172,"unpackedSize":4566041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxyC1CRA9TVsSAnZWagAATX0P/2YiY8ELnWOrpq/D55LK\n6cDtlN+Obn8sqLkX2PPoCQkP3AZJEZjPEGVnjz4Dj5ruayceNOYc3tSdEvNN\nHJjkwleKS87g0LmenN8tvSVbNa8GjzR2T+jKBjrmL5EEQ5sWwnO50NU3xkFB\nTEuJI05OEr9vXxf65OmaRkqsdl94nneAJ7xKsdPCb6zzBUNzXtTW0pitRDCk\nC0x0q6sggpqR4s1nzlEdW76DZERM3Q8PzTUWipTasKU0ulF7GXj59QTrcdy0\nr0qnRaC4ii4SdgcuhZ2A6HdPS2akEqpfPYS4Z+W7px/x2q9fg7M+5M13hKrn\nMZ806cOyO/NSOMEfCkkrd7xeM2LJe+ukjoICZ565kYW12pnL6icjT6+ndb68\nAYVNH6B0XfVA7xHyJWWHDRe6Kv9V22JWUtuTIjO4XMig5Q0NqfDtd85QftCQ\npepAkJF7013bmzfjjyLx5opOGdjkwIrH6z3Z4b/C7x7R6lnS6Oav9Syw4d/m\ngNPbMgxoN35bIxyD1NQ9SLl8d0A/iaHR7/ZEhsQG8SUMX+9nd5Bv1/jtZdW+\nepes9VSIcw+qY6A3AlEXGTMcflUdnLfHCz8YbYUVUXb1FXY2s6ygbv+F2xSP\nOaETZz74jk/ogK287ieN9VUboOtjZoXpV/CcV/M7uF6bvoxHR+N+zANSIry0\n1rcG\r\n=pGb6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVv6A9Jj+w2ghznIDKy6AFiMsWzv7oBzzUoUHbAj8ErwIhAN0a+CwgqKRvWyBQC6D4Tf+0Cnf44igYQjLeD5t/kXNW"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.50.0_1556553909125_0.4554605083780565"},"_hasShrinkwrap":false},"1.51.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.51.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"3a4b4cd8d90c531bb5af143b6092e2f00b484571","_id":"loom-js@1.51.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-vteKki2HxtXXerxB5fONzjs34x7/zTUdYi0Mlw8ea7S5Vit4ALmqDNjtkrwGdbhS3FPTTgUlxQItmPFoQJYzjA==","shasum":"8b4b12f2606f2a928480e9cf2b88a5958dad5323","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.51.0.tgz","fileCount":175,"unpackedSize":4591953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczD9sCRA9TVsSAnZWagAAUP8QAKCWjHIYmFbxaPhPAViP\ntOrOMT21rAhDRwfbAnRzHfbI7Y8CfjvZqMFmyVKxLYG/0WnqPud/NiQzhVYF\nIBrAJnS2qDA0SnskpAwygbDKX+hYANXzLaSao//Cvvpjgz4k7Lc70KBkhmoe\n7Id6l4sad+L6JBg39U8dRGaWGBA75RMzgqLlCDhCZi/Z4LE+va9U8CPVQoj0\nm3dhbduRudW93LSEBkV4XWQE7NY+/afTilxY5FAQMzBCsQDU/y86y18X9cDC\nINj70D4RqKg2Mp3dCBOgbaoA72aA38gZpJuZQsvbFXzNLUmt18x/QNxVkmgx\nSq5Ye4KL/vrlolzzWqr2xBFouqR4mfqXaxgxGWxYBAqvoJRe0TedMQSpasqZ\nh6fDto9BlKPyK1r6lZVQvZV7wSnCzi00LjZII3BNJDu+VFQVyB6rEjD1hnzy\nBawiuq7n7/sWpcwFQ9LIhhlwNcjXG9IPfzK4yXZm6NlzL8mf5cvecw0T/bEa\nKY1mRVBB5A5KTD12cgNazhuXhAUzY0TjycS5quSxZCdjWcTm6epd6Uqjm4ht\nMOTCWPrkA7JPVp8NnE7R4/4MGPt10E3g0tU8m5QyHUdL2N9xdfKITp4v6b1/\n+kJvvUVNHPrWYFNt7mZqGwpeEHqMIgUCnU02ER0NvS4Cmxwlt9+f1uWoLdX/\n/WTS\r\n=vc+a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDHgeOj/RAR95ZYWOqJcsQ2pOminhBoYW+XEcJ/HjEobAiEA4QnEsFsHJFk16x7pr8QYLHKQzIbedr0KRyDceQ/bess="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.51.0_1556889451634_0.5558192890627218"},"_hasShrinkwrap":false},"1.51.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.51.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"6fe4eee73aa3f177d0bdccf596ee0d24f40dd4b0","_id":"loom-js@1.51.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-wD1NN1ni91uV1d8h4Gl0uszIRuob0DuqR9lO9M2ys9BdT+fNfH65ikmMufYmQZpshV3JvITqq2u5VoEpP13esg==","shasum":"ae3a80c7b5374897ed0fe42d5ab0ce0e7addb29c","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.51.1.tgz","fileCount":175,"unpackedSize":4589752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczbnHCRA9TVsSAnZWagAAVLsQAIw8nl/Hszv9Y1dHz2Vl\nxLMQ6cmDql+Z8bfm2MHdsqh8AXkAe25cqzGsRHvtcfz19Omuc3z5pPfm7Hwy\noRthaFvaCNexvG14xZPdE/MUJotzQau2OGHD+ZraAKo/mIU8zQ+QX8fB7752\nreoD31QzSXgjm2L3v721yJwvobo9NOfPJMWyjoVD/0gY+o2mhmJPh6K9UfWN\nXMSv2X/xK9KsnkHI/Cn5zki/KIMv0aZ5DEGBQ/Im2QZjFRNECrX4jsdVRppR\nMTOOc6CojLNDWws0mJTOERgSdOihKK+LM1ay4/ZjX/Yt5/El8aEmTru1xwhS\nO6hjc92ZsX6STihTIb+M7rA4bU2lOnIhwzQ/LoJJ9Eh7flUYco5o6+oewp0J\n+WhH0TikD/I68Jq12GkXeMs2UZDIwT3xUB4W0sWAJtQJzTFUDGQdzibmIV2i\nZV1fj6u1dsKwi8mIsFBwlppJvqf2+B5T5/Rm9xDWPAqE0EB+xNyby6BEgxEi\nMHo2oWqyaj1tNu9IdOHzbqMI1nPFcx5pfTYuwYgbY9pil0rIhUH1gxFLMTs/\novxFjSDmAVh/cwnbf2Lh5EnTz/jutZAUS1JTSBQ1RIkQy7zyaU/FpkS84LN1\n4Ay9fusUhcGshsyPdaJuasIKiJo6BxNu7RWvQ+UwCTBvyXjkBYYkAQo5DZJc\nYUT9\r\n=juZh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXthI/rTreJrVjO/G1tmWT/I2BoOegetSljY0zj8qS1AIgVjFobj8ObEVfgFrIaO3km+gvURjoAR3OPsHglrHNF+8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.51.1_1556986310863_0.7043136199408075"},"_hasShrinkwrap":false},"1.52.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.52.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"b4d581087dfe143b4a9d8265bb6a6b8822002068","_id":"loom-js@1.52.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-4CsMIYow8JISXsPlIxgt0t/HwpmUSbIYS5UZKSCztsXeap9rBmfPp6dNv7og+nvXkNN+luNGCb66fc1UHuHwdg==","shasum":"5512a642daeb37005532f1320a2eb986c78ed527","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.52.0.tgz","fileCount":181,"unpackedSize":4606077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3WP4CRA9TVsSAnZWagAA0qcP/1TpVSVhLcSxgl+Nsezd\nPySUsSIzka6XIvXAMtAN8WO6xDoDV3o+tbCe2wXSbQaE/5Q/Y5gimwMEUhBA\nvZl0jXDe5tME5aRoMU5lFxvFUhzLwxpVW7Z+sGLXPB7pmyrVWfZNSWG/0acR\nC+8pNyD4eHUe5j68oHBEmPGm9U46p7p8CU/M5qhsR+pR1GATiQudE8gXzIHf\nk7OUUMLzkKX+GcpMC0mKrKA0BTwGh4ULylDM1jnLYTDFT0frO/Y0dkSTYxW0\n3Uj2mlJygdY0k4Os51x64Vy+dm99YMGPpXzxLs+l7lZXUTD2iUxL7RdANMlO\ndv3XDHCAkxxGB4cWzSEvW/rM3m5YVhkAaiwuyTdTbo/RYgALN8C6cfjEPIlM\n96i0tr0WuTg0PjM5sEeKw5l5ixTlv7WJt8R+h8bHt9tV1FcRSgLsaSWbSRQO\nznDe6bL/8owExEyTivOk3TLIrfxcPC4/HKUElazEBJwJFZAJiNSzWAUleDhE\nf1GlKkZjsnbPnGQxmzqe6x4WygWWuyLq1YfkzfzDr91dD8k3Myd3xD7+EZzj\npQ8EErBBOV68wYx4p+EEkDZGvqWvfV25JlKM1XAc6hcLSIBJnFOL2eH5nT1B\nbmHNL7mUA677Cc1ATRuTTbrLhYBa4jWPA5BqX+DMuG435fMuDJ04wyBBCMrj\nUx4v\r\n=xNCH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjkm+0NJuGzFazIIYzhrFmgAcYNhrLIoj0uqA+Z5iOwAiEAnn0l4xTt2Eaa4zFJQEcmlarMZiipp8//rjIxNyr2ajE="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.52.0_1558012919522_0.6316727556493513"},"_hasShrinkwrap":false},"1.53.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.53.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"3283c9179c6c38a1341589ddd73f513321e3d490","_id":"loom-js@1.53.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-bX1mzUX8ldV3t1TXv2ejnI6i9PsNdtqc5OcWbGS4IExqPQjjZlpHMZFRkUxfBryKOmuo5W2+fCi900rzCCCwqw==","shasum":"e3d7e3d1747010e834c6053113ff2d44a9d4191e","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.53.0.tgz","fileCount":181,"unpackedSize":4617769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4/8NCRA9TVsSAnZWagAAF2wP/j+SQhEfbTaW8JKORb4L\noDjBODs53EQtucOlHdF77COmLZji+KB3jTjox3myTuq6CAzTbn7B8togpyT6\njJC4OH/Z1mi6MpM3aW28RBkKd00XMsbDe61aUAn+SiEA+QRR/HUoMc1c6DET\nINLYxbGDeUbNH6/Hl7SuhM5DiWbZodPj3OpNoAH6BRSydaTEvlNT4EYKg79u\nGcvYi/M2mm5e5Ho9XuFVBvq2SM7BK1JNQ4uO7ecCMqyEFvJ+XFFlzcgKIT+f\nRW8xMjBGNQZg/NKt5alNtULStbcubjb575tHPLJrgw0vAOou4Tc2p4lwP3yP\n5u1X6pYlT7//gu8Te6tm/ovMnGhz9VYSr10VqZbzsYrmphQ0VBmV1uHUF0GY\nwwjiA60Enu2tf36Ip6h3K6Sj0RvJRD7Ptc81x0mEs5+KgqT1dMnZF5fNKzvm\nw0Rv+jYgs3G+t2VcYUr+Q0xeaWjEoEEoNeB1FB+qIe8u4p77ZhDp/qoeQmN9\nmbO1cBdgwK3lQMTVbC9hA4IaVjFq71I87avbHR7WMKMkX2dGF1j/e3I3FzJX\nBg406hpbGQl7MSrPVH8oyyB71iXQLIIqyx8ok7P18KxdOURQwMm2EIJ2q9Ie\ncahhnbUfqtzFwZq+LqEZzP+S40+NIoivci+kayUpvEbVbx4HJFUt+WqBGgaV\nUD3L\r\n=B5pA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcp+moxXWu3OGJFqlXbXIslIxQ9fmA0Sn293cfqBPx8gIgE9UP5cKk84/YD1fvyy6maifggIQm5o1sHk2fAu9UDXU="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.53.0_1558445836306_0.7597509588440319"},"_hasShrinkwrap":false},"1.54.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.54.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"21f91854629b52b71c393bd6619c45e7f6dc9b12","_id":"loom-js@1.54.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Ed6urBmIB553H9QzlKG70LeTEzWsV4Dht+Lf7ch3/lc/dny1jxuRD/QNP/SadwRfVf+TyodGEJQZKibB5nT2wA==","shasum":"9229d4a650f7424c2813b38282057f48497dcffe","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.54.0.tgz","fileCount":187,"unpackedSize":4726415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc74aGCRA9TVsSAnZWagAAXbwQAIqSYgDxe4ciEUy/hq7X\n9rnWEZMfwm8LK1flX3ifLyT4KAp0sHHC5W8qzHyMjZHAuUIE5OqFiOMO1rQZ\n8ROk+C/GWkWYLjCdA6qkCvg7r4FAfkxSW4mF8fFM/L8llVONrOYKSTwacmZ5\nNxfC3ppD4TyeQ3IWayEzT/1pqZs/WopxGQ6Xy81P/uhi9EnebU6WpFFZGYqK\nmzEZXtblUgo8rbgZo+d1tRt+ZUb8kIxBZu4hhAIl0jSwQitmc/CGp//J3pVp\nt8ume16uN8EyOFKtX2zVd4R/6jqclhwBDRmIXWd1bimzSXmSrUScvMJJblop\nxlyLPO4e6jrmmyvAWuSNRSru7Nrado0037MOj4YKpx7/ZDkkkD4d3+oKUcDw\nW5U/cMLOWLLSljrkpaTmsa1WCzhIN/A8549WxcWcAq52HN8rQz6vOHn8grY3\nFM/KZPKcZvRuZk+9IXoMl6udvgLR+2OaAwp7g9y4P27uOQ/QQDUZ8mcvDhB6\n8OxrbBa8qkmJkBxI3G5ynl8CrBk1DyYniJGUQ+UvbTkggyZiffDtNztU2mr5\nN8IsPH2rA5ZftrHNxA5ZXaq637SwQL8i665rI4ynfrRepsl1RrABE/RC6jiG\nIFNDkc2wP/sWDWB8bNq/VLv2MZE7JxKGN0yNa3jCPiDIOku6qj5XLB/hLAck\nsffA\r\n=VCX7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzlE5+FUertCx6MLMYH/AofYLf1iO5W4/57S2RVVXl1gIgBjjpIVoFN848ftJlcrZ+z/lG/gNQTOXFJ6glQ/hztF8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.54.0_1559201413616_0.8027795545164069"},"_hasShrinkwrap":false},"1.54.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.54.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"9b0a107ad0ad18756cb7a0a2eca978d23d6a640a","_id":"loom-js@1.54.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-qYcnI6+UOpcsXHJqC5ee1s7tqsQLwMVIPHaa5Tv0kFWOS95fp9gbXo/mLmcU+AmAbXt8sevwMllYnALvYOuxew==","shasum":"15e9aae8ebca78fa0146a3fdd3eff0862177b9ed","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.54.1.tgz","fileCount":187,"unpackedSize":4728100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8TlHCRA9TVsSAnZWagAAjYgQAJpWkx4q/9hfQY24S8jG\nB9vWJDdWOpj9tb6m/EguUVe/U8V2jrCsooT0ZS1JxG/TmvNprHePXcGGbyq8\n5J8N4XQzaGlzpvx/2hWPKHrVXAgOBhTePfGlO9ZlHFpJXY1mYZ/vgdwqPuKw\nBz/TRGMdbyQuC6yhCCK0WzvBuyDLjB55YNltBdh1lgLj4J2WjKw111O5ud91\njJJo8WKQOlgYboPQjNtd2A9uQt6AnXb1LGfuhxZP5svdVo7a1qbmJ/FwSOaO\n5GQnfaO2WImzc6HY+Jf18zdmtWei3J2jptNTf+g8TAuJBxfhSnChD4O4+t+I\ncddQnHfFo9nT88K0ESyT2XvKy4h+0uW4rtPQ0Mvt8k3RblG3AL4Itr1qEtu3\n31h9yGDbwy7hFLdT7SsZ7FCOgG/+jVdMp8q0NpmazZ3jfoGHGnaUZCfP972f\nlbklG9OfWDIyjZlwvv4mQdkRqZQQz5erg9DWEES+4Uw/Z2mh+wEZ/gVB8HQv\n4ceThmRCYp/sfPcMMSS4/t0xcGcAb6r7zhTu4LQow3nxM6J/AfEZDhkKb0bI\nXFvb1/O2sCpbKe6SGX8rt8KOICf0wf+M/cU7le2C02g7drqI+MR8GLiphOjS\npSN+L7CSC4snPQ+NDwYYqCBKFrndAxqZFQfX1ygcLDafMPCOgiHAlBRkqLOZ\nBA+N\r\n=f/87\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDtg7ip54XsnCfkhQ4jTQszCbEJy+9doF1KGJiwvg4/CAiBDWU8Ev/PaeLDj3roQECaAHjF7nBfmosPnlAv8Im7s6g=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.54.1_1559312710612_0.45489569046491685"},"_hasShrinkwrap":false},"1.54.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.54.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"812013bd17f9295865725b3d30d2124937570eb2","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","_id":"loom-js@1.54.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-S/W2Sd2MIKIMC+wnA4JR3TeKDebhjVRqxH7914moixthJQCWm78NhMCOw1OL4lmjjGnfC/Hbi/NSLCaPECPLlQ==","shasum":"c02b47fb3b6b98af1c49c6457228dac33899cf3a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.54.2.tgz","fileCount":187,"unpackedSize":4764828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAk+tCRA9TVsSAnZWagAAcEQP/RqzOfF94MJ47F2efSJy\nbPPrk3q6zFcNBD9FXpQxTP1jNj7cRHZUgUVPbz5Qpmc5gb306zpXXq7YHXAt\nzdc7cfJg+p3x4CGiVXHzfOXIWCl48BQnZFU7geK8y1Hz4pAj2JkHSEsRPZa6\nBi9K/FUzkOcq5NvjKcWhMCkgFOyhXSBaEKjf7UjYxiiKPUPP0OAsKavcBIUL\n2qfV+iC5dDVW1xhNUPhkpjer8kDF0gkmF0pisFpIdtc+RVtJF8SjAZi2+AGl\nFAcCuw1IEvp+gHPORoutpPcu1l0OypXMM8N8SHy5avPE/+2Xz5Yt7hl/Qh2d\nmKcWB2q1IeCEEx+eDoIo5XpdbpvS+/t3bpqBG1LhnsZucvGD/+yPscj5cqSy\nVA3H8NGYgtxv1d/v1ca4B2pH06tTFQxSlWYkg601r+FKhHkTYLN0IDUJN+Ut\niDFqpTd0XjcBaN3nmshTfvPnIpgQGL8ahg10qHI6odqbXILHgTY4PLRwSaIc\nY0hA6WmKQMEiSnkMfdcZDNe2N4Ndj0O+0K/xJMC2aimNGBKowfobXGrx/qNG\nOGKv1WF76Er8HJWollszQHD0Mv+7s0QHArh86LiW1rgKrKGLiWrpnAFrB7aJ\n8g5ZsItuflPZVL7nDd/ujzA5d5xsCCibrjrgsjg5ijnVS8OrshA/dh6i9PP6\noqq/\r\n=PSQV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+gHDB/ZeWDKLTkhmb7692AZmXizTpYfAg9AgbwDWIaAiAGGyZP7EVNEwrMsGouNYjFgBxa+BeS8eF7+EHMzeK9Dg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.54.2_1560432557044_0.6861828797222018"},"_hasShrinkwrap":false},"1.55.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.55.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"3304853ea71eb41232dd0b780c63d5c85cf16e4d","_id":"loom-js@1.55.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-Vgfjl9Jq4lN76PdI9Fys4cPhRT5ZPBoZs/zFtB5941933ghPzjK9CrB+yDMiB841Kmlh5QlYax3hPqtpNcCjDA==","shasum":"283d3e20a2b3b01d6c00015f874f0fe49cfc820f","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.55.0.tgz","fileCount":187,"unpackedSize":4837021,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2ySRCRA9TVsSAnZWagAAXXQQAJezbL15irgZNhZGShNs\n8sJDi1d2/qlbvj7c0b5qrYX0jueuMn7ZAOl9+CQqt9mtR56cF3fVmpDJhd1d\nqw9+fSz9bbRUSt/0yJPfR84AyHzKhYTCc5rXN0AqVGmTbc+g07Phyl2Vvff2\n7yDH1lNsjlbp6gDYa47tlsgCibf+ZVRKjtBJmDr35VTgSYK2EvV/a4ipkknQ\nqFtP0vvU8KB9UHVPJm6cTaLWitZNNy5xf3A0NhX8cBCUhhBLJ0K9Fmkch1st\n3OKNsGV0kfHMrKtxtBm7VjXekuFPJ5qBpBJCQYs865Nzx+vlhKxaEYPntdQM\nmRV7hhByGq9SgCx7DEELD4XKyhApKrxQ8+SZd0PNs2wMZPjynNxFrGD+fUoI\nXGWWK2RoYSNVW4nzVgyJuHW9HXpl2z/pZBlRa7H/4R+qN7KwWHatpRtJerVY\nnaXB9hhUforaoEklStLV6xEbMnlupAL+0cpYplhd/j86nR6eaqWQxfcGsEXx\n3GT0N90T7RtfLO36SV8SuW3y3PAWj+sJLadmUy1AGQMKUmIoWYTt0KhGuCUS\nafYF4U5lTL74i2gqiSDb2rkbyPbgWB+lpSuCT+O42jojU6chomsxGXEvZmK1\nX8DW/85yRj5rSaI8ZHu8N53wTGXtPl4Orp3Z8fjJD1vQMR39IrWCEUtLhBV4\nIlWM\r\n=2GDc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtqzXbboMNspgIuGEziFxI2DcX9erCPY6194iJ45hFOAiBtIiBNSgg98PraYWwNKEA8/fDT/CF6b8QRkQa7r9flFw=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.55.0_1561008005975_0.916246760922041"},"_hasShrinkwrap":false},"1.56.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.56.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"d776a26318c81277f9fd9bd6685cbb42fcfd6e27","_id":"loom-js@1.56.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-weUKgtxJkJhgnHh9SR6cbyV/2wLb5IO6RrxIizzu4HGys4eLJT3DbIwR7Ub2Z/fAyuKymhYC0CgmBimUxkyAEw==","shasum":"f508daa36a4aa93041c61a80cdd695fea725216c","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.56.0.tgz","fileCount":190,"unpackedSize":4842574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHIlpCRA9TVsSAnZWagAAQ1QQAIkfYRnnmw0U0V0Pj37C\nukE8qM12hWopJhJryLqgW0/N3Ykhaol2OiyGzygWnqgkE/8D1/HyQRmkDGuk\nbS+ZiGjysh0+yq2daVkqypLv/SPbkaJEbqgmu+sEJcOpdHqkJ6yQU2RTO4/s\na8Q8cEgswqhoYqAH3zfz8IQmLUypL61gA/w1GGf7uCVfUQMICzbw6enWOwpP\nlatEwnmFU03ABaJmpvY8nMFwf81DN9rtMPlxsIvnewICEABVvEXkGPswFPcG\nrbLN2irgaJwKXJ5Jx2+1+r2IVXNM/w7NlajOGUpdFG3mxHo3rfVmVwG5i+sk\nMMrF1qm2azlRapxBNG+PVcAWNzCE6yHgGHVocSig1E+mOKVv7rSpt7b0q/E6\nCINgZbdebpEAab8Ku4gNcAMfmaEsDBXHQxw9sh167jOpZCeSxceVY8D12KLt\nhUxh89DqK3869Vamwe+PqxkrX7eGvykZsp3GtaudUPySZek+5kieJeM5QQsU\nExWQJJ8Ml/xeuHEuhI/vWKu/D2n+wJ4IG77x5rGN1TyJTGbVvOyjqY+OFqtu\nGd7mtVFcjJqnA7T9O0yOsBS26DAsBbdF04IARe6+L7Cp0II+rf1jRj+7Lxr0\nLAjZUF3IPHXgS9Ylkr9Gvjk2dPEvRfy3BnkA8o4LTD5I0mpqg+EWofYCK/La\nVCap\r\n=abQO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGzOGEztG7CNu0jm/vmsGSIOjmOTNbgPufBekVp8dS1TAiEA2DlNyMKgXDDEI/sU3YpO/H3t+EMT++FTfqhgrS7LNgA="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.56.0_1562151272737_0.05676894493336526"},"_hasShrinkwrap":false},"1.57.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.57.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"1b4dcee399c1ea384a023c66ad0d546c81762d4e","_id":"loom-js@1.57.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-UUFOpigAXpu8bsjYFb78gHvXUk50SnyQFR08Q++OAtfYU0qIiBs6qFdrFT2AcAgZybYJU9mhfVofWgAlosWiwQ==","shasum":"53284db18efadfb9b7200a1e5757bf36efad9f34","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.57.0.tgz","fileCount":190,"unpackedSize":4845449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHx0VCRA9TVsSAnZWagAAGTYP/j1Slr0ZGWtj/q60kzDl\nJEsF7v5/rjwYQusBwsHjN9vyenkXH2GwEO2aEsc2RQn0ykJOO3pRDWhJ9FfA\nsK2JqxDlUGWqnnuS2L2tNdanajNq9nlBr6Ae9KUqUATS4RPFB2T75k1dFG+5\nfvZYF89Q1PPG4wL1KyQdE7wWo7d2z4k5Rk+NUDyPjG6+POvQ7NNunedB7R7F\nK3Ry5CamcUXlGThUBVD6yZTXtVikUXvKPyy26dQB/G5nka88Smr2p1b9yjQN\n63jR/lnN94hNsCwIOml2OerLzJn7EITFHrU+q0Lr+m4TqdhAm9V81vyn8azN\nU0lVF+ERaw7Oli+jpxMvm/gG2VLSdwyXo7H0QBwwrslZc2eYp9rAT988JQwa\n7GSExmy3qWivAPTXsrXY0ybXVBU9zZ/1TD3sI1tihM3RJme+slGufVNIg1V/\nOe2dKrpg+WaERr26teHpWwvqmkyKOqWGeLWMPif3zD35qtgdvPWGatpInVho\nVm9DRBYjZ+flgu82bq3beDsAsbL2OvK88Rae9u0f/eTYkmMoejaVVAktq8EL\nTQbIWgs6o7DqXGebTdY4FUnM3fAxobR5hGYmsnYhA7UYFiEltVJmlJnbKWdm\nBUi+2+QT40JOrld1UzV98E2st+HO7z1EtstE/ioQDXwysbE++2mkSN//CHvV\nN3x1\r\n=jIAy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR0QomffIi3qR4xjn2T44iwWMr9NHTlnceLXcFE1bRhwIhAJwvogu+H2AZKUnt9ngLWjEkbJnpkfNG4b0omC/Zz18v"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.57.0_1562320148377_0.5073562613371474"},"_hasShrinkwrap":false},"1.57.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.57.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"1eaf1d12619d20115133f814b8906b4a1ac8a130","_id":"loom-js@1.57.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-WZysMjqdV6TAnEWCPO9WkTlxMz0S7zQiKvRPufPGQaLH8GgM4jWPAl3I8cKsReNEvJrg089niDbwuPwydeQiYA==","shasum":"c8524013f42883e22ede0a331c88f1f1f781e622","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.57.1.tgz","fileCount":190,"unpackedSize":4853150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJdATCRA9TVsSAnZWagAACRcP/iwltK/BFqJ8UXDUwovl\nXWkZCFm3OrLSrPsO2Rhy3mLFz0aKIyCMTSmpWcsHJvoC2/UGvS0zv4+j3NQN\nFp7gZOsj+8tSa09aq2ys5o1N5xuLdcqOlm02fcTmfCPIwSU/eP4awN3PD2Yl\n/06/0lPw7wgnBUnwLEKXFHXt+x9XRKno2owJWmXtJu64If8UCZAAIK3nrKFn\nEQzfUYFTQ9kVfiAJk/qlv2bBo4ruTe/ZV+xaIJnjHW73Z2XvOlB/gLdkeH2R\nZw3bMdqocUdB8n7S9NJBOIbPIX908omm3ZOhcUQOn8D1RQ/qgfsNViYe6KAr\n2NKgLxcxFbl9Gxr4DSZI11Wh7wSybNqC/qvZ7gkyrF9CmjWa9KG2wGIGyFrf\n+0D6DsJeXmioZ41EctGH+fs75Sx6kCNg7QrWmWBdOiV6BZooKT2UYnR6py1d\n15bzE6p31oEezjKMLZkuUXebeO46vZn/Y+h25AegKJGwTnGsQ2qAQ72Iyzul\ncbe7EU0btaHDVJi4DbH+7kSE1dxoYhRKlgViZWOYwJIn6KpbDwOwg7xujDQx\nSZ2G17PpFbLAnXh4X77oLl+Mcl9QUhjnhG/J1n3WExQaGnTUHp+Swe7Sr6AW\naJWK80l/mymCbFW1VAzH83uyAYAF17hPZcIiEw0CWtvtaGml2WpFePmwpihP\nCO6c\r\n=Nadl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZB7YjWEunqkv3VBmoEnwmLwvsH1OiB0iOKPiylMmMkAiB9s2P185FGahRDkUpOP+wbn1cNayVUeR5xM03hGWHP+g=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.57.1_1562759186317_0.26404873692417574"},"_hasShrinkwrap":false},"1.57.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.57.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","gitHead":"6b10831650c0b1708747ca65ae6f9429fc0d6416","_id":"loom-js@1.57.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-UVG1SGaOfgFJYNzKkoZVgx4v7uDkq7XlprtM6ye7Ze5fK5TmRBIECQIntTNnjhRB4SI5mjKC40qjYNTipUptCw==","shasum":"a843e032681687e02f703ab5da2ae9ee155365c2","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.57.2.tgz","fileCount":190,"unpackedSize":4904885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNU1eCRA9TVsSAnZWagAA/p4P/j+jtXW6biM4gF969sJ6\n9HzO1JM1IUm24RQnqHA1WCu6DfR4ozLc/yo0cZID+bHyuaI+I0aWPQal5YVi\n8dUKhyttwfSaj52N2ljU9sSnRAm3TJFKuxdiFETVay5umhAsYaoe9Dop935C\nRMsVtG/fYo17YxiRvut2bX0/8jGVjsGsXO1iVvbLE5zm7FHuelmLZ+ZLukn9\n8eI5cGe4uQNFV/m/WkyhJAIIrb3Uw0zvXnvEVx57HO8evulXZyM2qf5zIySh\nQtTQr2Y5wBm4kAGx5XiaGB0Mb4n1MY2EUPGzn9Md3182CY5QLXzzT6BJ9bbM\n2DddJkhSCRTwub65Q5XCuQ7R8mynBaWMK9ff4glP51pe84PMnYQ76Q/1Nzpe\nVd7k5UovwUr/QKRjgNTUPjrHRRLPG3UcfHMLYxJFqN2xqMThegq/Uk5br+XL\nLSdhD1UhQJdzQEBRS23MMwrrhn1YRtxxiBd8Ctpu7zbXXPgVKVihYhURQVib\nrCKH14cV1y+hkYahz6iCy0NBiEGw5soiDHDaGde4JgjKG+S1s88btZgEIWsN\nuvtHyrktZ/iGh+u9NThwBr/ZDKpSd+Bg6kD2BcjJCtqjyR9nFGuM3BUMZAz0\nhyXnQIn5dr36BNR5E71oeUeekFxN9iVgFQFw7JtLN0IirvQm+lCOYuFj9MyL\nQ0DL\r\n=YBxG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC9/yGz6X3AgkJgibRGnkZvA1TgpmQXdWxf0eNAdRoqAIhAMic/+/XA3+Se1p9HCiz5WmyYJwFVNTA93RZZVAGvGhw"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.57.2_1563774301750_0.9134277806541502"},"_hasShrinkwrap":false},"1.57.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.57.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"b006ebff483f6cbc2f6bf106ad0aa4019b62a273","_id":"loom-js@1.57.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-nN3BLJHcFZeAzuep1h6pMeEUM05N7yGdi+MV9PyqyR5hLVcWaRGyZlAsFONpDwrG3hGABfc8s79xieLWLul5RA==","shasum":"5a20516f0c9896737f508a440d972b1a905d467f","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.57.3.tgz","fileCount":190,"unpackedSize":4905154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOaZfCRA9TVsSAnZWagAA/qcP/i0TBZpwgkSt+Jqb9kMn\n+yci1Man0XO+cE4/N9O1jDudAHwwJF81xUI8MQhEFrSuQTeR2FYlEXyk9tsr\n/qqf6A3cXgd4sknOFs+MxWtnEol7vaKsjSn1gWpW+TM14y7SJBH2dgr0aKCt\n36utRLBOkAyS0HQwCCfpRmHZjvgemisswu4wD/Ckh5OukLafD8YoFO+ebhqT\nu89tbg3HhU+sEGwytFIjjGLysVI8rrPpQV0uu3IeWu3ESqk3/K0EdvWqsDwY\nQXVcyj7lq8NuYrmyBpoQ/PDLeLE0ybewxRfksz5Y7qktg+mvEO/Gvmyp9wig\nuqZZZ4t/aCqGJv3IOLa4efXMPAO3Hil01MoYojzbV1aBJlkscPybY4EB84gd\neKmhDFRoV2LZimN3nGwK5SM6m4RuXiektYZ1eplUMBEMzYFJRj8bEEgoq+Ot\nJZ7lE15LqBGzWtQfLogLU9ilk7Yd/XuRN7GH3rvoXzz/tYqImTt2CuakXzCt\nZlg+L1R4j+zaIeAOSXEQ7T5QFzx5QGHmh5tc3sjWrjjIzjlohn30xqTOOOww\npO2yTVMuM0Bn5I0BVJrLItEYI5fCSRukIjSAKOHB3GuHU+dVyjY+prbfoPe3\nFVgWLk+HmtHBN3AvmVlBarmwkinHzCmu/y0FdvlGJ8DgA4n1Z7FXkpKfO4xp\nsvBa\r\n=4Q9s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUsC0kM9d5xylIoHOvHnGTDKIHchXplrHoz7jqWITQjAiBRtfYm01XeZ8QYbQLNaza16QCuzzBFeZ0zGvHyQlOxxg=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.57.3_1564059230268_0.9751626374482432"},"_hasShrinkwrap":false},"1.58.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.58.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","e2e:plasma-cash:honest":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-honest-operator.js | tap-spec","e2e:plasma-cash:hostile":"yarn proto && yarn abi && yarn copy-contracts && tsc && yarn tape && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e/plasma-cash/test-hostile-operator.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","lowdb":"^1.0.0","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","shelljs":"^0.8.2","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.0.0-beta.33"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/lowdb":"^1.0.5","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.11","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"6678828fada2656a753e3945e612f079cc4c0e74","_id":"loom-js@1.58.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-RWX7H8QonBJp6czgqT8lLp1oVQZsn+4AV3s2s9k5CFRHFeyXiYQ19f8dA3rL9r0qtInUTfHkOa8AgMdurqOsow==","shasum":"ceda17ed07fa8e3c86bf5faf226b5bac791df7f2","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.58.0.tgz","fileCount":196,"unpackedSize":5429492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUSg2CRA9TVsSAnZWagAALlwP/2a1SIXft0dmMDjJDiNi\nvKGDaSD2Bkzwe/e2F0Nt6mM0HniD8Kch1IcV+cF22h1esz0U5mKk9MaBFwra\npoXZhhuSynQuV+zTPI9mzHVPffqw0khHOuoUD9vF5dE745kxbahG8hJxNENE\nzCqy0kmNI2VT4zTK1GAJzNCLrgeTMr8RyMNI58a9sdqBceLdoKZlW0g5sJS4\nKzJcj2xb45xiL23er3NPeMT/sg+RN+6rq4PQjWu6/ejaJIB5dq4aZH3vhaHr\nOgA03FLXFkqz/Ri0Ljb2kK93Ni0YTCbPgocDvdi78XFxFy+bwn1zlpc8Lb6q\nX0PnRYeIngfiKYK2ClvWFBmQSEi3RAwd6Qt5LmDebenQuHpWr+7tt6JQTX55\nsfKjvf3SK+q2OFplh37wwBlo+4b2O/bW1/fcXWsTTA21LA8JPnq2y7alx16E\nBiBn/we92bbtyD5k61h5FYIcd7DY7ZSlMoZjrwXaZsIAfgVTrgoUz7wuvkWP\ndHQW7NpS/yrLMXmp7+urQqExyYaglJM5ewOPRlEFxgYJFhoJ2RoVB5AXzowp\nbf60yNDEOaTu5g0NXt/7iA2/MWPSTblGIP5dk+RZ+p/71B9HLXYFHwhm3Vyn\nKuBgcDTOOdf53XY7aRUwtQcxld/Cn8/jvV4gAq/g4O4N5fPp2L6pP1ugUZQe\nlnFk\r\n=SkW5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPWApTz52zb7vHiFhK8mUrWgZIa9ybi6UAwsO4Gxj9ZAiBVnDETfVASC8V5oY8BV+vTbs8t1W/+DwWYYnd2xqlQjQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.58.0_1565599798079_0.21603407359277416"},"_hasShrinkwrap":false},"1.59.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.59.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"7be4e1df6d57b597f38f7f09fc24fe1db4b9235a","_id":"loom-js@1.59.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-GJTVq01Emlt0kA8b+GP63luqrlhf0UUsC5TSxyc9GOWjHhp88lLDF1j9IsYZ+/+in3gKFs0qDkftncoM2vGZaA==","shasum":"cfb3ad5281a676380f49e068577b4fb7cd6ab556","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.59.0.tgz","fileCount":171,"unpackedSize":5041064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW7ZwCRA9TVsSAnZWagAAEqkQAIl9w3ECmFX7C5KK2EXg\ndBjocj7edIsxMMG0diM6iXGHatrzH0ub/U0YzZugsQnP/GmSuypoSZJB8+b/\nxBf2fnHYqT7YWYJUxPD6qjzRYBaOKYno+HSCTzttM7lXfvt6zuarrpv3hNaU\n7r4CTBSPqZC53eLKA+k8+AKKRB0O1Lj30hxiSsWjLz95uDEPqQXWUER7OfN6\ngn81GXewxr1ZVB5hIqy4ZbQanSc0w/RC3K+eLp3fExtQQYoJ5YY6v7S02dre\n5DfMybDepx9jYleCa3PxekT6qNaxDZe7OtY1H0sz5m+f7liTdq9Drg5GJoTF\nXpkxZg6XDdumOnnveh2/ZbfI5IVwJvOehMVnVgD/KC9NRJRc4J/QPL8pD8kI\nwsKInmeskrF4cRY9542VZvAmmPi2e1ldOhXeKz0XpHWXjRntQrAiWvRC6ddU\nSIMJcqAoI8uGyvvOpLTfmgTIUCaNm7GU5Ea5Us477ohydkzZiQKkuUsSe5Br\nnHWD9riTpxN//R1ah4c+0cETZKa9ywnMgTRkkG/NDU6hW1CPELJkuse24nnK\nYS5EEkvbYL0phJdqQhvC9mPItnM/0+j0ECYVD8tD+ufdEuTxTbAuEu4O8ql7\nOvCIMVF9uc3QZozc/iewiglL5ZzNYuo4ZaRQIsDOC9XN1s2P1XX4zpFXsjeS\nmwF+\r\n=oGHS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEO7bw2hauUP25UPgFiE9zF4Z0izjV7XGYNPFbrujJ8eAiBnzu+rSyZaEFRK7PWK0txlX0QKltvj19IOmAz8lNr3wQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.59.0_1566291567945_0.3747019356271506"},"_hasShrinkwrap":false},"1.59.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.59.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"f2eec861258ca1613db9beaaaf680cac93c0c53a","_id":"loom-js@1.59.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-hAckC683f4b2v5PraerCdBZEZxDogWgfR4gMO/D4KGp0Pt2LhL79pwNf8mqPUyg9nIlOrFfbHrTQwb0eYy5LPw==","shasum":"596d628c3df3a480a3abb5c9e98a4e23fc03259d","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.59.1.tgz","fileCount":177,"unpackedSize":5059465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZYCICRA9TVsSAnZWagAAWEQP/RBODzmHkdKeWytWelDB\nDeo2Gd5FbqTvEZhPAQaj/SgTnfDdaUuXwQ2KV20VNYdZBHlYmYgu+xz3d+Kl\noTO+BmMwrGHOs+soiM54YmbUWvD72OwX4aofLUq3Tu3I50slnwD/qFFd+rNK\nRm3gvJ2cL8uHpfg8/fNZy3kgjpiRDmMdjGPfbxtvaTqsxTzS0iwVceh8tXzK\n+9n+L+qc942VsV5ksMGTAZ2sjurxz0p2y51OVMgqEAleH9Wa3+4q+gmmGErb\n0YfF5vB+96JzreK9wlqs7HI+feZp7osuynLXxis6eG/lojjiGvtvrDWy/I/0\nxAKUYww1vwGmxLZUY3+U5NiMkO55CNPRoAmCMIHAJC1SNyYdl/UuY7cmFa05\noFOOtOU5QmoFLFIu8J4EzRlWJKnzlhtmf/2JWbCoG300dJUjcsu6lDTgEy4m\nIcvqKCy0luOy1P7vWNN3Ghi5mwhXo22eiy7PPyLtJvxNZznSyHd1ZybXhJ87\nPYR9k4tOpitse7DMwE22RAEK7hYomnq9La0594isVHmXlDdEr6zi672eswPq\nAc5X4V0LYnmM0rCEjSItg/MYzsrUc0xsNytHaC86cOHsmRZMDr+J2fLL5oTF\nncGyuCKs6hfNwu8oDkuVvUti7dDPsPH5sFQGUoKud1XCJg5go8aHJNEI8SUN\nC2Ao\r\n=ehpV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtfgzGVVRL69p5qxstcsHkeQu2POHw1arSrm2dUAmAQAiEA6tqyco+clfIsFua6vA3Vam4/s2id5FJWXkFWOWfkqQ4="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.59.1_1566933127211_0.47123677539072806"},"_hasShrinkwrap":false},"1.60.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.60.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_estimateGas\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"b720247f88e2f92a88f9b617d2675e1bedc929ee","_id":"loom-js@1.60.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-AHeAt3OobhzepSnSWM7lA9AOp8bZr4Ka1txw6T9YeE5rFTsdAcOzUiOWlFY4NwOO05zjdLfRLAWkTPrKqz4P3Q==","shasum":"0833f225cc42f9d928ce93ad9d693753d0b82c5c","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.60.0.tgz","fileCount":177,"unpackedSize":5073210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdimr4CRA9TVsSAnZWagAAUQ0P/2QCFxKG70QRwv14c9u1\nqS0a0NXwDwIRyGtue+dhzh/Jr83pSroCI9ommMsu+5PmoyEro0NM7JU2mfvO\nODfQmaoIcCB/H4WyseUt8NrmmbPyy/9uvhUpzXonpCsXXjDl+T9HraGfx9mF\nm3U5GZhaS8PAWmFMXqWmv2ZA//YIWZ5oGHgbwcXRzT1bIBK2KqozKDDy7WL1\nBDgIN21Ks+Y8vBTBk/QU+h4bBh2JAzf5sZSRrzn3TzrhDB0GQMtLjg5ZZcdJ\n2dlybccKCRq10Mq+qYBAPoTyw+7speShUyFyo6iZBqfIQHRO+9tHsLgs4Bpz\nMnNBRpSvsvi7KyN7qnIEaLdLr3iK//pGEXcXCqjkYq5+iWI5NRvDlKoT2S8F\nEqKCS1OgOEB5omwnAOXHlPQIUZVMR4QCuBL2vBz8Wc/MlpXVLIfxAKR2MUg7\nciFCQcsrz4jr2Dsu2TfB9dbTIjE//dceH9rVR1FnAP+6MX5Ff0dibnTx/Imu\naYqdKzAP3zJ+jPSkrMR1TrzIDsXGvzFWvn/ZHhquME8m1xclHRwwkCT7qVaS\nQCqFbH2JK0XpVHGnGRdaX4OjHmAaZvkBlMKLmtyCBBBhevNz4bvJxxUawBAM\nwyUC6HQcEi627001jt+CBIHN2tMR1dQSrCEvpIOZxOUNNgoVDPEzWeRpHkb8\nGCAF\r\n=yG/7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAu95j3vulOA6Vt2LinGgaqsrPHIQ4Msv/31/V+ZpkRLAiEAtx/18wsPFkQV5YDi7ayXUEqFze/SbS15ZV0Utwx28ps="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.60.0_1569352439532_0.11013012240817455"},"_hasShrinkwrap":false},"1.60.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.60.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"9279362862d7bd87b303622291b30b35529e0ca1","_id":"loom-js@1.60.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-x3d0QiKj08U9sE1pisfBXAQsTKJryg4tbVJE+YBsB3n5Vzm8uwVLCZ650/OwYuRxodOMU70YqRKuaMoaHdqYRg==","shasum":"198a5858cd4167de095b47a75763cbf84a880179","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.60.1.tgz","fileCount":177,"unpackedSize":5072425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdldEyCRA9TVsSAnZWagAAgMAP/RZRNbIIoD59suy2ddmo\nSwLTv/sxc1MvlRfklI5hpufiLMl7TXYGferIyhSi7VZ3j8yuPYufItnwQ4xP\ndtpZHbvbNIoACqT65dTHkE3VGtCQiP/s+jbrTGERvN6GtbNZQpu23IxKqcpl\nTR5nHrsMafiiLKqmE/J3btTLMCpBuLioFvh0j5LpEz17wYMadgGys8L9jlfr\nADwNSd8idD1ZFO1I5uikxdkax2SkmQByigNNs72gltzKEsLU7qFx2+B2csLz\nB8Y018Du0lhd70WdHGGIGNVhHR1x0kFAIInEPB+YcIUh4x7Dwjvk6jbg6/fW\nvGT7q3TcG1MKcN5OXE6CiWnCbhcq0TfTPzwZwDBC+6JR1W4AXJjqUD8dOa/N\naRpe4dmF7Ay4I4z3fiFpPaWl/qBjZLxxDYEGQWivssXi7rLChN+cPd/d94l6\ncq4zzCy9fo1k70CYTsRqH21ctf4FlXLvQ+UIa6p/AADR8XM56Pc4v+3qI6ZX\nUpQyL4453GI3aJugoIKVNYJmnE53OU6Lmmrtl7uLPTyUPH9hSCd80DMLyMLx\npFMtTCXRpDEaUeQA+o1BRB3+5xBUc7HuZQkrOyXSJ1hO6mJziNrb9QcB2f7q\nqCn7hg6dVrWBl5e7mPHRj931XpiLi4OzZS0Tu3zaXGx1lvcEZabK75PiVBGS\nK+ic\r\n=R/X0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTlE1vTyKxavKMJzBq/kqySjWxpb3r74vyBHCeHiX2OAIhAJ9lxTFO9VNMi6AACFpOVGx4ZEHSz08KRVUzaUoKfXDN"}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.60.1_1570099506051_0.6733625426796934"},"_hasShrinkwrap":false},"1.70.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.70.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"0468fefefc6ab81608beb1f988cce06088849249","_id":"loom-js@1.70.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-0GCeu1mBPf/V9VyD/vUV+s3mNaJrQFmfA5C2lDg1vcQ0eh2rGv4aUjKmq/xPINJCGd30xbuq217zJ0FKknA/ow==","shasum":"305daf21246fc7fac293906d8f0fcf3b44220462","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.70.0.tgz","fileCount":181,"unpackedSize":5139299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmdTkCRA9TVsSAnZWagAAyYUP/3ScTVFlERinT3ir2hRl\nBZoARcBUIO2emumaqKlBxVbBWLeJFDRIeW3VUCYC0fCLOyYCRyjnzzIZyhSB\nAdtVXnLw7ZsNksrfiZo+/ui4esx0Gxgcf40Ecsr5dicEicyz+C/1WQMDj7aK\nPK4zoAMhAtFnBQYsIQhvkV3ZOb25Qkj1Du4YgOJwOv1j9wEry2QGoDtyyx6q\nRTQHq19gm7lbBBTW1spttt/Xycm59pDBmyi+Nlzsn+7K9IKIwz3bHPtXwLoF\nckOMxFc3thV23ECRMn9VKtsx7wmbXItM1/EIKGSEVDN+ZpgXlvD913jjcOeZ\n63bhlNySRh8oZI7LcB+kfBIehP4acY9vvUh87/ui6WsAEUp3hqD9YAcmoST+\nHDgRltRIlEN25Sa+wn/QVzp7LT5ERnmw7MA9pFjm3CAqnxWm1ujZGzhjUuqG\nU+YyUV20MVf69njxCgu47GxcoGKlssxq+Smo3AMABfQ1QiAqKWTBFEE81Jdh\nf5bQf6nq8ot106f9Nz4dvAGWhEFQ2lTv7UNomZbftoJHDcVZza53swNqIzNu\nwYuts4ZMQyLP68Pvb5JcLkgb6PvX2CEB5HrgkW3pT785rwX2/QtNtBINifsx\nBVWcKs6q7CJW281mS9+aFNkwnIvQnZ7WDCWVBFGh3SI2Ap1THWldJN+F5T6n\nMEiH\r\n=c94+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWkwpH0VAikTYiIlb9QgCZnbbFr5nv0mlF5q6/QlNw3AiA1L4Bb9dCEUyIsq2SgL6lO/xe68Kg6BRWkgeT64wsXDQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.70.0_1570362595334_0.6500825667935592"},"_hasShrinkwrap":false},"1.70.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.70.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"2f68279f1331f689421a3dfe37820a2a01270672","_id":"loom-js@1.70.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-KU6zl/0gbTzzGjcTGeu68ZR5DLl85j6XY3MkLKzWfMJLxSTF5PW0V/DCeGtZhJY+pV1plSHv/rWBmWzYBj7OiA==","shasum":"e5fdcaef66a41574dc03f6ec7844189e1f4de832","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.70.1.tgz","fileCount":181,"unpackedSize":5138273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqGEoCRA9TVsSAnZWagAAERMP+gN1TJ0jAQY3ouVyH+Z8\nV1xUcrbrEbZLxklBdeCxaEos+WV+uHMVHYwxG+M+FcDgSyO+byeuKJEpmTK1\nKj2V+oLMQg2WyGWmTgsp3n9Ej010qWY3jSUDH2JaB+gjQ854jwmrdlCsQWQp\nAxYk2gbIXBq2U+gwpZoeilreK1IFNBM+EdaziAEv5i4A/qdWMbcgHEpC6UZB\narw+GQC5lvwv2d1eAlpW5h/CU9e67F83IHSlsasTkA6Y0Mogl4NAUjGzNzFr\nI3Zf3ZKuQMWVj9oPJ4nT3LvC+R8DA3kTbspjZ9zEAjx4u1S9kM+yqV3KqW4F\nzFTxK/SQSanzAPZUrL5H1axQJE4AhvQ+WHugAntpm0pKjM3qumXTIjsNgB7W\nhRtNJe6/Oc24WovizYd257UgrPu/fDsy4oq/rPQXv1b/pU6g0N+KeGY1EM/L\nGcPLOhfP5yQejE+3yH+DFuA82pBttWcfnnqYg8GujVE2GDaZjWO+Iv14ntLC\nYE6de7x+izqv5x3PzU8Fnl2NAp1EYAN1hUCiTAFk9hQjiCRd/w3wbZ6v5Wpe\nY3CLMcKZ21/htaUIIxcmnbnKLdjfGws6u89MiSXO0S3vrFZNBDuxl859OAlu\nAiF9J7LH1W4Vp80/Fnztu27n/uluc9IPNwLpKzTBmu8YRa+SJbfKoS/nkLUU\nWUTi\r\n=tF2m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHl8W+PeZMRIyuGyMmqr3bZmsHdlndWQw+dQxPJpox/PAiEAwHmuZ0XvAIan09CgNXdTC3w9Pd0EtCxUXGP2AULJiVw="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.70.1_1571316007584_0.6620001150162105"},"_hasShrinkwrap":false},"1.60.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.60.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"7a2416d07b1a4f7d1f57d24df62762e3c72fe595","_id":"loom-js@1.60.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-OPID0ENpYHQkbTMtUyL6KiQeB5dz3RY+UmDFRhQ1hMKMhi+l8wE9qrnBgovfWqwb8E+vDLGFyCeA9Zz3kDU75Q==","shasum":"ad29afdf202cd0086f0611b1965648b83c5a9d2b","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.60.2.tgz","fileCount":182,"unpackedSize":5103906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy+BUCRA9TVsSAnZWagAADKwP/juoHYXxrgog/Mz67i/D\nY3ge+7qoEifhPmQEfLJz+pdoLgBgIn4a8qD31VnM5UWRrzirL/JrcWbxBWM3\naYvidnxM3PoFMH51mwSuYFDSCZBiGsTNtYiWVqe3r0RqQrfpA4suK2aYCwr+\nyCw9IMDHwUnW6pdjl0ESsGQfDyNTJqchtTMCp6j70jeq4DAVmAMoMM4J4UDP\nePIAvf1RXC3Gi6YuFJj5i4M/SOeJ4Qytl2Ok4gWvanIQdpELehVtsJf/5Ny8\n8E63tmemHkaGfsegA7eiK5ICl9DuyLNmVpyBhLb29TamGev663PjwtepRAO7\nNcMLx/NIHWY5yGU0ZqNLp/pLDUF+G3aOfN4xIUh28F0f6NOUb3NKzc4ltfm7\ni5LYVnJWuULFU+24RzkuiHSefjHCnb3cQm9NqfLm9I4f722ZbJP/TpClB9Y0\nOZVU9lnjSjrShQAngP6F3iwdIgakTaeA35cRt9rOfjL8Ia4X9i/ceV1IdXKN\nlvFMRKRDsTo3wgaQJUDkiJFn8MfOgvSZ80QlrSZVwBWqwKZ6AkgHld8NlrEf\n/SWJx9X3KmxkQq0ncwTpPxgnlmGge60jj7CY76OOpF36UDwj5OdodlXsiDo6\n4sVB8qmCaDOedHvJM//oKaCeOgxvhwqz2fK9eCZmBw3OZS0pHWfFCN+4kIuH\nwW3Z\r\n=hQAX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEATiwa2gTkKO4rLUhfjmMBIVJiEcgSJ1TlMbW42O1C1AiEAr4RV7edUQ72v9ADs9WQOdluY2x/iRbDxKZ3SPWfY648="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.60.2_1573642323637_0.422928919467364"},"_hasShrinkwrap":false},"1.60.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.60.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"7ab9cd20791df40d5b9279b4620d2c48fa7bfbef","_id":"loom-js@1.60.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-UcIFoRd2T2sJ51Q8f9hwlBCFiZuvVGn2gWrbAb+3gRPOl33X4m46uAB5MpWGoKz6KfbDbYszdBInJ2mE77isjg==","shasum":"30a72e5f9db415a82901905f459e0b1d86d8340b","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.60.3.tgz","fileCount":177,"unpackedSize":5127321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0j9vCRA9TVsSAnZWagAAHD8P+gM8evezniDGznnEAuIj\nOqUSpHhLgyviI01rOr51GCVRCDV6ruFvRuHZzA1nkDCWKwUjjaOhjE9MYg8e\n+6mf4oefWinpJ7UAyhE/MtyUoGNFkcPrtkY5yO5+xqQBkU/tiS7auOv22X6J\nTtxM+W0g23hXEAzV3lmBJTLrXUgfaJnAKwcPQoQ013CilMyMredfNECWZ3jQ\nnpVfbyAwgXphwafAVpv0+z9lwlcFruo+LEFrufvyCHj3/OLHh4dW35X7B7Iq\n0yBHlKG4CEPo+V211L4DSJKAQ+Cd+2Fu6qT6z3c1LNpvJaT0t4VBs1jYJU5n\n6VTHTzBC7s3Wg6L3IptqIhdCn7pkSwHx9iVhkgdo3ZPIglI4Lx+8vWPoRpDP\n3+DAstSBWOC9LqKrzPq6521FnFbt3fAjkqDXq/QDeY1EpwfuL4CW+o4niXM2\nfQrSHahcl6Qt2h6bVdNm6u1b9V0oXmsc7kVRL4F5uqD+kCGV0AlZyLatgfdw\n546TyJTLxd/ZIMi0uWW6PeJSum93XUHAdMkbGAax8i0miQhw/wAu9mTu8Hk/\nwygWRm3+XH30oUBkcqJdEBPBpQ7syVvE6126XQjyGP8RDwIgbfsz/7hd0reA\nxp0Ifrc3zbssYLHz11Gnsw9u3sYd0fCvIDl7uxToewGwZxxOT5/Z9CT5HhzS\n/dFC\r\n=QJuP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe3AtN1j5ZN4USX5Va1TroxFMQQNjCpM7qdwhqUFM/FgIgLAqcP0/ddmvexRQghAkuF8vlfifGuTHfXTBk7ZS5TpE="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.60.3_1574059887253_0.3825674147318572"},"_hasShrinkwrap":false},"1.60.4":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.60.4","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn abi && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn abi && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn abi && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","abi":"node ./scripts/abi.js && bash ./scripts/fix_types.sh","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn abi && yarn build && webpack"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.11","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"00f4667a791cd01ed6cd6fd98691fe4a998b109a","_id":"loom-js@1.60.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-pvpCJLpX7fe10U0lhHRJNeveQqsyBcUV7KVitU/u5e3EJQumoLrgJEyPfsJHcGsKyky/g3zxj3dt54UB5+u3mA==","shasum":"427c83d1ba20ba03f5fab1d0382c086b43c5224a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.60.4.tgz","fileCount":177,"unpackedSize":5127472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0k+tCRA9TVsSAnZWagAABc4P/0TA+SKdRBLyNAKtqav3\nPJlGyZ50AAQZLyvHhYSZGgUsBE1GjIe3yEtM1AYlsGhqphFcmPCFgmwZ4lbk\nBQTN1zX4aiGy8OFQ6lkNrx6ETRMdSHW9UGFk7yjB5wDJD0cWPeNU/aLYIk9Q\npnZydTNikyeXXu0/fUm+lhWZQXJ97CCRKXNai+GUqAUzIzET/O5rmevrlDx0\n51t6bQVCDtGdfaMCKqFLCo4p1t5w/48CuZFypRYkhyHtQSF6lKkXDr2a3rIx\n4g1D6wHEtwwleiLUFMyd2cTlCqc78XflcSww4SWgFz1IGVBJ3yucyCt+wwZM\npQGPc4g6MUrcFbwIOqcP6YanCyRcXmcJ3QbK8HbzXV3G0EU/J+jZO5i2n4pu\nmyoXSjvXVwqbaW3m9FwPpvLYY1Q0M+B/Fi/tkbqjEw96JTf6BDFx7s7yMd21\nFn/04M+6Ajvqvy1OM+ISDAVwCAuX5YqnYnO5mij+7NrKHaXo8xUqs7xE44h5\nXhgVarEluSECaLKy6tDoKCprNnLl5N5CtvLpc/ILBjkWhiJq0qHO4sN9AvJU\n/Jb1uPs4UDfACHtGnPyml4Vkb9EwqEGVgynrFKClFk1E3zZ3u69DwUPW5b6S\nZPcGJYcBdLFzB6SD6s6oHnOZCDF2AjavAwiuh8/CRRrCWQaPaxQZR36DamPy\nBeIh\r\n=fnlM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBSzxoEnZ8P6G/sW3xDZO3onfgXjsmEMlNzUNUu9xwDgIgLEf5sdRUxHBLYw9bcwWy32FZp0Sb3RyxQKhqWjdmWoY="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.60.4_1574064045111_0.22127802680818198"},"_hasShrinkwrap":false},"1.71.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.71.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"705b79af6369e4e3d00fb13c7bc1f205a9ded399","_id":"loom-js@1.71.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"loomx","email":"team@loomx.io"},"dist":{"integrity":"sha512-dtgfJzHj5vZpeRw5ph77EGwXsHeSfvmGM7DYrdk1O/HZt36UFIKX87iUfNGD+TyJ8wUqCa/cgnumb1GvPePhoA==","shasum":"7dc03b81aa856c7c109af4d3ef3c1deae5a27a2a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.71.0.tgz","fileCount":181,"unpackedSize":5194762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd18BSCRA9TVsSAnZWagAA5O0P/1hp7dnyLze62+Va0FlC\nM+ZyucSRFjXrtxFs67mqoi/DO0pS5FnJ8QYrGYuDYE1SQU1odsro6dN3kxCD\n6lPnnip3py/hU4rZIqdcM7wKFgRYcw+vJmjD3XkraDxIVqWhtthDk88JtaTZ\nEs6gd6zNW7Ck5SnnIN5lCYtXcinuVbEOqG13zP9PYf0+kMC0lqYiOQVKoQ8M\n4CvbS9uNhKB6Mzd4r14wK6q+4oAwxKfHT2eLt7TbiogZwKBK2dNDUXjKbbgk\n0nbCv//Ge9Ra8L3T210xtZvnod+Ic4vKNm9rTxh6lW7h1hoC8SfXyU2YV/64\nIAV3WemPeRWJ3yOmZp/UOGB4vsXlB8s5792BqDvGfjTRiIgRxL4bXeVKAHX3\nhdGtiRIFTVzoTrvmvHcmD+JNFHmqh1AP0NDSJrTRCpl8/0abDXDERS3XVEAF\nflxXBi01W6HCjqCYsMPyaLSORjhKPy/meIOv9wZWMRTxwM1Yge3pIpf/p8Mz\nPUN4jwNLb94PCC5GzwICc+L75jhAUM+OhVoTBGx+hPZfkBfj5106FbNxncq7\nmBTxJSkDT1WgmwiqfkO9Z/A13Sn4pyDxiY82kqmAPE8NzdDxuyhIXwiOa+59\nP/EiP60WzpQINsoS45mG0MRgTRmfaZN999EUXANePuvhbMwpS9eaMP07tO+D\nxLRp\r\n=EVTf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1xAdh71aHL1u6vMOWyZTNqzQde9M0QCd2Jtz3S3JbzAIgR4+g7PURllUW1VK6KjlALQP57ceG8qmlvK35J1DGRO0="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.71.0_1574420561960_0.5692630035258528"},"_hasShrinkwrap":false},"1.72.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.72.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"4bf45250a7cb53115e212c2c0d55ebf3008cbe6b","_id":"loom-js@1.72.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-lQc8/JtSeOM5L6KgXB+wMeZyNIq+pxjj475IG6xJp/VBDFjRUGBkXPNOfMtWZfHZaivVpBFOZ+R5SHS2jfmgwg==","shasum":"736de782571c44855f097ff74d1085e069cd43bf","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.72.0.tgz","fileCount":181,"unpackedSize":5243795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+1ajCRA9TVsSAnZWagAA2zkP/jM2pD6HbRShIW29d8ee\n38yEptkZbS4IIxKt57SgvJt4lVxjtTlFklq14OnYoPdgRkh096jgQaSopuGX\nkhI3uKwsJiRanwt9inS5O4g44Tdu4BeX6G5DkwRNSvZXELEW8ujjtqHyTQoZ\nHKHuO3p3uO7EVx0ay5MIj9eJLTkvj9M5JKszMPUp6CqHhskGdkTqrzMySXfK\nsajbLepQWIfXwAkxCu9fZ1E1VyXt3a/66HjGMFXmfvO5/W7rNw7ifwtMrV6G\ns2Rqi+JHvaG9dvmTZkJHPETwbyeaC/UmaGytB/JgmYnl+2aEJVUY8PSKP62t\nycrabWfU22+7xW22Dy/sFa64k8Jwx6ZWvIIRPm1TD09WpX9aO420tlYNBl0i\nVJKX3BZkGhy65EtKea+MvquoTRrj49SAuBfhzwndyHdNJ3fiaQ9QBzPcVQzO\nECkq8fzF6GFWbSAiYK1cuQJgo5lKMFWm6fwDzsJZKv8M8pHaTbYVqLXDnKn5\n3lWqUJ2RJzHZ9vRxh1znZ44gFYTtQvB9HyLf0EiiFwXArVuAyzCbVKRmGSb7\nGpAefRGgoU7/zHpEST4Jye4h/oYxErOfobkc4y0yJgZJpvxe7Lt8Dz8teBUy\nJ+6UvyE2rFPiNALf0QhewBUTinyqkwXMZ2f6J7b5UYQZHgOY7yfgMTa4ig6x\nvzvJ\r\n=tOss\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjc0R3LOTiLreqn39bCoQSpouFMFcZ53iInCJ5Orgk7wIgJgsjEIgfD8fIpSSSjepy/lJvrkIgOFt2OeFxnDEgPk8="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.72.0_1576752802827_0.3197694075439408"},"_hasShrinkwrap":false},"1.72.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.72.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"a6892ca98736fd8b55bf8a62931770a47e298feb","_id":"loom-js@1.72.1","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-JL2YmqvtSbEMLdG0/vI1jJWx/qVZm1DKWsKSER56VdgYKW0Q+A3HuX7AfvSSxhXoHAHHgsxlBiUxpb1fyy6D0g==","shasum":"a2f7ad50435eb97d60171ecf05cddbcd07b4a125","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.72.1.tgz","fileCount":181,"unpackedSize":5244656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDYHDCRA9TVsSAnZWagAAsckP/2CC07+Y2zZAcCq+wHO/\nhAwg/tNoMoMCfEK6187xOoQWfLNUHpU6okdhoKHaMfRsK+6uxOCOAXM9Gso5\nzDs/SIVF8BqdvKGFYXKKkn68Ojp6DrcnSpDZhntgGiNSlFIHCNDuBT4Vw9KC\nBuCgi9n80F+Vmv8Hyf3V2KIIuXcAvury1bwMOW1OQZYkIbdR2irRBDRn8Q15\n6CI8q30GOp/5HCsifH1r3/981Yz+1uhbFObgdCrDHBeB4mOAvP7mGDUUVLKt\nOPLkPZB2ASx6/HaGLgYeixNiSlnIC0UwtkPh4Hgn34kj8e/PZACUzSjRGRpy\novlC5NQjjREXLwAbO4GiU1zQg7MI83cNTw0mSUDjruhrgpT9t/tpitynRFDB\nalFlNH0bU4lYzLrzNDmqSXZX+sSjAhxMYmQmpiBd+Y8y73GLBHtJ/8yS9KJ+\njJf88aQSAd3Fu3HlJfKp1upKI338OaJKSGzD3Zn1Ipfx7NkJaTpob7wm44qG\n9psvl5biIHL0ie4ATqBjoS10TXtsZafmNL4+H0dj6ZgUvHrCRssgQbJ7v3lD\nNaeMmKM06KGysI3I/U1vCD+O5N3md9XfBOvNTBBHyzI9b54cU8WjyY+qPy97\nX9qiVu1xKh0Tiy7AvCrV192GX2IbcL5++2E6ltRPOL/2HPuElkQyJ41zRMsW\nnyua\r\n=WMDT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFufCK4J2YEWw6Z+U1okcbqnVCNJj3SuVYqSZClEJj8gAiBEac+TqSF8zTEYYsmYtkIqiQzWNBElvYrF8/6UWLLmcQ=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.72.1_1577943490076_0.8157254296824905"},"_hasShrinkwrap":false},"1.72.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.72.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"133cfa969130038a9c873330978987c911fa47d0","_id":"loom-js@1.72.2","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-mMwr1W02vse/W4VbjL7spONLBCmWP2Nzi+oAxJeUiXh8Uhj6fz/aLe6XlzAyGQrLxOiqABOOJ7AB/cDnvPvgrA==","shasum":"bc69e6eae3d039308edd2d91ae0b54cc9093155d","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.72.2.tgz","fileCount":181,"unpackedSize":5244656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFHRWCRA9TVsSAnZWagAAZ7gQAJfT4S2juosKfgiM2vsM\nE4w/wVqSYRTtGUZGn93L11IGDOd8EAeelGW/JlKP1SZDMcY5cewdzMQ/0ZUa\n/JcaBCv3nmIegQmeJGQdAO6yRYJrbwjEYOMmVzk/i3Rz5amrAO0RLloejC3E\nsAtyPUX7KdagZaLbzP+fKv74zaW/XrzFmY+aiF9Bppu3roEgQsGQuugidqW9\nYcYxFJc2zbYKk0dD4O/mkcWCpvVdCwd3+SdxbvjUlmBV+KLD3oiC3BZ0jChi\nFzdjR6CLRe+GmFSPOiIbD7sEGER4KbT1v0yMJTIH6b4gSM1Ex9G2Gx44C7ZD\nkxCGzAA37h8Mo/LgzUuHT3Hxgys+yddWmgNkftGOvp22mzvgxxThWNqMISw0\ntId9iak6i5+jTYwjxbCdCmVY+HbYvuDl2NfZhx/cl8TfHLf9DJaj1PwuoyDY\n39qZ73XLwFfoADaWuxBYRfGcC9tSJ+o3HCRty9uhx9ZQ9fNS7wniHSLuG521\naD9L8jpAeCGqEXFbTAgdXeFcBKRgBZco4DDP0GbQgDb0yajsjnZtUIV0smL7\nfAUFEf6zuudzRcpXpVgJcOCBbxMFk/mvrGbAGJ5XTzl2n7x+lhuMUkDmuzVM\nz4ReYzyUNoriiJQ1iVBgP75PckH1Ww4idv0l87QmVHdqSJm9H4q/8EViK2nC\n28Fm\r\n=hJMf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLlQDlP2R1mDDXB7xBcx8KC4qRiloQ03h6feRDanv66AiEA07Bv28SvI+oAC00kkSoh89Wnl9uYH6nOpATd3uF/0ns="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.72.2_1578398805824_0.3012041577790574"},"_hasShrinkwrap":false},"1.72.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.72.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"4348836e47486676715ee0f66f2112e741c89d36","_id":"loom-js@1.72.3","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-tp8QUW/f7zUEk+B9FtzkBuzzXEdJq5GzBskXuaah21hQvBEvnYCxTHQQA7xk8XOceZqTWmxQd0cl1OsUSrXaHQ==","shasum":"ac84293c4369ffd996e784697f666702e11157cc","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.72.3.tgz","fileCount":181,"unpackedSize":5247485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFHs0CRA9TVsSAnZWagAA6gIP/1tJIUsNYJHo1xFtK7Ds\n+trZfTmRabEYrIAbWPsvnFT82zJxxEH0BxMR72sVewr9UWSxRKwfRO4aud8P\na11btwRmGeRQqXPE17akisFS1n4MdDp0iWjPdOGYQCpvq5g/Dvq4QhxudTX/\n0/4WoQ/AwDdDrpSB6FfOqVDATgxFSPdoi1pH9nATdzl0V0GthUVg/IreHlbj\nlfpQhqy0m4kIUxHH/4NVT/DCIrqJgixMIWKxCBQ1xoKSdfeSUB7PKR/E2KZL\nyljtHpcFqCPCZQ8pWYYiFOVmB/rgCvg/J/OpvU1kud0F+4YjRREctDjV938c\nQ2X9vjKY9pp6mAqfE8noSwzpz7vBDrfQNRAqAwoOhVSOzLcgGjfMW7GtGhGk\nCIJrSgqL4lOIDL6rH/YdVYqO+apxTbR1xS6zLmjXjEKVeCDEtCyB7zDvZ3oE\nbVXjCfk+LH//r6MrZVRQBa4+aLn4PQLpReolpAQy0085lBUrcuXH6iR8Rig6\nj5h+S/bGT59baVDroc/Nt17iMJhW2DaY/HnqnZdMAFZeutyIxOEwbx5yGOiO\nk0D1E2H0HAtCw1mMkYKDG7I8inRaK+/ydGgZ9NPfnjf8QY8kCHLCXN/tpu/I\n6OntWgQsfv/2sg0LK5kfEsd85ZQFi/CguNxFUdf5EkV+sERvxyW/T+c7VPPQ\nEnsd\r\n=XNAM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW/KLc1Cv5imfgVG/Eqvnh8+cRRSRFm4W6GmRlZ08mPgIgffvrkE9L9IO2R1gk1T2Y2ByJx/OclZ07/zn94/I4aPo="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.72.3_1578400564377_0.0678055167160112"},"_hasShrinkwrap":false},"1.72.4":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.72.4","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"a05ecb16d478554a70d2b20683b6a2a22510d030","_id":"loom-js@1.72.4","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-jh5Q0Bo6fSAwmMzkx/kBsmAn7mWC3LVrB0QVWlhctJoEV6ioqtpQi0QNL8xRtjMpX9QT7N65Dw0Rfc3iZG6UlA==","shasum":"f78d250b806fab8d75eefb7a7aa4e39003fd91ed","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.72.4.tgz","fileCount":181,"unpackedSize":5248360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFaFSCRA9TVsSAnZWagAAEjgP/jeuzuIYFxYTMhX52Rej\nObD3AczpJHBQeb65D4e1+VC9UuXF54k8q5yV1vLsV16GFY+Z4MC+MruZG0Fs\nCiSST4wxDE/hFuuq88HummdQdb9kmm8hx0c5N4Gh2Ub5jMedsNSlR0a/tqlF\nDD9DXy9GxGPT1TKatLQpgvNd3yVzfYKqFSMHs31J7BTZ/9iXQdegWfCFSJ+S\nGvkrpQ3nKLuFBhcuYn7GOoEoaiz7I1RC1d7CeuqFS6pGD5hFOBPlf2hyGIBF\n0rKzAVSGlyWRzwjzHSqm00LUxgt+jtGiScxHTaHTb3e96LkqdzjmLXQ5IJpP\nvnl8FGIR0W0bpfX/PfkbmF4crkVKNbaKVvV7PXHNj2mHvrl7Qk4D3gDLZzdb\nHlWwUhbjyk+irFlvev7Iwz21FmY9k71+1JN2N2A/LIi5H6teMqlknq3ICr1+\niAyPitbV95WUMRElUGrQkSKFQpgwVhQyo0NBTs+tzNlMEd3NELUuFWOTi1SU\n7542tQDDYaqbPFSSV6yrCqHFk6/gFgRhk7kNVFah8K3YWcVVbx42D6QDH8xf\nmkACvxVzlt+kgPRZ5NvjjwSa/OxJYmCvexRlDI2wufhEal7Gcd3HPcXxFuzu\nPL1HrR5ZdN6TTlPe79hAS08Q/PdMXW5MiRdJgi4so91Sbxz/easrpxb5/jMs\nIyZx\r\n=pN8n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0m8iNDnPCBx7DQ+SOw2DhD0E/Y7k35M6kD+QRajtqjAiEA7h42UbwKA96FyMvHgtqEPdEwUlfP6ndYgF3JiuEJkso="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.72.4_1578475858434_0.22887926349318088"},"_hasShrinkwrap":false},"1.73.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.73.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"79335fcbf0e650661490a5a38f66a31063eb00a8","_id":"loom-js@1.73.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-4j2dOsnCeGJAPaqRjS4zHKe/bQBTBumLhDRHQwG2AiRoJg/FiHc6H2RCIzCJ4PLM9zgkc5ZErnvIm14idUylbg==","shasum":"af5cb022f50157f8c0b58a860a538973cdbc424f","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.73.0.tgz","fileCount":181,"unpackedSize":5250601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGEppCRA9TVsSAnZWagAATBUP/Rnym9CD9U5gmkbPiJVp\nYi10wzOPYQSuskHkAyiOE5Bu5lTY7ku2gLJ6BnOnBYFAFs9C3gZwnLKICvB8\nYXQZlsIuc0hfkqFmzMcJOOzSgOmLmLQwbLksGpCA4SSrQ6NN1tJovuXq5Kmc\n/zbD92fiMbSm8hZIt3L0wSIw5VqFeSKbFXMtNIBK8SjjlPdRa6PkRjnQ4p03\nCvmPGCxa4K8vT//ArxCAE8RI4PA8BUb3f9BJ8Uhva4d8txKbjwQqguCwAgaL\nP28MDAPSrqdybDq7mZQLx9WT2qSlwE80Q5FbLTLgjbjOtwVdEsTwAnRIOXj2\nmcYkaEvpIT6i0DPeJaOYZLN2Np0hUuInNcgmUiVnNDaLl9WCNkBmKJGkYSIB\nfCpYsxMJww2qR5iDKrHtlEtdifmAcNKDF2Zp5UZYFrMhbW2bV6G1xQOCc9Ui\nzDwUl92sC2tr022fX57SWO5uBU+NnPiem98WiFUv+co5zol+y9XyX7PsI6c8\nIUCm62YIP2nx31Uv6aKIoKZ4ReFLkImOZpxyMNRl8VRzGXZBjJ3iqTILVqsv\nT+KfTVldNsOeofYvauDMpP1Dx5Mk1hE+a4UF9BMwxT4SZ3Qw8a1wzxanoC5A\nDUX4eUTp/2uIgnAPBvLFWl6bsArf35jW+M8z9alHcbRZw5t3PG6wJhzLnShG\n+RWy\r\n=5dCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiBIS4jNcTdU5lytHt4lGPPQ9xQR8NwfRyB9z1GweH1AiAYt44JuuPY9dWGc9LsCwIw52WPYfn608y2uKgQlHddBA=="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.73.0_1578650216638_0.02496970521695374"},"_hasShrinkwrap":false},"1.74.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.74.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"5264e5eae864b4c6bbe94e1634d16c424138272f","_id":"loom-js@1.74.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ARq7DRZwN1KE/PwaL+QUZxYRbae29b8RzpJ0f6bRg2uRJek50lKkXaSoZtYIaTDE+GiTlI/DWF93FMoL+Al/1Q==","shasum":"e2a287c88b3c2e9ce38f85280a5ec3a27ad40017","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.74.0.tgz","fileCount":181,"unpackedSize":5251963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIB+BCRA9TVsSAnZWagAAUTsP/iLOflspWicDV0M7Yc3/\nH0QHl4vU/Dw1hZepVP3yd9ApRa0BxAL1QqXvQ1chWOwie3jRPInXS+9CyLWY\np+w4FMTQrJj0Ig16XtH2w3Gb6xoOKTutkLxwu0IeOaDOpKKadmmShlNxyicb\nFNjaSSU9DOi20wF63e7iq/ejIXfT30O87zfaEqksfDMqe0/HpRm239JR0ICO\nD9IKr8pl+b4lt1d4Z65vWF9telEDxJlAtI/Zdni36umw38vjSPTTevACiNWM\nYl2giBN53cSbYenIYyi7UM6AW4su1JxlHbNiEwbybiRgkCzbjYiuI3nMLQiC\nTUTju5njLXlMBqbKx9NpxFpniINuTwSueJLRV8qwFJUIdBSrOkBQd1cCqcyB\nqC79g4oPeg5jpaARcrHGJ58PiXG1EcdBmZdwT0VEg+O+uMnYhOILaOHM4gZi\n/6DzS7iwc4lqdki62UzM/jlKsuaxVyQ2Bq5UqhpA6ouAv/VHiWnpgU83v+yh\nFa5/mtwgX9hQGhiy27aCWzy6jRlEeNOCDi9bgb9HyevHle75FubsDvpJxAmQ\n/Oi/sglmZQd1Y4lQRhoSu2n21zrSqVLEZHhWnOteOSt5OTYml0zcza+Vyh+O\n6OXITjmvZ4vOawNMg01s8MEKawhKB90j9SyqL2LxBYEXryWDUYHnqOMDO2oB\nNeEb\r\n=a5HR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvezxvqJHbvCsZ6yGhteEnytTKu2X4xb3z0EyzdIDwWwIgJPcDhBd8wsARmVjTNLOO3NVtoxVfXmJBi5wgz/U/u1U="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.74.0_1579163520740_0.7532304127136644"},"_hasShrinkwrap":false},"1.75.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.75.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","copy-contracts":"node ./scripts/copy-contracts.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"99896da6634f96988613ed582a14a7b4b34ac4b5","_id":"loom-js@1.75.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-6k17NdFcCTFNNv1L2JReYiofstckssWaOtmsUPhA+cm2ovozJYtPJKwUaIGsRx7LUR5cZRx2sBDYB9QUuSN+Gg==","shasum":"53b885a4c4d8c5c41c9e012f4c6f6c7ff79e56e8","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.75.0.tgz","fileCount":181,"unpackedSize":5264013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSuhPCRA9TVsSAnZWagAAc6YQAJSLIYaMfggw4w+NpCxG\nrE16nBlZ3InTEGUSP9eehkHaaeuTWI3akg6ll353o9uDX9VSm1drCZcjeXVd\nkZgkoq163aFbKTC+KRTzMg1VWtBurXyye5doUS8KPuQvUnkcjiWh2H8HQmg0\ng0+phmqdpslyjpNKETitrZ1oMyHC5oQLs7KmbcEkpidBIInxU9c/EeXoJg7+\nKHFZnNrxRRsB5ryWRli2ijbT6QyUljUvNi3gv1U6NcLJYd/t0pihdCOkSLI3\nODu089H9KtrkcU3T/6gUq3bVevRhWrihJFy6vk/S37kxmL9z2ML5JfbFuTTO\nbnt7HWQV6EVMmnaFid9xWiJ3+EBdymH+WxQ9//osjggHFPwkvaF9AU2/QdR1\nEp5YzfvUBcNWScCim7TXPMYNmsI407OXiBf1xQF5l+KIHACrAPAF5iM90vq6\nvUOrgjINiiGCSZkkMM3c2Bve/jSd8GGDOQtZM4FMYFOANJQBodordgRTELtH\n/+RAJEmeC77PqVLwW8tZGW4dDvYSle7XA+LpBQEBWj5vDZSN2N8ys80n6sSV\n8aCTZT0GNxCAzcsjYNwjsoAZYhnnBagVqfQQ6Ow2CRvHjWcVYmSsbsSDr8wF\nL/VCPgSnND6/tU7cz6eKHd6rQcFE/msT5GngDDtWTZn5vLnQ8C0ximY2623X\ncakK\r\n=0Y7O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNesQ0g830zXiSJVdGHx6O0j7/DzHza3LYV3hf6KwuwAiEA+C0fd+wH69GagvJnCLiuwzaVirvXBHg+A0gWVjd6kGI="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.75.0_1581967439189_0.42093636521717004"},"_hasShrinkwrap":false},"1.75.1":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.75.1","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"fdfd39891aef2f8b2b1090839c81e02309692f4c","_id":"loom-js@1.75.1","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-U8xCci8O8Ho37taNKjslfZ3ZwtvsJmofuHu2z1bLKkPVXR5FXgIe1PTysw1p30K7k2qBJdd83rZPX28pyQh+iw==","shasum":"401cc0e61bf8cc8671e6b51517d84a4a1aa7539f","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.75.1.tgz","fileCount":186,"unpackedSize":5291359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ688CRA9TVsSAnZWagAAnPsP/0l/gYXw5gzOka2nWy0j\nw8mGTmT3yFp88u6BOwztYzztfjw22KnMfQUvWuVcO3DdCnkst+ooclwPfTbV\n5g6/MpEBWp25naUoeTL9jOdhMend5aVl7/eyFYPM/nndLDJAtjxUqQ5zQHJl\nWpY2X8giQTa3G5ZcAs7nVw25+LNrky0CEq8s4X9/UpWVnSVce1Sc7Yo4aivq\neeuqis0t0DyvUgaMty68VewLco65UAC6KsyVpwgp+Ug71I8vmJg7YTtthFrL\nj3s91xItnHhTZN+iMXPPP886YOVvpsHorgd8oStsFQz1HiAdmKyDDG6j8+fu\n0LvJ9Cm9H0LhNCL2bhdLpLGDwpkw+rk0s2QsimGBl9M6hvt+InV4+rkTy6n5\n0JvDnC2Ax+viiD+jUa6p2c07hRaF0p5lvHvMwt2/Kpxa7ugFzSUulqeWk3ZG\nELAHnlsvvRtDwtiWB6CpOIgAmAVXCcgrg/D0sitGogP+VT9oKVXr29HV9KmK\nOiblmmphGEB7DFTl9tliC6KpoR1GmH1AfdlBtS4AqDDmL4TLLmDxX68sSN0T\n+7q6bgl8EEFzS4nIjwuhlN5ts5+3H9/r3wTHX+WdvKG8DDyN0D+EJmw2ZsZj\nPzglVUQFZptpcRGLmBWrzHvhF9t+QBRBQJyPM1h+7GiZpS6U53WaQptB3+1n\nq9NG\r\n=8ZD+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjUPGLALo2ARQy40V1+073tDu96nGljt0ious/Ta96wwIgNf3UnF5xcf8/BUArlTeWFD/EPjFEwOAb7zACCpKQs4M="}]},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.75.1_1583853371980_0.6999120651220638"},"_hasShrinkwrap":false},"1.75.2":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.75.2","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"ac5ace069b7681117d6ee964905269282013cb2b","_id":"loom-js@1.75.2","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-g/0Nv6tYU7wN2wlsmZCW9zJmFyYmx3aehll0ooCQj4VcxLy1Zd9fSjnLGR8UA2HDCGRS9FsStFsSL8ytrarkWA==","shasum":"45332ff5e111ec2f0eaa982f477027efae55ea87","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.75.2.tgz","fileCount":189,"unpackedSize":5297170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgacHLCRA9TVsSAnZWagAAv+EP/2+HfucKUtrVvlQAK5mh\nDxfg2fZJtpNPAOXGJccKDMDx5ZFLKu/YFxrzdgtMTM5UNmVxh1E7foPpWdv6\nj83lxj+COjwOmCSgZ54SL68TXwc1ZTme3KvyGajg3450S3aWJyaNY+xqN0vg\n6Jqb7f4iz74/p6oJDbpW48KZ1pIbnpS81CHeQo/ToQsLfj+s4PBHGdZDYCWE\nuNXg5Ru1MgbpQ3suXAbqY4lSFbY6lENfo4q945+TQdG/sip5kbxaG9ILirdU\nDSf0lwMUtvEunYlkUVlUfI4gr2zJmQ1S7FaVgOx1EBu0XBUmTVGbdt2K9UBZ\nyzYCQs4haQ84XBjd+9L/rXy6HJuoScTA5qmbwA8yoEZm3HiMVESfyV3oySu3\nRthQ8dt68my28EMXGJD96LuWCDnxi1RkhbCUeup6mHv9eAW5oXMpwKtSZUze\nObJ0BFVVlJgTkj7yKnaxcUrnKh7Ip3fXR3P4MHEC6zYu12qhBu4VZKwrsdD3\nUN8Ab8Ux4Rii+JV/qm+eKjNWnCi7V0kTc9c7OCjWhOXkHgBCaQlesGYjvF7C\n7ISV6ZHKz9jimTLb6prHiSlLaUkrRDviCYGDbeKCo2HzxzVAICVIt0MgNL0r\n8kZDX1vdMe+Ix01IRJ9K+Ibed0zjuGO9rGCymeYHRzIdfPwht3x/XpDwFTkU\nSRVO\r\n=16Br\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPEvFj+SX7Ko118TqKj1cL6fHIyqzw+gpYHHtCbLPpfAiBXufNg6eIZX8IhYq1mf/5wD0jUHp46bRXRnfTzQk2vQw=="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.75.2_1617543626612_0.9358003835274464"},"_hasShrinkwrap":false},"1.75.3":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.75.3","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"194092cb9a61172e4ec8f45c7c0c155d23417f29","_id":"loom-js@1.75.3","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-z34nE93xy1m/9Vuu6LrsFO2KbZkUprKxQaNVqtjtBJdNKtJ6Qr9Hdx4qeZmgtWoe44hZAhj8lbVr1ukEnAhyPQ==","shasum":"70454e8da535809e5293da4b75079da3c529009a","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.75.3.tgz","fileCount":189,"unpackedSize":5297365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdLdgCRA9TVsSAnZWagAA6YkP+wTDCX255BgSf5HlhKsb\n+iyD9UJvHZW50t7ZcfAG+R8ipOlNLlmmNJOdd8FHy+hl3qCMY+Bm4xrjNmFQ\nHFit+XQjvv2tNaV0E+yv19i1khJC1fMsH3r2LkvEr6otu+xiSLdzN5ljHoOp\nOM4KxZLVyZ1sbQUVZolyJV7ZE0AQPJ1n7LCDJx7QDme5xj4+Hea1p3GGhYW+\n5vLEhczC5/LXEOeLpWz324k5rPi/o1Piu0Pwuw5QHLsPepuecCpfv/gLkF/O\nm/w8ULjEbFNxCvbsW9MbEeeXEvigfaurmzb2BLbsqFNIWlYK5rjZBbrYSv0h\nosKDgvOVuZTfhD/tqS6K6Tx74Jp69NLRUOKSKmeyqCUZCuu81DDWorPNsEWD\nJNG4oI7PNSSwsyyCoIE1StBsws1XpLTsFQ3OoHAEldYkqzvac41yrE4Y45GN\nbyU/jCowJGlG05bFrS1CX1vmEinGJMDbmgZoddkMeeTSa2wVk5Qy0/R7Yys2\nGY+8hecHEsQJV5MoFSRHQTRxTVlBA6HNBPksdnROn0jXgP+MCT8B1+t39sEx\n+lkRFSGZZfG3MXluR3jVaGWs8t8TiLt0qlx2aQvD932dfMXpfCnm33QTG/EN\nmnZZhWeMTB0uE1qaP6cWDMs/7PHC67tU/kEM1eQgK1Uu9pFsvNmu/6x0g//8\nGSqT\r\n=ANn1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEwrJBe+hxvbnsnTJriZ/M52TROFu5gIVrbAUlmIPqLAiB4LlLrlBk7SOLUyx5+yVgzy9NFBybsZ3C8FEMoPZo+kQ=="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.75.3_1618261856066_0.058834629661911775"},"_hasShrinkwrap":false},"1.76.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.76.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"62ceeb74f2aaa1ffb74ebe6d7a5d84e9b0aacf6e","_id":"loom-js@1.76.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-iYrj9rCqDQ+Q9nx9ubJ8Llbtrq5n1sDH7ab0Ycfim3tWQjncKTjn4q1msd3PsS/nxrtySifvi0lZKKhFtpaW5g==","shasum":"d4a2b937a54908a487ab488ffbc8c46ed5a61c45","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.76.0.tgz","fileCount":188,"unpackedSize":5312146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgi7Y4CRA9TVsSAnZWagAAPDsP/jKdSXegrk3TNNM5PHQk\n/Qw4flMjoj5Xb7IlqNNvd+EmiIBofMRHWBTZgv5u4WE4f9r7K5rCH2qdvZ8v\ngy/RGgxI132eHdAYROKfrRBghDGhfUrQXKvQ7pw4rnnS50wwbsF+mF6D8+mm\nxZ/k3F44PIp+QU2FxOuBUuxnVZf3M/PBFCNEB9dPQd2/vuaa+XSpImWMR5ss\nWa+X+Q0VPq9+rMRD7DwqvIIuPt+GGgqT55SWzOgFvHvuS2DCyOTaPSlbZG8x\nn+8zvEOQNRlDh9I07HnXI/2MXOoRqlyfUlF4Xw2PKZx1TG4q1Oc0RwDgCACe\nsgjPIra7M0IiRE/rfnylJsgDfFGSuAx2QTU0D2d3+dKWLx/oN6Yh4DfBEGrs\nm472J4eHKqdUmkYM/3g53UnrEbEIAxcdoGGMxZmXJVzkWfNxInjmfxSfhZvf\nttZv/hCCUYkhtMizdP4ttKc/rpCz1OrLfRib37UoQq3DanDMWakFrfUFMAcJ\nIBnKUclgFvlcKgv5WXL9oJwj2wUnFKxx7lMY0B11jJWcX5TqnDX2PPhepdfT\n6bnkVIKFkf4qU35ktc5sXhJ93SGDXmccaMhfhiiZ+qPHTWYPsS49LH/9RNQd\n6AZKPsVXlGo1DxQEYEK4FhfAnB80FGvgtyCsStgCORvIXqqXHlk3XUvvuPXl\n+k+R\r\n=bt2P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGILiUunhxfjppv9wLmalbkARZr1YhKM+f+WOu6fMjveAiEA8hS2j2PasESfRUUEhI537Y0Vnm0lCSiPoqgL6XpSwLo="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.76.0_1619768887926_0.8717087699079746"},"_hasShrinkwrap":false},"1.77.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.77.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"1a92aa83887cc5d0414d99e87cb86763c84ba35e","_id":"loom-js@1.77.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-IkGuHY6WFMhwWLSldLqrteHeGoDSYgjGH/kIYVoGamRcIwwU6l/1vz0YoDnYGVj2D5fU5HTXvgvaW7FOMA4B1g==","shasum":"6ee146b2304e7bb18f9a3f6ea95e9b26987a8fbf","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.77.0.tgz","fileCount":188,"unpackedSize":5328124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglRSiCRA9TVsSAnZWagAAXDwP/AriXqjHjMhd+OHrXNAZ\nnMa/gdNaQSNnPGrGIwTeBVSyO2xzSbJwl9oKQbJ3ZKDfk2rF2L6ZBiRoYx1B\nz3lj/HOJSFE7onKsZDdzs6TFdHldDeVBEuHP+ckAFg8ArPsIezolV8NZDA1i\nvuSrP+urll9eLYZsTf2slm90705nNAhwo70WlwRQ+VCiPu1n9j78uewtKduY\n+lON1EqYkr+7sSWyXdiW9vdeiNp0mOs+xn6Wcws62CSNarW/UPdLsRP6/P27\nF03c6kH+KyT/U9CW+gDZysPOpcYeK7hlmUtbxn2AST5Qgr18xSpPT+qUQH3Y\nM/v6jeisLLZk5zmdDg3dRBnvQh50IcDHS/kxlQCukehekFNdvelVYz3/oU3A\nfzJ1awJlZnpwLmjVDZzFNvoz2tS6XEs6Zk/sp8PqxjSJhg0kKtQF924ovbKc\nglvu0uvxMKH3JfFEZct8G4m7OKcoU4wJ0wyEROsEjE3hKM/axnxdLs4Md5TT\n610AyccEJi3VJ6mvJSWZ0POTJLh2S/uyEKz7cYWTaymgr1CD0g3R/b7/IEM9\nJ1cj8MCN/ZBdiVyMLdWHLvyw5Q+/KeqJc6lm0mchC/tTwM74HKg5mOw+5zhz\n9iatjphoSmaIcqxVveTJYoOEF3xajDJVUcj95UIiGCP2cOBPNK+ihiMJUZxl\nzSB5\r\n=QJ6x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0dV+02+UsAgXwXN0Jfh7dZIxo0q9+CtKriphm8U6/HAiEAwr80HDwtS/z0P8QSfrg2Ln9GBhB6KKlxvAdMALAsP2g="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.77.0_1620382881804_0.09476036795023357"},"_hasShrinkwrap":false},"1.78.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.78.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.unit.tests.config.js | tap-spec","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec","proto":"node ./scripts/gen-proto.js","prepublish":"yarn proto && yarn gen-contract-types && yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"^1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^1.9.3","tweetnacl":"^1.0.0","web3":"1.2.1"},"devDependencies":{"@babel/core":"^7.0.0-beta.46","@babel/plugin-transform-runtime":"^7.0.0-beta.46","@babel/preset-env":"^7.0.0-beta.46","@babel/runtime":"^7.0.0-beta.46","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-tx":"^1.0.0","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","@types/web3":"^1.0.19","babel-cli":"^6.26.0","babel-loader":"^8.0.0-beta.2","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) [![Build Status](https://travis-ci.org/loomnetwork/loom-js.svg?branch=master)](https://travis-ci.org/loomnetwork/loom-js)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"f95d44bf355373fe124ea5f32b45ff18f1a428c7","_id":"loom-js@1.78.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-FGWbsF5okES/RJgBPZ+aWvJGtxZJyTWkT0pt+33+tiPuppJcgFLgo1ytg1cLwQC4ANwKBruxZqzFNS0+xXDeBQ==","shasum":"178bc312cb13dbba911aaf99bde4a5087092b0ef","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.78.0.tgz","fileCount":188,"unpackedSize":5328227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmPezCRA9TVsSAnZWagAAZHEP/iheIGMAeoa25hCLq6yo\n8B2zK7JVceaWFjVKZwJHbRQNuWBE+vrfXakaPdAXzRaeLfBJXdSi7ZBmre3e\nEXoHpwZlIWC0lfZ8yYmoiUBIbUHqYBdc4YRxTb2RvptWrLwI5mwOjjxqdDYe\nIyLkpZroXyYcKG60506itMzF7gmV/tOhoOf9CsgCFWPnEUgq+zPcmkxHIccH\neyg0qHUEH5xBWLImZM2BcxSg4qIQT9otNqS6GpPotu6vh1XiUQFS+AYSG6Wx\nkVBtCxdaX9nyBHTwMtMxolusk5s8uSvZb1Yza4RptseiE7IwRmXx8FzVyXVn\ngPuJrXamNxzVWGJfaRT56CSgFlw/+nq2p9vXBcsolGrdD9Q4JNUgTZATm3Ni\n9Z+9zGSeH2LahyRMMEm8kxjZrhEuNUg8Dab2yOpHyNnSUPlXwy2GIGIGxzyc\nW5nQx/LG2YybZ4H+YLgyHLdqqsoTkqf9G0aMBbOivau7UNGmV5ZrM+ofkhED\ngjlvKOq5Ye0KYzWhrC7w8LtYQjJd3W8OloZMZGVGBzJ9qmBNsVAB4mpSquJe\n34e+rBMU+BGqsnY+C0ihsu1rEN8ob2PUpDiXUNDUUpfXPRIz+PSVzfIEmVKE\nipwopGCddJQSNZOZV3RbSA/E/LFRL5Az1bLO+k0bGnTW2+jtejNpgXapdEsP\nggOD\r\n=roac\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrweJy0JMCwI39kXI3NhETHZPM02Hl/oW+Sq1A4WdhrAiEAs63x8NJPZLLwaYfzjefOtsiRnqi434vlGzQzrh4Mgkc="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.78.0_1620637618426_0.6459858273235537"},"_hasShrinkwrap":false},"1.79.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.79.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"prebuild":"yarn proto && yarn gen-contract-types","build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn build && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn build && webpack --config webpack.unit.tests.config.js && cat ./dist/browser_unit_tests.js | tape-run","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn build && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn build && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublishOnly":"yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"@binance-chain/javascript-sdk":"^2.14.5","abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"2.2.0","tweetnacl":"^1.0.0","web3":"1.3.6"},"devDependencies":{"@babel/core":"7.14.2","@babel/plugin-proposal-object-rest-spread":"^7.14.2","@babel/plugin-transform-runtime":"7.14.2","@babel/preset-env":"7.14.2","@babel/runtime":"^7.14.0","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","babel-cli":"^7.0.0-beta.3","babel-loader":"8.2.2","browser-run":"^10.1.0","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.1.8","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","tape-run":"^9.0.0","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) ![Build Status](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=master)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"c8a781b4ce933d39b13efa78bf32ce5f5fe6a195","_id":"loom-js@1.79.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-4enMvm5nQZSl1LPlxR1iyWL+3OkBlY4QNlQCyZiw7e21ZYIYNW2f2D5MPGiqHK+3JntPCB+Pqk+ysnzCGuEa6g==","shasum":"f6743d07939baee404d935902fd9310352065eeb","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.79.0.tgz","fileCount":187,"unpackedSize":6288317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt7FwCRA9TVsSAnZWagAAgn0P/0RQD6rEj+IKjETHIMYQ\nNRgFw7fm4jerzQsD57DA8eo0F8k7iGdCbNw/dm1rKxkLOrrpHxvGD2SClTMk\n9+3m8YaBqrqmxM/8zPvePXHOWNjT+BE10ldopN8LLtWOSD/IkAKYrg08lRJC\n1Jv+ct6eFB9vmgEHzc+FMaPcU4/y3FzLYICc4QD0htAxO7nURJSIAZODz99H\ns46YKQQ8Oku/GUnL3yecbOBIY5IM2PeaLYZ5MaBzhhaIrF1A0unPs+scWeo3\n/tiYJK3rABy54hmc0F+lzowSSgrDpiV8kwNr7ZdaesVaTnvNu2vd56WXBvpu\n3SMlGxNWPrhh9xuXks1tJccautV+sVparC0gZ0r7jURohn26eMxaOL6lJmvt\nGeVbA7quZJQ/vXs8FSlCKojIoh4mFdtlzVdPGZWjaqaBmqL3+9zsudu66qtQ\nYtSlz68P8M3dIfZOA9sWUDlqbf14rmUdFUzYuUCqRjeqRgz5Dc6tkdWEj5Pa\naD8S43OrTilyKZi5mt8dRvziP8WHkjit7XzOWdNBOiv71XyU5esN8pQ1hI+q\n/HPFPjb+P2OfbzCvNR4NSFrpHiOyHx+dNxScDzokgrCPweZpY1Vpl2oh5WH0\n4jObgiILK7zHcUnRlupv1a9ffBiD6SBhmMy/2y9rms3S0wUwn92+kSB6PwgW\nbW3g\r\n=2wYS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJ3XvHGjlHU7eLK6vXdG6Gj6j3J8IFDahCRBYSy3XAKAiAGUFBiKXSI+R5yS4zCte5oAf4E8oJrnlrNaOz38L/0/g=="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.79.0_1622651247947_0.8571736045434326"},"_hasShrinkwrap":false},"1.80.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.80.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"prebuild":"yarn proto && yarn gen-contract-types","build":"tsc","build:browser":"tsc && webpack","build:dev":"tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn build && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn build && webpack --config webpack.unit.tests.config.js && cat ./dist/browser_unit_tests.js | tape-run","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn build && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn build && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublishOnly":"yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"2.2.0","tweetnacl":"^1.0.0","web3":"1.3.6"},"devDependencies":{"@babel/core":"7.14.2","@babel/plugin-proposal-object-rest-spread":"^7.14.2","@babel/plugin-transform-runtime":"7.14.2","@babel/preset-env":"7.14.2","@babel/runtime":"^7.14.0","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","babel-cli":"^7.0.0-beta.3","babel-loader":"8.2.2","browser-run":"^10.1.0","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.12.2","prettier":"1.12.1","shelljs":"^0.8.2","tap-spec":"^5.0.0","tape":"4.9","tape-run":"^9.0.0","ts-protoc-gen":"^0.6.0","tslint":"^5.9.1","tslint-config-prettier":"^1.12.0","tslint-config-standard":"^7.0.0","typechain":"^0.3.21","typescript":"^2.9.2","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","readme":"# [Loom.js](https://loomx.io) ![Build Status](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=master)\r\n\r\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\r\n\r\n## Install\r\n\r\n### NodeJS\r\n\r\n```\r\n# NPM\r\nnpm install loom-js\r\n# Yarn\r\nyarn add loom-js\r\n```\r\n\r\n### Browser\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\r\n```\r\n\r\n## Debugging\r\n\r\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\r\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\r\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\r\n\r\nSee docs for `debug` package if you wish to filter the log messages.\r\n\r\n## Development\r\n\r\n```shell\r\n# build for Node\r\nyarn build\r\n# build for Browser\r\nyarn build:browser\r\n# build for Node while targeting ES2017 (more readable than ES5)\r\nyarn build:dev\r\n# run unit tests on Node & Browser\r\nyarn test\r\n# auto-format source files\r\nyarn format\r\n# run unit tests in Node\r\nyarn test:node\r\n# run unit tests in Electon\r\nyarn test:browser\r\n# run e2e test in Node (local DAppChain node must be running first)\r\nyarn e2e:node\r\n# run e2e test in Electron (local DAppChain node must be running first)\r\nyarn e2e:browser\r\n```\r\n\r\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\r\ndefault values).\r\n\r\n### Debugging\r\n\r\nTo debug loom-js while using it another project:\r\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\r\n2. Inside the loom-js repo run:\r\n   ```bash\r\n   yarn link\r\n   yarn build:dev\r\n   ```\r\n3. In your project repo run `yarn link loom-js`.\r\n4. Debug your project normally.\r\n\r\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\r\ntransformation of async/await constructs than the ES5 code released on NPM.\r\n\r\n### Regenerating Protobufs\r\n\r\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\r\nthe corresponding `*_pb.js` by running:\r\n\r\n```shell\r\nyarn proto\r\n```\r\n\r\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\r\n\r\n### Custom Middlewares\r\n\r\nInstall the loom-js beta version:\r\n`yarn add loom-js@beta`\r\n\r\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\r\n\r\n```js\r\nconst setupMiddlewareFn = function(client, privateKey) {\r\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\r\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\r\n}\r\n\r\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\r\n```\r\n\r\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\r\n\r\n### JSON RPC supported calls\r\n\r\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\r\n\r\n#### Current implemented\r\n\r\n- [x] eth_accounts\r\n- [x] eth_blockNumber\r\n- [x] eth_call\r\n- [x] eth_gasPrice\r\n- [x] eth_getBlockByHash\r\n- [x] eth_getBlockByNumber\r\n- [x] eth_getCode\r\n- [x] eth_getFilterChanges\r\n- [x] eth_getLogs\r\n- [x] eth_getTransactionByHash\r\n- [x] eth_getTransactionReceipt\r\n- [x] eth_newBlockFilter\r\n- [x] eth_newFilter\r\n- [x] eth_newPendingTransactionFilter\r\n- [x] eth_sendTransaction\r\n- [x] eth_subscribe\r\n- [x] eth_uninstallFilter\r\n- [x] eth_unsubscribe\r\n- [x] net_version\r\n\r\n#### Should\r\n\r\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\r\n- [ ] eth_estimateGas (Currently, it always returns zero)\r\n\r\n#### Maybe\r\n\r\n- [ ] net_peerCount (Returns the current ethereum protocol version)\r\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\r\n- [ ] eth_coinbase (Returns the client coinbase address)\r\n- [ ] web3_clientVersion (Returns the current client version)\r\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\r\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\r\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\r\n\r\n### Custom Loom provider methods\r\n\r\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\r\n\r\n```js\r\nconst loomProviderObj = new LoomProvider(client, privateKey)\r\nloomProviderObj.addCustomMethod('eth_balance', payload => {\r\n  return '0x1'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\r\n\r\n### Overwrite Loom provider methods\r\n\r\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\r\n\r\n```js\r\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\r\n  return '0x123'\r\n})\r\n```\r\n\r\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\r\n\r\n## License\r\n\r\nBSD 3-Clause, see `LICENSE` file for details.\r\n","readmeFilename":"README.md","gitHead":"1921b62e31dda50fac76c5044eb3ffdea9f857a8","_id":"loom-js@1.80.0","_nodeVersion":"10.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-oT31nMcgDeSVQzRF0hWQb3jXmZKBVY+Hh+JH0TcITK4tIRZ77svClEFQv6PrWZFa/4c+hHDOFz7dqwclUMF0ug==","shasum":"dadc1ea42e235f445d609c3fcc02d5eaf4301321","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.80.0.tgz","fileCount":181,"unpackedSize":5766828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+h14yQfoh0hVh8n8y6L9JK13vA75STfP1vdhkpd4oTgIgSbsRKC3b/bcDlCsf9d14zjC4OOL4LH1mVEWjJaHTqeE="}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.80.0_1631898670158_0.08718448846558213"},"_hasShrinkwrap":false},"1.90.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.90.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"prebuild":"yarn proto && yarn gen-contract-types","build":"yarn tsc","build:browser":"yarn tsc && webpack","build:dev":"yarn tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn build && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn build && webpack --config webpack.unit.tests.config.js && cat ./dist/browser_unit_tests.js | tape-run","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn build && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn build && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublishOnly":"yarn build && webpack","gen-contract-types":"typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"},"dependencies":{"abi-decoder":"^1.2.0","axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"1.3.7","ethereumjs-util":"^5.2.0","ethers":"^4.0.9","google-protobuf":"3.6","lodash":"^4.17.11","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tronweb":"^2.5.3","tslib":"^2.5.0","tweetnacl":"^1.0.0","web3":"1.8.2"},"devDependencies":{"@babel/core":"7.14.2","@babel/plugin-proposal-object-rest-spread":"^7.14.2","@babel/plugin-transform-runtime":"7.14.2","@babel/preset-env":"7.14.2","@babel/runtime":"^7.14.0","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^10.0.3","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","babel-cli":"^7.0.0-beta.3","babel-loader":"8.2.2","browser-run":"^10.1.0","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ganache-cli":"^6.12.2","prettier":"1.12.1","shelljs":"^0.8.5","tap-spec":"^5.0.0","tape":"4.9","tape-run":"^9.0.0","ts-protoc-gen":"^0.6.0","typechain":"^0.3.21","typescript":"^4.9.5","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","types":"./dist/index.d.ts","gitHead":"76d605942d92ddaac02c679b74999b4215c85b23","_id":"loom-js@1.90.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-uiGko8rZ1tNpYNyjCoVSu9TjKUDgZJhgyq19zLFhCsZtF1i8C6TSCXL1U1089jkRJ8mSsztKCtfLKQVQxgO7rQ==","shasum":"905fe183add24fee2614bbefb31a5800e21985d7","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.90.0.tgz","fileCount":181,"unpackedSize":5783505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkMhmFIUBBdLMLw+UwS6effUZ5yZlumyLpm978iqJpnwIhAOFq3GvuZ8hz+37AHVmjbSPIXX0ZHnQdD+usBWeTh9mP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGz17ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmovkw/8D8T2x6b7kGaq01+iNAt3XRL87rUO0sd9HYqJBpSkKYBLHMHb\r\nr8d25ZEkdPBeqtsZMqjIp879BLBFfIrS+c7w5hkuDbOv8pCNrl9wUQdW/Hkm\r\nXz9k7NltYXvNR11m/PnHImt5vOJIBENjNsK03wuZ76+Yb6M6hHk2N5ImQPMR\r\nnX4bgVzAUTrHVRf5u75qBs7jCEK3ApY0LdwahHdFVXXitilXna1N0d8k6wGO\r\ncrjK0U6VRYifcjJFTvp+LtlhwVxrHvtnBhrNWGfPqIl6mflO/Pt8+2o/gkZt\r\n+tM0AmBqmzGUuYWS5xltjQ2JX5mvUOqNAx05bPm/DG7lraxO642O2NyOSUR8\r\nKCXz9Q+LOOanzYbI2TQ5EoRQsdbE+0O45uAz/HvibS7RQqT7JBlg5H1slnRX\r\nZ6NvIBjjmwPOE/Kq4f/lB5qA7O+2NpeGyA8zfRRq/6YsbofHJJySwNeETLCH\r\nodYiOLJAV1ToKwu3qkeA64bJKAJvddvbYK2RPfLyED4dzntwr/0UXNaHdBEg\r\nXosd3n1bwx1WT+/QgKDL8TBII+H9dTq2UwMBSB1UUK6LJsg9PmtUncl1n8xA\r\nIT7uoCjUUGCoLBrwpZHD2diBWOVAiJAz0qB2340iqRWJF5n7yHhNJjRlAHqq\r\nAeFB5fCPEW4wjpVJ0yTE1H+FH0BfAnxB9G8=\r\n=2TQE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.90.0_1679506810773_0.7854717079221731"},"_hasShrinkwrap":false},"1.91.0":{"name":"loom-js","description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"version":"1.91.0","keywords":["blockchain","dappchain"],"license":"BSD-3-Clause","main":"dist/index.js","scripts":{"prebuild":"yarn proto && yarn gen-contract-types","build":"yarn tsc","build:browser":"yarn tsc && webpack","build:dev":"yarn tsc --project es2017.tsconfig.json","format":"prettier --write \"src/**/*.ts\"","test":"yarn test:node && yarn test:browser","test:node":"yarn build && tape dist/tests/unit_tests.js | tap-spec","test:browser":"yarn build && webpack --config webpack.unit.tests.config.js && cat ./dist/browser_unit_tests.js | tape-run","test:e2e:local":"bash e2e_tests.sh","e2e:node":"yarn build && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec","e2e:browser":"yarn build && webpack --config webpack.e2e.test.config.js","proto":"node ./scripts/gen-proto.js","prepublishOnly":"yarn build && webpack","gen-contract-types:mainnet":"yarn typechain \"src/mainnet-contracts/*.json\" --target=ethers-v5 --out-dir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js","gen-contract-types:test":"yarn typechain \"src/tests/e2e/test-contract/*.json\" --target=ethers-v5 --out-dir src/tests/e2e/test-contract","gen-contract-types":"yarn gen-contract-types:mainnet && yarn gen-contract-types:test"},"dependencies":{"axios":"^0.18.0","bn.js":"^4.11.8","crypto-browserify":"^3.12.0","debug":"^3.1.0","ethereumjs-tx":"1.3.7","ethereumjs-util":"^5.2.0","google-protobuf":"3.6","retry":"^0.12.0","ripemd160":"^2.0.1","rlp":"^2.1.0","rpc-websockets":"^4.1.1","tslib":"^2.5.0","tweetnacl":"^1.0.0","web3":"1.8.2"},"peerDependencies":{"ethers":"^5.7.0"},"devDependencies":{"@babel/core":"7.14.2","@babel/plugin-proposal-object-rest-spread":"^7.14.2","@babel/plugin-transform-runtime":"7.14.2","@babel/preset-env":"7.14.2","@babel/runtime":"^7.14.0","@ethersproject/abi":"^5.7.0","@ethersproject/providers":"^5.7.2","@typechain/ethers-v5":"^11.0.0","@types/bn.js":"^4.11.1","@types/debug":"^0.0.30","@types/ethereumjs-util":"^5.2.0","@types/google-protobuf":"^3.2.7","@types/node":"^16.0.0","@types/retry":"^0.10.2","@types/shelljs":"^0.8.0","@types/tape":"^4.2.32","babel-cli":"^7.0.0-beta.3","babel-loader":"8.2.2","browser-run":"^10.1.0","dotenv":"^5.0.1","dotenv-webpack":"^1.5.5","ethers":"^5.7.0","ganache-cli":"^6.12.2","prettier":"1.12.1","shelljs":"^0.8.5","tap-spec":"^5.0.0","tape":"4.9","tape-run":"^9.0.0","ts-protoc-gen":"^0.6.0","typechain":"^8.2.0","typescript":"^4.9.5","webpack":"^4.6.0","webpack-cli":"^3.1.1","webpack-tape-run":"^0.0.7"},"browserslist":"last 2 versions","engines":{"node":">= 16.0.0"},"types":"./dist/index.d.ts","readme":"# [Loom.js](https://loomx.io) ![Build Status](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=master)\n\nJS library for building browser apps & NodeJS services that interact with Loom DAppChains.\n\n## Install\n\n### NodeJS\n\n```\n# NPM\nnpm install loom-js\n# Yarn\nyarn add loom-js\n```\n\n### Browser\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/loom-js@1.15.0/dist/loom.umd.js\"></script>\n```\n\n## Debugging\n\n`loom-js` uses the [`debug`](https://github.com/visionmedia/debug) package for logging.\n- To inspect the logs when running in the browser set `localStorage.debug = '*'`\n- To inspect the logs when running in NodeJS set the `DEBUG` env var to `*`\n\nSee docs for `debug` package if you wish to filter the log messages.\n\n## Development\n\n```shell\n# build for Node\nyarn build\n# build for Browser\nyarn build:browser\n# build for Node while targeting ES2017 (more readable than ES5)\nyarn build:dev\n# run unit tests on Node & Browser\nyarn test\n# auto-format source files\nyarn format\n# run unit tests in Node\nyarn test:node\n# run unit tests in Electon\nyarn test:browser\n# run e2e test in Node (local DAppChain node must be running first)\nyarn e2e:node\n# run e2e test in Electron (local DAppChain node must be running first)\nyarn e2e:browser\n```\n\nThe e2e test environment can be configured by changing `.env.test` (see `.env.test.example` for\ndefault values).\n\n### Debugging\n\nTo debug loom-js while using it another project:\n1. Clone the Git repo from https://github.com/loomnetwork/loom-js\n2. Inside the loom-js repo run:\n   ```bash\n   yarn link\n   yarn build:dev\n   ```\n3. In your project repo run `yarn link loom-js`.\n4. Debug your project normally.\n\n`yarn build:dev` will compile the TypeScript source to target ES2017, which requires a lot less\ntransformation of async/await constructs than the ES5 code released on NPM.\n\n### Regenerating Protobufs\n\nWhenever you change `src/proto/loom.proto`, or `src/tests/tests.proto` you will need to regenerate\nthe corresponding `*_pb.js` by running:\n\n```shell\nyarn proto\n```\n\nThe shell must be able to locate the `protoc` binary, which can be obtained from https://github.com/google/protobuf/releases\n\n### Custom Middlewares\n\nLoomProvider takes a custom function that lets you customize what middlewares it runs. For example, we have an experimental nonce caching middleware that has more advanced nonce tracking. You can add it as such:\n\n```js\nconst setupMiddlewareFn = function(client, privateKey) {\n  const publicKey = CryptoUtils.publicKeyFromPrivateKey(privateKey)\n  return [new CachedNonceTxMiddleware(publicKey, client), new SignedTxMiddleware(privateKey)]\n}\n\nconst loomProviderObj = new LoomProvider(client, privateKey, setupMiddlewareFn)\n```\n\nMore examples here: https://github.com/loomnetwork/loom-js/blob/master/src/tests/e2e/loom-provider-web3-middlewares-tests.ts\n\n### JSON RPC supported calls\n\nLoomProvider combined with Web3 supports the following `JSON RPC` calls\n\n#### Current implemented\n\n- [x] eth_accounts\n- [x] eth_blockNumber\n- [x] eth_call\n- [x] eth_gasPrice\n- [x] eth_getBlockByHash\n- [x] eth_getBlockByNumber\n- [x] eth_getCode\n- [x] eth_getFilterChanges\n- [x] eth_getLogs\n- [x] eth_getTransactionByHash\n- [x] eth_getTransactionReceipt\n- [x] eth_newBlockFilter\n- [x] eth_newFilter\n- [x] eth_newPendingTransactionFilter\n- [x] eth_sendTransaction\n- [x] eth_subscribe\n- [x] eth_uninstallFilter\n- [x] eth_unsubscribe\n- [x] net_version\n\n#### Should\n\n- [ ] eth_getFilterLogs (Returns an array of all logs matching filter with given id)\n- [ ] eth_estimateGas (Currently, it always returns zero)\n\n#### Maybe\n\n- [ ] net_peerCount (Returns the current ethereum protocol version)\n- [ ] eth_syncing (Returns an object with data about the sync status or false)\n- [ ] eth_coinbase (Returns the client coinbase address)\n- [ ] web3_clientVersion (Returns the current client version)\n- [ ] eth_getTransactionCount (Returns the number of transactions sent from an address)\n- [ ] eth_getBlockTransactionCountByHash (Returns the number of transactions in a block from a block matching the given block hash)\n- [ ] eth_getBlockTransactionCountByNumber (Returns the number of transactions in a block matching the given block number)\n\n### Custom Loom provider methods\n\nSometimes the project requires few functions that aren't provided directly from LoomProvider in this case is possible to add a custom Eth RPC method. You can add it as such:\n\n```js\nconst loomProviderObj = new LoomProvider(client, privateKey)\nloomProviderObj.addCustomMethod('eth_balance', payload => {\n  return '0x1'\n})\n```\n\nThe first param should be the Ethereum RPC call method to add on LoomProvider and the second parameter a callback function with the result\n\n### Overwrite Loom provider methods\n\nIf the project requires to overwrite a RPC function that already exists on LoomProvider. You can add it as such:\n\n```js\nloomProvider.overwriteMethod('eth_estimateGas', payload => {\n  return '0x123'\n})\n```\n\nThe first param should be the Ethereum RPC call method to overwrite on LoomProvider and the second parameter a callback function with the result\n\n## License\n\nBSD 3-Clause, see `LICENSE` file for details.\n","readmeFilename":"README.md","gitHead":"3240cbc0975634622c96106922c4e00b74a4e287","_id":"loom-js@1.91.0","_nodeVersion":"16.9.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-/2l8+6vG74yleuDmB7J4cNCxZlDpGvOmSpoqTdno03bwP4GHxrj9A1W1uOALQR4CM1vxa+M31eO7XY6dxdEnRw==","shasum":"8b1c276215052bd32075cb21b10b56aa3037694f","tarball":"https://registry.npmjs.org/loom-js/-/loom-js-1.91.0.tgz","fileCount":185,"unpackedSize":5559134,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5m7nDGIE1KiIulNnpspGxE1gezlSPQCnAe+srVbeOrQIhAOF3J4g1R3GDTOT0cejK4cJt1qDe7awCCI3wkPpCLX0g"}]},"_npmUser":{"name":"loomx","email":"team@loomx.io"},"directories":{},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loom-js_1.91.0_1688122133708_0.8232317909370974"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-16T11:37:12.448Z","1.0.0":"2018-05-16T11:37:14.327Z","modified":"2023-06-30T10:48:54.169Z","1.0.1":"2018-05-16T11:49:03.536Z","1.1.1":"2018-05-17T13:00:24.506Z","1.2.0":"2018-05-20T12:34:57.922Z","1.3.0":"2018-05-25T16:39:19.275Z","1.3.1":"2018-05-26T11:33:17.592Z","1.3.2":"2018-05-26T11:35:36.190Z","1.3.3":"2018-05-27T11:31:00.268Z","1.4.3":"2018-06-04T04:46:27.463Z","1.4.4":"2018-06-04T06:25:16.451Z","1.4.5":"2018-06-04T12:51:44.063Z","1.5.0":"2018-06-05T06:04:43.618Z","1.6.0":"2018-06-07T12:12:49.664Z","1.7.0":"2018-06-07T14:13:18.091Z","1.7.1":"2018-06-07T18:10:28.758Z","1.8.0":"2018-06-11T11:17:04.732Z","1.9.0":"2018-06-20T14:01:57.103Z","1.10.0":"2018-07-04T11:47:58.806Z","1.11.0":"2018-07-06T05:02:15.767Z","1.11.1":"2018-07-07T13:21:29.465Z","1.12.0":"2018-07-10T12:29:26.133Z","1.12.1":"2018-07-13T07:37:54.582Z","1.12.2":"2018-07-13T07:46:13.982Z","1.13.0":"2018-07-14T08:03:57.837Z","1.14.0":"2018-07-17T12:08:47.718Z","1.15.0":"2018-08-01T08:16:06.308Z","1.16.0":"2018-08-02T05:51:25.678Z","1.16.1":"2018-08-02T08:53:50.878Z","1.16.2":"2018-08-03T11:04:52.092Z","1.17.0":"2018-08-09T18:28:43.752Z","1.18.0":"2018-08-28T05:27:20.465Z","1.19.0":"2018-09-03T14:18:04.281Z","1.20.0":"2018-09-04T13:31:58.567Z","1.20.1":"2018-09-04T16:23:54.013Z","1.21.0":"2018-09-06T07:58:35.417Z","1.22.0":"2018-09-11T10:20:18.309Z","1.23.0":"2018-09-18T11:05:36.472Z","1.24.0":"2018-09-25T16:47:54.919Z","1.25.0":"2018-10-01T05:00:03.922Z","1.26.0":"2018-10-06T09:09:13.982Z","1.27.0":"2018-10-10T10:14:51.612Z","1.27.1":"2018-10-15T05:22:56.652Z","1.28.0":"2018-10-19T06:31:41.112Z","1.28.1":"2018-10-19T07:12:29.678Z","1.29.0":"2018-10-23T06:58:11.964Z","1.29.1":"2018-10-24T05:32:01.392Z","1.30.0":"2018-10-31T02:32:42.192Z","1.30.1":"2018-10-31T16:47:06.107Z","1.30.2":"2018-11-01T15:20:59.826Z","1.31.0":"2018-11-13T06:48:09.539Z","1.32.0":"2018-11-17T09:40:46.330Z","1.33.0":"2018-11-23T06:37:35.852Z","1.33.1":"2018-11-29T11:02:49.109Z","1.34.0":"2018-12-03T12:44:31.637Z","1.35.0":"2018-12-06T06:26:34.227Z","1.36.0":"2018-12-06T15:35:39.551Z","1.36.1":"2018-12-13T03:52:56.593Z","1.36.2":"2018-12-16T14:49:09.872Z","1.30.3":"2018-12-16T16:50:22.359Z","1.37.0":"2018-12-18T06:11:31.403Z","1.37.1":"2018-12-20T08:00:16.624Z","1.37.2":"2018-12-27T10:04:54.291Z","1.37.3":"2018-12-28T08:55:56.870Z","1.38.0":"2019-01-04T02:41:29.979Z","1.38.1":"2019-01-07T07:44:26.658Z","1.38.2":"2019-01-07T12:49:07.206Z","1.38.3":"2019-01-08T14:06:51.631Z","1.38.4":"2019-01-08T16:46:55.033Z","1.39.0":"2019-01-14T14:23:37.450Z","1.40.0":"2019-01-27T17:30:54.958Z","1.40.1":"2019-01-28T04:31:05.913Z","1.41.0":"2019-02-07T11:35:28.077Z","1.41.1":"2019-02-11T12:56:19.208Z","1.41.2":"2019-02-12T05:57:57.960Z","1.41.3":"2019-02-13T09:23:09.757Z","1.42.0":"2019-02-15T07:44:11.813Z","1.42.1":"2019-02-20T05:04:39.967Z","1.42.2":"2019-02-21T04:50:06.151Z","1.43.0":"2019-02-25T07:14:31.710Z","1.44.0":"2019-02-25T07:52:56.432Z","1.44.1":"2019-02-25T10:13:28.692Z","1.45.0":"2019-02-26T20:53:22.986Z","1.46.0":"2019-02-27T14:02:11.056Z","1.46.1":"2019-03-04T10:42:36.593Z","1.46.2":"2019-03-04T12:43:45.281Z","1.46.3":"2019-03-09T19:07:34.931Z","1.47.0":"2019-03-13T04:49:34.864Z","1.48.0":"2019-03-15T12:43:49.384Z","1.49.0":"2019-03-22T07:09:31.645Z","1.49.1":"2019-03-22T08:51:34.372Z","1.49.2":"2019-03-25T19:40:18.572Z","1.49.3":"2019-03-26T09:47:02.338Z","1.49.4":"2019-03-27T11:58:29.384Z","1.50.0":"2019-04-29T16:05:09.345Z","1.51.0":"2019-05-03T13:17:31.830Z","1.51.1":"2019-05-04T16:11:51.050Z","1.52.0":"2019-05-16T13:21:59.702Z","1.53.0":"2019-05-21T13:37:16.596Z","1.54.0":"2019-05-30T07:30:13.872Z","1.54.1":"2019-05-31T14:25:10.923Z","1.54.2":"2019-06-13T13:29:17.230Z","1.55.0":"2019-06-20T05:20:06.287Z","1.56.0":"2019-07-03T10:54:32.918Z","1.57.0":"2019-07-05T09:49:08.582Z","1.57.1":"2019-07-10T11:46:26.530Z","1.57.2":"2019-07-22T05:45:01.958Z","1.57.3":"2019-07-25T12:53:50.500Z","1.58.0":"2019-08-12T08:49:58.385Z","1.59.0":"2019-08-20T08:59:28.107Z","1.59.1":"2019-08-27T19:12:07.673Z","1.60.0":"2019-09-24T19:13:59.851Z","1.60.1":"2019-10-03T10:45:06.274Z","1.70.0":"2019-10-06T11:49:55.583Z","1.70.1":"2019-10-17T12:40:07.755Z","1.60.2":"2019-11-13T10:52:03.861Z","1.60.3":"2019-11-18T06:51:27.470Z","1.60.4":"2019-11-18T08:00:45.310Z","1.71.0":"2019-11-22T11:02:42.120Z","1.72.0":"2019-12-19T10:53:23.046Z","1.72.1":"2020-01-02T05:38:10.689Z","1.72.2":"2020-01-07T12:06:46.014Z","1.72.3":"2020-01-07T12:36:04.595Z","1.72.4":"2020-01-08T09:30:58.633Z","1.73.0":"2020-01-10T09:56:56.743Z","1.74.0":"2020-01-16T08:32:00.987Z","1.75.0":"2020-02-17T19:23:59.391Z","1.75.1":"2020-03-10T15:16:12.145Z","1.75.2":"2021-04-04T13:40:26.819Z","1.75.3":"2021-04-12T21:10:56.313Z","1.76.0":"2021-04-30T07:48:08.124Z","1.77.0":"2021-05-07T10:21:22.074Z","1.78.0":"2021-05-10T09:06:58.806Z","1.79.0":"2021-06-02T16:27:28.142Z","1.80.0":"2021-09-17T17:11:10.413Z","1.90.0":"2023-03-22T17:40:11.117Z","1.91.0":"2023-06-30T10:48:54.024Z"},"maintainers":[{"name":"loomx","email":"team@loomx.io"}],"description":"NodeJS & browser client for Loom DAppChains.","author":{"name":"Loom Network","url":"https://loomx.io"},"license":"BSD-3-Clause","readme":"","readmeFilename":"","keywords":["blockchain","dappchain"]}